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
Michael Meissner [Thu, 27 Nov 1997 14:10:03 +0000 (14:10 +0000)]
Fix typos
Jeff Law [Thu, 27 Nov 1997 06:01:08 +0000 (06:01 +0000)]
* remote-sim.c (gdbsim_cntrl_c): Lose ANSI prototype.
Nick Clifton [Thu, 27 Nov 1997 01:44:10 +0000 (01:44 +0000)]
Removed leading underscore.....
Keith Seitz [Wed, 26 Nov 1997 23:50:45 +0000 (23:50 +0000)]
* gdbtk.c (gdb_loc): symtab_to_filename can return NULL
(breakpoint_notify): symtab_to_filename can return NULL
(gdb_get_breakpoint_info): symtab_to_filename can return NULL
* tracepoint.c (set_raw_tracepoint): fix typo
Keith Seitz [Wed, 26 Nov 1997 22:38:10 +0000 (22:38 +0000)]
* tracepoint.c (set_raw_tracepoint): make sure there's a trailing slash on
the directory name
* Merge (lots) with foundry-971118-build
* Makefile.in (install-only): install the new gdbtk, not the old
* top.h: add declaration of get_prompt
* top.c (get_prompt): new function
* gdbtk.c (gdbtk_call_command): also run idle hooks for class_trace
commands
(gdbtk_init): add new commands "gdb_get_locals", "gdb_get_args",
"gdb_get_function", "gdb_get_line", "gdb_get_file",
"gdb_tracepoint_exists", "gdb_get_tracepoint_info", "gdb_actions",
and "gdb_prompt"
(gdb_get_vars_command): new function
(gdb_get_line_command): new function
(gdb_get_file_command): new function
(gdb_get_function_command): new function
(gdb_get_tracepoint_info): new function
(gdbtk_create_tracepoint): new function
(gdbtk_delete_tracepoint): new function
(tracepoint_notify): new function
(tracepoint_exists): new function
(gdb_actions_command): new function
(gdb_tracepoint_exists_command): new function
(gdb_prompt_command): new function
* main.tcl: initialize gdbtk_state(readline)
* console.tcl (invoke): get realine working
(activate): add prompt argument for readline
(setprompt): add prompt argument for readline
* interface.tcl (gdbtk_tcl_readline): hack to get readline working
* lots: Merge with foundry-971118-build
* console.tcl (setprompt): get prompt from gdb
* prefs.tcl (pref_set_defaults): add tracepoint defaults
* interface.tcl (gdbtk_tcl_tracepoint): new function
* src.tcl (constructor): set default behavior of left click, make
a tracepoint dot, too
(fill_files): "new" function: ripped out of "location"
(location): use fill_files instead
(do_bp): add support for tracepoints
(bp_line): add support for tracepoints
(set_tracepoint): new function
(config_win): add "Set tracepoint here" to right-click menu
* actiondlg.tcl: new file to help with tracepoint data collection actions
* tracedlg.tcl: new file to help with tracepoints
Nick Clifton [Wed, 26 Nov 1997 22:14:52 +0000 (22:14 +0000)]
Add C_THUMBEXT etc.
Doug Evans [Wed, 26 Nov 1997 22:11:31 +0000 (22:11 +0000)]
* Make-common.in (run.o): Depend on remote-sim.h.
(nrun.o,sim-hload.o,sim-hrw.o): Likewise.
(sim-io.o,sim-reason.o,sim-resume.o): Likewise.
Michael Meissner [Wed, 26 Nov 1997 21:52:16 +0000 (21:52 +0000)]
Flush writes to stdout, stderr
Michael Meissner [Wed, 26 Nov 1997 21:48:58 +0000 (21:48 +0000)]
Use names for all prototype arguments
Keith Seitz [Wed, 26 Nov 1997 21:48:06 +0000 (21:48 +0000)]
* Makefile.in, configure, configure.in: merge with foundry-971118-build
Andrew Cagney [Wed, 26 Nov 1997 21:35:53 +0000 (21:35 +0000)]
* sim-io.c (sim_io_getstring): Delete unused len2. (sim_io_syscalls):
Ditto for sys_errno.
Andrew Cagney [Wed, 26 Nov 1997 21:34:05 +0000 (21:34 +0000)]
FreeBSD has (at least for the i386) a little-endian magic number.
Doug Evans [Wed, 26 Nov 1997 19:53:26 +0000 (19:53 +0000)]
Delete magic number FIXME.
Doug Evans [Wed, 26 Nov 1997 19:52:34 +0000 (19:52 +0000)]
Undo last change. callback.h changed instead.
Plus:
* syscall.c (cb_syscall): Test CB_SYSCALL struct magic number.