1b11093571
For changes see also: http://www.gnu.org/software/gdb/download/ANNOUNCEMENT PR: 192323 Submitted by: yuri@rawbw.com Approved by: luca.pizzamiglio@gmail.com (maintainer)
15 lines
462 B
Text
15 lines
462 B
Text
--- gdb/gdb.c Thu Feb 13 13:07:24 2003
|
|
+++ gdb/gdb.c Wed May 17 00:24:39 2006
|
|
@@ -31,5 +32,11 @@
|
|
args.argc = argc;
|
|
args.argv = argv;
|
|
- args.interpreter_p = INTERP_CONSOLE;
|
|
+ if (strncmp(basename(argv[0]), "insight", 7) == 0) {
|
|
+ args.interpreter_p = "insight";
|
|
+ } else if (strncmp(basename(argv[0]), "gdbtui", 6) == 0) {
|
|
+ args.interpreter_p = INTERP_TUI;
|
|
+ } else {
|
|
+ args.interpreter_p = INTERP_CONSOLE;
|
|
+ }
|
|
return gdb_main (&args);
|
|
}
|