This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA] valops.c: delete unused VALUE_SUBSTRING_START
- To: gdb-patches at sources dot redhat dot com
- Subject: [RFA] valops.c: delete unused VALUE_SUBSTRING_START
- From: Nicholas Duffek <nsd at redhat dot com>
- Date: Wed, 3 Jan 2001 15:42:23 -0500
While looking through valops.c, I encountered an undocumented macro
VALUE_SUBSTRING_START that isn't used anywhere.
ChangeLog:
* valops.c (VALUE_SUBSTRING_START): Delete.
Tested on i686-pc-linux-gnu. Okay to apply?
Nicholas Duffek
<nsd@redhat.com>
[patch follows]
Index: gdb/valops.c
===================================================================
diff -up gdb/valops.c gdb/valops.c
--- gdb/valops.c Tue Dec 19 11:08:37 2000
+++ gdb/valops.c Tue Dec 19 11:08:03 2000
@@ -70,8 +70,6 @@ static struct fn_field *find_method_list
void _initialize_valops (void);
-#define VALUE_SUBSTRING_START(VAL) VALUE_FRAME(VAL)
-
/* Flag for whether we want to abandon failed expression evals by default. */
#if 0