aboutsummaryrefslogtreecommitdiff
path: root/gdb/partial-stab.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1991-12-27 03:55:12 +0000
committerFred Fish <fnf@specifix.com>1991-12-27 03:55:12 +0000
commitb440b1e9e4376498e106e92967563898a1f2ce4b (patch)
tree6f9836ba35eb517a45bca15700005723d36a0681 /gdb/partial-stab.h
parent62ddb92b9f690e84676dec711d572e08e828446d (diff)
downloadgdb-b440b1e9e4376498e106e92967563898a1f2ce4b.zip
gdb-b440b1e9e4376498e106e92967563898a1f2ce4b.tar.gz
gdb-b440b1e9e4376498e106e92967563898a1f2ce4b.tar.bz2
Various changes to clean up ADD_PSYMBOL_TO_LIST and ADD_PSYMBOL_ADDR_TO_LIST
usages.
Diffstat (limited to 'gdb/partial-stab.h')
-rw-r--r--gdb/partial-stab.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h
index d901795..d4b3dea 100644
--- a/gdb/partial-stab.h
+++ b/gdb/partial-stab.h
@@ -23,22 +23,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
CUR_SYMBOL_VALUE --Value field of current symbol. May be adjusted here.
*/
-#ifdef DEBUG
-/* Since one arg is a struct, we have to pass in a ptr and deref it (sigh) */
-#define ADD_PSYMBOL_TO_LIST(NAME, NAMELENGTH, NAMESPACE, CLASS, LIST, VALUE) \
- add_psymbol_to_plist(NAME, NAMELENGTH, NAMESPACE, CLASS, &LIST, VALUE)
-#define ADD_PSYMBOL_ADDR_TO_LIST(NAME, NAMELENGTH, NAMESPACE, CLASS, LIST, VALUE) \
- add_psymbol_to_plist(NAME, NAMELENGTH, NAMESPACE, CLASS, &LIST, VALUE)
-#else
-/* Add a symbol with an integer value to a psymtab. */
-#define ADD_PSYMBOL_TO_LIST(NAME, NAMELENGTH, NAMESPACE, CLASS, LIST, VALUE) \
- ADD_PSYMBOL_VT_TO_LIST(NAME, NAMELENGTH, NAMESPACE, CLASS, LIST, VALUE, SYMBOL_VALUE)
-
-/* Add a symbol with a CORE_ADDR value to a psymtab. */
-#define ADD_PSYMBOL_ADDR_TO_LIST(NAME,NAMELENGTH, NAMESPACE,CLASS, LIST,VALUE)\
- ADD_PSYMBOL_VT_TO_LIST(NAME, NAMELENGTH, NAMESPACE, CLASS, LIST, VALUE, SYMBOL_VALUE_ADDRESS)
-#endif
-
/* End of macro definitions, now let's handle them symbols! */
switch (CUR_SYMBOL_TYPE)