Michael Meissner
308f64d3ac
Fix ld2w tracing
1996-09-09 20:45:33 +00:00
Michael Meissner
60fc5b7270
Correct tracing of cpfg
1996-09-09 20:10:31 +00:00
David Edelsohn
66e4c22978
* config.bfd,configure.in,configure: Add m32r support.
1996-09-09 19:37:47 +00:00
David Edelsohn
71d7d44f19
* config.bfd: Keep target list alphabetically sorted.
1996-09-09 19:32:40 +00:00
David Edelsohn
8863243604
* config.sub, configure.in: Add entries for m32r.
1996-09-09 19:23:41 +00:00
Ian Lance Taylor
4a9149d501
* gas/mips/mips4.s, gas/mips/mips4.d: Use $fccN for condition code
...
registers.
1996-09-09 18:37:54 +00:00
Ian Lance Taylor
d31a3f5e76
* config/tc-mips.c (append_insn): Don't swap an instruction which
...
sets a condition code with an instruction which uses a condition
code.
(mips_ip): In cases 'N' and 'M', look for $fccN rather than an
immediate value.
1996-09-09 18:37:10 +00:00
Ian Lance Taylor
30b1724cc8
* mips-dis.c (print_insn_arg): Print condition code registers as
...
$fccN.
1996-09-09 18:27:10 +00:00
Michael Meissner
293c76a376
Make ex{f,t}* tests agree with book
1996-09-09 18:24:18 +00:00
Jeff Law
629f776abf
* elf32-v850.c (bfd_elf32_v850_reloc, case R_V850_HI16): Don't forget
...
to add in the constant part found in the instruction itself.
(case R_V850_HI16_S): Likewise.
Fixes plumhall/lang.exp failures.
1996-09-09 17:49:30 +00:00
Michael Meissner
069398aaff
Fix accumulator shifts
1996-09-09 17:30:36 +00:00
Ian Lance Taylor
517078c1b3
* config/tc-mips.c (md_begin): Recognize r5000 for cpu. If
...
mips_cpu is 5000, set interlocks and cop_interlocks.
(mips_ip): Give a better error message if the ISA level is wrong.
(md_parse_option): Recognize -mcpu=[v][r]5000.
1996-09-09 15:04:59 +00:00
Fred Fish
0be55272b4
* alpha-nat.c (fetch_core_registers): Match Sep 4 gdbcore.h prototype
...
change for core_read_registers in struct core_fns.
* core-regset.c (fetch_core_registers): Ditto & add prototype.
* core-sol2.c (fetch_core_registers): Ditto & add prototype.
* i386aix-nat.c (fetch_core_registers): Ditto & add prototype.
* i386b-nat.c (fetch_core_registers): Ditto.
* i386mach-nat.c (fetch_core_registers): Ditto & add prototype.
* irix4-nat.c (fetch_core_registers): Ditto.
* irix5-nat.c (fetch_core_registers): Ditto.
* lynx-nat.c (fetch_core_registers): Ditto & add prototype.
* m68knbsd-nat.c (fetch_core_registers): Ditto.
* mips-nat.c (fetch_core_registers): Ditto & add prototype.
* rs6000-nat.c (fetch_core_registers): Ditto.
* sparc-nat.c (fetch_core_registers): Ditto.
* sun3-nat.c (fetch_core_registers): Ditto & add prototype.
* ultra3-nat.c (fetch_core_registers): Ditto & add prototype.
* alpha-nat.c (register_addr): Match Sep 4 gdbcore.h prototype change.
* delta68-nat.c (register_addr): Ditto.
* gdbserver/low-linux.c (register_addr): Ditto.
* gdbserver/low-hppabsd.c (register_addr): Ditto.
* i386m3-nat.c (register_addr): Ditto.
* mips-nat.c (register_addr): Ditto.
* ultra3-nat.c (register_addr): Ditto.
1996-09-09 03:14:35 +00:00
Fred Fish
948a9d9233
* alpha-nat.c (fetch_core_registers): Match Sep 4 gdbcore.h prototype
...
change for core_read_registers in struct core_fns.
* core-regset.c (fetch_core_registers): Ditto & add prototype.
* core-sol2.c (fetch_core_registers): Ditto & add prototype.
* i386aix-nat.c (fetch_core_registers): Ditto & add prototype.
* i386b-nat.c (fetch_core_registers): Ditto.
* i386mach-nat.c (fetch_core_registers): Ditto & add prototype.
* irix4-nat.c (fetch_core_registers): Ditto.
* irix5-nat.c (fetch_core_registers): Ditto.
* lynx-nat.c (fetch_core_registers): Ditto & add prototype.
* m68knbsd-nat.c (fetch_core_registers): Ditto.
* mips-nat.c (fetch_core_registers): Ditto & add prototype.
* rs6000-nat.c (fetch_core_registers): Ditto.
* sparc-nat.c (fetch_core_registers): Ditto.
* sun3-nat.c (fetch_core_registers): Ditto & add prototype.
* ultra3-nat.c (fetch_core_registers): Ditto & add prototype.
* alpha-nat.c (register_addr): Match Sep 4 gdbcore.h prototype change.
* delta68-nat.c (register_addr): Ditto.
* gdbserver/low-linux.c (register_addr): Ditto.
* gdbserver/low-hppabsd.c (register_addr): Ditto.
* i386m3-nat.c (register_addr): Ditto.
* mips-nat.c (register_addr): Ditto.
* ultra3-nat.c (register_addr): Ditto.
1996-09-09 03:01:49 +00:00
Stu Grossman
fad4a760fd
* erc32.c (port_init): Disable this for __GO32__ (got no pty's
...
there either...).
1996-09-08 23:35:50 +00:00
Stu Grossman
7bd1f0c5f9
* blockframe.c (inside_main_func): Cleanup slightly. Move
...
mainsym def into the block it's used in.
* configure.in configure: Allow NATDEPFILES to be recognized in
.mh files regardless of whitespace.
* cpu32bug-rom.c (cpu32bug_cmds): Change load_response string to
keep downloads from hanging.
* remote-wiggler.c: Add support for flash upgrades.
* (wiggler_error): Fix message format. Add new error code.
* (wiggler_write_byets): Error code is hex. Report errors with
proper routine name.
* (wiggler_read_byets): Report errors with proper routine name.
* (get_packet): Add support for new flash commands.
* (wiggler_load): Call clear_symtab_users() to reset things
properly after download.
* (flash_xfer_memory bdm_update_flash_command): New funxtions to
support flash upgrades for Wiggler.
* (_initialize_remote_wiggler): Add `bdm update-flash' command.
1996-09-08 23:33:23 +00:00
Ian Lance Taylor
f39a09c9ad
* configure.in: Do build erc32 for DOS and Windows hosts.
...
* configure: Rebuild.
1996-09-08 21:24:10 +00:00
Jackie Smith Cashion
ff8716f58e
Sat Sep 7 13:25:55 1996 James G. Smith <jsmith@cygnus.co.uk>
...
* config/tc-mips.c (COUNT_TOP_ZEROES): Added macro to count
leading zeroes.
(load_register): Ensure hi32 bits are not lost during lo32bit
processing. Fix shift offset that was overflowing into the next
instruction field. Add code to generate shorter sequences for
constants with a single contiguous seqeuence of ones.
Fri Sep 6 18:23:54 1996 James G. Smith <jsmith@cygnus.co.uk>
* gas/mips/dli.{s,d}: More test cases added.
NOTE: The COUNT_TOP_ZEROES macro is a bit bulky, and the same result
can be achieved by using a "standard" ffs() routine:
count = ffs(~v);
count = count == 0 ? 0 : 33 - count;
However the following timings (VR4300 CPU clock ticks on a CMA101
board) show the performance gain.
Number of ffs() for loop if/then/else conditional
leading ?:
zeroes
-------------------------------------------------------------------------------
0 167 179 266 251
1 1718 283 263 259
2 1670 379 287 295
3 1622 475 311 311
4 1574 571 295 287
5 1534 667 311 319
6 1478 763 307 299
7 1430 859 323 323
8 1382 962 287 295
9 1334 1051 319 311
10 1286 1154 299 307
11 1238 1250 323 331
12 1183 1346 299 307
13 1135 1442 331 323
14 1087 1546 311 319
15 1039 1642 335 343
16 991 1730 295 287
17 950 1834 311 319
18 895 1922 307 299
19 847 2026 331 323
20 799 2122 307 299
21 751 2218 323 323
22 703 2314 311 311
23 655 2417 343 335
24 599 2506 307 299
25 559 2602 331 331
26 511 2705 311 319
27 463 2801 343 335
28 407 2897 311 319
29 367 2993 343 335
30 311 3097 323 331
31 271 3185 355 355
32 215 3233 379 371
1996-09-07 12:45:19 +00:00
Martin Hunt
ea2155e858
Fri Sep 6 17:56:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* simops.c (OP_2600, OP_2601): Changed min and max comparisons
to use signed register values.
1996-09-07 00:58:25 +00:00
Martin Hunt
5e6c6406e6
Fri Sep 6 17:07:12 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* config/tc-d10v.c (d10v_dot_word): New function to support
"@word" with the word pseudo-op.
(md_apply_fix3): Cleanup and changes to support correct sizes
for 16 and 18-bit relocs.
1996-09-07 00:12:56 +00:00
Martin Hunt
9c85b19ddf
Fri Sep 6 17:04:39 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* elf32-d10v.c (elf_d10v_howto_table): Modify the size of R_D10V_16
and R_D10V_18 to be 1 (word).
1996-09-07 00:06:53 +00:00
David Edelsohn
df4021c176
* configure.in (sparc-*-aout): Set `em'.
...
* configure: Regenerated.
* config/te-sparcaout.h: New file.
* config/tc-sparc.h (TARGET_BYTES_BIG_ENDIAN): Define.
Ifdef TE_SPARCOUT define TARGET_FORMAT and SPARC_BIENDIAN.
* config/tc-sparc.c (INSN_BIG_ENDIAN): New macro.
(SPECIAL_CASE_{SETSW,SETX}): Define.
({NOP,OR,FMOVS,SETHI,SLLX,SRA}_INSN): Define.
(md_begin): Delete setting of `target_big_endian'.
(output_insn): New function.
(md_assemble): Rewrite. Add `setx' support.
(sparc_ip): Handle `0' operand char. Recognize setuw, setsw, setx
special cases.
(md_atof): Add little endian support.
(md_number_to_chars): Likewise.
(md_apply_fix): Likewise.
(md_longopts): Recognize -EL,-EB ifdef SPARC_BIENDIAN.
(md_parse_option): Likewise.
(md_show_usage): Print -EL, -EB ifdef SPARC_BIENDIAN.
1996-09-06 23:05:12 +00:00
Geoffrey Noer
28984bef98
restore the space that need to be present
1996-09-06 22:13:06 +00:00
Geoffrey Noer
94a42c6394
Don't include netinet/tcp.h in ser-tcp.c if __CYGWIN32__ defined
1996-09-06 20:17:26 +00:00
Geoffrey Noer
421fafa29e
build ser-tcp.o for cygwin32 hosted gdb
1996-09-06 00:08:07 +00:00
Tom Tromey
642c85fa17
* Makefile.in (inet-install): Don't run install-gzip.
1996-09-05 20:11:14 +00:00
Ian Lance Taylor
ee0523d5c3
* ldlang.c (section_already_linked): Accept a lang_input_statement
...
as the PTR argument. If the file is symbols only, discard all
input sections.
(ldlang_add_file): Pass entry to bfd_map_over_sections.
PR 10555.
1996-09-05 19:26:12 +00:00
Ian Lance Taylor
4be2140e68
* stabs.c (_bfd_link_section_stabs): If the output_section field
...
of either section is bfd_abs_section, then the linker is
discarding the section and we should not optimize it.
PR 10555.
1996-09-05 19:24:08 +00:00
Per Bothner
9e9358ebab
* value.h (COERCE_REF): Fix previous change.
...
(COERCE_ENUM): Add a check_typedef (this is the real fix).
This re-fixes pr-9946.
1996-09-05 19:11:36 +00:00
Ian Lance Taylor
cfc71c6d3a
* ecoff.c (ecoff_new_file): New function.
...
* ecoff.h (ecoff_new_file): Declare.
* config/obj-ecoff.h (obj_app_file): Define.
PR 10548.
1996-09-05 17:43:06 +00:00
Wilfried Moser
947ca02583
* eval.c (evaluate_subexp_standard): In case of OP_ARRAY: make a
...
better check of array boundaries.
1996-09-05 10:32:09 +00:00
Wilfried Moser
7cdda733d5
* gch1280.exp: Enhance test case.
1996-09-05 08:55:32 +00:00
Stu Grossman
5819f35dcf
* configure: Update aclocal.m4 and re-run autoconf to get correct
...
defs for BFD stuff.
* remote-wiggler.c (wiggler_error): Error codes are hex. Also,
fix default message generation.
1996-09-05 08:33:28 +00:00
Stu Grossman
0ca4776ee4
Oops!
1996-09-05 01:18:49 +00:00
Stu Grossman
1882bb8ff8
Add remote-wiggler.c.
1996-09-05 01:17:19 +00:00
Stu Grossman
1852b017b8
* Makefile.in erc32/Makefile.in: Don't set srcroot. This should
...
be inherited from the parent. Remove INSTALL_XFORM and
INSTALL_XFORM1. Make INSTALL be set from configure.
1996-09-05 01:16:22 +00:00
Stu Grossman
4a1df52b1b
* rldefs.h: Enable HANDLE_SIGNALS for cygwin32.
1996-09-05 01:07:37 +00:00
Stu Grossman
c1f36721f4
* configure configure.in: Don't default CC to cc. It causes problems
...
when starting a compile in the mmalloc directory.
1996-09-05 01:06:10 +00:00
Stu Grossman
d9951af428
* Makefile.in: Add mswin to SUBDIRS. Add rules for
...
mswin/libwingdb.a and remote-wiggler.o.
* breakpoint.c (breakpoint_here_p): Clean up bp enabled test.
* (breakpoint_inserted_here_p): New func, just like
breakpoint_here_p, except it's honest. Honestly.
* breakpoint.h: Proto for above.
start-sanitize-gdbtk
* configure configure.in: Add host *windows* to list of hosts
that don't support GDBtk.
end-sanitize-gdbtk
* configure configure.in: Add mswin to configdirs if host is
i[3456]86-*-windows.
* core-aout.c (fetch_core_registers register_addr) gdbcore.h:
Change all vars that can contain addresses to type CORE_ADDR.
* findvar.c (supply_register): Allow val to be NULL. This means
that regno is unsupported.
* (read_pc read_pc_pid write_pc write_pc_pid): Make non-pid forms
just call pid forms with inferior_pid so that there's only once
place to hack PC's and such.
* infrun.c (proceed): Don't skip breakpoints if user changed PC.
* remote-wiggler.c: New file. Support for BDM interface from
Macraigor Systems.
* serial.c: Enhance serial logging capability. Add hex and octal
output modes (set remotelogbase {hex|octal|ascii}. Also log
breaks, timeouts, errors, and eofs.
* serial.h: Redefine SERIAL_SEND_BREAK to go through a wrapper
function so that we can log breaks. Don't export serial_logfile
or serial_logfp.
* top.c (execute_command): Don't test for serial_logfp here.
Just call serial_log_comand, and let serial.c sort it out.
* valops.c (value_of_variable): Don't attempt to establish frames
for static and global variables. This makes things work a bit
better if the stack or frame pointer is trashed.
* config/m68k/monitor.mt (TDEPFILES): Add remote-wiggler.o.
* config/m68k/tm-m68k.h: Define STACK_ALIGN. CPU32 can't hack
misaligned stacks during function calls.
1996-09-05 01:01:05 +00:00
Stu Grossman
91f6cfead2
* configure.in: Don't config lots of things for *-*-windows*.
1996-09-05 00:28:10 +00:00
Ian Lance Taylor
31cadbf45f
* configure.tgt (alpha-*-gnu*): New target. From Fila Kolodny
...
<fila@ibi.com>.
1996-09-04 19:54:48 +00:00
Ian Lance Taylor
68867afb88
* configure.in: Only build the MIPS simulator if we are using
...
gcc.
* configure: Rebuild.
1996-09-04 19:50:55 +00:00
Michael Meissner
9b86c7e2e2
Second pass at canadian cross
1996-09-04 19:11:53 +00:00
Michael Meissner
1eaaf3050e
First cut at dealing with canadian crosses; make -t in debugger set d10v_debug if DEBUG
1996-09-04 18:50:13 +00:00
Michael Meissner
7eebfc6296
More debug support; Enable -t/-v to work correctly; Add --enable-sim-cflags configure switch
1996-09-04 17:42:51 +00:00
Ian Lance Taylor
10d183a0f0
* terminal.h: Don't use #elif.
1996-09-04 17:09:43 +00:00
Michael Meissner
87178dbdf7
Enhance debug support
1996-09-04 15:41:43 +00:00
Wilfried Moser
9811b59602
* gch1272.{ch,exp}, gch1280.{ch,exp}, pr-9946.{ch,exp}:
...
New test cases.
1996-09-04 14:34:15 +00:00
Wilfried Moser
b5865bb263
* ch-exp.c (parse_tuple_element): Allow (*): for array tuples
...
if we have a type.
* eval.c (evaluate_subexp_standard): In case of OP_ARRAY:
check number of args against bounds of array to avoid
memory corruption.
* value.h (COERCE_REF): Do a CHECK_TYPEDEF in case we get
a TYPE_CODE_TYPEDEF.
1996-09-04 14:29:37 +00:00
Ian Lance Taylor
711254da6c
* config/tc-mips.c (load_register): Remove unused variable tmp.
1996-09-04 14:26:20 +00:00