This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[archer/tromey/python] python3 wchar_t


Hi Phil,

for F-22/Rawhide we need to switch to Python3:
	https://bugzilla.redhat.com/show_bug.cgi?id=1014549

But on F-21 or F-22:
# yum install python3-devel
$ cd archer-tromey-python
$ CFLAGS= ./configure --with-python=/usr/bin/python3
$ make
./python/python.c: In function ‘run_python_script’:
./python/python.c:1261:28: error: passing argument 2 of ‘PySys_SetArgv’ from incompatible pointer type [-Werror]
   PySys_SetArgv (argc - 1, argv + 1);


/* Set up the Python argument vector and evaluate a script.  This is
   used to implement 'gdb -P'.  */
run_python_script (int argc, char **argv)
  PySys_SetArgv (argc - 1, argv + 1);


Primarily asking if the Fedora compatibility with 'gdb -P' is still required.
If yes then a patch is welcome or I can also fix that (mbstowcs()).

F-22 GDB will be only in DTS-4.0 (not DTS-3.x) so a backward compatibility for
DTS AFAIK should not be a concern.


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]