aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-09-17 19:48:42 +0000
committerMark Kettenis <kettenis@gnu.org>2003-09-17 19:48:42 +0000
commit192cb3d4e24944db8dfac26575a1209605dffee0 (patch)
tree99165e9de7a4ccea2fb6d292bfd3c07b16ca5eb7 /gdb/arch-utils.h
parentefe59759d8d01aa611222e4d7000e41561945741 (diff)
downloadgdb-192cb3d4e24944db8dfac26575a1209605dffee0.zip
gdb-192cb3d4e24944db8dfac26575a1209605dffee0.tar.gz
gdb-192cb3d4e24944db8dfac26575a1209605dffee0.tar.bz2
* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment.
* gdbarch.h, gdbarch.c: Regenerate. (stabs_argument_has_addr): New architecture method. * arch-utils.h (default_stabs_argument_has_addr): New prototype. * arch-utils.c: Include "buildsym.h". (default_stabs_argument_has_addr): New function. * stabsread.c (define_symbol): Use stabs_argument_has_addr instead of DEPRECATED_REG_STRUCT_HAS_ADDR.
Diffstat (limited to 'gdb/arch-utils.h')
-rw-r--r--gdb/arch-utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/arch-utils.h b/gdb/arch-utils.h
index d2e6829..06f7bf3 100644
--- a/gdb/arch-utils.h
+++ b/gdb/arch-utils.h
@@ -138,6 +138,9 @@ extern void legacy_register_to_value (struct frame_info *frame, int regnum,
extern void legacy_value_to_register (struct frame_info *frame, int regnum,
struct type *type, const void *from);
+extern int default_stabs_argument_has_addr (struct gdbarch *gdbarch,
+ struct type *type);
+
/* For compatibility with older architectures, returns
(LEGACY_SIM_REGNO_IGNORE) when the register doesn't have a valid
name. */