This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Replace DEPRECATED_SYMBOL_NAME in i386-tdep.c


Sorry for the almost empty subject line on the similar patch to
i386-linux-tdep.c that I sent out yesterday.  Anyway, this gets rid of
DEPRECATED_SYMBOL_NAME in i386-tdep.c.

Checked in.

Mark


Index: ChangeLog
from  Mark Kettenis  <kettenis at gnu dot org>

	* i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
	DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.

Index: i386-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-tdep.c,v
retrieving revision 1.114
diff -u -p -r1.114 i386-tdep.c
--- i386-tdep.c 2 Mar 2003 04:02:23 -0000 1.114
+++ i386-tdep.c 2 Mar 2003 10:38:43 -0000
@@ -1293,7 +1293,7 @@ i386_pe_skip_trampoline_code (CORE_ADDR 
       unsigned long indirect = read_memory_unsigned_integer (pc + 2, 4);
       struct minimal_symbol *indsym =
 	indirect ? lookup_minimal_symbol_by_pc (indirect) : 0;
-      char *symname = indsym ? DEPRECATED_SYMBOL_NAME (indsym) : 0;
+      char *symname = indsym ? SYMBOL_LINKAGE_NAME (indsym) : 0;
 
       if (symname)
 	{


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]