public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* build pb
@ 2008-09-16 21:29 Aurelien Buhrig
  2008-09-17 12:47 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Aurelien Buhrig @ 2008-09-16 21:29 UTC (permalink / raw)
  To: insight


Since the 21th of august 2008, according to gdb changelog,
DEPRECATED_SYMBOL_NAME definition has been removed.
So insight does not compile any more...

How to fix this ?

Thanks,
Aurélien
-- 
View this message in context: http://www.nabble.com/build-pb-tp19267091p19267091.html
Sent from the Sourceware - insight list mailing list archive at Nabble.com.

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

* Re: build pb
  2008-09-16 21:29 build pb Aurelien Buhrig
@ 2008-09-17 12:47 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2008-09-17 12:47 UTC (permalink / raw)
  To: Aurelien Buhrig; +Cc: insight

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

Aurelien Buhrig wrote:
> Since the 21th of august 2008, according to gdb changelog,
> DEPRECATED_SYMBOL_NAME definition has been removed.
> So insight does not compile any more...
> 
> How to fix this ?

With a patch? ;-)

Keith

2008-09-02  Keith Seitz  <keiths@redhat.com>

         * generic/gdbtk-cmds.c (gdb_listfuncs): Use SYMBOL_PRINT_NAME
         instead of DEPRECATED_SYMBOL_NAME.
         * generic/gdbtk-stack.c (gdb_block_vars): Likewise.
         (gdb_get_vars_command): Likewise.
         * generic/gdbtk.h (GDBTK_SYMBOL_SOURCE_NAME): Likewise.

[-- Attachment #2: remove-DEPRECATED_SYMBOL_NAME.patch --]
[-- Type: text/x-patch, Size: 2733 bytes --]

Index: generic/gdbtk.h
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk.h,v
retrieving revision 1.12
diff -u -p -r1.12 gdbtk.h
--- generic/gdbtk.h	14 Jul 2008 23:43:36 -0000	1.12
+++ generic/gdbtk.h	2 Sep 2008 17:28:39 -0000
@@ -176,7 +176,7 @@ extern void
 #define GDBTK_SYMBOL_SOURCE_NAME(symbol) \
       (SYMBOL_DEMANGLED_NAME (symbol) != NULL \
        ? SYMBOL_DEMANGLED_NAME (symbol)       \
-       : DEPRECATED_SYMBOL_NAME (symbol))
+       : SYMBOL_PRINT_NAME (symbol))
 
 
 /* gdbtk_add_hooks - add all the hooks to gdb.  This will get called
Index: generic/gdbtk-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-cmds.c,v
retrieving revision 1.102
diff -u -p -r1.102 gdbtk-cmds.c
--- generic/gdbtk-cmds.c	2 Aug 2008 22:08:32 -0000	1.102
+++ generic/gdbtk-cmds.c	2 Sep 2008 17:28:40 -0000
@@ -1495,7 +1495,7 @@ gdb_listfuncs (clientData, interp, objc,
 		}
 	      else
 		{
-		  funcVals[0] = Tcl_NewStringObj (DEPRECATED_SYMBOL_NAME (sym), -1);
+		  funcVals[0] = Tcl_NewStringObj (SYMBOL_PRINT_NAME (sym), -1);
 		  funcVals[1] = not_mangled;
 		}
 	      Tcl_ListObjAppendElement (NULL, result_ptr->obj_ptr,
Index: generic/gdbtk-stack.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-stack.c,v
retrieving revision 1.28
diff -u -p -r1.28 gdbtk-stack.c
--- generic/gdbtk-stack.c	14 Jul 2008 23:43:36 -0000	1.28
+++ generic/gdbtk-stack.c	2 Sep 2008 17:28:40 -0000
@@ -122,7 +122,7 @@ gdb_block_vars (ClientData clientData, T
 		case LOC_REGISTER:        /* register              */
 		case LOC_COMPUTED:	  /* computed location     */
 		  Tcl_ListObjAppendElement (interp, result_ptr->obj_ptr,
-					    Tcl_NewStringObj (DEPRECATED_SYMBOL_NAME (sym),
+					    Tcl_NewStringObj (SYMBOL_PRINT_NAME (sym),
 							      -1));
 		  break;
 
@@ -337,7 +337,7 @@ gdb_get_vars_command (ClientData clientD
 	    case LOC_REGPARM_ADDR:	/* indirect register arg */
 	      if (arguments)
 		Tcl_ListObjAppendElement (interp, result_ptr->obj_ptr,
-					  Tcl_NewStringObj (DEPRECATED_SYMBOL_NAME (sym), -1));
+					  Tcl_NewStringObj (SYMBOL_PRINT_NAME (sym), -1));
 	      break;
 	    case LOC_LOCAL:	/* stack local           */
 	    case LOC_STATIC:	/* static                */
@@ -345,7 +345,7 @@ gdb_get_vars_command (ClientData clientD
 	    case LOC_COMPUTED:	/* computed location     */
 	      if (!arguments)
 		Tcl_ListObjAppendElement (interp, result_ptr->obj_ptr,
-					  Tcl_NewStringObj (DEPRECATED_SYMBOL_NAME (sym), -1));
+					  Tcl_NewStringObj (SYMBOL_PRINT_NAME (sym), -1));
 	      break;
 	    }
 	}

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

end of thread, other threads:[~2008-09-02 17:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-16 21:29 build pb Aurelien Buhrig
2008-09-17 12:47 ` 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).