don't set use_windows
Tom Tromey <[email protected]> Mon, 13 Jan 2014 14:39:08 -0700
| Newsgroups | gmane.comp.debugging.insight |
|---|---|
| Message-ID | <[email protected]> |
I removed the "use_windows" global from upstream gdb. Nothing ever checked this global. This patch adapts Insight to build against trunk. It should still work fine as nothing in the "src" gdb checks use_windows either. Ok? Tom 2014-01-13 Tom Tromey <[email protected]> * generic/gdbtk-main.c (main): Don't set use_windows. Index: gdbtk/generic/gdbtk-main.c =================================================================== RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-main.c,v retrieving revision 1.4 diff -u -r1.4 gdbtk-main.c --- gdbtk/generic/gdbtk-main.c 23 Dec 2005 18:23:16 -0000 1.4 +++ gdbtk/generic/gdbtk-main.c 13 Jan 2014 21:38:41 -0000 @@ -1,6 +1,6 @@ /* Main function for gdb with insight. - Copyright (C) 2002 Free Software Foundation, Inc. + Copyright (C) 2002, 2014 Free Software Foundation, Inc. This file is part of GDB. @@ -31,7 +31,6 @@ memset (&args, 0, sizeof args); args.argc = argc; args.argv = argv; - args.use_windows = 1; args.interpreter_p = "insight"; return gdb_main (&args); }