aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
1994-10-13 * Makefile.in (ANNOTATE_OBS): New definition.Stan Shebs73-73/+75
(COMMON_OBS): Add exec.o. (annotate.o): Remove extra compile rule. * config/*/*.mh, config/*/*.mt: Remove exec.o from *DEPFILES lists everywhere.
1994-10-13 * exec.c: Merge in RS6000 support from xcoffexec.c.Stan Shebs2-0/+8
(symfile.h, objfiles.h, xcoffsolib.h): Include. (vmap): New global variable. (exec_close): Close and free objects in vmap chain. (exec_file_command) [IBM6000_TARGET]: Set up initial vmap. (bfdsec_to_vmap, map_vmap): Moved here from xcoffexec.c. (exec_files_info): Print vmap information. * xcoffexec.c: Remove. * config/rs6000/rs6000.mt, config/rs6000/rs6000lynx.mt (TDEPFILES): Use exec.o instead of xcoffexec.o. * TODO: Remove pertinent items.
1994-10-08 * config/sparc/tm-sparc.h: Add PARAMS declarations to allPeter Schauer1-5/+11
function declarations.
1994-10-08 The point of these changes is to avoid reading the frame pointerJim Kingdon3-6/+2
and stack pointer during stepping, to speed things up. A. Changes to not select a frame until we need a selected frame: * blockframe.c (flush_cached_frames): Call select_frame (NULL, -1). * infrun.c (wait_for_inferior): Move call to select_frame back to normal_stop. This reverts a change of 13 Apr 94 (it says Jeff Law, but the change was my idea); the only reason for that change was so we could save and restore the selected frame in wait_for_inferior, and now that flush_cached frames clears the selected frame, that should work OK now. B. Changes to not create a current_frame until we need one: * blockframe.c (get_current_frame): If current_frame is NULL, try to create an innermost frame. * sparc-tdep.c (sparc_pop_frame), infcmd.c (run-stack_dummy), infrun.c (wait_for_inferior), thread.c (thread_switch), convex-tdep.c (set_thread_command), a29k-tdep.c (pop_frame), alpha-tdep.c (alpha_pop_frame), convex-xdep.c (core_file_command), h8300-tdep.c (h8300_pop_frame), h8500-tdep.c (h8300_pop_frame), hppa-tdep.c (hppa_pop_frame), i386-tdep.c (i386_pop_frame), i960-tdep.c (pop_frame), m68k-tdep.c (m68k_pop_frame), mips-tdep.c (mips_pop_frame), rs6000-tdep.c (push_dummy_frame, pop_dummy_frame, pop_frame), sh-tdep.c (pop_frame), config/arm/tm-arm.h (POP_FRAME), config/convex/tm-convex.h (POP_FRAME), config/gould/tm-pn.h (POP_FRAME), config/ns32k/tm-merlin.h (POP_FRAME), config/ns32k/tm-umax.h (POP_FRAME), config/tahoe/tm-tahoe.h (POP_FRAME), config/vax/tm-vax.h (POP_FRAME): Don't call create_new_frame. * corelow.c (core_open), altos-xdep.c (core_file_command), arm-xdep.c (core_file_command), gould-xdep.c (core_file_command), m3-nat.c (select_thread), sun386-nat.c (core_file_command), umax-xdep.c (core_file_command): Don't call create_new_frame; do call flush_cached_frames. * blockframe.c (reinit_frame_cache): Don't call create_new_frame or select_frame. C. Changes to get rid of stop_frame_address and instead only fetch the frame pointer when we need it. * breakpoint.c (bpstat_stop_status): Remove argument frame_address; use FRAME_FP (get_current_frame ()). * infrun.c (wait_for_inferior): Don't pass frame pointer to bpstat_stop_status. * infrun.c (wait_for_inferior): Use FRAME_FP (get_current_frame ()) instead of stop_frame_address. * infrun.c (save_inferior_status, restore_inferior_status), inferior.h (struct inferior_status): Don't save and restore stop_frame_address. * inferior.h, infcmd.c, thread.c (thread_switch), m3-nat.c (select_thread): Remove stop_frame_address and uses thereof. D. Same thing for the stack pointer. * infrun.c (wait_for_inferior): Remove stop_sp and replace uses thereof with read_sp (). E. Change to eliminate one nasty little spot where we were wanting to know the frame pointer from before the current step (idea from GDB 3.5, which saved my ass, because my other ideas of how to fix it were very baroque). * infrun.c: Remove prev_frame_address. * infrun.c (wait_for_inferior, step_over_function): Use step_frame_address instead of prev_frame_address. F. Same basic idea for the stack pointer. * inferior.h, infcmd.c: New variable step_sp. * infcmd.c (step_1, until_next_command): Set it. * infrun.c: Remove prev_sp and replace uses by step_sp. * infrun.c (wait_for_inferior): If we get out of the step range, then set step_sp to the current stack pointer before we start going again.
1994-10-06 * config/mips/tm-mips.h (GDB_TARGET_IS_MIPS64): If not alreadyIan Lance Taylor7-52/+59
defined, define as 0. (FIX_CALL_DUMMY): Rewrite to remove presumption that host and target are similar. * config/mips/tm-idt.h (TARGET_BYTE_ORDER_SELECTABLE): Define. * config/mips/tm-idtl.h (TARGET_BYTE_ORDER_SELECTABLE): Define. * config/mips/tm-idt64.h (TARGET_BYTE_ORDER_SELECTABLE): Define. (BREAKPOINT): Remove definition. * config/mips/tm-idtl64.h (TARGET_BYTE_ORDER_SELECTABLE): Define. (BREAKPOINT): Remove definition. * config/mips/tm-mips64.h (GDB_TARGET_IS_MIPS64): Define with a value of 1, rather than without a value. * config/mips/tm-bigmips64.h (GDB_TARGET_IS_MIPS64): Likewise.
1994-10-05* nlm/Makefile.in: Get rid of NWINCLUDES.J.T. Conklin2-4/+0
* config/{alpha,powerpc}/gdbserve.mt: Remove NWINCLUDES. User should now configure with --with-headers.
1994-10-01* nlm/Makefile.in: Get rid of NWINCLUDES.J.T. Conklin2-1/+4
* config/{alpha,powerpc}/gdbserve.mt: define NWINCLUDES.
1994-09-27Don't nuke hppapro.mt.Rob Savoye1-0/+1
1994-09-25 * infcmd.c (do_registers_info) [INVALID_FLOAT]: Only use ifStan Shebs16-58/+6
defined. * values.c (unpack_double) [INVALID_FLOAT]: Ditto. * mips-tdep.c (mips_print_register): Don't test float validity. * config/a29k/tm-a29k.h, config/alpha/tm-alpha.h, config/arm/tm-arm.h, config/convex/tm-convex.h, config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, config/i386/tm-i386v.h, config/i386/tm-sun386.h, config/i960/tm-i960.h, config/m68k/tm-m68k.h, config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/ns32k/tm-merlin.h, config/ns32k/tm-nbsd.h, config/ns32k/tm-ns32km3.h, config/ns32k/tm-umax.h, config/pa/tm-hppa.h, config/pyr/tm-pyr.h, config/rs6000/tm-rs6000.h, config/sh/tm-sh.h, config/sparc/tm-sparc.h, config/z8k/tm-z8k.h (INVALID_FLOAT): Remove definition.
1994-09-23* solib.c: *BSD systems need <a.out.h> to be included beforeJ.T. Conklin13-10/+202
<link.h>. * i386b-nat.c: Add i386_float_info(), etc. * config/i386/nm-nbsd.h: #define FLOAT_INFO. * config/nm-nbsd.h: New file, for generic NetBSD native support. * config/i386/nm-nbsd.h: Use it. * config/sparc/nm-nbsd.h: Use it. * config/ns32k/nm-nbsd.h: Use it. * configure.in (i386-*-netbsd): Use config/i386/nbsd.m[ht]. (ns32k-*-netbsd): Use config/ns32k/nbsd.m[ht]. * config/i386/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}: New files, support for NetBSD/i386. * config/ns32k/{nbsd.mh,nbsd.mh,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}: New files, support for NetBSD/ns32k.
1994-09-17 * config/i386/{i386aix.mh, i386bsd.mh, i386lynx.mh, i386sco.mh,Stan Shebs23-86/+78
i386sco4.mh, i386sol2.mh, i386v.mh, i386v32.mh, i386v4.mh, ncr3000.mh, ptx.mh, ptx4.mh}, config/m68k/{altos.mh, apollo68v.mh, delta68.mh, dpx2.mh, hp300bsd.mh, hp300hpux.mh, m68klynx.mh, m68kv4.mh}, config/m88k/{delta88.mh, delta88v4.mh}, config/mips/riscos.mh, config/pa/hppahpux.mh, config/sparc/{sparclynx.mh, sun4sol2.mh}, config/tahoe/tahoe.mh, config/vax/{vaxbsd.mh, vaxult.mh, vaxult2.mh} (REGEX, REGEX1, SYSV_DEFINE): No longer define. * config/i386/i386sco4.mh (MUNCH_DEFINE): No longer define.
1994-09-14Add support for the w89k and op50n PA target board code.Rob Savoye1-2/+2
1994-09-09Add XDEPFILE = ser-tcp.oRob Savoye1-0/+1
1994-09-09* config/i386/gdbserve.mt: New file, defs for i386 nlm stub.J.T. Conklin2-0/+4
1994-09-09GDB support for HP-PRO.Rob Savoye1-0/+9
1994-09-09 * config/i386/xm-go32.h (GDBINIT_FILENAME): Set to gdb.ini.Steve Chamberlain1-0/+2
(more work here to come)
1994-09-09 * config/sh/tm-sh.h (EXTRA_FRAME_INFO): Add f_offset and leaf_functionSteve Chamberlain1-1/+3
fields.
1994-09-09 * config/h8500/tm-h8500.h (target_write_pc, TARGET_WRITE_PC):Steve Chamberlain1-2/+2
Handle extra arg.
1994-09-04Update to reflect changes in config filesStan Shebs5-5/+14
1994-09-04 * configure.in (config/nm-empty.h): If cross only, use insteadStan Shebs7-2/+112
of config/nm-trash.h. * config/nm-trash.h: Remove. * config/nm-empty.h: New file. * config/i386/nm-m3.h: New file, includes config/nm-m3.h. * config/mips/nm-m3.h: New file, includes config/nm-m3.h. * config/m68k/nm-sysv4.h: New file, includes config/nm-sysv4.h. * config/mips/nm-sysv4.h: New file, includes config/nm-sysv4.h. * config/sparc/nm-sysv4.h: New file, includes config/nm-sysv4.h.
1994-09-03 * objfiles.c (allocate_objfile): Add the newly-created objfile toStan Shebs1-0/+2
the end of the list of objfiles, instead of at the beginning. * xcoffread.c (allocate_include_entry): New function, abstracted from code in record_include_begin. (record_include_begin, record_include_end): Call it. * blockframe.c (reinit_frame_cache): Test inferior_pid instead of target_has_stack to decide whether to create a real stack frame for the cache. * coffread.c (process_coff_symbol) [CXUX_TARGET]: Ignore vendor section. * config/m88k/tm-cxux.h (CXUX_TARGET): Define. * h8300-tdep.c: Include "dis-asm.h" instead of <dis-asm.h>.
1994-09-03Add gdbserve.mt.Stu Grossman1-0/+1
1994-09-03Add .Sanitize.Stu Grossman1-0/+33
1994-09-02* config/sparc/tm-nbsd.h: Add #defines to map NetBSD struct andJ.T. Conklin1-0/+22
field names into what is expected by sparc-nat.c.
1994-09-01 * rs6000-pinsn.c (print_insn): Use powerpc disassembler whenStu Grossman4-3/+8
doing Power PC. * config/powerpc/tm-ppc-nw.h: Define GDB_TARGET_POWERPC. * config/i386/i386lynx.mh, config/m68k/m68klynx.mh, config/rs6000/rs6000lynx.mh, config/sparc/sparclynx.mh: Enable ser-tcp. * nlm/Makefile.in: Get rid of NWSOURCE. * nlm/alpha-io.S (inVti, outVti): Remove extraneous ldha's. * nlm/gdbserve.o: Add dummy __main routine. * nlm/gdbserve.def: Turn on debug.
1994-09-01* config/xm-nbsd.h: Don't define SET_STACK_LIMIT_HUGE; it is obsolete.Jim Kingdon1-3/+0
1994-09-01Commit again, CVS botched this last time.J.T. Conklin5-97/+0
1994-09-01* config/tm-nbsd.h: New file, support for all NetBSD targets.J.T. Conklin8-7/+174
* config/xm-nbsd.h: fix typo. * config/sparc/{nm,tm,xm}-nbsd.h: New files, renamed from {nm,tm,xm}-sparcnbsd.h to conform to prefered file naming conventions. * configure.in: (sparc-*-netbsd): use config/sparc/nbsd.m[ht].
1994-08-30 * config/h8500/tm-8500.h (DONT_USE_REMOTE): Remove definition,Stan Shebs1-2/+0
an obsolete conditional. * config/pa/tm-hppa.h (BREAKPOINT) [KERNELDEBUG]: Remove use, an obsolete conditional. * config/rs6000/rs6000.mh, config/rs6000/rs6000.mt: Clean up comments.
1994-08-29 * nlm/configure.in: Stop using cpu.c. Put it in TDEPFILES instead.Stu Grossman1-1/+1
* config/alpha/gdbserve.mt (TDEPFILES): Remove alpha-patch.o.
1994-08-29 * nlm/Makefile.in: Add rule for .S.o.Stu Grossman1-1/+1
* nlm/aio.h: Protect from multiple inclusions. * nlm/alpha-io.S: Remove everything we don't need. * nlm/{alpha-patch.c, alpha-patch.h, alpha-uart.c, alpha-uart.h}: Remove, no longer needed. * nlm/alpha.c: Merge in lots of stuff from previous files. * nlm/alpha.h: Don't #include alpha-patch.h. Make breakpoint_insn extern. * Move stuff from alpha-patch.h into here. * config/alpha/gdbserve.mt (TDEPFILES): Get rid of alpha-uart.o.
1994-08-26Remove RCS ID'sJ.T. Conklin2-8/+2
1994-08-26* sparcnbsd.mh,sparcnbsd.mt: New files, support for NetBSD/sparc.J.T. Conklin3-0/+11
1994-08-25* config/xm-nbsd.h: New file, support for all NetBSD ports.J.T. Conklin4-0/+97
* config/sparc/{nm-sparcnbsd.h,tm-sparcnbsd.h,xm-sparcnbsd.h}: New files, support for NetBSD/sparc. * configure.in: Add sparc-*-netbsd target.
1994-08-25* config/xm-nbsd.h: New file, support for all NetBSD ports.J.T. Conklin2-0/+38
* config/sparc/{nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}: New files, support for NetBSD/sparc. * configure.in: Add sparc-*-netbsd target.
1994-08-23 * config/a29k/{a29k-kern.mt,a29k-udi.mt,a29k.mt,ultra3.mh,Stan Shebs5-21/+30
ultra3.mt}: Clean up, remove no-longer-used definitions.
1994-08-19 * Makefile.in (ALLDEPFILES): Add hpread.c.Jeff Law3-2/+35
(hpread.o): Add dependencies. * somread.c: Do not include "aout/aout64.h". SOM has nothing to do with a.out. (BYTES_IN_WORD): Delete. (som_symfile_read): Call hpread_build_psymtabs to build any minimal symbols based on the HP C native debug symbols. (som_symfile_finish): Call hpread_symfile_finish. (som_symfile_init): Call hpread_symfile_init. * config/pa/tm-hppa.h (HPREAD_ADJUST_STACK_ADDRESS): Define. * hppa-tdep.c (hpread_adjust_stack_address): New function. * config/pa/hppabsd.mh (NATDEPFILES): Add hpread.o * config/pa/hppahpux.mh (NATDEPFILES): Likewise. * hpread.c: New file.
1994-08-18Support both the generic remote protocol and the one for HP-PRO targets.Rob Savoye2-2/+2
1994-08-18 * Makefile.in (TARGET_FLAGS_TO_PASS): Pass down LD_FOR_TARGET andStu Grossman4-0/+58
NLMCONV_FOR_TARGET. (SUBDIRS): Add nlm target. * configure.in (powerpc-*-netware*): Automatically configure nlm subdir. * nlm/Makefile.in: Add {CC NLMCONV LD}_FOR_TARGET. Remove alpha specific stuff. Make things more configurable. * nlm/configure.in: Add powerpc-*-netware* target. Use gdbserve.mt/cpu.c/cpu.h for target stuff. Get rid of tm/xm/nm.h files. * nlm/gdbserve.c: Move Alpha specific stuff into other files. Remove lots of architecture-specific stuff. * nlm/gdbserve.def: Add new imports. * nlm/ppc.c, nlm/ppc.h: New files that contain PowerPC specific code. * nlm/prelude.c: Don't include libhooks.h, get rid of call to register library. * nlm/prelude.o: What was this doing here? * config/alpha/gdbserve.mt: Defs for alpha nlm stub. * config/powerpc/gdbserve.mt: Defs for PowerPC nlm stub. * config/powerpc/ppc-nw.mt: Defs for PowerPC target for GDB. * config/powerpc/tm-ppc-nw.h: Ditto. * nlmstub.def: New file, contains imports for 386 nlm stub.
1994-08-18Use new remote-pa, rather than the generic one.Rob Savoye3-2/+3
1994-08-17 * config/m68k/tm-delta68.h (EXTRACT_RETURN_VALUE,Stan Shebs1-2/+27
STORE_RETURN_VALUE): Define to use %a0 for pointers.
1994-08-17Add serial tcp support for HPPA hosts and targets.Rob Savoye2-1/+5
1994-08-07 * config/mips/tm-irix5.h (IN_SIGTRAMP): Redefine for Irix 5,Peter Schauer1-0/+4
Irix 5 has a standard _sigtramp signal handler.
1994-08-04New file. (stan said I could put it here)Steve Chamberlain3-0/+1556
1994-08-04 * config/i386/xm-i386v4.h, config/m68k/xm-m68kv4.h,Stan Shebs4-24/+1
config/sparc/xm-sun4sol2.h (NORETURN): Don't define. * config/m88k/tm-cxux.h (ARCH_NUM_REGS): Undefine before defining.
1994-08-04 * config/i386/i386m3.mh (NAT_CLIBS): Add -lmachid and -lnetname.Jean Marie Diaz2-1/+4
* m3-nat.c, config/nm-m3.h: #if 0 REQUEST_QUIT stuff. * m3-nat.c: Pass argument to return_to_top_level. Declare m3_kill_inferior before use. (port_chain_insert): In "can't happen" case, abort rather than setting `mid' to large decimal constant (which gcc warns about). (get_thread_name): Use cast to convert const char * to char *. (add_mach_specific_commands): #if 0 "thread break" command. (m3_trace_him): Call push_target. (mach_really_wait): New argument pid; remove unused variable pid. (intercept_exec_calls): Call target_terminal_init and target_terminal_inferior once the child execs. * infrun.c (proceed): Pass argument to PREPARE_TO_PROCEED.
1994-07-23 * Makefile.in: Add stuff to build nlmstub.Stu Grossman1-0/+19
* Add rule for annotate.o to keep Sun make happy. * configure.in: Add config for powerpc/Netware. * partial-stab.h (near N_SO): Don't call START_PSYMTAB with null filename. This speeds up handling of trailing N_SO stabs (they mark the end of a .o file). * target.c, target.h: Change the way pushing and popping of targets work to support target overlays and inheritance. * corelow.c, hppa-tdep.c, inflow.c, remote-nindy.c, utils.c: Fixup references to current_target, due to previous changes. * config/i386/tm-i386nw.h: Enable longjmp support. More work is needed to get the address of longjmp out of the target.
1994-07-17 * config/m88k/delta88.mh (MUNCH_DEFINE): Remove.Stan Shebs3-8/+11
* config/m88k/delta88.mt, config/m88k/delta88v4.mh: Format consistently.
1994-07-17 Harris CX/UX support, from Bob Rusk (rrusk@mail.csd.harris.com).Stan Shebs7-7/+192
* configure.in (m88*-harris-cxux*): New configuration. * cxux-nat.c, config/m88k/cxux.mh, config/m88k/cxux.mt, config/m88k/xm-cxux.h, config/m88k/tm-cxux.h, config/m88k/nm-cxux.h: New files. * config/m88k/tm-m88k.h: Add comment about Harris OS. (TARGET_WRITE_PC): Pass pid through to register writers. * configure.in (m68*): Put vendor-only-specified host configs after vendor-and-os-specified configs. (m68*-atari-sysv4*, m68*-cbm-sysv4*): Replace with m68*-*-sysv4.
1994-07-12Various updatesStan Shebs2-12/+8