From cef4c2e7a5f2d3426a8255f74b6c7f4e795fd9a4 Mon Sep 17 00:00:00 2001 From: Peter Schauer Date: Tue, 5 Oct 1993 19:44:57 +0000 Subject: Changes to support alpha OSF/1 in native mode. * alpha-nat.c, alpha-tdep.c, config/alpha/alpha-osf1.mt, config/alpha/nm-alpha.h, config/alpha/tm-alpha.h, osfsolib.c: New files. * Makefile.in: Add new files and dependencies. * configure.in: Add alpha target. * config/alpha/alpha-osf1.mh (NATDEPFILES): Add osfsolib.o * config/alpha/alpha-osf1.mh (MH_CFLAGS): Remove, we can handle shared libraries now. * config/alpha/xm-alpha.h: Cleanup, get MAKEVA_* defines right. * defs.h (CORE_ADDR): Make its type overridable via CORE_ADDR_TYPE, provide `unsigned int' default. * breakpoint.c (breakpoint_auto_delete): Delete only if we really stopped for the breakpoint. * stabsread.c, stabsread.h (define_symbol): Change valu parameter to a CORE_ADDR. * stabsread.c (read_range_type): Handle the case where the lower bound overflows and the upper doesn't and the range is legal. * infrun.c (resume): Do not step a breakpoint instruction if CANNOT_STEP_BREAKPOINT is defined. * inferior.h (CALL_DUMMY_LOCATION): New variant AT_ENTRY_POINT. Now that we have the bp_call_dummy breakpoint the call dummy code is no longer needed. PUSH_DUMMY_FRAME, PUSH_ARGUMENTS and FIX_CALL_DUMMY can be used to set up everything for the dummy. The breakpoint for the dummy is set at the entry point and thats it. * blockframe.c (inside_entry_file, inside_entry_func): Do not stop backtraces if pc is in the call dummy at the entry point. * infcmd.c (run_stack_dummy): Handle AT_ENTRY_POINT case. Use the expected breakpoint pc when setting up the frame for set_momentary_breakpoint. * symfile.c (entry_point_address): New function for AT_ENTRY_POINT support. * valops.c (call_function_by_hand): Handle AT_ENTRY_POINT case. --- gdb/stabsread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/stabsread.h') diff --git a/gdb/stabsread.h b/gdb/stabsread.h index 8d18ac8..67cefc2 100644 --- a/gdb/stabsread.h +++ b/gdb/stabsread.h @@ -152,7 +152,7 @@ extern void add_undefined_type PARAMS ((struct type *)); extern struct symbol * -define_symbol PARAMS ((unsigned int, char *, int, int, struct objfile *)); +define_symbol PARAMS ((CORE_ADDR, char *, int, int, struct objfile *)); extern void stabsread_init PARAMS ((void)); -- cgit v1.1