Jeff Law
db98e4d85e
* paread.c (pa_symfile_init): Look for the $TEXT$ section rather
...
than the .text section.
1993-11-15 08:42:01 +00:00
Jeff Law
097960116a
* bfd-in2.h: Rebuilt.
1993-11-15 07:34:01 +00:00
Jim Kingdon
f6d7df5638
* stabsread.c: Remove #if 0'd dbx_class_complaint. We now handle
...
this (more or less) gracefully, and complain() was never a good
way of dealing with this.
1993-11-15 05:36:36 +00:00
Jeff Law
cca528fa66
* objdump.c (dump_stabs): Handle stabs-in-som as implemented
...
by the new BFD SOM assembler.
1993-11-14 08:29:27 +00:00
Jeff Law
20fde16acc
* gdb.stabs/hppa.mt: A makefile fragment for the PA.
...
* gdb.stabs/configure.in (hppa*-*-*): Use it.
* gdb.stabs/hppa.sed: New sed script for the PA.
1993-11-14 07:20:53 +00:00
Jim Kingdon
dd06d920c8
* gdb.stabs: Re-write weird.def and configuration to use sed
...
instead of cpp. sed is portable and POSIX; cpp is neither.
1993-11-14 06:50:42 +00:00
Jim Kingdon
79cf7e1f33
* stabsread.c (read_type): Skip the colon when reading a
...
cross-reference. Only complain, not error_type, on unrecognized
cross-reference types. error_type, not dump core, if the colon is
missing.
1993-11-14 06:40:47 +00:00
Jim Kingdon
f50cb1a34d
* stabs.texinfo (Nested Symbols): New node.
...
(String Field, Symbol Descriptors, Cross-References): Refer to it.
1993-11-14 06:33:55 +00:00
Jim Kingdon
68702ea3dd
* gdb.stabs: Re-write weird.def and configuration to use sed
...
instead of cpp. sed is portable and POSIX; cpp is neither.
1993-11-14 05:57:47 +00:00
Jim Kingdon
aad143dc5d
* gdb.stabs: Re-write weird.def and configuration to use sed
...
instead of cpp. sed is portable and POSIX; cpp is neither.
1993-11-14 05:35:22 +00:00
Jeff Law
91c0bcbbd0
* som.c (som_bfd_reloc_type_lookup): Add missing prototype. Returns
...
a pointer to constant data. Delete bogus #define which made the
function useless.
1993-11-14 01:32:09 +00:00
Jeff Law
6eb644081a
* som.c (som_begin_writing): New function.
1993-11-14 00:56:58 +00:00
Jeff Law
0b35f7ec59
* som.c (som_write_space_strings): New function.
...
(som_write_symbol_strings): New function.
1993-11-14 00:33:00 +00:00
Jeff Law
9d0dea6fca
* som.c (som_write_fixups): New function.
1993-11-14 00:00:05 +00:00
Jeff Law
aff9779048
* som.c (som_prep_for_fixups): New function.
1993-11-13 23:28:34 +00:00
David MacKenzie
938fa52b82
fix NAME hyphen
1993-11-13 15:16:23 +00:00
Jeff Law
980bac6418
* som.c (som_write_object_contents): Do not abort. Flesh out.
...
(som_set_section_contents): Do not abort. Flesh out.
1993-11-13 08:57:07 +00:00
Jeff Law
713de7ec97
* som.c (som_build_and_write_symbol_table): New function.
1993-11-13 08:37:14 +00:00
Jeff Law
efc0df7cff
* som.c (som_write_headers): New function.
1993-11-13 08:02:43 +00:00
Jeff Law
7057b78fb8
* som.c (som_reloc_call): New function.
1993-11-13 07:22:06 +00:00
Jeff Law
2212ff9277
* som.c (som_sizeof_headers): Add missing prototype.
...
(som_set_arch_mach): Do not abort.
1993-11-13 06:52:07 +00:00
Jeff Law
0ffa24b979
* som.c (som_prep_headers): New function.
1993-11-13 06:44:29 +00:00
Jeff Law
3e330968cd
* config/tc-hppa.[ch]: Fix assorted trivial indention problems.
1993-11-13 01:08:50 +00:00
Jeff Law
4a1b59ef72
* config/obj-som.c (obj_som_version): Add missing ';'.
...
(som_frob_file): Delete whitespace at EOL.
1993-11-13 00:54:15 +00:00
Jeff Law
5532fc5af1
* som.c (som_count_spaces): New function.
...
(som_count_subspaces): New function.
(compare_syms): New function.
(som_compute_checksum): New function.
1993-11-13 00:39:20 +00:00
Jeff Law
32619c583f
* som.c (hppa_som_gen_reloc_type): New function.
...
(som_bfd_reloc_type_lookup): New function.
1993-11-13 00:28:06 +00:00
Stu Grossman
537eba71b1
* config/m68k/tm-sun3.h: Disable use of alternate breakpoint insn
...
when doing remote stuff.
1993-11-13 00:26:06 +00:00
Jeff Law
54bbfd3762
* som.c (try_prev_fixup): New function.
...
(som_reloc_skip): New function.
(som_reloc_addend): New function.
1993-11-13 00:16:17 +00:00
Jeff Law
d125665cbb
* som.c (som_initialize_reloc_queue): New function.
...
(som_reloc_queue_insert): Likewise.
(som_reloc_queue_fix): Likewise.
(som_reloc_queue_find): Likewise.
1993-11-13 00:07:20 +00:00
Jim Kingdon
963ee102f2
* c-exp.y (yylex): Call lookup_symtab not lookup_partial_symtab.
1993-11-13 00:06:49 +00:00
Jeff Law
fcb0c84690
* som.c (som_hppa_howto_table): SOM howto relocation table.
...
(hppa_som_reloc): New function.
1993-11-12 23:49:58 +00:00
Ken Raeburn
f3b6e1f2b1
version number updated following 2.2 release
1993-11-12 23:44:55 +00:00
Jeff Law
4fdb66cd50
* som.c (struct reloc_queue): New structure to keep track of
...
the last four multibyte relocations emitted.
(enum pa_symbol_type): Type to fully describe the symbol types
associated with .import/.export assembler directives.
1993-11-12 23:43:24 +00:00
Jeff Law
70f1d7387e
* som.c: Include libhppa.h
1993-11-12 23:39:35 +00:00
Jeff Law
40249bfb73
* som.c (bfd_som_set_section_attributes): New function.
...
(bfd_som_set_subsection_attributes): Likewise.
(bfd_som_set_symboL_type): Likewise.
(bfd_som_attach_unwind_info): Likewise.
* som.h: Declare new exported functions.
1993-11-12 23:36:04 +00:00
Jeff Law
176ed088ef
* som.h (struct som_symbol): Add new fields to hold additional
...
information needed to build/write symbol tables and fixup streams.
(struct som_section_data_struct): Add new fields to hold additional
information needed to build/write space and subspace headers.
(som_symbol_data): New accessor macro for SOM symbol information.
(R_HPPA_*): Basic relocation types to be used by the assembler.
1993-11-12 23:08:13 +00:00
Jeff Law
f2eed8840d
* config/tc-hppa.c (hppa_fix_struct): Use a real type for the
...
field selector, rather than an int. All uses of field selectors
fixed.
(tc_gen_reloc): For SOM PLABELs, always set addend to zero for now.
(md_apply_fix_1): Do not call hppa_field_adjust for any PLABEL
field.
1993-11-12 22:54:41 +00:00
Jim Kingdon
9d271503e8
* partial-stab.h: Ignore ':' symbol descriptors. Same case as
...
Kung's stabsread.c change.
1993-11-12 22:30:05 +00:00
Jim Kingdon
397f9dcdb9
* stabs.texinfo (Nested Symbols): New node.
...
(String Field, Symbol Descriptors): Refer to it.
1993-11-12 22:18:29 +00:00
Jim Kingdon
b219511b11
* gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
1993-11-12 21:32:42 +00:00
Kung Hsu
2fb58b984c
Modified Files:
...
ChangeLog stabsread.c
* stabsread.c (patch_block_stabs, define_symbol, read_type): in
g++ template instantiation, nested class can be part of the
params, and '::' can gets into symbol or type names. This is
to fix the problem. (fix pr3837)
1993-11-12 19:34:24 +00:00
Kung Hsu
624456be75
Modified Files:
...
gdbtypes.c ChangeLog
* gdbtypes.c (lookup_struct_elt_type): Handle type ref or pointer
to struct/union case. (fix pr3857)
1993-11-12 19:21:13 +00:00
Stu Grossman
9a13e99e20
* coff-solib.c (coff_solib_add): Cast result of alloca().
...
* m68k-tdep.c (m68k_saved_pc_after_call): Get rid of
GDB_TARGET_IS_SUN3. Use more general SYSCALL_TRAP macro.
* config/m68k/m68klynx.mh (NATDEPFILES): Remove exec.o (it's
already in TDEPFILES).
* config/m68k/tm-m68k.h (SAVED_PC_AFTER_CALL): Use
m68k_saved_pc_after_call.
* Remove all Sun3 specific stuff.
* (FIX_CALL_DUMMY): Cast arg to bfd_putb32 to unsigned char *.
* config/m68k/tm-m68klynx.h: Define SYSCALL_TRAP as trap #10 .
Disable REMOTE_BREAKPOINT mechanism.
* config/m68k/tm-sun3.h: Get rid of GDB_TARGET_IS_SUN3.
* Protect from multiple includion.
* Move Sun3 specific stuff from tm-m68k.h to here.
* Define SYSCALL_TRAP as trap #0 .
* Remove def of SAVED_PC_AFTER_CALL (now in tm-m68k.h).
* gdbserver/low-lynx.c: Redo all register store/fetch stuff to
make it portable for 386 and 68k.
1993-11-12 18:59:43 +00:00
Jim Kingdon
115f743028
* trad-core.c (trad_unix_core_file_p): If new hook
...
TRAD_CORE_ALLOW_ANY_EXTRA_SIZE defined, then skip the check for the
corefile being too big.
* hosts/i386sco.h: Define it.
1993-11-12 17:10:56 +00:00
Jim Kingdon
002a422b22
* mips-tdep.c (init_extra_frame_info): Check to see whether the
...
registers mentioned in the proc_desc have been saved. This
generalizes mips_in_lenient_prologue in the sense that we keep
searching until we've found saves for all the registers, not just
look for a "lenient prologue" pattern.
* mips-tdep.c: #if 0 lenient prologue code.
* mips-tdep.c (heuristic_proc_desc): Don't assume a host short
is 16 bits.
1993-11-12 16:35:59 +00:00
Jim Kingdon
6fd1e9eeb1
* config/i386/i386sol2.mh: Comment out corelow.o.
1993-11-12 05:33:56 +00:00
Jim Kingdon
4c7db70b42
* printcmd.c (address_info): Use filtered, not unfiltered functions.
...
We should be able to deal with a QUIT here.
1993-11-12 02:06:50 +00:00
Stan Shebs
dd3f0e5b7d
More correct m68k LynxOS support
1993-11-12 00:37:00 +00:00
Jeff Law
a721c80b05
* config/tc-hppa.c (pa_type_args): For .import statements,
...
silently ignore attempt to change the symbol type for a function
from ST_ENTRY to ST_CODE on .import
1993-11-11 23:51:20 +00:00
Jeff Law
8a71bf96a2
* bfd.c (struct _bfd): Add hppabsd_core_data.
...
* targets.c (target_vector): Add hppabsd_core_vec.
* hpux-core.c (hpux_core_core_file_p): Fail if an unknown core
section is encountered during core section scanning.
* hppabsd-core.c: New file.
* config/hppabsd.mh: Enable HPPA BSD core files.
1993-11-11 23:44:36 +00:00