aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-hms.c
AgeCommit message (Collapse)AuthorFilesLines
1993-01-03 * remote-sim.c: first attempt at general simulator interfaceSteve Chamberlain1-622/+637
* remote-hms.c: whitespace * h8300-tdep.c: (h8300_skip_prologue, examine_prologue): understand new stack layout. (print_register_hook): print ccr register in a fancy way.
1992-10-20* remote-hms.c: Disable all uses of serial_nextbaudrate andStu Grossman1-2/+5
serial_default_name().
1992-10-19* remote-hms.c, ser-go32.c, serial.h: Change fromStu Grossman1-8/+6
serial_timedreadchar() to new serial_readchar().
1992-10-06NOTICE_SIGNAL_HANDLING_CHANGE macro added to the target vector asK. Richard Pixley1-0/+1
to_notice_signals. * inferior.h (proc_signal_handling_change): prototype removed. * infrun.c (NOTICE_SIGNAL_HANDLING_CHANGE): default removed. (handle_command): now calls target_notice_signals. * procfs.c (proc_signal_handling_change): renamed to procfs_notice_signals. Now static. Add prototype. All callers changed. * target.h (struct target_ops): new field, to_notice_signals. (target_notice_signals): new macro to cover new field. * target.c (cleanup_target): default to_notice_signals to ignore. * corelow.c (core_ops), exec.c (exec_ops), inftarg.c (child_ops), procfs.c (procfs_ops), remote-adapt.c (adapt-ops), remote-eb.c (eb_ops), remote-es1800.c (es1800_ops, es1800_child_ops), remote-hms.c (hms_ops), remote-mm.c (mm_ops), remote-nindy.c (nindy_ops), remote-st2000.c (st2000_ops), remote-udi.c (udi_ops), remote-vx.c (vx_ops, vx_run_ops), remote.c (remote_ops), target.c (dummy_target), xcoffexec.c (exec_ops): added static initializer for to_notice_signals. * xm-irix4.h, xm-sysv4.h (NOTICE_SIGNAL_HANDLING_CHANGE): removed.
1992-09-26Split non-target-dependent code out of target_attach routines.John Gilmore1-81/+4
* target.h: Comments on target_attach args and results. * infcmd.c (attach_command): Check for existing execution, call target_attach, set up terminal status and wait_for_inferior, wait for the attach status, and do normal_stop. * inftarg.c (child_attach): Remove target independent stuff. * remote-adapt.c (adapt_attach): Ditto. * remote-mm.c (mm_attach): Ditto. * remote-udi.c (udi_attach): Ditto. * remote-vx.c (vx_attach): Ditto. Cleanup. * remote-hms.c (hms_attach): Remove completely, it was useless. * remote-mm.c, remote-hms.c, remote-udi.c, remote-adapt.c: Remove commented-out start_remote calls. * remote-hms.c, remote-adapt.c, remote-mm.c, remote-udi.c: Remove DENTER and DEXIT macros and their calls. Use a real debugger -- like gdb -- to see what functions are being called when.
1992-09-22Break the thread of control that implies that a unix childJohn Gilmore1-0/+1
process will be the default target. * target.c (find_default_run_target, find_default_attach, find_default_create_inferior, return_zero): new functions. (cleanup_target): Make return_zero the default for to_can_run. * exec.c (exec_ops), core.c (core_ops): Replace child_attach and child_create_inferior references with find_default_XXX instead. * target.h (struct target_ops): new field, to_can_run. (find_default_attach, find_default_create_inferior): new prototypes. (target_can_run): new macro. * Also added a zero (default) to_can_run element to all static struct target_ops initializations throughout GDB, except: * inftarg.c (child_ops): Use new child_can_run() to enable child runs. * infrun.c (child_create_inferior): Clean up error handling when no exec file is specified. (child_attach): Don't require exec file.
1992-09-18Remove convert_{to,from}_virtual members from target structs.John Gilmore1-1/+1
1992-09-02* ser-termios.c, ser-go32.c: Remove DEFUN crap, clean up.John Gilmore1-1/+1
* serial.h (EXFUN): Remove all uses, convert to PARAMS. * config/sun4os4.mh: Include ser-termios.o. FIXME, all .mh files should include a ser-XXX.o module. * dbxread.c (elfstab_build_psymtabs): Remove DEFUN crap. * defs.h, i960-pinsn.c, remote-hms.c: Replace CONST with simple const. * configure.in: Map unrecognized sun 68k's, sun sparcs, into known suns in configure.in, rather than mapping them to unique config files that happen to duplicate other config files. * config/sun3.{mh,mt}: Remove (use identical sun3os4.*). * config/sun4.{mh,mt}: Remove (use identical sun4os4.*).
1992-05-13 Changes to support GDB running on DOS using GO32 and H8 supportSteve Chamberlain1-392/+175
* defs.h: if xm.h doesn't define FOPEN_RB, include "fopen-same.h", allowing hosts with different text and binary file formats to work. * coffread.c (read_coff_symtab): changed calling convention and operation - now it opens its own file with FOPEN_RB rather than duping and fdopening the provided handle. * dbxread.c, cplus-dem.c: #include mangling. * exec.c: If O_BINARY isn't defined, set it to 0, call openp for binary files oring in the right bit. * utils.c, terminal.h, inflow.c: hackery because dos doesn't have terminals. * remote-hms.c: cleanup to use the new remote serial stuff * serial.h, ser-termios.c, ser-go32.c: newfiles to provide host independent remote terminal I/O. * remote.c: if DONT_USE_REMOTE is defined, then don't use it. * source.c (openp): fix off by one problem removing / - can now open a source file in the root directory with DOS. * values.c (value_as_pointer): remove bogus address bits from long. (unpack_long): unpack into unsigned long/short if pointer.
1992-03-03Tue Mar 3 15:11:52 1992 Michael Tiemann (tiemann@cygnus.com)Michael Tiemann1-1/+0
* All GDB files that #include defs.h: Removed stdio.h. (defs.h): #include stdio.h. This has been tested by building GDBs for all targets hosted on Sun4. None of the build problems were related to stdio.h inclusion. (n.b. many configurations don't build for other reasons.)
1992-03-03 * gdbtypes.c (lookup_pointer_type): initialize the TYPE_LENGTH ofSteve Chamberlain1-66/+92
a ptype to reflect the setting of TARGET_PTR_BIT. Set the TYPE_FLAGS of a ptype to TYPE_FLAG_UNSIGNED. * tm-h8300.h, h8300-tdep.c, remote-hms.c: personal checkpoint * printcmd.c (print_address): if ADDR_BITS_REMOVE is defined, use it before printing out the hex shape of an address.
1992-02-21* core.c, eval.c, exec.c, inftarg.c, remote-adapt.c, remote-eb.c,John Gilmore1-11/+3
remote-hms.c, remote-mm.c, remote-nindy.c, remote-vx.c, remote.c, target.c, target.h, valarith.c, valops.c, value.h, xcoffexec.c: Remove to_call_function and target_call_function, since it always calls the same thing (call_function_by_hand).
1992-02-06 * coffread.c (read_enum_type): Use the size of a target int whenSteve Chamberlain1-130/+337
describing enum. * defs.h: added new #define for TARGET_PTR_BIT, defaults to size of target int. * h8300-tdep.c, remote-hms.c, tm-h8300.h: too many changes to count * symtab.c (lookup_reference_type, lookup_ptr_type): use TARGET_PTR_BIT to determine size of a pointer * values.c (unpack_long): when unpacking a REF or a PTR don't assume the size of the type.
1992-01-28Development checkpointSteve Chamberlain1-0/+1474