Andrew Cagney [Wed, 17 Dec 1997 16:50:18 +0000 (16:50 +0000)]
o Fix code deleting psymtab entry from objfile's list.
Only worked if the first element in the list was
being deleted.
o When MAINLINE (reading main objectfile and need to
clear out old data), change elfread.c so that the
psymbol table is emptied once (in elf_symfile_read)
instead of multiple times in each *_read_psymtab
function.
o For elf_symfile_read, load dwarf2 symbols last
(so that they are searched for first).
o In mdebug_psymtab_read, delete check to see if
symbols for current source file already loaded.
Test doesn't work for .h files. Above change
works better
Michael Snyder [Wed, 17 Dec 1997 10:49:19 +0000 (10:49 +0000)]
Wed Dec 17 10:47:05 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* tracepoint.c (set_raw_tracepoint): initialize addr_string
to NULL; (trace_actions_command): call readline_begin_hook only
if from_tty is true.
Ian Lance Taylor [Wed, 17 Dec 1997 09:16:05 +0000 (09:16 +0000)]
* lexsup.c (parse_args): Keep track of where we are in the option
parsing before calling ldemul_parse_args, so that we don't call it
multiple times on the same argument and confuse the getopt
internals.
Mark Alexander [Tue, 16 Dec 1997 20:10:36 +0000 (20:10 +0000)]
* configure.tgt: Change little-endian tx39 target name to tx39l.
start-sanitize-tx19
* configure.tgt: Change little-endian tx19 target name to tx19l.
end-sanitize-tx19
Fred Fish [Tue, 16 Dec 1997 20:03:53 +0000 (20:03 +0000)]
* config/tc-tic80.c (tic80_relax): New static variable.
(md_longopts): Add new OPTION_RELAX and OPTION_NO_RELAX options.
(md_parse_option): Handle new relax options.
(md_show_usage): Document new relax options.
(find_opcode): Don't use short forms of PC relative branches if
tic80_relax is set.
PR 12927
Fred Fish [Tue, 16 Dec 1997 20:01:50 +0000 (20:01 +0000)]
* tic80-opc.c (tic80_opcodes): Revert change that put the 32 bit
PC relative offset forms before the 15 bit forms. An assembler command
line option now chooses the default.
PR 12927
David Taylor [Tue, 16 Dec 1997 07:43:26 +0000 (07:43 +0000)]
back trace now works when using external memory and frameless functions; all
arguments are passed in args registers until we run out; finding saved regs
now has two offsets not just one doing double duty.
TARGET_READ_SP / TARGET_WRITE_SP are (temporarily?) commented out.
Fred Fish [Mon, 15 Dec 1997 23:16:12 +0000 (23:16 +0000)]
* coffcode.h (ALIGN_SECTIONS_IN_FILE): Define if I960 not defined.
(coff_compute_section_file_positions): Use ALIGN_SECTIONS_IN_FILE
to decide when to align the file sections for paging.
* coffcode.h (ALIGN_SECTIONS_IN_FILE): Undefine for TIC80COFF.
PR 13814
Brendan Kehoe [Mon, 15 Dec 1997 19:59:12 +0000 (19:59 +0000)]
* configure: Only build libopcodes shared if --enable-shared's value
was `yes', or was set to `*opcodes*'.
* aclocal.m4: Likewise.
so `--enable-shared=libstdc++' doesn't result in building a shared libopcodes
only an interim fix, this is the incorrect formal approach since alocal.m4
itself is generated via what's in devo/libtool/libtool.m4; we need to find
a way to have that somehow hold the real fix.
Jim Blandy [Mon, 15 Dec 1997 18:24:59 +0000 (18:24 +0000)]
Revert addition of test suite from Alcatel --- we don't have papers
for these. Changes bracketed with tags jimb_pre_revert_pr13812,
jimb_post_revert_pr13812, so we can easily re-add them when we receive
papers.
Andrew Cagney [Mon, 15 Dec 1997 12:38:05 +0000 (12:38 +0000)]
(Mostly from Gavin Koch)
In dwarf2read.c, if the ABI is 32 bit and 64 bit addresses are encountered
discard the most significant 32 bits.
Use CORE_ADDR for address variables instead of long.
Add more explicit tx49 configur target.
Check/use sigaction/SA_RESTART in remote-sim.c
Fred Fish [Sat, 13 Dec 1997 00:58:43 +0000 (00:58 +0000)]
* config/tc-tic80.c (build_insn): Handle instructions that have
long (32 bit) PC relative offsets. Fix places that previously
misused R_MPPCR for 15 bit offsets to use the new R_MPPCR15W type.
(md_apply_fix): Add case to handle long PC relative offsets.
PR 12927
Fred Fish [Sat, 13 Dec 1997 00:54:33 +0000 (00:54 +0000)]
* tic80-opc.c (OFF_SL_PC, OFF_SL_BR): Minor formatting change.
(tic80_opcodes): Reorder table entries to put the 32 bit PC relative
offset forms before the 15 bit forms, to default to the long forms.
PR 12927
* linker.c (generic_link_add_symbol_list): Always init udata.p so
that the generic relaxation code can function when input and output
file formats are mismatched.
Ian Lance Taylor [Thu, 11 Dec 1997 06:07:10 +0000 (06:07 +0000)]
* elf.c (assign_file_positions_for_segments): For a loadable
section, make sure that the load address is correct relative to
the load address of the segment plus the size of the segment so
far.
Keith Seitz [Thu, 11 Dec 1997 03:05:13 +0000 (03:05 +0000)]
* gdbtk.c (gdb_get_tracepoint_info): use info in struct
symtab_and_line, not struct tracepoint
arrange data more like gdb_get_breakpoint_info
(tracepoint_notify): use info in struct symtab_and_line,
not struct tracepoint
(gdbtk_init): add command "gdb_get_tracepoint_list" into
interpreter
(gdb_get_tracepoint_list): new function
David Taylor [Thu, 11 Dec 1997 00:14:33 +0000 (00:14 +0000)]
changed d10v instruction patterns to d30v ones and made them defines rather
than sprinkled throughout the code. changes to several functions; backtraces
now work and calling functions in the inferior partially works. Registers
do not yet track the frame.