[PATCH] GDB: Prefer Python 3 over 2

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Mar 18 15:40:25 UTC 2022


On 17/03/2022 12:51, Sebastian Huber wrote:
> This fixes the build of a recent GDB version:
> 
> gdb/python/py-micmd.c: In function 'int micmdpy_uninstall_command(micmdpy_object*)':
> gdb/python/py-micmd.c:430:20: error: 'PyDict_GetItemWithError' was not declared in this scope
>     PyObject *curr = PyDict_GetItemWithError (mi_cmd_dict.get (),
>                      ^~~~~~~~~~~~~~~~~~~~~~~

I was able to build the latest GDB with this patch. Otherwise all 
architectures failed with the above error.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list