Andrew Cagney [Mon, 15 Dec 1997 12:59:55 +0000 (12:59 +0000)]
When using sigaction() to install cntrl-c handler do not also use signal().
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
Andrew Cagney [Mon, 15 Dec 1997 12:33:59 +0000 (12:33 +0000)]
In nrun.c, look for sigaction & SA_RESTART. When both present,
install cntrl-c (SIGINT) handler with no SA_RESTART bit set.
Andrew Cagney [Mon, 15 Dec 1997 02:33:04 +0000 (02:33 +0000)]
Restore value of Makefile variable VERSION to 4.16.1.
Was clobered during one of the Foundry merges.
Andrew Cagney [Sat, 13 Dec 1997 04:23:31 +0000 (04:23 +0000)]
For MADD et.al. instructions sign extend 32 bit result assigned to a
register.
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
Nick Clifton [Fri, 12 Dec 1997 22:02:12 +0000 (22:02 +0000)]
Fixed bug in previous delta (strcmp <=> streq)
Jeff Law [Fri, 12 Dec 1997 19:24:34 +0000 (19:24 +0000)]
* configure.in (sim_igen_filter): Multi-sim vr5000 - vr5000 or
vr5400 with the vr5000 as the default.
Nick Clifton [Fri, 12 Dec 1997 19:12:11 +0000 (19:12 +0000)]
Renamed v850eq -> v850ea
Ian Lance Taylor [Fri, 12 Dec 1997 19:07:30 +0000 (19:07 +0000)]
sanitize out dependency of all-libide on all-ilu
Nick Clifton [Fri, 12 Dec 1997 19:05:07 +0000 (19:05 +0000)]
Renamed v850eq -> v850ea
Nick Clifton [Fri, 12 Dec 1997 18:55:50 +0000 (18:55 +0000)]
Renamed v850eq -> v850eq
Nick Clifton [Fri, 12 Dec 1997 18:53:24 +0000 (18:53 +0000)]
Renamed v850eq -> v850ea
Nick Clifton [Fri, 12 Dec 1997 18:51:55 +0000 (18:51 +0000)]
Fixed v850e sanitization markers.
Brendan Kehoe [Fri, 12 Dec 1997 18:44:23 +0000 (18:44 +0000)]
* Makefile.in (all-target-gperf): Change dependency to
all-target-libstdc++.
to go w/ the changes taking out use of libg++ in gperf
Nick Clifton [Fri, 12 Dec 1997 18:42:40 +0000 (18:42 +0000)]
Add support for more ARM processor names.
Richard Henderson [Fri, 12 Dec 1997 09:34:04 +0000 (09:34 +0000)]
* alpha-opc.c (cvttq/*u*): Remove, as that suffix is invalid.
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.