aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.h
diff options
context:
space:
mode:
authorDavid Taylor <taylor@redhat.com>1998-12-10 21:25:43 +0000
committerDavid Taylor <taylor@redhat.com>1998-12-10 21:25:43 +0000
commit4770ff087a88ed81794edb49d9558acbdd0a22a5 (patch)
tree3474d41502fb5afd58f43f6146b371f691ca1de3 /gdb/buildsym.h
parent51d57b0aa645837382c51d0053b0c75ef30c63a2 (diff)
downloadgdb-4770ff087a88ed81794edb49d9558acbdd0a22a5.zip
gdb-4770ff087a88ed81794edb49d9558acbdd0a22a5.tar.gz
gdb-4770ff087a88ed81794edb49d9558acbdd0a22a5.tar.bz2
Start of HP merge changes to GDB.
Diffstat (limited to 'gdb/buildsym.h')
-rw-r--r--gdb/buildsym.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/gdb/buildsym.h b/gdb/buildsym.h
index 5cf7548..feb22a1 100644
--- a/gdb/buildsym.h
+++ b/gdb/buildsym.h
@@ -80,6 +80,16 @@ EXTERN unsigned char processing_gcc_compilation;
EXTERN unsigned char processing_acc_compilation;
+/* elz: added this flag to know when a block is compiled with HP
+ compilers (cc, aCC). This is necessary because of the macro
+ COERCE_FLOAT_TO_DOUBLE defined in tm_hppa.h, which causes
+ a coercion of float to double to always occur in parameter passing
+ for a function called by gdb (see the function value_arg_coerce in
+ valops.c). This is necessary only if the target
+ was compiled with gcc, not with HP compilers or with g++ */
+
+EXTERN unsigned char processing_hp_compilation;
+
/* Count symbols as they are processed, for error messages. */
EXTERN unsigned int symnum;
@@ -105,6 +115,8 @@ EXTERN struct pending *global_symbols; /* global functions and variables */
EXTERN struct pending *local_symbols; /* everything local to lexic context */
+EXTERN struct pending *param_symbols; /* func params local to lexic context */
+
/* Stack representing unclosed lexical contexts
(that will become blocks, eventually). */
@@ -114,6 +126,10 @@ struct context_stack
struct pending *locals;
+ /* Pending func params at the time we entered */
+
+ struct pending *params;
+
/* Pointer into blocklist as of entry */
struct pending_block *old_blocks;
@@ -275,6 +291,9 @@ record_pending_block PARAMS ((struct objfile *, struct block *,
extern void
record_debugformat PARAMS ((char *));
+extern void
+merge_symbol_lists PARAMS ((struct pending **, struct pending **));
+
#undef EXTERN
#endif /* defined (BUILDSYM_H) */