[RFA] valops.c: delete unused VALUE_SUBSTRING_START

Nicholas Duffek nsd@redhat.com
Wed Jan 3 12:40:00 GMT 2001


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


More information about the Gdb-patches mailing list