Jim Blandy
bf6a4419d6
* ch-valprint.c (chill_val_print): To avoid segfaults, don't print
...
a string whose dynamic length is longer than its static length.
1997-12-10 22:58:21 +00:00
Jim Blandy
b2839a5602
* gch1494.ch, gch1494.exp: New tests, for PR 13812.
1997-12-10 22:58:03 +00:00
Ian Lance Taylor
7751f03a62
Source directory cvs renamed to cvssrc:
...
* configure.in (host_tools): Change cvs to cvssrc.
(native_only): Likewise.
(noconfigdirs) [various cases]: Likewise.
* Makefile.in (ALL_MODULES): Change all-cvs to all-cvssrc.
(CROSS_CHECK_MODULES): Change check-cvs to check-cvssrc.
(INSTALL_MODULES): Change install-cvs to install-cvssrc.
(CLEAN_MODULES): Change clean-cvs to clean-cvssrc.
(all-cvssrc): Rename target from all-cvs.
1997-12-10 20:15:56 +00:00
Michael Meissner
70a810424d
Add .rel/.rela sections; Setup constructors/destructors; Delete sections not linked in
1997-12-10 19:30:15 +00:00
Nick Clifton
5b6f4b31fc
Fixed overflow from a LO16 reloc into a HI16_S reloc.
1997-12-10 19:20:31 +00:00
Michael Meissner
de7483285a
Switch to using RELA relocations for the d30v.
1997-12-10 19:08:51 +00:00
Andrew Cagney
760410e55a
* dwarf2read.c (dwarf2_build_psymtabs_hard): Check cu_header.length is
...
within dwarf_info_buffer not dwarf_abbrev_buffer.
1997-12-10 06:30:04 +00:00
Michael Meissner
27be012212
Change order slightly
1997-12-09 23:35:35 +00:00
Michael Meissner
98d38753e4
Add support for d30velf_{e,o} emulations to control whether text/data/et. al go in external memory or onchip memory
1997-12-09 22:57:58 +00:00
Michael Meissner
e48412a2b2
Add d30v, d10v, tic80 to all_emulations; Add Oct 23 changes to Makefile.in to Makefile.am
1997-12-09 21:04:34 +00:00
Michael Meissner
b0f764345d
Add configurability to d30v
1997-12-09 20:37:00 +00:00
Andrew Cagney
c10ae9ad33
Test/fix d10v RTE instruction.
1997-12-09 05:46:48 +00:00
Andrew Cagney
c02ed6a8a3
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).
1997-12-09 04:01:06 +00:00
Keith Seitz
09e4fde230
* 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
1997-12-09 00:25:07 +00:00
Andrew Cagney
38d0ccc27a
Fix typo, REP_S was refering to REP_E register.
...
Add test.
1997-12-08 23:44:11 +00:00
Michael Snyder
5d187fd318
Mon Dec 8 14:28:49 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
...
* tracepoint.c (memrange_sortmerge): allow for memranges
that overlap. (collect_pseudocommand etc.) cleanup decls.
1997-12-08 22:32:35 +00:00
Nick Clifton
0c4f6dc21a
Removed disasm_symaddr() function and switched detection of Arm vs Thumb
...
mode over to state of info->symbol, ala the MIPS port.
1997-12-08 19:26:40 +00:00
Andrew Cagney
bc6df23d14
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.
1997-12-08 03:22:58 +00:00
Nick Clifton
0a5875fc63
Fix HI16 and HI16_S relocations for PR14258
1997-12-06 00:57:20 +00:00
Keith Seitz
e0f7db023d
* gdbtk.c (gdbtk_init): add gdb_find_file to interpreter
...
(gdb_find_file_command): new function searches source_path to
find real full filename
1997-12-05 20:17:13 +00:00
Nick Clifton
22a9f052de
Fix PR14180 and 14181 (patch from branch)
1997-12-05 19:37:35 +00:00
Nick Clifton
df09ec8d0a
Use special section values for v850 common sections.
1997-12-05 19:29:21 +00:00
Nick Clifton
4098c12318
Reverrt breakpoint back to its old value.
1997-12-05 17:30:44 +00:00
Nick Clifton
22c39e1487
Reverrt BREAK value back to its old value
1997-12-05 17:27:34 +00:00
Nick Clifton
0279a92854
Reverted breakpoint back to its old value.
1997-12-05 17:24:15 +00:00
Doug Evans
62381069c9
* m32r-sim.h (MSPR_ADDR): New macro.
...
(m32r_mspr_device): Declare.
(struct _devicep: Define.
* m32r.c (m32r_mspr_device): New global.
(device_{io_{read,write}_buffer,error}): New functions.
* mem-ops.h (SETMEM*): Use sim_core_write_map, not read map.
* sim-if.c: Delete redundant inclusion of cpu-sim.h.
(sim_open): Attach device to handle MSPR register.
* sim-main.h (WITH_DEVICES): Define as 1.
Include cpu-sim.h.
1997-12-05 00:48:05 +00:00
Doug Evans
9bb68e2096
* Make-common.in (sim-core.o): Depend on $(sim_main_headers).
...
* sim-config.h (WITH_TREE_PROPERTIES): Define as 0.
* sim-config.c (sim_config): Replace WITH_DEVICES with
WITH_TREE_PROPERTIES.
1997-12-05 00:04:46 +00:00
Nick Clifton
206bc85d0d
Chnaged BREAKPOINT definition to match new value in simualtor.
1997-12-04 17:32:04 +00:00
Nick Clifton
2f252edab6
Added missing sanitization markers.
1997-12-04 17:30:37 +00:00
Doug Evans
6e51f990a2
Regenerate configure files.
1997-12-04 17:26:06 +00:00
Andrew Cagney
7f48c9fe1d
Add DM (bit 4) to PSW. See 7-1 for more info.
...
Test.
1997-12-04 07:01:30 +00:00
Doug Evans
bbb9b83c5e
* configure.in (SIM_AC_OPTION_ENVIRONMENT): Call.
...
* configure: Regenerated.
1997-12-04 02:09:26 +00:00
Doug Evans
22469a10e8
* Make-common.in (SIM_ENVIRONMENT): New variable.
...
(CONFIG_CFLAGS): Add it.
* aclocal.m4 (SIM_AC_OPTION_ENVIRONMENT): Handle
--enable-sim-environment option.
* configure: Regenerated.
* sim-config.h (environment support): Rewrite.
* sim-config.c (current_environment): Define as enum, unconditionally.
(current_alignment): Define unconditionally.
(config_environment_to_a): Update.
(config_alignment_to_a): Fix type of argument. Define unconditionally.
(sim_config): Handle environment and alignment determination
unconditionally. Delete sanity checks of current_environment,
unnecessary.
(print_sim_config): Update.
* sim-options.c (STANDARD_OPTIONS enum): Add OPTION_ENVIRONMENT.
(standard_options): Add --environment.
(standard_option_handler): Likewise.
1997-12-04 02:04:42 +00:00
Nick Clifton
b65b4d8b06
Fixed sanitization,
...
Changed pattern for break insn.
1997-12-04 01:29:25 +00:00
Michael Snyder
769e0a8a28
Wed Dec 3 16:48:20 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
...
* rltty.c: fix typos.
1997-12-04 00:48:56 +00:00
Andrew Cagney
0931ce5aa7
Missing change log entry.
1997-12-03 22:54:44 +00:00
Keith Seitz
e59ddd6e88
* tracepoint.c: add declaration for x_command
...
* printcmd.c (x_command): remove static declaration
1997-12-03 20:45:12 +00:00
Michael Snyder
c677110ca3
Wed Dec 3 12:00:42 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
...
* 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).
1997-12-03 20:03:46 +00:00
David Taylor
0274a484ce
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).
1997-12-03 19:30:06 +00:00
Nick Clifton
47819b7207
Add v850 directory to keep list
1997-12-03 18:16:22 +00:00
Andrew Cagney
aa49c64f3e
* 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.
1997-12-03 08:03:33 +00:00
Nick Clifton
d4b2cc56c0
Brought up to date with respect to the branch
1997-12-03 01:13:08 +00:00
Fred Fish
193e528cd4
* 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
1997-12-02 23:13:56 +00:00
Michael Snyder
28ad0632ee
Tue Dec 2 14:53:09 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
...
* tracepoint.c: make "tdump" command handle literal memranges.
1997-12-02 22:55:04 +00:00
Michael Snyder
728c7f37da
Tue Dec 2 11:34:48 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
...
* tracepoint.c: use "lookup_cmd" to parse actions commands
(thus allowing unambiguous prefixes and aliases).
1997-12-02 19:36:26 +00:00
Nick Clifton
09888f155f
Add support for Thumb target
...
Restore underscore at the start of user labels.
1997-12-02 18:30:35 +00:00
Nick Clifton
fd6d6c603d
Add call to disasm_symaddr()
1997-12-02 18:26:14 +00:00
Nick Clifton
ea16981a29
Add new disassmebler function prototype: disasm_symaddr()
...
Add new compile time flag: COFFARM
1997-12-02 18:23:55 +00:00
Michael Snyder
2b146fa098
Tue Dec 2 10:14:15 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
...
* tracepoint.c: move prototype of validate_actionline(), and
make it consistent with the function declaration.
1997-12-02 18:22:16 +00:00
Nick Clifton
c08a4e6be3
Add support for displaying disassembled Thumb instrucitons.
1997-12-02 18:20:31 +00:00