aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
1998-01-15 * config/mips/{r3900.mt,r3900l.mt,tm-r3900.h,tm-r3900l.h}:Stan Shebs5-59/+0
Remove, no longer used.
1998-01-14Remove GCC-ismsMichael Meissner1-1/+1
1998-01-14 * configure.in (--with-mmalloc): Add new configure arg to use theFred Fish12-45/+6
mmalloc package. Default is to not use it. (START_INFERIOR_TRAPS_EXPECTED): Define to the integer 2, not the string "2". * acconfig.h (USE_MMALLOC, FORCE_MMCHECK): Add #undef. * configure: Regenerated. * config.in: Regenerated. * Makefile.in (MMALLOC_DIR, MMALLOC_SRC): Remove. (MMALLOC): Set using configure. (MMALLOC_CFLAGS): Set using configure. * config/i386/tm-linux.h (sys_quotactl): Define to 1 rather than just defining it. * mpw-make.sed: Undefine USE_MMALLOC rather than defining NO_MMALLOC. * utils.c (NO_MMALLOC): Use USE_MMALLOC instead. * objfiles.c: ditto. * defs.h: ditto. * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Remove. * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Remove. * config/i386/cygwin32.mh (MMALLOC_CFLAGS): Remove. * config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Remove. * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Remove. * gdbserver/Makefile.in (MMALLOC_*): Remove. * config/rs6000/rs6000.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/rs6000/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/powerpc/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/powerpc/aix.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/ns32k/ns32km3.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/mips/mipsm3.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/mips/decstation.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/m88k/cxux.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/i386/xm-windows.h (NO_MMALLOC, NO_MMCHECK): Remove. * config/i386/i386mk.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/i386/i386m3.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/i386/i386gnu.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/alpha/alpha-osf1.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/alpha/alpha-linux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1998-01-12Mon Jan 12 11:46:51 1998 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder1-8/+11
* config/m68k/tm-m68k.h (REGISTER_VIRTUAL_TYPE): make A0 thru A7 default to void pointer type (so that their default radix is hex).
1998-01-05fix gdb/13620 -- control-c to interrupt gdb command only works once.David Taylor1-0/+3
if HAVE_SIGSETJMP is not defined, nothing is changed; if it is defined (as it now is for sysv4 based systems), then the fix is enabled.
1997-12-29 * dve3900-rom.c: New file to support Densan DVE-R3900/20 board.Mark Alexander4-6/+32
* monitor.c (monitor_debug): Move to utils.c, rename to puts_debug. (monitor_write_memory, monitor_read_memory, monitor_insert_breakpoint, monitor_remove_breakpoint): Remove useless address bits if current monitor has MO_ADDR_BITS_REMOVE flag. * monitor.h (MO_ADDR_BITS_REMOVE): Define. * utils.c (puts_debug): Formerly monitor_debug from monitor.c; move here and make public. Add better support for carriage returns. * defs.h (puts_debug): Declare. * dsrec.c (load_srec): Use puts_debug to print remotedebug information. Output header record correctly. (make_srec): Output a header record instead of a termination record if sect is non-NULL (value is ignored), but abfd is NULL. * config/mips/tm-tx39.h (DEFAULT_MIPS_TYPE): Remove definition. (REGISTER_NAMES): Define to add R3900-specific registers. * config/mips/tm-tx39l.h: Ditto. * config/mips/tx39.mt (TDEPFILES): Add dve3900-rom.o and support files. * config/mips/tx39l.mt: Ditto.
1997-12-19improved end-of-stack handling.David Taylor1-7/+2
1997-12-16back trace now works when using external memory and frameless functions; allDavid Taylor1-3/+10
arguments are passed in args registers until we run out; finding saved regs now has two offsets not just one doing double duty. TARGET_READ_SP / TARGET_WRITE_SP are (temporarily?) commented out.
1997-12-15(Mostly from Gavin Koch)Andrew Cagney1-0/+14
In dwarf2read.c, if the ABI is 32 bit and 64 bit addresses are encountered discard the most significant 32 bits. Use CORE_ADDR for address variables instead of long. Add more explicit tx49 configur target. Check/use sigaction/SA_RESTART in remote-sim.c
1997-12-11changed d10v instruction patterns to d30v ones and made them defines ratherDavid Taylor1-15/+23
than sprinkled throughout the code. changes to several functions; backtraces now work and calling functions in the inferior partially works. Registers do not yet track the frame.
1997-12-05Reverted breakpoint back to its old value.Nick Clifton1-1/+1
1997-12-04Chnaged BREAKPOINT definition to match new value in simualtor.Nick Clifton1-1/+1
1997-12-03Add v850 directory to keep listNick Clifton1-6/+1
1997-11-25Add tm-fbsd.hAndrew Cagney1-0/+1
1997-11-24Improve GDB support for FreeBSD host/target.Andrew Cagney1-0/+32
To configure.in: make PRINTF_HAS_LONG_LONG check more pedantic; check that SCANF_HAS_LONG_DOUBLE instead of assuming PRINTF_HAS_LONG_DOUBLE implies it; document.
1997-11-13fix spacingMichael Meissner1-1/+1
1997-11-13Add info command to print out flags valuesMichael Meissner1-2/+17
1997-11-05Tue Nov 4 16:52:50 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1-1/+1
* config/i386/cygwin32.mh: because cygwin.dll calls malloc/realloc to allocate memory for environ space, gdb cannot use memory checks -- set -DNO_MMCHECK
1997-10-24fix for PR 13618 -- gdb incorrectly reports thread information.David Taylor1-0/+3
If other systems besides nm-sun4sol2 exhibit the problem, they may need definitions of FIND_NEW_THREADS and a corresponding support function.
1997-10-15 (STORE_STRUCT_RETURN): Change to handle --enable-64-bit-bfd.David Edelsohn1-1/+3
1997-10-15 * config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Mask off displacementDavid Edelsohn1-1/+2
to 30 bits in call insn to handle --enable-64-bit-bfd.
1997-10-09 Added MIPS16 PC masking for disassembly. See PR 12149.Frank Ch. Eigler1-0/+8
1997-10-06Remove sanitized-out Magic Cap support, will never be releasedStan Shebs6-146/+0
1997-10-03 * config/mips/tm-mips.h (MAKE_MSYMBOL_SPECIAL): Force MIPS16Mark Alexander1-1/+10
addresses to be odd. (MIPS_FPU_SINGLE_REGSIZE, MIPS_FPU_DOUBLE_REGSIZE): Define. * mips-tdep.c (mips_extract_return_value): Doubles aren't returned in FP0 if FP registers are single-precision only. start-sanitize-r5900 * config/mips/tm-r5900.h (MIPS_LAST_FP_ARG_REGNUM): Redefine to disable use of FP registers for function arguments. end-sanitize-r5900
1997-09-30Add access to hi part of r5900 128 bit registers.Andrew Cagney1-0/+4
1997-09-26 * config/mips-tm-mips.h (mips_extra_func_info): New frame_adjustMark Alexander1-0/+1
member for storing offset of MIPS16 frame pointer from SP. * mips-tdep.c: Use RA_REGNUM instead of hardcoded 31 throughout. (PROC_FRAME_ADJUST): Define. (mips16_heuristic_proc_desc): Store frame pointer adjustment value. (get_frame_pointer): Use frame pointer adjustment value when calculating frame address. * remote-sim.c (gdbsim_fetch_register): Don't fetch registers that have a null or empty name. start-sanitize-tx19 * config/mips/tm-tx19.h (MIPS_DEFAULT_FPU_TYPE): Define. (REGISTER_NAMES): Redefine to eliminate FP registers. * config/mips/tm-tx19l.h: Ditto. end-sanitize-tx19
1997-09-26 * configure.tgt: Set gdb_target to r5900.Jeff Law1-0/+6
* config/mips/tm-r5900.h, config/mips/r5900.mt: New files * mips-tdep.c (_initialize_mips_tdep): Allow target files to override default FPU type. Brought over from r5900 branch.
1997-09-25* config/v850/tm-v850.h (BREAKPOINT): Use 1 word DIVH insn withAndrew Cagney1-8/+0
RRRRR=0 for simulator breakpoint. Previous breakpoint insn was two words.
1997-09-25 * The following block of changes add support for debugging assemblyStu Grossman3-0/+343
source files. * breakpoint.c (resolve_sal_pc): Prevent crash when pc isn't associated with a function. * buildsym.c (record_line start_symtab end_symtab): Don't delete symtabs which only have line numbers (but no other debug symbols). * dbxread.c (read_dbx_symtab end_psymtab): Ditto. * remote-sim.c: New functions gdbsim_insert/remove_breakpoint. Use intrinsic simulator breakpoints if available, otherwise do it the hard way. * configure.tgt: Add d30v. * d30v-tdep.c: New file. * config/d30v/d30v.mt, config/d30v/tm-d30v.h: New files.
1997-09-25d30v sanitizationStu Grossman1-0/+14
1997-09-20 * config/i386/windows.mh (XDEPFILES): need to list some filesFelix Lee1-13/+8
explicitly, for odd reasons.
1997-09-18v850 files that weren't being removed if !keep-v850Felix Lee1-1/+6
1997-09-17Fix tx19 sanitization.Mark Alexander1-4/+14
1997-09-16Remove/retain old ARC stuff as appropriateStan Shebs1-7/+2
1997-09-16Add v850e version of breakpoint. Make v850 breakpoint unique.Andrew Cagney1-1/+9
1997-09-15 * dbxread.c (MSYMBOL_SIZE): New macro.Mark Alexander2-0/+28
(end_psymtab): Use MSYMBOL_SIZE to extract size from minimal symbol. * elfread.c (elf_symtab_read): If ELF symbol is "special", such as a MIPS16 function, mark minimal symbol as special too. * mips-tdep.c (pc_is_mips16): New function to check whether a function is MIPS16 by looking at the minimal symbol. Use pc_is_mips16 throughout instead of IS_MIPS16_ADDR macro. * config/mips/tm-mips.h (SYMBOL_IS_SPECIAL, MAKE_MSYMBOL_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): New functions for setting/testing "special" MIPS16 bit in ELF and minimal symbols. * mdebugread.c (parse_partial_symbols): Don't construct a partial symbol table for a file that already has one. start-sanitize-tx19 * configure.tgt: Support TX19. * config/mips/tm-tx19.h, config/mips/tm-tx19l.h, config/mips/tx19.mt, config/mips/tx19l.mt: New files for TX19. end-sanitize-tx19
1997-09-10 * config/i386/windows.mh (XDEPFILES): reduce to libwingdb.a.Felix Lee1-11/+13
otherwise link command line is too long.
1997-09-09Remove arc sanitization.David Edelsohn2-10/+3
1997-09-09Misc. changes I had lying around.David Edelsohn2-5/+10
1997-09-03removed v850 sanitization.Nick Clifton2-56/+4
1997-08-30 * config/sparc/sparclite.mt: Removed simulator references (erc32Bob Manson1-2/+0
has been disabled).
1997-08-28New commands ``set architecture'', ``show architecture'' and ``infoAndrew Cagney1-2/+0
architecture''. Update SH target to use new target_architecture_hook.
1997-08-21Thu Aug 21 16:18:08 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-2/+2
* config/powerpc/ppc-eabi.mt: * config/powerpc/ppc-sim.mt: * config/powerpc/ppcle-eabi.mt: * config/powerpc/ppcle-sim.mt: ser-ocd.c needs to be before other ocd-related files in TDEPFILES
1997-08-12 * dink32-rom.c: New file, support for DINK32 monitor.Stan Shebs2-3/+3
* Makefile.in (dink32-rom.o): Add build rule. * config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt (TDEPFILES): Add dink32-rom.o. * monitor.h (MO_32_REGS_PAIRED, MO_SETREG_INTERACTIVE, MO_SETMEM_INTERACTIVE, MO_GETMEM_16_BOUNDARY, MO_CLR_BREAK_1_BASED): New monitor interface flags. * monitor.c: Use them. (monitor_store_register): Use setreg.term if defined. (monitor_insert_breakpoint, monitor_remove_breakpoint): Notice if set_break and clr_break fields are empty.
1997-08-11Mon Aug 11 16:22:36 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer5-5/+5
* ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): macro BDM_BREAKPOINT already has braces around it, remove erroneous ones. * ser-ocd.c (ocd_write): conditionalize on _WIN32 instead of __CYGWIN32__ * config/powerpc/tm-ppc-eabi.h: remove BDM_NUM_REGS, BDM_REGMAP * ppc-bdm.c: move BDM_NUM_REGS, BDM_REGMAP here from tm.h file, fill in doc fields of bdm_ppc_ops. (bdm_ppc_fetch_registers): don't ask for invalid registers such as the MQ or floating point regs not present on ppc 8xx boards (bdm_ppc_store_registers): don't write those same invalid registers * config/i386/cygwin32.mh: stop including ocd.o ser-ocd.o * config/powerpc/ppc-eabi.mt: * config/powerpc/ppcle-eabi.mt: * config/powerpc/ppc-sim.mt: * config/powerpc/ppcle-sim.mt: include ser-ocd.o
1997-08-09start-sanitize-tic80Mark Alexander1-3/+3
* config/tic80/tic80.mt: (GDBSERVER-DEPFILES, GDBSERVER_LIBS): Define for gdbserver. (SIM): Remove -lm to prevent make errors. * configure.tgt: add gdbserver to configdirs for tic80. end-sanitize-tic80 * gdbserver/utils.c (error): Change prototype to match defs.h. * gdbserver/low-sim.c: Change simulator calls to use new interface. * remote.c (remote_write_bytes): Include '$' at start of packet and checksum at end of packet in overhead calculation.
1997-08-09 * ser-ocd.c: If _WIN32, include <windows.h>.Ian Lance Taylor1-10/+1
(dll_do_command): New static variable if _WIN32. (ocd_open): Set dll_do_command if _WIN32. (ocd_write): Use dll_do_command rather than do_command. * config/i386/cygwin32.mh (XDEPFILES): Remove libwigglers.a. (BDM_DLLNAME, BDM_LIBNAME, BDM_DEFFILE): Don't define. ($(BDM_LIBNAME)): Remove target. * wigglers.def: Remove.
1997-08-08 * config/i386/cygwin32.mh ($(BDM_LIBNAME)): Rename target fromIan Lance Taylor1-3/+1
libwigglers.def. (libwigglers.a): Remove target.
1997-08-08Add appropriate ocd/ppc-bdm depsMichael Meissner2-2/+2
1997-08-07Wed Aug 6 16:15:31 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer3-3/+14
* Makefile.in: add DLLTOOL = @DLLTOOL@, pass on DLLTOOL to sub makes, change clean rule to also remove *.a to remove libwigglers.a, in dependencies: add ppc-bdm.o ocd.o ser-ocd.o and remove remote-wiggler.o * configure.in: add DLLTOOL support * configure: regenerate * wigglers.def: new file for imports for wigglers.dll * ser-ocd.c: new file which is layer between ocd.c and either the wigglers.dll or the target box, only stub so far * config/powerpc/ppc-eabi.mt: add ppc-bdm.o to TDEPFILES * config/powerpc/ppc-sim.mt: add ppc-bdm.o to TDEPFILES * config/i386/cygwin32.mh: add ocd.o ser-ocd.o libwigglers.a to XDEPFILES, add rules to build libwigglers.a checking in changes of Stu Grossman <grossman@cygnus.com>: * remote-wiggler.c: delete * ocd.c: new, was remote-wiggler.c always include sys/types.h, include ocd.h, move WIGGLER commands and many wiggler prototypes to ocd.h, make wiggler_desc static, stop making local wiggler functions static, define write_mem_command for wiggler_write_bytes (wiggler_start_remote): stop hardcoding the target type, instead set and use a target_type variable. (wiggler_open): add new target_type and ops args (wiggler_wait): now no longer takes pid and target_status as args, stop trying to set target_status struct, remove BGND insn checks (read_bdm_registers): renamed to wiggler_read_bdm_registers (wiggler_read_bdm_registers): numregs arg changed to reglen arg, remove pktlen check, set reglen instead of numregs (dump_all_bdm_regs): delete (wiggler_fetch_registers): delete (wiggler_prepare_to_store): now just an empty function (wiggler_store_registers): delete (wiggler_read_bdm_register): new (wiggler_write_bdm_registers): new (wiggler_write_bdm_register): new (wiggler_write_bytes): use write_mem_command variable instead of WIGGLER_WRITE_MEM (get_packet): renamed to wiggler_get_packet, change refs throughout (put_packet): renamed to wiggler_put_packet, change refs throughout (wiggler_get_packet): add break to default case of switch, change length of WIGGLER_GET_VERSION len to 10 from 4 to match specs (wiggler_mourn): unpush_target with current_ops, not &wiggler_ops (flash_xfer_memory): delete (noop_store_registers): new placeholder replacement for target_store_registers() which prevents generic_load from trying to set up the PC. (bdm_update_flash_command): add store_registers_tmp variable, make handling of wiggler_ops more generic -- define wiggler_ops in a target-specific file instead (such as ppc-bdm.c in the case of the ppc), use current_target to deal with registers again making this file less target-specific. (bdm_read_register_command): new (_initialize_remote_wiggler): stop doing add_target (&wiggler_ops), comment out add_cmd ("read-register", ...) * ocd.h: new, contains common wiggler prototypes, command definitions * ppc-bdm.c: file for ppc-specific OCD code, including target_ops structure for ppc bdm (bdm_ppc_open): new (bdm_ppc_wait): new (bdm_ppc_fetch_registers): new (bdm_ppc_store_registers_: new (_initialize_bdm_ppc): new * config/powerpc/tm-ppc-eabi.h: add necessary CPU32 BDM defines