Andrew Cagney
f7b8c9ce46
Improve GDB support for FreeBSD host/target.
...
To configure.in: make PRINTF_HAS_LONG_LONG check more pedantic; check
that SCANF_HAS_LONG_DOUBLE instead of assuming PRINTF_HAS_LONG_DOUBLE
implies it; document.
1997-11-24 06:50:12 +00:00
Andrew Cagney
d14573e31e
Pass architecture from ``set arch MACH'' command into disasembler
...
through tm_print_insn_info.mach argument.
Delete x86 specific set assembler command, subsumed by replaced with
``set arch''
1997-11-24 06:37:01 +00:00
Andrew Cagney
c08075aaf8
Have mips64vr5400-*-elf look like a mips64vr5000.
1997-11-24 06:31:05 +00:00
Andrew Cagney
4ba8d09fe2
Change MIPS simulator so that it uses the (software) module sim_fpu
...
for floating point operations. Eliminates all dependencies the
simulator had on the hosts FP implemantation.
Add sim_fpu_{inv,abs,neg} functions to sim_fpu.[hc]
1997-11-23 03:34:15 +00:00
Nick Clifton
e1aeb28538
Add support for PIC and APCS-FLOAT type binaries.
1997-11-22 23:17:39 +00:00
Nick Clifton
33cb4925be
Brought devo up to date with the branch.
1997-11-22 22:29:08 +00:00
Ian Lance Taylor
be462f88b4
* sunos.c (sunos_add_one_symbol): When overriding a defined
...
symbol, set it to undefined, not new.
1997-11-22 22:08:43 +00:00
Ian Lance Taylor
f3fb08f6c5
Sat Nov 22 16:06:56 1997 Klaus Kaempf <kkaempf@progis.de>
...
* evax-emh.c (_bfd_evax_write_emh): Use alloca instead of strdup.
1997-11-22 21:08:09 +00:00
Ian Lance Taylor
107dfe1267
fix comment
1997-11-22 21:05:48 +00:00
Ian Lance Taylor
8046e281ef
Sat Nov 22 15:50:09 1997 Klaus Kaempf <kkaempf@progis.de>
...
* config-gas.com: Get version info from configure.in.
1997-11-22 21:04:47 +00:00
Ian Lance Taylor
db5bb86ef8
Sat Nov 22 15:50:09 1997 Klaus Kaempf <kkaempf@progis.de>
...
* makefile.vms: include depend.obj in OBJS.
1997-11-22 21:01:27 +00:00
Ian Lance Taylor
6dbf32687d
Sat Nov 22 15:50:09 1997 Klaus Kaempf <kkaempf@progis.de>
...
* config/tc-alpha.c (s_alpha_section): Remove ".lcomm" handling.
1997-11-22 20:54:16 +00:00
Ian Lance Taylor
c699ff0403
Sat Nov 22 15:50:09 1997 Klaus Kaempf <kkaempf@progis.de>
...
* config/tc-alpha.c (alpha_basereg_clobbered): Remove variable and
all corresponding code.
1997-11-22 20:52:29 +00:00
Ian Lance Taylor
fbf760a8ab
* elf32-sh.c (sh_elf_relax_delete_bytes): Don't kill LABEL
...
relocs.
1997-11-22 17:31:57 +00:00
Andrew Cagney
aaa11abe42
Clarify meaning of sim_signalled's SIGRC argument. Document that this
...
isn't possible in sim-reason.c and just return the target SIGRC
instead.
For simulators that rely on sim-reason.c, replace SIG* with SIM_SIG*.
Hack nrun.c so that when it is executed (ARGV[0]) as `step' instead
of `run' it single steps the simulator. Allows testing of single step
without full GDB.
1997-11-22 12:52:44 +00:00
Jim Blandy
38639b1294
*** empty log message ***
1997-11-22 01:24:57 +00:00
Jim Blandy
345bcdcc4d
* valops.c (call_function_by_hand): If the function has a
...
prototype, convert its arguments as if by assignment. Otherwise,
do the usual promotions.
* stabsread.c (define_symbol): Set the TYPE_FLAG_PROTOTYPED flag
on functions' types when we can; all C++ functions should get it,
and if the Sun-style prototype notation is in the stabs, we can
notice that.
1997-11-22 00:50:09 +00:00
Richard Henderson
d627a67430
* coff-sh.c (sh_relax_section): Force sign extention of USES r_offset.
...
(sh_relax_delete_bytes): Don't kill LABEL relocs.
Second bit for PR 14069.
1997-11-21 22:18:09 +00:00
Ian Lance Taylor
3fbb8cde37
* aclocal.m4 (AM_CYGWIN32, AM_EXEEXT): Remove. They are already
...
defined by the inclusion of ../bfd/aclocal.m4.
* configure: Rebuild.
1997-11-21 17:22:33 +00:00
Michael Meissner
f092e2a999
tabify changelog
1997-11-21 15:56:57 +00:00
Michael Meissner
40e8f10571
Really do SHELL = /bin/sh change Noer wanted to do
1997-11-21 15:55:07 +00:00
Geoffrey Noer
ebb2647017
Fri Nov 21 02:19:57 1997 Geoffrey Noer <noer@cygnus.com>
...
* Makefile.in: also revert SHELL change until configury
changes work
1997-11-21 10:23:06 +00:00
Doug Evans
2aa8a8fce8
* sparc-tdep.c (sparc_pc_adjust): Don't assume sizeof (long) == 4.
1997-11-21 00:36:08 +00:00
Nick Clifton
19bc147e85
Patch from Richard Earnshaw
1997-11-20 23:08:21 +00:00
Andrew Cagney
a1cf18dc76
Pacify GCC - SIM_SIGNONE missing in enum, xmalloc/free VS ZALLOC/zfree.
1997-11-20 22:56:11 +00:00
Richard Henderson
04b26b0008
* sh-dis.c (print_insn_shx): Recognize all sh4 additions.
...
* sh-opc.h (fmov): Add @<REG_M>+,<DX_REG_N> variant for sh4.
(ftrv): Slay the cut-and-paste monster.
* tc-sh.c (parse_reg): Properly quote for fv4.
pr14044
1997-11-20 22:01:30 +00:00
Ian Lance Taylor
3d901aff01
move include entries from ../ChangeLog
1997-11-20 15:52:38 +00:00
Geoffrey Noer
d7cd126469
Thu Nov 20 04:11:27 1997 Geoffrey Noer <noer@cygnus.com>
...
* Makefile.in: pepper with EXEEXTs in appropriate places,
set SHELL = @SHELL@ for those lame hosts that don't have a /bin/sh
For some reason, EXEEXT isn't getting substututed in correctly
so for now, set EXEEXT to empty string
1997-11-20 13:05:07 +00:00
Geoffrey Noer
98fa4ade2c
Thu Nov 20 04:11:27 1997 Geoffrey Noer <noer@cygnus.com>
...
* aclocal.m4: add EXEEXT setting rule
* configure.in: call it
* configure: regenerate
* Makefile.in: pepper with EXEEXTs in appropriate places,
set SHELL = @SHELL@ for those lame hosts that don't have a /bin/sh
1997-11-20 12:20:39 +00:00
Andrew Cagney
232156dee9
o Add SIM_SIGFPE to sim-signals
...
o Start SIM_SIG* at 64 so that the use of host signal numbers can be
detected and reported.
o Update MIPS simulator to use sim-signal.
1997-11-20 09:50:36 +00:00
Andrew Cagney
a09a30d298
Allow reads/writes to C0_CONFIG register.
1997-11-20 09:17:06 +00:00
Ian Lance Taylor
942f33aeb1
* symbols.c (resolve_symbol_value): Add missing breaks in case on
...
symbol value operator.
1997-11-20 04:47:43 +00:00
Ian Lance Taylor
427a886ad1
rebuild
1997-11-20 04:46:19 +00:00
Doug Evans
c6475c41bb
(enosys): Delete.
1997-11-20 00:50:40 +00:00
Doug Evans
ac1d2660b2
* callback.c (cb_host_to_target_stat): Fix return values.
1997-11-20 00:47:02 +00:00
Doug Evans
998d2c8275
* cgen-sim.h (enum_signal_type): Delete.
...
(engine_signal): Update prototype.
* cgen-utils.c: Don't include <signal.h>.
(sim_signal_to_host): Delete, lives in sim-signal.c now.
(engine_signal): Update.
1997-11-19 20:44:35 +00:00
Doug Evans
62fb62925f
* mem-ops.h: Rename SIM_SIG{ACCESS,ALIGN} to SIM_SIG{SEGV,BUS}.
...
* sim-if.c (sim_open): Call sim_config.
(sim_stop_reason): Update call to sim_signal_to_host.
1997-11-19 20:18:56 +00:00
Doug Evans
398057b722
* sim-utils.c (sim_state_alloc): Call SIM_STATE_ALLOC if defined.
...
(sim_state_free): Call SIM_STATE_FREE if defined.
* sim-module.c (sim_module_install): Don't leave any modules
installed if one fails to install.
1997-11-19 20:13:11 +00:00
Michael Meissner
e163bbbf2a
Do not include alloca-conf.h since alloca is not used.
1997-11-19 18:40:49 +00:00
Michael Meissner
eb5f3fcd1a
Fix carry/overflow problems
1997-11-19 18:30:47 +00:00
Doug Evans
fccbeeb639
(sim_stop_reason): Add comment.
1997-11-19 08:10:40 +00:00
Doug Evans
a4b44a2b08
* sim-core.c (sim_core_signal): Use sim_stopped instead of
...
sim_signalled.
1997-11-19 08:03:53 +00:00
Doug Evans
1ebc7e0e24
* sim-signal.c, sim-signal.h: New files.
...
* Make-common.in (sim-signal.o): Add rule for.
(SIM_NEW_COMMON_OBJS): Add sim-signal.o.
* sim-abort.c: Don't include <signal.h>.
* sim-basics.h: #include "sim-signal.h".
* sim-break.c: Don't include <signal.h>.
(sim_handle_breakpoint): Replace SIGTRAP with SIM_SIGTRAP.
* sim-core.c: Don't include <signal.h>.
(SIGBUS): Delete definition.
(sim_core_signal): Replace SIGSEGV,SIGBUS with SIM_SIGSEGV,SIM_SIGBUS.
* sim-engine.c: Don't include <signal.h>.
(sim_engine_abort): Replace SIGABRT with SIM_SIGABRT.
* sim-reason.c (sim_stop_reason): Call sim_signal_to_host.
* sim-resume.c: Don't include <signal.h>.
(SIGTRAP): Delete definition.
(has_stepped): Replace SIGTRAP with SIM_SIGTRAP.
* sim-stop.c: Don't include <signal.h>.
(control_c_simulation): Replace SIGINT with SIM_SIGINT.
* sim-watch.c: Don't include <signal.h>.
(handle_watchpoint): Replace SIGINT with SIM_SIGINT.
1997-11-19 08:00:37 +00:00
Ken Raeburn
35baf6dded
vr5400 has interlocks
1997-11-19 07:25:47 +00:00
Doug Evans
13c9499d4e
* sim-core.c (sim_core_signal): Use CIA_ADDR to fetch value.
...
* sim-break.c (sim_handle_breakpoint): Likewise.
1997-11-19 02:37:58 +00:00
Doug Evans
340d8e209e
* sim-core.c (sim_core_signal): Use CIA_ADDR to fetch value.
1997-11-18 23:59:29 +00:00
Doug Evans
e5ce1670c1
* Make-common.in (SIM_NEW_COMMON_OBJS): New variable.
...
* sim-base.h (CIA_ADDR): Provide default definition.
1997-11-18 23:55:33 +00:00
Doug Evans
590fc16693
* Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
1997-11-18 23:46:14 +00:00
Doug Evans
486740ce01
* Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
1997-11-18 23:40:40 +00:00
Doug Evans
d5d9a1e155
* sim-main.h (CIA_ADDR): Define.
...
* Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
1997-11-18 23:36:46 +00:00