public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* don't set use_windows
@ 2014-01-13 21:39 Tom Tromey
  2014-01-13 22:13 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Tromey @ 2014-01-13 21:39 UTC (permalink / raw)
  To: Insight List

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  <tromey@redhat.com>

	* 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);
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-13 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-13 21:39 don't set use_windows Tom Tromey
2014-01-13 22:13 ` Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).