aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
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
1994-07-12 Atari support, from Uwe Seimet (seimet@chemie.uni-kl.de).Stan Shebs5-8/+14
* configure.in (m68*-atari-sysv4*): New configuration. (m68*-cbm-sysv4*): Use m68kv4 instead of amix. * m68k-tdep.c (R_PS): Define as R_SR if necessary. * config/m68k/m68kv4.mh, config/m68k/m68kv4.mt, config/m68k/tm-m68kv4.h, config/m68k/xm-m68kv4.h: New files. * config/m68k/amix.mh, config/m68k/amix.mt, config/m68k/tm-amix.h, config/m68k/xm-amix.h: Removed, superseded by m68kv4 files.
1994-07-02 * config/sparc/tm-sun4sol2.h (HANDLE_SVR4_EXEC_EMULATORS):Peter Schauer1-0/+3
Define to enable handling of shared libraries for a.out executables, run under Solaris BCP.
1994-06-27Use e7000-pc stuff.Steve Chamberlain2-2/+2
1994-06-27 * somread.c: Renamed from paread.c. Changed function names andJeff Law2-2/+2
comments to reflect that this file deals with SOM (an object file format), rather than the PA (a cpu). (Makefile.in): Chaned appropriately. (config/pa/hppabsd.mh, config/pa/hppahpux.mh): Likewise. * dbxread.c (somstab_build_psymtabs): Renamed from pastab_build_psymtabs.
1994-06-24 * core-sol2.c: New file to handle ELF and BCP core file flavours.Peter Schauer1-1/+1
* config/sparc/sun4sol2.mh (NATDEPFILES): Use it instead of core-svr4.
1994-06-24 * config/mips/xm-makeva.h: Removed, no longer necessary.Peter Schauer1-1/+0
1994-06-24 * config/mips/xm-makeva.h: Removed, no longer necessary.Peter Schauer6-36/+0
* Makefile.in, config/mips/xm-irix3.h, config/mips/xm-irix5.h, config/mips/xm-mips.h, config/mips/xm-news-mips.h, config/mips/xm-riscos.h: Remove references to xm-makeva.h
1994-06-22 * mpw-make.in (VERSION): Update to 4.12.3.Stan Shebs1-0/+5
(SiowGDB): New target, GDB using SIOW library. (init-new.c): New target, attempt to generate init.c from sources. (main.c.o, top.c.o): Put each in its own segment. * main.c (main) [MPW]: Always call mac_init. * utils.c (query) [MPW]: Always return "yes" if in MacGDB, output an extra newline otherwise. * mac-xdep.c: More comments in various places, remove junk. (mac_init): Add tests for MPW and SIOW. (use_wne, has_color_qd): Renamed. (use_color_qd): New variable. (grow_window): Only do console resizing to console window, call resize_console_window. (zoom_window): Call resize_console_window. (resize_console_window, scroll_text): New functions. (adjust_console_sizes): Always align viewrect to even multiples of text lines. (adjust_console_text): Always scroll by whole lines. (hacked_vfprintf, hacked_puts, hacked_fputc, hacked_putc): Force a recalculation of scroll positions if a newline was output. (hacked_fflush): Similarly, for flushing. (hacked_fgetc): New function, aborts if called in MacGDB. * ser-mac.c (mac_readchar): Rename starttime to start_time, remove debugging printf. (mac_write): Sleep on first 4 writes. (sec_sleep): New function, works like standard sleep. * macgdb.r: Adjust positioning and contents of About box. Set minimum size to 2000K, preferred size to 5000K. * config/m68k/xm-mpw.h (fgetc): Define as a macro.
1994-06-21Modified Files:Kung Hsu2-0/+6
tm-mips64.h tm-bigmips64.h * config/mips/tm-mips64.h: define FORCE_LONG_LONG to force LONGEST to be long long in gdb. * config/mips/tm-bigmips.h: ditto.
1994-06-16Keep v9 bits now.Stan Shebs1-8/+7
1994-06-12 * config/m68k/dpx2.mh (NATDEPFILES): Remove duplicate inclusionPeter Schauer2-3/+5
of inftarg.o. * config/m68k/tm-dpx2.h (CANNOT_STORE_REGISTER): Define to inhibit writing of floating registers, the dpx2 kernel disallows it.
1994-06-11Modified Files:Kung Hsu1-1/+1
sparclite.mt * change sparclite-tdep.o to sparcl-tdep.o.
1994-06-10Modified Files:Kung Hsu2-1/+62
sparclite.mt tm-sparclite.h * config/sparc/sparclite.mt: add sparclite-tdep.o. * config/sparc/tm-sparclite.h: add hardware breakpoints support defiines and code.
1994-06-10Modified Files:Kung Hsu1-3/+5
nm-hppab.h * config/pa/nm-hppab.h: change interface for target dependent code supporting watch point.
1994-06-10Modified Files:Kung Hsu1-3/+5
nm-irix4.h * config/mips/nm-irix4.h: change interface for target dependent code supporting watch point.
1994-06-09 * nlmread.c (nlm_symtab_read): Clean up a bit.Stu Grossman2-2/+10
* (nlm_symfile_read): Record bounds of main() so that backtrace command will know where to stop. * objfiles.c (objfile_relocate): Relocate entry point/func info for backtrace as well. * objfiles.h: Define values for invalid PCs for entry point info. * symfile.c (init_entry_point_info): Initialize invalid values with aforementioned macros. * config/alpha/tm-alphanw.h: Turn on FRAME_CHAIN_VALID_ALTERNATE to cause backtrace to stop when it gets back to main(). * config/i386/tm-i386nw.h: Ditto.
1994-05-14 * source.c (find_source_lines): Always use code that was #ifdefJim Kingdon27-127/+0
BROKEN_LARGE_ALLOCA. Do the cleanup before returning, rather than leaving it on the chain. Reindent much of this function. * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h}, config/i386/{xm-sun386.h,xm-i386m3.h,xm-i386mach.h}, config/m68k/{sun3os4.h,xm-news.h,xm-hp300hpux.h}, config/ns32k/xm-ns32km3.h: Remove all references to BROKEN_LARGE_ALLOCA; with the above change it is no longer needed. * main.c, fork-child.c, many config files: Remove all SET_STACK_LIMIT_HUGE code; with the above changes it should no longer be needed. * symtab.c (lookup_partial_symbol): Use if and abort, not assert. This avoids __eprintf troubles. * main.c (main): Surround in #ifndef MAIN_OVERRIDE. Move initialization code which needs to be called even if we bypass the command line stuff into gdb_init. * utils.c (fputs_unfiltered): Surround in #ifndef FPUTS_UNFILTERED_OVERRIDE. * Makefile.in (libgdb.a): New target. * utils.c: Rearrange I/O stuff a bit so that all output goes through fputs_unfiltered. Use vasprintf; removes arbitrary limit which made %s not work with arbitrarily large strings. * printcmd.c (printf_command): Use printf_filtered, not printf_unfiltered and printf, now that arbitrary limit is gone.
1994-05-13Changes for MacGDB:Stan Shebs1-0/+13
Thu May 12 17:04:58 1994 Stan Shebs (shebs@andros.cygnus.com) * mpw-make.in (INCLUDE_CFLAGS): Add readline source dir. (READLINE_CFLAGS, READLINE_SRC, READLINE_DIR): Uncomment. (TSOBS): Don't compile inflow.c. (all, install): Add MacGDB. * main.c (main): Do Mac-specific init and command loop if a standalone app, skip full option help message if compiling with MPW C. (gdb_readline): If MPW, add a newline after the (gdb) prompt. * utils.c (_initialize_utils): If MPW, don't try to use termcap to compute the window size. * config/m68k/xm-mpw.h (printf, fprintf, fputs, fputc, putc, fflush): Define as macros that expand into hacked_... versions. (StandAlone, mac_app): Declare. * macgdb.r (SIZE): Set the default partition to 4000K. * mac-xdep.c (readline.h, history.h): Include. (terminal.h): Don't include. (mac_app): Define. (gdb_has_a_terminal): Define Mac-specific version. (do_keyboard_command): Simplify search for command string. (readline): Define as gdb_readline. Add other history/readline stubs to make main gdb link. (hacked_fprintf, hacked_printf, hacked_vfprintf, hacked_fputs, hacked_fputc, hacked_fflush): New functions, intercept output to stdout and stderr, send to console window.
1994-05-03 * procfs.c (procfs_wait): Reinstate code which deduces the signalJim Kingdon1-0/+2
from the fault, #ifndef FAULTED_USE_SIGINFO. * config/sparc/tm-sun4sol2.h: Define FAULTED_USE_SIGINFO.
1994-04-27Tue Apr 26 17:44:27 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-2/+21
* mpw-make.in (MacGDB): New target, standalone Mac-hosted gdb. (XDEPFILES): Define. (main.c.o): Compile with gC instead of C. * mac-defs.h: New file, menu etc definitions shared between C and Rez files. * macgdb.r: New file, Rez (resource compiler) resource definitions. * mac-xdep.c: New file, Mac host interface code. * config/m68k/xm-mpw.h (PATHNAME_SEPARATOR): Rename to DIRNAME_SEPARATOR. (PATHNAME_SEPARATOR_STRING): Remove. (SIGQUIT, SIGHUP): Define. (fileno, R_OK): Define.
1994-04-18 * nm-hppab.h (KERNEL_U_ADDR): Define.Jeff Law4-20/+46
(FIVE_ARG_PTRACE): Likewise. (CANNOT_STORE_REGISTER): Likewise. * nm-hppah.h (KERNEL_U_ADDR): Define. (FIVE_ARG_PTRACE): Likewise. (CANNOT_STORE_REGISTER): Likewise. (NEED_TEXT_START_END): Likewise. * tm-hppah.h (NEED_TEXT_START_END): Delete definition. * xm-hppah.h (KERNEL_U_ADDR): Delete definition. (FIVE_ARG_PTRACE): Likewise. * xm-hppab.h (KERNEL_U_ADDR): Delete definition. (FIVE_ARG_PTRACE): Likewise. * hppa-tdep.c (read_unwind_info): Make static. (restore_pc_queue): Indirect through the target vector to reload the register state.
1994-04-15 * config/tm/tm-h8500.h (BEFORE_MAIN_LOOP_HOOK): Deleted.Steve Chamberlain1-5/+0
1994-04-15 * config/sh/tm-sh.h (BREAKPOINT): Is now sleep opcode.Steve Chamberlain1-2/+3
1994-04-14 * config/mips/nm-irix4.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define.Jeff Law1-0/+16
(STOPPED_BY_WATCHPOINT, HAVE_NONSTEPPABLE_WATCHPOINT): Likewise. (target_{insert,remove}_watchpoint): Likewise.
1994-04-13 * config/pa/nm-hppab.h (STOPPED_BY_WATCHPOINT): Define.Jeff Law1-0/+68
(HAVE_STEPPABLE_WATCHPOINT): Define. (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define. (target_{insert,delete}_watchpoint): Define.
1994-04-09Fri Apr 8 17:14:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)Jim Kingdon1-5/+7
* config/m68k/es1800.mt: Change comments. Fri Apr 8 17:14:37 1994 Rob Savoye (rob@darkstar.cygnus.com) * config/m68k/monitor.mt (TDEPFILES): Don't include remote-es.o.
1994-04-08 * config/mips/mipsv4.mh, config/mips/mipsv4.mt,Peter Schauer5-0/+76
config/mips/tm-mipsv4.h, config/mips/xm-mipsv4.h, mipsv4-nat.c: New files for MIPS SVR4 support.
1994-04-08 * config/alpha/nm-alpha.h (GDB_TARGET_HAS_SHARED_LIBS): Define,Peter Schauer1-0/+4
OSF/1 has shared libraries.
1994-04-08 * config/tm-sunos.h (IN_SOLIB_TRAMPOLINE, SKIP_TRAMPOLINE_CODE):Peter Schauer2-3/+20
Define to handle stepping into -g compiled shared libraries. * config/tm-sysv4.h (SKIP_TRAMPOLINE_CODE): Define to handle stepping into -g compiled shared libraries.
1994-04-06Fix typo in last change.Jeff Law1-2/+2