aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
1999-01-07Beta version of the FR30 port.Zdenek Radouch1-18/+9
1999-01-04hp merge changes; 5 new files.David Taylor10-9/+296
1998-12-311998-12-30 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda9-31/+0
* utils.c: <readline/readline.h> instead of "readline/readline.h". * configure.in (TERM_LIB): Search for the appropriate term library on the host system. * configure: Regenerated. * Makefile.in (TERMCAP): Set based on autoconf check. * config/*/*.mh: Don't override TERMCAP setting.
1998-12-18Missed this file:Andrew Cagney1-14/+0
* config/mips/tm-mips.h (enum mips_fpu_type, mips_fpu): Move to mips-tdep.c.
1998-12-17Checkpoint (sharing through devo).Zdenek Radouch1-1/+17
1998-12-16Rename vr4100 (vr4xxx) config files to vr4100.Andrew Cagney4-6/+41
Rename vr4xxx (vr4300) config files to vr4xxx. Enable GDB_MULTI_ARCH in tm-vr4xxx.h
1998-12-15config/mips/tm-*.h: (TARGET_BYTE_ORDER_DEFAULT,Andrew Cagney15-16/+16
TARGET_BYTE_ORDER_SELECTABLE_P): Replace TARGET_BYTE_ORDER and TARGET_BYTE_ORDER_SELECTABLE.
1998-12-141998-12-14 J.T. Conklin <jtc@redbacknetworks.com>Stan Shebs3-2/+3
* config/i386/nbsd.mh, config/m68k/nbsd.mh, config/ns32k/nbsd.mh (XDEPFILES): Add ser-tcp.o.
1998-12-13CARP:Andrew Cagney2-3/+3
Re-do TARGET_PRINT_INSN_INFO, TARGET_PRINT_INSN, TARGET_ARCHITECTURE, TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_SELECTABLE_P, TARGET_BYTE_ORDER so that they can all be overriden. Document. Convert mn10300 and PPC targets.
1998-12-12CARP: Mechanism to replace EXTRA_FRAME_INFO.Andrew Cagney6-96/+19
Add two pointers (saved_regs, extra_info) to struct frame_info. Introduce new macro FRAME_INIT_SAVED_REGS which replaces FRAME_FIND_SAVED_REGS. Document. Use in mn10300 and rs6000 targets. Fix side effects on ALPHA, MIPS, Z8K and SPARC targets.
1998-12-10CARP:Andrew Cagney4-19/+7
Rename REGISTER_NAMES{} -> REGISTER_NAME().
1998-12-09Link with i960 simulator.Jim Wilson1-0/+2
* config/i960/mon960.mt (SIM_OBJS, SIM): Define.
1998-12-091998-12-08 Philippe De Muyter <phdm@macqel.be>Jason Molenda2-9/+11
* config/xm-aix4.h (SIGWINCH_HANDLER): Function `aix_resize_window' must accept a signal number as parameter. * config/rs6000/xm-rs6000.h (SIGWINCH_HANDLER): Ditto. * utils.c (initialize_utils): Give a parameter to `SIGWINCH_HANDLER'. * inferior.h (register_valid): Variable's type is `SIGNED char', not `char'. * findvar.c (register_valid): Ditto. * defs.h (make_cleanup_func): Protect parameter list by `PARAMS'. * gdbthread.h (unbind_target_thread_vector): Likewise.
1998-12-08Fixes.Jeff Law2-0/+6
1998-12-08*** empty log message ***Jeff Law1-1/+1
1998-12-08Tue Dec 8 15:09:44 1998 Edith Epstein <eepstein@sophia.cygnus.com>Edith Epstein3-0/+151
* config/m68k/tm-m68k.h (NUM_FREGS): m68k-linux patch. Added NUM_FREGS macro. * config/m68k/xm-linux.h: m68k-linux patch. New file. * config/m68k/tm-linux.h: m68k-linux patch. New file. * config/m68k/nm-linux.h: m68k-linux patch. New file. * config/m68k/linux.mt: m68k-linux patch. New file. * config/m68k/linux.mh: m68k-linux patch. New file. * gdbserver/low-linux.c: m68k-linux patch. Added an ifdef that checks the value of __GLIBC to decide whether or not to include sys/reg.h. * m68klinux-nat.c: m68k-linux patch. New file. Note both m68k-tdep.c and m68klinux-nat.c contain definitions for supply_gregset and supply_fpregset. The definitions in m68k-tdep.c are valid is USE_PROC_FS is defined. Otherwise, the definitions in m68klinux-nat.c will be used. This is a bit of a hack. The supply_* routines do not belong in *_tdep.c files. But, there are several lynx ports that currently depend on these definitions. * configure.tgt: m68k-linux patch. Added m68*-*-linux* gdb_target. * configure.host: m68k-linux patch. Added m68*-*-linux* gdb_host. * Makefile.in: m68k-linux patch. Added compile line for m68klinux-nat.o
1998-12-071998-12-07 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda2-10/+2
* config/i386/xm-cygwin.h: Remove REQUEST_QUIT definition. * config/powerpc/xm-cygwin.h: Ditto. PR 17664. With this define in place, you can't type "q" to get out of GDB's pager under Cygwin.
1998-12-07* rs6000-tdep.c (pop_frame): Correctly find the registers saved inJim Blandy1-4/+6
the stack frame. Their offset from the previous stack frame is in fdata.gpr_offset and fdata.fpr_offset, not fdata.offset. (gdb.base/return.exp) * config/rs6000/tm-rs6000.h: Doc fixes.
1998-12-03Still some bogus code; checkpoint.Zdenek Radouch1-601/+24
1998-12-01 * config/fr30/tm-fr30.h (INNER_THAN): Add parameters.Doug Evans1-1/+1
1998-11-30CARP:Andrew Cagney16-36/+34
Cleanup FRAME_CHAIN_VALID. Replace all macro's with functions.
1998-11-29CARP:Andrew Cagney4-4/+8
Convert ADDR_BITS_REMOVE to a function.
1998-11-28CARP:Andrew Cagney26-26/+26
Rewrite INNER_THAN so that it takes parameters.
1998-11-27CARP:Andrew Cagney4-4/+11
STEP_SKIPS_DELAY - add STEP_SKIPS_DELAY_P and rewrite use removing #ifdef's. NO_SINGLE_STEP - replace with SOFTWARE_SINGLE_STEP_P + SOFTWARE_SINGLE_STEP. Replace global variable one_stepped with static singlestep_breakpoints_inserted_p. Cleanup infrun.c (scary!).
1998-11-26CARP: Delete ABOUT_TO_RETURN across all targets.Andrew Cagney20-180/+68
1998-11-25CARP: --enable-build-warnings=-Werror: Fix problems stopping GDB beingAndrew Cagney2-8/+4
canadian-crossed to host i386-cygwin.
1998-11-24Tue Nov 24 15:46:33 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+5
* config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): new target macro. * mn10300-tdep.c (mn10300_virtual_frame_pointer): new function. * tracepoint.c (encode_actions): Use the new target macro to determine the virtual frame pointer, for collecting locals/args. (add_local_symbols, collect_symbol): add a register/offset pair of arguments so that the virtual frame pointer can be passed in.
1998-11-24 * procfs.c (procfs_wait): handle syscall events first.Felix Lee1-4/+5
* procfs.c (GDB_GREGSET_TYPE, GDB_FPREGSET_TYPE): new macros. * config/sparc/xm-sun4sol2.h: use them. * core-sol2.c: don't #undef gregset_t and fpregset_t. * sol-thread.c: ditto. * sparc-tdep.c: ditto.
1998-11-24CARP: *BREAKPOINT*Andrew Cagney2-21/+5
Convert mn10300, MIPS and powerpc/rs6000 targets to use BREAKPOINT_FROM_PC Delete global variable memory_breakpoint_size. Use BREAKPOINT_FROM_PC instead.
1998-11-23CARP: Convert macro definitions of USE_STRUCT_CONVENTION into targetAndrew Cagney10-168/+260
specific functions.
1998-11-21keep restored fileStan Shebs1-0/+1
1998-11-21 * config/m68k/delta68.mh (NAT_FILE): Undo 1998-08-18 change;Stan Shebs2-2/+23
without NAT_FILE definition, configure will assume that GDB cannot run native. * config/m68k/nm-delta68.h (KERNEL_U_SIZE): New macro. * delta68-nat.c (kernel_u_size): New function.
1998-11-20Replacing a bogus file with a semi-bogus one (sharing through devo).Zdenek Radouch1-146/+703
1998-11-20Replacing a bogus file with possibly an initial version of the same.Zdenek Radouch1-4/+2
1998-11-19CARP:Andrew Cagney2-2/+2
* exec.c (exec_file_command): Cleanup. Replace #if NEED_TEXT_START_END with if(). * config/pa/nm-hppah.h (NEED_TEXT_START_END): Redefine to be 1. * config/convex/tm-convex.h (NEED_TEXT_START_END): Ditto. * config/gould/tm-np1.h (NEED_TEXT_START_END): Ditto. * config/a29k/tm-a29k.h (NEED_TEXT_START_END): Ditto.
1998-11-14fix up sanitize fileGeoffrey Noer1-4/+4
1998-11-14fix sanitize fileGeoffrey Noer1-4/+4
1998-11-13Fri Nov 13 00:15:08 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer9-13/+5
Changes to account for name change from cygwin32 to cygwin and clean up Win32-related ifdefs. * configure.tgt: check for cygwin* instead of cygwin32. New cygwin gdb_target variable loses the "32". * configure.host: check for cygwin* instead of cygwin32. New cygwin gdb_host variable loses the "32". * configure.in: test __CYGWIN__ instead of __CYGWIN32__, rename gdb_cv_os_cygwin32 variable to drop the "32". Call AM_EXEEXT instead of AC_EXEEXT since that isn't in a released autoconf yet. * configure: regenerate. * main.c: drop "32" from cygwin_ funcs, include sys/cygwin.h where cygwin path conv protos live, instead of adding a proto here for them here. * {main.c, ser-tcp.c, ser-unix.c, top.c}: check __CYGWIN__ instead of __CYGWIN32__. * source.c: thoughout, check _WIN32 instead of WIN32. * config/i386/cygwin32.mh: delete. * config/i386/cygwin.mh: new file, was cygwin32.mh. * config/i386/cygwin32.mt: delete. * config/i386/cygwin.mt: new file, was cygwin32.mt. * config/i386/tm-cygwin32.h: delete. * config/i386/tm-cygwin.h: new file, was tm-cygwin32.h. * config/i386/xm-cygwin32.h: delete. * config/i386/xm-cygwin.h: new file, was xm-cygwin32.h. * config/i386/xm-windows.h: #include xm-cygwin.h now. * config/powerpc/cygwin32.mh: delete. * config/powerpc/cygwin.mh: new file, was cygwin32.mh. * config/powerpc/cygwin32.mt: delete. * config/powerpc/cygwin.mt: new file, was cygwin32.mt. * config/powerpc/tm-cygwin32.h: delete. * config/powerpc/tm-cygwin.h: new file, was tm-cygwin32.h. * config/powerpc/xm-cygwin32.h: delete. * config/powerpc/xm-cygwin.h: new file, was xm-cygwin32.h. * rdi-share/aclocal.m4: regenerate with aclocal. * rdi-share/configure: regenerate with autoconf. * rdi-share/{host.h, hostchan.c, hostchan.h, serdrv.c, * serpardr.c, unixcomm.c}: check __CYGWIN__ instead of __CYGWIN32__.
1998-11-09Mon Nov 9 12:00:36 1998 Dave Brolley <brolley@cygnus.com>Dave Brolley3-0/+274
* config/fr30/fr30.mt: New file. * config/fr30/tm-fr30.h: New file.
1998-11-05* top.c (gdb_readline): Allow CRLF line termination on systemsChristopher Faylor2-1/+5
which define CRLF_SOURCE_FILES. * win32-nat.c: 1) Add thread support, 2) fix ability to attach to a running process, and 3) implement limited support for cygwin signals. (thread_rec): New function. (child_add_thread): Ditto. (child_init_thread_list): Ditto. (child_delete_thread): Ditto. (do_child_fetch_inferior_registers): Ditto. (do_child_store_inferior_registers): Ditto. (handle_output_debug_string): Ditto. (child_fetch_inferior_registers): Use do_* function to perform operation. (child_store_inferior_registers): Ditto. (child_continue): Ditto. (child_thread_alive): Ditto. (cygwin_pid_to_str): Ditto. (handle_load_dll): Reorganize, add first attempt at reading dll names from attached processes. Change info messages to provide more information when dll is already loaded. (handle_exception): Changes mandated by new thread-aware structures. (child_wait): Track thread creation/destruction. Handle cygwin signals. (child_create_inferior): Ditto. (child_resume): Ditto. (child_kill_inferior): Ditto. Close child process handle to avoid a handle leak. (child_ops): Fill out child_ops fields that deal with threads. * config/i386/tm-cygwin32.h: Declare function and macro needed for converting a cygwin "pid" to a string. * config/i386/xm-cygwin32.h: define HAVE_SIGSETMASK as 0 since sigsetmask is not defined in cygwin.
1998-10-17fix typoFelix Lee1-0/+5
1998-10-16 * tm-sp64.h (SETUP_ARBITRARY_FRAME, RAME_SPECIFICATION_DYADIC):Stan Shebs1-8/+0
Remove, nevermore used.
1998-10-08Forgot to remove this file from .Sanitize.Jason Molenda1-1/+0
1998-10-08Add new config options --enable-carp (tempoary) andAndrew Cagney1-0/+14
--enable-targets=... (more permenant). Add dummy target `carp' with associated directory (tempoary). Expect a rewrite down the track.
1998-09-03 * config/mn10300/tm-mn10300.h (FP_REGNUM): Redefine to be aMark Alexander1-2/+7
pseudo-register, not the same as a3. (D2_REGNUM, D3_REGNUM, A2_REGNUM, A3_REGNUM): Define. * mn10300-tdep.c (fix_frame_pointer): New function. (set_movm_offsets): Use register number macros instead of hard-coded constants. (mn10300_analyze_prologue): Fix to handle redefinition of FP_REGNUM. (mn10300_frame_chain): Fix to handle redefinition of FP_REGNUM; use register number macros instead of hard-coded constants; add missing parameter to call of mn10300_analyze_prologue. (mn10300_frame_saved_pc): Use register number macros instead of hard-coded constants.
1998-09-01Modifications/fixes to support the ARM/ELF port.Zdenek Radouch1-3/+4
1998-08-24 * sh-stub.c (undoSStep): Improve comment.Mark Alexander1-17/+17
* sparc-tdep.c (sparc_extract_struct_value_address): Simplify to use same method on both 32-bit and 64-bit machines. * sparcl-tdep.c (sparclite_check_watch_resources): Simulator doesn't support hardware breakpoints. * config/sparc/tm-sparc.h (CALL_DUMMY): Improve comments.
1998-08-181998-08-18 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda6-34/+0
* configure.in: Add more header files to AC_CHECK_HEADERS. * configure: Regenerated. * command.c: Include wait.h or sys/wait.h if present. * inftarg.c: Ditto. * core-aout.c: Include ptrace.h or sys/ptrace.h if present, based on autoconf test. * infptrace.c: Ditto. * expprint.c: Include ctype.h for isprint prototype. * i386aix-nat.c: Include sys/reg.h if autoconf says it is present. * i386v-nat.c: Include ptrace.h, sys/ptrace.h, and sys/reg.h if present, based on autoconf test. * utils.c: Include curses.h and term.h if present. (puts_debug): Change 'carriage_return' local variable to return_p to avoid name clash. * config/m68k/nm-apollo68b.h: Don't define PTRACE_IN_WRONG_PLACE, determine it with autoconf. * config/i386/nm-linux.h: Don't define NO_SYS_REG_H, determine it with autoconf. * config/i386/nm-i386sco.h: Don't define NO_PTRACE_H, determine it with autoconf. * config/i386/nm-i386v.h: Ditto. * config/i386/nm-symmetry.h: Ditto. * config/m88k/xm-cxux.h: Ditto. * config/m88k/xm-dgux.h: Ditto. * config/m68k/delta68.mh (NAT_FILE): nm-delta68.h no longer necessary. * config/m68k/nm-delta68.h: Removed.
1998-07-30 * mips-tdep.c (mask_address_p): New variable.Mark Alexander1-1/+2
(mips_addr_bits_remove): Test mask_address_p to decide whether to mask off the upper 32 bits of addresses. (_initialize_mips_tdep): Add command to set mask_address_p. (mips_call_dummy_address): New function. * config/mips/tm-mips.h (CALL_DUMMY_ADDRESS): Redefine to call mips_call_dummy_address.
1998-07-271998-07-27 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-1/+1
* config/d10v/tm-d10v.h (REGISTER_NAMES): sp -> r15. The stack pointer et al are synthesized from the SP_REGNUM (etc) defines and should not be mentioned in REGISTER_NAMES. There is a log discussion copied into PR 15966 about how this is not handled consistently across all targets and we ought to clean it up a bit. I'm not tackling the general for this PR, though.