aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-vx.c
AgeCommit message (Collapse)AuthorFilesLines
1993-06-08 * remove-vx.c (vx_read_register, vx_write_register): collapseK. Richard Pixley1-65/+9
ifdef I80960 else (assumes) m68k into parameterizable macros VX_NUM_REGS and VX_SIZE_FPREGS. * config/m68k/tm-vx68.h, config/i960/tm-vx960.h (VX_NUM_REGS, VX_SIZE_FPREGS): new definitions.
1993-04-27 * remote-vx.c (net_connect): Allow numeric IP address for host.Jim Kingdon1-5/+13
1993-03-30 * config/m68k/tm-m68k.h: Renamed from config/m68k/tm-68k.h.Fred Fish1-3/+3
* m68k/{tm-3b1.h, tm-altos.h, tm-amix.h, tm-es1800.h, tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-os68k.h, tm-st2000.h, tm-sun2.h, tm-sun3.h, tm-vx68.h}: Include tm-m68k.h instead of tm-68k.h. * Makefile.in (HFILES): tm-68k.h renamed to tm-m68k.h. * README, a29k-pinsn.c, m68k-pinsn.c, m68k-stub.c, remote-vx.c, m68k/{altos.mh, altos.mt, apollo68b.mh, nm-apollo68b.h, nm-hp300bsd.h, config/m68k/xm-apollo68b.h}: Map '68k' to 'm68k'. * a29k/tm-a29k.h, doc/gdbint.texinfo: Account for renaming of tm-68k.h to tm-m68k.h. * m68k/m68k-fp.mt (TM_FILE): tm-68k-fp.h renamed to tm-m68k-fp.h. * m68k/m68k-nofp.mt (TM_FILE): tm-68k-nofp.h renamed to tm-m68k-nofp.h.
1992-12-21add include of "complaints.h"David D. Zuhn1-1/+1
1992-12-15 * complaints.c: New file, code moved from utils.c.Fred Fish1-1/+1
* complaints.c (complain): Made into a varargs function. * complaints.h: New file, code moved from symfile.h. * Makefile.in (SFILES_MAINDIR): Add complaints.c. * Makefile.in (HFILES): Add complaints.h. * Makefile.in (OBS): Add complaints.o. * symfile.c (complaint_root, stop_whining, complaint_series, complain, clear_complaints, add_show_from_set for stop_whining): Moved to complaints.c. * symfile.h (struct complaint, complaint_root decl, complain prototype, clear_complaints prototype): Moved to complaints.h. * buildsym.c, coffread.c, dbxread.c, dwarfread.c, elfread.c, gdbtypes.c, mipsread.c, stbsread.c, symfile.c: Include complaints.h. Remove casts from arguments to complain(), which is now a varargs function, and remove unnecessary placeholder zero args. * defs.h (begin_line): Add prototype. * defs.h (vprintf_filtered): Add prototype. * dwarfread.c (varargs.h): Remove, no longer needed. * dwarfread.c (dwarfwarn): Remove prototype and function. * dwarfread.c (complaints): Define a bunch of complaints. * dwarfread.c (SQUAWK): Remove macro defs, convert all usages to standard complain() calls. * utils.c (begin_line): New function that ensures that whatever gets filter-printed next starts on its own line. * utils.c (vprintf_filtered): New func, like vfprintf_filtered, but to stdout (calls vfprintf_filtered internally).
1992-12-10* vx-share/{reg.h,xdr_regs.h,xdr_regs.c}: Remove, unused.John Gilmore1-1/+0
* remote-vx.c: Don't include vx-share/reg.h. * vx-share/ptrace.h: Reproduce from scratch.
1992-11-18Wed Nov 18 15:05:45 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-3/+4
* remote-vx.c (vx_kill): just warn if we can't contact the board, and assume the process has been killed.
1992-10-15remove redundant include of sys/time.h.K. Richard Pixley1-1/+0
1992-10-06NOTICE_SIGNAL_HANDLING_CHANGE macro added to the target vector asK. Richard Pixley1-0/+2
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-21/+1
* 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/+2
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-4/+2
1992-09-10from p3: remote-vx.c: hide name realloc for inclusion of rpc/rpc.hKen Raeburn1-0/+2
1992-09-10* i386-stub.c, sparc-stub.c (getpacket): Actually check checksums.John Gilmore1-1/+2
* m68k-stub.c: Remove a few extraneous ANSI-isms. * remote-nindy.c (nindy_prepare_to_store): Only fetch regs if they aren't already there. * remote-vx.c (vx_prepare_to_store): Ditto. * xcoffread.c: Surround forward struct defns with #ifdef __STDC__.
1992-08-19Wed Aug 19 10:23:27 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+2
* remote-vx.c: redefine malloc to avoid buggy declaration on RS/6000 <rpc/types.h>. xm-rs6000.h: include <sys/select.h> to define fd_set for <rpc/svc.h> on RS/6000.
1992-07-10If at first the network screws you over, try, try again...Ken Raeburn1-72/+49
1992-07-04 * breakpoint.c, buildsym.c, c-exp.y, coffread.c, command.c,Fred Fish1-2/+2
core.c, cplus-dem.c, dbxread.c, dwarfread.c, elfread.c, environ.c, eval.c, findvar.c, gdbtypes.c, hppabsd-tdep.c, hppahpux-tdep.c, i386-tdep.c, ieee-float.c, infcmd.c, inflow.c, infptrace.c, infrun.c, m2-exp.y, mipsread.c, objfiles.c, parse.c, procfs.c, putenv.c, remote-mm.c, remote-vx.c, solib.c, sparc-tdep.c, sparc-xdep.c, stack.c, symfile.c, symtab.c, symtab.h, target.c, tm-i386v.h, tm-sparc.h, utils.c, valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Remove "(void)" casts from function calls where the return value is ignored, in accordance with GNU coding standards.
1992-06-01Pass the correct number of parameters to `symbol_file_add'.Michael Tiemann1-2/+2
1992-05-08* Makefile.in, remote-udi.c, remote-vx.c, 29k-share/dfe/mini2udi.c,Stu Grossman1-5/+5
29k-share/dfe/yank.c, vx-share/xdr_ptrace.c, vx-share/xdr_regs.c: Remove -I29k-share, -Ivx-share from Makefile.in. Make #includes relative to each source file.
1992-04-14* remote-vx.c, vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,Stu Grossman1-135/+61
vx-share/xdr_rdb.h: Update for new remote protocol under VxWorks 5.0.2.
1992-03-18Changes to implement the -mapped and -readnow options for commands thatFred Fish1-2/+2
read symbol tables.
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-02-22* xm-sun3os4.h, xm-sun4os4.h: Enable HAVE_MMAP.John Gilmore1-0/+1
* minsyms.c (install_minimal_symbols): Add bunches to any existing minsyms in the objfile. Avoid extra mallocation by working directly in the obstack. Remove ignored `mainline' parm. * coffread.c, dbxread.c, elfread.c, mipsread.c, solib.c, symtab.h, xcoffread.c: Change all callers. * FIXME: We should be able to eliminate MAINLINE from all the symbol readers now, with a small bit of work. * valops.c, value.h: Lint. * remote-vx.c: Add missing break; statement. Bugfix by Michael Sclafani, <sclafani@src.dec.com>.
1992-02-22* Check in Fred Fish's changes in these modules. FredJohn Gilmore1-5/+3
will make ChangeLog entries for all of them.
1992-02-21* core.c, eval.c, exec.c, inftarg.c, remote-adapt.c, remote-eb.c,John Gilmore1-4/+1
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).
1991-12-14* infrun.c, remote-eb.c, remote-nindy.c, remote-vx.c: RemoveJohn Gilmore1-10/+0
unused START_INFERIOR_HOOK. * remote-eb.c: Change timeout to 24 seconds (*10 fits in byte) to account for slow loading from floppies. (eb_create_inferior): New fn, from eb_start and nindy_create_inferior. (eb_close): Only use log_file if nonzero. (eb_xfer_memory): If not writing, then read! (eb_read_inferior_memory, eb_write_inferior_memory): Return length. (eb_kill): A new no-op. (eb_mourn_inferior): Remove breakpoints, then generically weep.
1991-11-21* defs.h: Incorporate param.h. All users changed.John Gilmore1-1/+0
* param-no-tm.h: Change users to define TM_FILE_OVERRIDE instead. * param.h, param-no-tm.h: Removed. * Update copyrights in all changed files. * dbxread.c, dwarfread.c, inflow.c, infrun.c, m2-exp.y, putenv.c, solib.c, symtab.h, tm-umax.h, valprint.c: Lint. * tm-convex.h, tm-hp300hpux.h, tm-merlin.h, tm-sparc.h, xm-merlin.h: Avoid host include files in target descriptions. * getpagesize.h: Removed, libiberty copes now.
1991-09-19* i386-xdep.c, pyr-tdep.c, pyr-xdep.c, remote-vx.c, solib.c,John Gilmore1-7/+7
source.c, symfile.c, dbxread.c: Output hex with local_hex_string for Modula-2 support.
1991-09-06Fix some infrastructure to be able to cope with host and targetJohn Gilmore1-305/+1
machines with different sized basic types (ints, ptrs, etc). (Idea from pierre@la.tce.com (Pierre Willard).) * value.c (value_from_longest): Rename from value_from_long. Handle pointer types as well as integers, so that targets with different pointer sizes from the host can be accomodated. * breakpoint.c, convex-tdep.c, eval.c, expprint.c, printcmd.c, valarith.c, valops.c, valprint.c, value.h, values.c: Rename uses of value_from_long to value_from_longest. * eval.c, findvar.c, printcmd.c, valarith.c, valops.c: Pass the correct pointer type to value_from_long{est}. * remote-vx.c: Remove obsolete code for calling functions via vxworks kludge interface (it referenced value_from_long). * valops.c (value_string): Find malloc with lookup_misc_func, not raw search. * breakpoint.c, remote-vx.c: Reword strings printed by catch_errors callers.
1991-09-04Make writing to files work properly. (Fixes to BFD are also needed.)John Gilmore1-6/+5
* core.c (core_open): Open file ourselves, read or r/w, depending on write_files. Use bfd_fdopenr. * gdbcore.h (write_files): New variable. * exec.c (write_files): Define variable, add set&show for it. (exec_file_command): Use write_files to open for read or r/write. Make shared library reading happen automatically. These changes are mostly from Peter Schauer <pes@regent.e-technik.tu-muenchen.de>. * inferior.h (stop_soon_quietly): Add to exported variables. * infrun.c (child_create_inferior): call solib hook, if defined. (child_attach): call solib hook, if defined. * solib.c: Include inferior.h. Add from_tty to so_list as kludge. (find_solib): Use lookup_misc_func rather than hand-rolled. (symbol_add_stub): New stub for catch_errors. (solib_add): Avoid output if !from_tty. Catch errors rather than just calling symbol_file_add and bombing. (solib_create_inferior_hook): Interface with the target process to let it read and alloc shared libs, then figure out what it did. * core.c (validate_files): Fix typo, soften warning. (Fix from Hiroto Kagotani <kagotani@cs.titech.ac.jp>.) * utils.c (fputs_demangled): Avoid duplicate printing if demangling is off. (Fix from J.T. Conklin <jtc@cayenne.com>.) * infrun.c (proceed): Cast -1 to (CORE_ADDR) before comparing. (Fix from pierre@la.tce.com (Pierre Willard).) * main.c (catch_errors): Change argument to a char * from an int, since a char * can point to a struct full of glop, but an int is not guaranteed to be able to hold a pointer. * breakpoint.c (breakpoint_cond_eval, bpstat_stop_status, breakpoint_re_set_one, breakpoint_re_set): Adapt. * core.c (core_open, solib_add_stub): Adapt. * remote-vx.c (symbol_stub, add_symbol_stub, callers): Adapt.
1991-08-14 * core.c, exec.c, inftarg.c, remote-eb.c, remote-nindy.c,John Gilmore1-4/+7
remote-vx.c, remote.c, target.c, target.h: Remove add_syms vector from target_ops. It's the same on all targets. Add two section pointers to target_ops.
1991-06-04Change GDB over to GNU General Public License version 2.John Gilmore1-6/+6
1991-04-19 * inftarg.c (child_open), remote-vx{,.68}.c (vx_proc_open):Jim Kingdon1-1/+15
New function to give correct error message.
1991-03-28Johns releaseK. Richard Pixley1-0/+1775