This is the mail archive of the
mailing list for the GDB project.
Python not optional?
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb at sourceware dot org
- Date: Wed, 20 Aug 2008 16:29:25 +0200 (CEST)
- Subject: Python not optional?
I always assumed that the Python scripting support would be optional.
I think that's what we agreed on when the idea to use Python as a
scripting language was first circulated. So I was a bit disappointed
when GDB no longer built on my systems. Luckily this isn't too
difficult to fix; the attached rough diff does the job, but might need
a bit of cleanup.
RCS file: /cvs/src/src/gdb/cli/cli-script.c,v
retrieving revision 1.47
diff -u -p -r1.47 cli-script.c
--- cli/cli-script.c 16 Aug 2008 20:36:29 -0000 1.47
+++ cli/cli-script.c 20 Aug 2008 14:24:40 -0000
@@ -34,7 +34,9 @@
/* Prototypes for local functions */
@@ -543,12 +545,14 @@ execute_control_command (struct command_
ret = commands_from_control_command (new_line, cmd);
ret = simple_control;
warning (_("Invalid control type in canned commands structure."));