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]

[RFA] valops.c: delete unused VALUE_SUBSTRING_START


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

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