diff options
author | Stu Grossman <grossman@cygnus> | 1994-03-21 19:52:50 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1994-03-21 19:52:50 +0000 |
commit | 30f5dbc0d8f05df78b2b3fb54723884cb9e31cbc (patch) | |
tree | 5040f52ce735f17c92707c0115e031ccacd03bed /gdb/config | |
parent | 93e53ea4d931f1bc206869331f20a1c54fa77474 (diff) | |
download | gdb-30f5dbc0d8f05df78b2b3fb54723884cb9e31cbc.zip gdb-30f5dbc0d8f05df78b2b3fb54723884cb9e31cbc.tar.gz gdb-30f5dbc0d8f05df78b2b3fb54723884cb9e31cbc.tar.bz2 |
* alpha-tdep.c: Gobs of changes (many imported from mips-tdep) to
improve remote debugging efficiency. Also fixed problems with
doing function calls for programs with no entry points.
* infcmd.c (run_stack_dummy): Use CALL_DUMMY_ADDRESS instead of
entry_point_address.
* inferior.h (PC_IN_CALL_DUMMY): ditto.
* mdebugread.c (parse_symbol, parse_procedure, parse_external,
parse_lines): Pass section_offsets info to these routines so that
we can relocate symbol table entries upon readin.
* (psymtab_to_symtab_1): Set symtab->primary to tell
objfile_relocate to do relocations for our symbols.
* (ecoff_relocate_efi): New routine to relocate adr field of PDRs
(which hang off of the symbol table).
* Use prim_record_minimal_symbols_and_info instead of
prim_record_minimal_symbols to supply section info to make minimal
symbol relocations work.
* minsyms.c (prim_record_minimal_symbols_and_info): If section is
-1, try to deduce it from ms_type.
* objfiles.c (objfile_relocate): Use ALL_OBJFILE_SYMTABS where
appropriate. Handle relocation of MIPS_EFI symbols special. Also,
add code to relocate objfile->sections data structure.
* remote.c (get_offsets): Use new protocol message to acquire
section offsets from the target.
* (remote_wait): Get rid of relocation stuff. That's all handled
by objfile_relocate now.
* config/alpha/alpha-nw.mt (TM_FILE): Use tm-alphanw.h.
* config/alpha/tm-alpha.h: Define CALL_DUMMY_ADDRESS, and
VM_MIN_ADDRESS.
* config/alpha/tm-alphanw.h: DECR_PC_AFTER_BREAK=0, VM_MIN_ADDRESS=0.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/alpha/alpha-nw.mt | 2 | ||||
-rw-r--r-- | gdb/config/alpha/tm-alphanw.h | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/gdb/config/alpha/alpha-nw.mt b/gdb/config/alpha/alpha-nw.mt index 77bf4d7..9942d10 100644 --- a/gdb/config/alpha/alpha-nw.mt +++ b/gdb/config/alpha/alpha-nw.mt @@ -1,3 +1,3 @@ # Target: Little-endian Alpha TDEPFILES= alpha-tdep.o exec.o -TM_FILE= tm-alpha.h +TM_FILE= tm-alphanw.h diff --git a/gdb/config/alpha/tm-alphanw.h b/gdb/config/alpha/tm-alphanw.h new file mode 100644 index 0000000..cf3075e --- /dev/null +++ b/gdb/config/alpha/tm-alphanw.h @@ -0,0 +1,10 @@ +/* GDB target definitions for Alpha running Netware. */ + +/* Alpha/Netware uses NT PALcode, which causes call_pal bpt to give the PC of the + actual breakpoint, not PC+4, (like the OSF1 PALcode). */ + +#define DECR_PC_AFTER_BREAK 0 + +#define VM_MIN_ADDRESS ((CORE_ADDR)0) + +#include "alpha/tm-alpha.h" |