Mark Alexander [Fri, 12 Dec 1997 06:43:11 +0000 (06:43 +0000)]
From change made to branch by Bob Manson <manson@cygnus.com>:
* tic80-tdep.c (tic80_push_arguments): The compiler always
passes structs by reference.
Nick Clifton [Fri, 12 Dec 1997 02:01:21 +0000 (02:01 +0000)]
Parent directory renamed.
Richard Henderson [Fri, 12 Dec 1997 01:48:58 +0000 (01:48 +0000)]
* 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.
Richard Henderson [Fri, 12 Dec 1997 01:46:42 +0000 (01:46 +0000)]
* config/tc-m68k.c (m68k_ip): Don't overwrite opcode table data.
(insop, m68k_ip): Make `opcode' const so it doesn't happen again.
Michael Snyder [Thu, 11 Dec 1997 22:34:09 +0000 (22:34 +0000)]
Thu Dec 11 14:28:01 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* tracepoint.c (trace_find_command): don't error if going
backwards thru the trace buffer in a loop.
* (struct tracepoint): delete unused field.
Keith Seitz [Thu, 11 Dec 1997 20:40:38 +0000 (20:40 +0000)]
clean up sloppy Changelog entries
Gavin Romig-Koch [Thu, 11 Dec 1997 14:28:38 +0000 (14:28 +0000)]
Don't run mips16 tests for tx49.
Michael Meissner [Thu, 11 Dec 1997 14:07:20 +0000 (14:07 +0000)]
Rename d30velf_{o,e} to be unique within 8 characters
Ian Lance Taylor [Thu, 11 Dec 1997 06:08:05 +0000 (06:08 +0000)]
* coff-sh.c (bfd_coff_small_swap_table): Initialize new fields.
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.
Ian Lance Taylor [Thu, 11 Dec 1997 06:04:39 +0000 (06:04 +0000)]
* coffcode.h (_coff_link_output_has_begun): Make static.
(_coff_final_link_postscript): Likewise.
Ian Lance Taylor [Thu, 11 Dec 1997 04:38:44 +0000 (04:38 +0000)]
* elflink.h (elf_link_input_bfd): Handle a relocateable link in
which a relocation refers to an indirect or warning symbol.
Felix Lee [Thu, 11 Dec 1997 04:18:47 +0000 (04:18 +0000)]
sanitization fixes. (files not mentioned, fences misspelled)
Keith Seitz [Thu, 11 Dec 1997 03:16:50 +0000 (03:16 +0000)]
always keep tracepoint.{c,h}
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.
Jeff Law [Thu, 11 Dec 1997 00:11:04 +0000 (00:11 +0000)]
* mips.igen (MSUB): Fix to work like MADD.
* gencode.c (MSUB): Similarly.
Andrew Cagney [Wed, 10 Dec 1997 23:11:20 +0000 (23:11 +0000)]
(CVS is doing wierd things)
Re-checkin fixes to code verifying dwarf debug info CU headers before
using it.
Jim Blandy [Wed, 10 Dec 1997 22:59:16 +0000 (22:59 +0000)]
*** empty log message ***
Jim Blandy [Wed, 10 Dec 1997 22:58:21 +0000 (22:58 +0000)]
* ch-valprint.c (chill_val_print): To avoid segfaults, don't print
a string whose dynamic length is longer than its static length.
Jim Blandy [Wed, 10 Dec 1997 22:58:03 +0000 (22:58 +0000)]
* gch1494.ch, gch1494.exp: New tests, for PR 13812.
Ian Lance Taylor [Wed, 10 Dec 1997 20:15:56 +0000 (20:15 +0000)]
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.
Michael Meissner [Wed, 10 Dec 1997 19:30:15 +0000 (19:30 +0000)]
Add .rel/.rela sections; Setup constructors/destructors; Delete sections not linked in
Nick Clifton [Wed, 10 Dec 1997 19:20:31 +0000 (19:20 +0000)]
Fixed overflow from a LO16 reloc into a HI16_S reloc.
Michael Meissner [Wed, 10 Dec 1997 19:08:51 +0000 (19:08 +0000)]
Switch to using RELA relocations for the d30v.
Andrew Cagney [Wed, 10 Dec 1997 06:30:04 +0000 (06:30 +0000)]
* dwarf2read.c (dwarf2_build_psymtabs_hard): Check cu_header.length is
within dwarf_info_buffer not dwarf_abbrev_buffer.
Michael Meissner [Tue, 9 Dec 1997 23:35:35 +0000 (23:35 +0000)]
Change order slightly
Michael Meissner [Tue, 9 Dec 1997 22:57:58 +0000 (22:57 +0000)]
Add support for d30velf_{e,o} emulations to control whether text/data/et. al go in external memory or onchip memory
Michael Meissner [Tue, 9 Dec 1997 21:04:34 +0000 (21:04 +0000)]
Add d30v, d10v, tic80 to all_emulations; Add Oct 23 changes to Makefile.in to Makefile.am
Michael Meissner [Tue, 9 Dec 1997 20:37:00 +0000 (20:37 +0000)]
Add configurability to d30v
Andrew Cagney [Tue, 9 Dec 1997 05:46:48 +0000 (05:46 +0000)]
Test/fix d10v RTE instruction.
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 23:44:11 +0000 (23:44 +0000)]
Fix typo, REP_S was refering to REP_E register.
Add test.
Michael Snyder [Mon, 8 Dec 1997 22:32:35 +0000 (22:32 +0000)]
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.
Nick Clifton [Mon, 8 Dec 1997 19:26:40 +0000 (19:26 +0000)]
Removed disasm_symaddr() function and switched detection of Arm vs Thumb
mode over to state of info->symbol, ala the MIPS port.
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.
Nick Clifton [Sat, 6 Dec 1997 00:57:20 +0000 (00:57 +0000)]
Fix HI16 and HI16_S relocations for PR14258
Keith Seitz [Fri, 5 Dec 1997 20:17:13 +0000 (20:17 +0000)]
* gdbtk.c (gdbtk_init): add gdb_find_file to interpreter
(gdb_find_file_command): new function searches source_path to
find real full filename
Nick Clifton [Fri, 5 Dec 1997 19:37:35 +0000 (19:37 +0000)]
Fix PR14180 and 14181 (patch from branch)
Nick Clifton [Fri, 5 Dec 1997 19:29:21 +0000 (19:29 +0000)]
Use special section values for v850 common sections.
Nick Clifton [Fri, 5 Dec 1997 17:30:44 +0000 (17:30 +0000)]
Reverrt breakpoint back to its old value.
Nick Clifton [Fri, 5 Dec 1997 17:27:34 +0000 (17:27 +0000)]
Reverrt BREAK value back to its old value
Nick Clifton [Fri, 5 Dec 1997 17:24:15 +0000 (17:24 +0000)]
Reverted breakpoint back to its old value.
Doug Evans [Fri, 5 Dec 1997 00:48:05 +0000 (00:48 +0000)]
* 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.
Doug Evans [Fri, 5 Dec 1997 00:04:46 +0000 (00:04 +0000)]
* 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.
Nick Clifton [Thu, 4 Dec 1997 17:32:04 +0000 (17:32 +0000)]
Chnaged BREAKPOINT definition to match new value in simualtor.
Nick Clifton [Thu, 4 Dec 1997 17:30:37 +0000 (17:30 +0000)]
Added missing sanitization markers.
Doug Evans [Thu, 4 Dec 1997 17:26:06 +0000 (17:26 +0000)]
Regenerate configure files.
Andrew Cagney [Thu, 4 Dec 1997 07:01:30 +0000 (07:01 +0000)]
Add DM (bit 4) to PSW. See 7-1 for more info.
Test.
Doug Evans [Thu, 4 Dec 1997 02:09:26 +0000 (02:09 +0000)]
* configure.in (SIM_AC_OPTION_ENVIRONMENT): Call.
* configure: Regenerated.
Doug Evans [Thu, 4 Dec 1997 02:04:42 +0000 (02:04 +0000)]
* 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.
Nick Clifton [Thu, 4 Dec 1997 01:29:25 +0000 (01:29 +0000)]
Fixed sanitization,
Changed pattern for break insn.
Michael Snyder [Thu, 4 Dec 1997 00:48:56 +0000 (00:48 +0000)]
Wed Dec 3 16:48:20 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* rltty.c: fix typos.
Andrew Cagney [Wed, 3 Dec 1997 22:54:44 +0000 (22:54 +0000)]
Missing change log entry.
Keith Seitz [Wed, 3 Dec 1997 20:45:12 +0000 (20:45 +0000)]
* tracepoint.c: add declaration for x_command
* printcmd.c (x_command): remove static declaration
Michael Snyder [Wed, 3 Dec 1997 20:03:46 +0000 (20:03 +0000)]
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).
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).
Nick Clifton [Wed, 3 Dec 1997 18:16:22 +0000 (18:16 +0000)]
Add v850 directory to keep list
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.
Nick Clifton [Wed, 3 Dec 1997 01:13:08 +0000 (01:13 +0000)]
Brought up to date with respect to the branch
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
Michael Snyder [Tue, 2 Dec 1997 22:55:04 +0000 (22:55 +0000)]
Tue Dec 2 14:53:09 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* tracepoint.c: make "tdump" command handle literal memranges.
Michael Snyder [Tue, 2 Dec 1997 19:36:26 +0000 (19:36 +0000)]
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).
Nick Clifton [Tue, 2 Dec 1997 18:30:35 +0000 (18:30 +0000)]
Add support for Thumb target
Restore underscore at the start of user labels.
Nick Clifton [Tue, 2 Dec 1997 18:26:14 +0000 (18:26 +0000)]
Add call to disasm_symaddr()
Nick Clifton [Tue, 2 Dec 1997 18:23:55 +0000 (18:23 +0000)]
Add new disassmebler function prototype: disasm_symaddr()
Add new compile time flag: COFFARM
Michael Snyder [Tue, 2 Dec 1997 18:22:16 +0000 (18:22 +0000)]
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.
Nick Clifton [Tue, 2 Dec 1997 18:20:31 +0000 (18:20 +0000)]
Add support for displaying disassembled Thumb instrucitons.
Nick Clifton [Tue, 2 Dec 1997 18:17:13 +0000 (18:17 +0000)]
Add support for Thumb target.
Ian Lance Taylor [Tue, 2 Dec 1997 18:11:02 +0000 (18:11 +0000)]
* 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.
Nick Clifton [Tue, 2 Dec 1997 18:10:44 +0000 (18:10 +0000)]
Add support for Thumb target
Nick Clifton [Tue, 2 Dec 1997 17:56:03 +0000 (17:56 +0000)]
Display nop pseudo ops alongside equivalent disassembly.
Keith Seitz [Tue, 2 Dec 1997 15:52:37 +0000 (15:52 +0000)]
* configure (GDB_TK): add all-libide to dependency list
* Makefile.in: remove sanitization for ALL libide references
Michael Meissner [Tue, 2 Dec 1997 14:39:17 +0000 (14:39 +0000)]
Remove libide from sanitization and allow it to be configured everywhere
Michael Meissner [Tue, 2 Dec 1997 14:37:22 +0000 (14:37 +0000)]
Remove libide from sanitization and allow it to be configured everywhere
Andrew Cagney [Tue, 2 Dec 1997 07:59:52 +0000 (07:59 +0000)]
For "sub", compute carry by comparing inputs.
Test.
Andrew Cagney [Tue, 2 Dec 1997 07:18:53 +0000 (07:18 +0000)]
For "msbu", subtract unsigned product from ACC,
Test.
Andrew Cagney [Tue, 2 Dec 1997 06:37:09 +0000 (06:37 +0000)]
For "mulxu", store unsigned product in ACC.
Test.
Andrew Cagney [Tue, 2 Dec 1997 05:31:33 +0000 (05:31 +0000)]
Test mv[tf]ac instructions.
Andrew Cagney [Tue, 2 Dec 1997 05:18:27 +0000 (05:18 +0000)]
For MACU add unsigned multiply to accumulator.
Test.
Michael Snyder [Tue, 2 Dec 1997 01:14:40 +0000 (01:14 +0000)]
Mon Dec 1 17:13:53 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* tracepoint.c: modify error behavior of the tfind commands.
Add some comments.
Andrew Cagney [Tue, 2 Dec 1997 00:27:27 +0000 (00:27 +0000)]
For sub2w, compute carry according to negated addition rules.
Test.
Nick Clifton [Tue, 2 Dec 1997 00:18:48 +0000 (00:18 +0000)]
Added expected failure of tests 1 and 2 for ARM coff targets.
Keith Seitz [Mon, 1 Dec 1997 21:07:09 +0000 (21:07 +0000)]
remove useless info, add more useful info
Keith Seitz [Mon, 1 Dec 1997 21:04:52 +0000 (21:04 +0000)]
remove useless info
Keith Seitz [Mon, 1 Dec 1997 20:53:02 +0000 (20:53 +0000)]
* gdbtk.c: move include of "guitcl.h" back out of IDE ifdef
(gdbtk_init): move ide_initialize_paths out of IDE ifdef
* configure.in (TCL_LIBS, CONFIG_DEPS): add IDE libraries for all
builds
(CONFIG_OBS): remove tracepoint.o, which should always be included
* configure: regenerate
* Makefile.in (install-only): ALWAYS install the new gdbtk
(REMOTE_OBS): add tracepoint.o
Keith Seitz [Mon, 1 Dec 1997 20:48:12 +0000 (20:48 +0000)]
* configure: add all-libide to GDB_TK
* Makefile.in (all-vmake): remove double dependency on all-libide
* modules/modules: add libide to gdb's checkout list
* ChangeLog: tidy up 11/26 entry
Joern Rennecke [Mon, 1 Dec 1997 20:45:03 +0000 (20:45 +0000)]
bfd:
* coff-sh.c (sh_coff_howtos): Add R_SH_SWITCH8 entry.
(get_symbol_value): Handle R_SH_SWITCH8.
(sh_relax_delete_bytes): Likewise.
include:
* coff/sh.h (R_SH_SWITCH8): New.
gas:
* config/tc-sh.c (SWITCH_TABLE_CONS): Handle (fix)->fx_size == 1.
(SWITCH_TABLE): Handle BFD_RELOC_8.
(md_apply_fix): #ifndef BFD_ASSEMBLER code: Handle fixP->fx_size == 1.
(coff_reloc_map): Add BFD_RELOC_8_PCREL entry.
(sh_coff_reloc_mangle): SWITCH_TABLE case: Handle BFD_RELOC_8.
PR 14155
Doug Evans [Mon, 1 Dec 1997 19:30:53 +0000 (19:30 +0000)]
* callback.h (CB_SYSCALL): Comment out arg names in prototypes.
Ian Lance Taylor [Mon, 1 Dec 1997 17:34:36 +0000 (17:34 +0000)]
Mon Dec 1 12:25:57 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* m68k-opc.c (btst): Change Dd@s to Dd;b.
* m68k-dis.c (print_insn_arg): Recognize 'm', 'n', 'o', 'p', 'q',
and 'v' as operand types.
Ian Lance Taylor [Mon, 1 Dec 1997 17:05:40 +0000 (17:05 +0000)]
* m68k-opc.c: Add argument for lpstop. From Olivier Carmona
<olivier.carmona@di.epfl.ch>.
* 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.
Bob Manson [Mon, 1 Dec 1997 02:38:26 +0000 (02:38 +0000)]
* Makefile.in: Add rules for cygmon.
* configure.in: Build cygmon for sparc-elf and sparclite-aout.
Michael Meissner [Sun, 30 Nov 1997 22:42:08 +0000 (22:42 +0000)]
Delete sim_io_syscalls and sim_io_getstring
Michael Meissner [Sat, 29 Nov 1997 01:29:20 +0000 (01:29 +0000)]
Switch to using cb_syscall; Fix bug in cb_syscall write
Michael Meissner [Sat, 29 Nov 1997 01:14:58 +0000 (01:14 +0000)]
Fix problems with d30v addc/subb
Doug Evans [Fri, 28 Nov 1997 19:18:01 +0000 (19:18 +0000)]
* gennltvals.sh: Redo syscall support to allow sanitization.
* nltvals.def: Regenerated.
And add d30v sanitization.
Michael Meissner [Thu, 27 Nov 1997 15:13:14 +0000 (15:13 +0000)]
Add tracepoint.o to gdbtk builds
Michael Meissner [Thu, 27 Nov 1997 14:30:06 +0000 (14:30 +0000)]
If not --enable-ide, do not include ide libs