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.
Andrew Cagney [Tue, 9 Dec 1997 04:01:06 +0000 (04:01 +0000)]
For bfd, add vr5400 and vr5000 mips machine variants to list of machines.
For sim/mips, enable multi-sim support when mips64vr5400-elf is target.
For sim/igen, allow specification of a default machine (will need
more work later).
Keith Seitz [Tue, 9 Dec 1997 00:25:07 +0000 (00:25 +0000)]
* gdbtk.c (gdb_get_tracepoint_info): use info in struct
symtab_and_line, not struct tracepoint.
(tracepoint_notify): use info in struct symtab_and_line,
not struct tracepoint
Andrew Cagney [Mon, 8 Dec 1997 03:22:58 +0000 (03:22 +0000)]
For "trap", IBT and RIE exceptions, mask all PSW.SM. NB: Stepping
through an exception may not work correctly.
For GDB reads/writes to the control registers, ensure the cpu state is
updated correctly.
* tracepoint.c (finish_tfind_command): call do_display so that
auto-displays are updated by tfind. Also, keep track of frame
and current-function so that tfind behaves like stepping (only
show the stack frame if we step into a new function or return).
David Taylor [Wed, 3 Dec 1997 19:30:06 +0000 (19:30 +0000)]
fixes for debugging threaded core files. Previously gdb would find the
kernel threads but would get errors on each of the user threads that wasn't
currently assigned to a kernel thread. PR's gdb/13803 (and gdb/13618).
Andrew Cagney [Wed, 3 Dec 1997 08:03:33 +0000 (08:03 +0000)]
* d10v_sim.h (SEXT56): Define.
* simops.c (OP_4201): For "rac", sign extend 56 bit value before
it is shifted.
* d10v_sim.h (MAX32, MIN32, MASK32, MASK40): Re-define using
SIGNED64 macro.
Fred Fish [Tue, 2 Dec 1997 23:13:56 +0000 (23:13 +0000)]
* interp.c (sim_resume): Call do_2_short with LEFT_FIRST or
RIGHT_FIRST, as appropriate, instead of hardcoded ints that
don't match enum values.
PR 13496
* windres.h (ESCAPE_*): Define standard escape sequences.
* rclex.l (handle_quotes): Handle standard escape sequences. Warn
about an unrecognized escape character.
* windres.c (unicode_print): Print standard escape sequences.
* rcparse.y (acc_event): Initialize $$.next.
* resbin.c (bin_to_res_menuitems): Don't set MENUITEM_POPUP or
MENUITEM_ENDMENU in the menu item flags.
(bin_to_res_accelerators): Allocate a structure (the old code
never worked).
(res_to_bin_accelerator): Correct the test for setting ACC_LAST.
(res_to_bin_dialog): Save the extended style rather than saving
the style twice. Remove useless shadowing length variable. Set
the length of control data correctly.
* resrc.c (write_rc_dialog): Don't print the class or menu if the
string length is zero.
* m68k-opc.c: Add argument for lpstop. From Olivier Carmona
<[email protected]>.
* m68k-dis.c (print_insn_m68k): Handle special case of lpstop,
which has a two word opcode with a one word argument.
Andrew Cagney [Mon, 1 Dec 1997 06:27:02 +0000 (06:27 +0000)]
Rework sim/common/sim-alu.h to differentiate between direcct
subtraction (involves borrow) and negated addition (involves carry).
Update d30v so that it uses this method. Add more tests.
Keith Seitz [Wed, 26 Nov 1997 22:38:10 +0000 (22:38 +0000)]
* tracepoint.c (set_raw_tracepoint): make sure there's a trailing slash on
the directory name
* Merge (lots) with foundry-971118-build
* Makefile.in (install-only): install the new gdbtk, not the old
* top.h: add declaration of get_prompt
* top.c (get_prompt): new function
* gdbtk.c (gdbtk_call_command): also run idle hooks for class_trace
commands
(gdbtk_init): add new commands "gdb_get_locals", "gdb_get_args",
"gdb_get_function", "gdb_get_line", "gdb_get_file",
"gdb_tracepoint_exists", "gdb_get_tracepoint_info", "gdb_actions",
and "gdb_prompt"
(gdb_get_vars_command): new function
(gdb_get_line_command): new function
(gdb_get_file_command): new function
(gdb_get_function_command): new function
(gdb_get_tracepoint_info): new function
(gdbtk_create_tracepoint): new function
(gdbtk_delete_tracepoint): new function
(tracepoint_notify): new function
(tracepoint_exists): new function
(gdb_actions_command): new function
(gdb_tracepoint_exists_command): new function
(gdb_prompt_command): new function
* main.tcl: initialize gdbtk_state(readline)
* console.tcl (invoke): get realine working
(activate): add prompt argument for readline
(setprompt): add prompt argument for readline
* interface.tcl (gdbtk_tcl_readline): hack to get readline working
* interface.tcl (gdbtk_tcl_tracepoint): new function
* src.tcl (constructor): set default behavior of left click, make
a tracepoint dot, too
(fill_files): "new" function: ripped out of "location"
(location): use fill_files instead
(do_bp): add support for tracepoints
(bp_line): add support for tracepoints
(set_tracepoint): new function
(config_win): add "Set tracepoint here" to right-click menu
* actiondlg.tcl: new file to help with tracepoint data collection actions