ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/devel/gdb/files/patch-unified
(Generate patch)

Comparing trunk/devel/gdb/files/patch-unified (file contents):
Revision 24715 by laffer1, Sat Sep 3 02:00:14 2011 UTC vs.
Revision 24716 by laffer1, Mon Nov 26 17:06:28 2018 UTC

# Line 1 | Line 1
1 < --- gdb/gdb.c   Thu Feb 13 13:07:24 2003
2 < +++ gdb/gdb.c   Wed May 17 00:24:39 2006
3 < @@ -23,4 +23,5 @@
4 < #include "gdb_string.h"
5 < #include "interps.h"
6 < +#include <libgen.h>
7 <
8 < int
9 < @@ -31,6 +32,14 @@
1 > --- gdb/gdb.c.orig 2017-09-14 09:28:17 UTC
2 > +++ gdb/gdb.c
3 > @@ -28,6 +28,12 @@ main (int argc, char **argv)
4 >   memset (&args, 0, sizeof args);
5     args.argc = argc;
6     args.argv = argv;
12 -  args.use_windows = 0;
7   -  args.interpreter_p = INTERP_CONSOLE;
8   +  if (strncmp(basename(argv[0]), "insight", 7) == 0) {
15 +    args.use_windows = 1;
9   +    args.interpreter_p = "insight";
10   +  } else if (strncmp(basename(argv[0]), "gdbtui", 6) == 0) {
18 +    args.use_windows = 0;
11   +    args.interpreter_p = INTERP_TUI;
12   +  } else {
21 +    args.use_windows = 0;
13   +    args.interpreter_p = INTERP_CONSOLE;
14   +  }
15     return gdb_main (&args);

Comparing trunk/devel/gdb/files/patch-unified (property cvs2svn:cvs-rev):
Revision 24715 by laffer1, Sat Sep 3 02:00:14 2011 UTC vs.
Revision 24716 by laffer1, Mon Nov 26 17:06:28 2018 UTC

# Line 1 | Line 0
1 1.1

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines