From c4a3d09a712119df016fead2cc26dc6c0605ed2b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 1 Oct 2007 01:39:52 +0000 Subject: 2007-09-30 Mike Frysinger * value.h (lookup_only_internalvar): New prototype. (create_internalvar): Likewise. * value.c (lookup_only_internalvar): New function. (create_internalvar): Likewise. (lookup_internalvar): Use new lookup_only_internalvar and create_internalvar functions. * parse.c (write_dollar_variable): Look up $ symbols in internal table first rather than last. --- gdb/value.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/value.h') diff --git a/gdb/value.h b/gdb/value.h index d6039d0..37094d1 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -434,6 +434,10 @@ extern void set_internalvar_component (struct internalvar *var, int bitpos, int bitsize, struct value *newvalue); +extern struct internalvar *lookup_only_internalvar (char *name); + +extern struct internalvar *create_internalvar (char *name); + extern struct internalvar *lookup_internalvar (char *name); extern int value_equal (struct value *arg1, struct value *arg2); -- cgit v1.1