This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] xcoffread.c: Handle variables stored in the TOC
- From: Kevin Buettner <kevinb at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 12 Jul 2002 11:36:24 -0700
- Subject: [PATCH] xcoffread.c: Handle variables stored in the TOC
I've just committed the patch below.
From Nicholas Duffek:
* xcoffread.c (scan_xcoff_symtab): Recognize XMC_TD as a data storage
csect.
Index: xcoffread.c
===================================================================
RCS file: /cvs/src/src/gdb/xcoffread.c,v
retrieving revision 1.19
diff -u -p -r1.19 xcoffread.c
--- xcoffread.c 30 Apr 2002 00:26:44 -0000 1.19
+++ xcoffread.c 12 Jul 2002 18:26:21 -0000
@@ -2277,6 +2277,7 @@ scan_xcoff_symtab (struct objfile *objfi
break;
case XMC_RW:
+ case XMC_TD:
/* Data variables are recorded in the minimal symbol
table, except for section symbols. */
if (*namestring != '.')