aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
1995-09-29Thu Sep 28 14:32:11 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain5-2/+49
* callback.[ch]: New files. * remote-rdp.c: Support for the ARM RDP monitor. * Makefile: Update. * arm-tdep.c (arm_othernames): New. (_initialize_arm_tdep): install 'othernames' command. (arm_nullified_insn, shifted_reg_val, arm_get_next_pc): New. * configure.in: Check for termios.h, termio.h and sgtty.h. (i[345]86-*-win32*): New host. * configure: Regenerated. * inflow.c: Clean up inclusions. * main.c (main): Check for WINGDB, not WIN32. * printcmd.c (do_examine): Put QUIT test in loop. * remote-hms.c (e7000_load): Delete. (hms_ops): Point to generic_load instead. * remote-hms.c (hms_ops): Point to generic_load. * remote-sim.c (sim_callback_write_stdout): Becomes gdbsim_write_stdout. (gdbsim_load): Call generic_load. * remote-utils.c (gr_load_image): Delete. * ser-unix.c (terminal.h): Include instead of havig own #if tree. (hardwire_flush_input): Reset input buffer too. * source.c (openp): If WIN32 then open file in binary mode. * terminal.h: Configure IO mechanism using autoconf defines if available and not overriden. * utils.c (quit, pollquit, notice_quit): WIN32 check becomes WINGDB check. * config/arm/arm.mt (TDEPFILES): Add remote-rdp.o * config/arm/tm-arm.h (TARGET_BYTE_ORDER): becomes TARGET_BYTE_ORDER_SELECTABLE. (ADDR_BITS_REMOVE): New. (ORIGINAL_REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): New. (INST_xx): New (FRAME_FIND_SAVED_REGS): Pass the right argument. (arm_get_next_pc): Declare. * mswin/prebuilt/*/bfdtarget.h (SELECT_ARCHITECTURES): Need leading &.
1995-09-16 * config/mips/tm-mips.h (UNUSED_REGNUM): Define.Peter Schauer1-0/+1
* mipsv4-nat.c (supply_gregset): Fill UNUSED_REGNUM register with zero.
1995-09-06 * config/sparc/tm-sp64.h (REGISTER_RAW_SIZE): Lower 32 fp regsDavid Edelsohn1-5/+8
have size 4. (REGISTER_VIRTUAL_SIZE): Likewise. (REGISTER_VIRTUAL_TYPE): Lower 32 fp regs have type float. Upper 32 fp regs have type double. * sparc-tdep.c (NUM_SPARC_FPREGS): Replace with (FP_REGISTER_BYTES): this, and update all uses. (FP_MAX_REGNUM): Define if not already. (get_saved_register): Handle new sparc64 fp regs. (sparc_frame_find_saved_regs): Likewise. (sparc_print_register_hook): Only print fp regs < 32 as doubles. Add code to handle long doubles when gdb does. (_initialize_sparc_tdep): Use print_insn_sparc64 if sparc64.
1995-09-01Ideally the "remote-mips.c" prompt spotting code should be updated toJackie Smith Cashion6-0/+65
spot different prompts at run-time, so as to avoid having target specific versions of gdb. This is a pending TODO. Fri Sep 1 08:25:50 1995 James G. Smith <jsmith@beauty.cygnus.com> * configure (mips64*vr4300*-*-elf): Support added. * remote-mips.c (mips_readchar): Change to allow build-time prompt string. * config/mips/tm-mips.h: Added TARGET_MONITOR_PROMPT. * config/mips/{vr4300.mt, vr4300el.mt, tm-vr4300.h, tm-vr4300el.h}: Added.
1995-08-31 * config/sh/sh.mt (SIM): Add -lm.Jim Wilson1-1/+1
1995-08-25Only build PowerPC simulator if target is powerpc*-*-eabisimMichael Meissner5-3/+62
1995-08-23Link in PowerPC simulator.Michael Meissner2-0/+9
1995-08-22 * tm-hppa.h (STORE_RETURN_VALUE): Fix to work with -msoft-floatJeff Law1-3/+11
calling conventions too. Use the TYPE of the return value, not its length to determine if it should also be copied into the floating point registers.
1995-08-22 * tm-hppa.h (PROLOGUE_FIRSTLINE_OVERLAP): Delete. Causes moreJeff Law1-7/+0
problems than it fixes. * hppa-tdep.c (skip_prologue): If we exit the main loop without finding all the register saves, retry again without looking for the registers we could not find the first time. Better fix for 7768.
1995-08-17 * config/pa/tm-hppa.h (PROLOGUE_FIRSTLINE_OVERLAP): Define.Jeff Law1-6/+40
Yes, this dusty old macro is really the right thing to do when you've got a port which performs scheduling on prologues... Fixes latest mentor gdb PR.
1995-08-14 * config/sparc/tm-sparclite.h: Define FRAME_CHAIN_VALID_ALTERNATE.Kung Hsu1-0/+2
1995-08-13 * config/powerpc/xm-aix.h (FIVE_ARG_PTRACE): Define.Jeff Law2-0/+4
* config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise. So we can build under aix4 with an ansi compiler (should not effect aix3 since aix3 doesn't have a ptrace prototype).
1995-08-12 * configure.in: Recognize aix4 specially as some aspectsJeff Law9-3/+121
of aix4 need different handling than aix3. * configure: Updated. * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: New files specific to aix4 support on the power pc. * config/powerpc/tm-ppc-aix.h (DONT_RELOCATE_SYMFILE_OBJFILE): Do not defined. The aix4 specific target files will do that. * config/rs6000/{aix4,mh,aix4,mt,tm-rs6000-aix4.h}: New files specific to aix4 support on the rs6000. * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR): Don't do the conversion if the pointer is not a magic aix function pointer. * rs6000-tdep.c: Include objfiles.h and symtab.h. (is_magic_function_pointer): New function. * rs6000-tdep.c (skip_prologue): Refine check for frameless functions. Handle b .+4 emitted by aix4 compilers. Only allow one load of a minimal toc pointer. Handle aix4 compiler's code for alloca. * rs6000-tdep.c (find_toc_address): Report an error if no toc was found rather than possibly core dumping. * partial-stab.h: Handle extra field generated by the aix4 compiler for enumerations. * stabsread.c (read_enum_type): Likewise.
1995-08-09 * configure.in (powerpc-*-aix*): Recognize as a new gdb hostJeff Law4-3/+165
and target. (powerpc-*-eabi*): Don't set configdirs. (powerpcle-*-eabi*0: Likewise. * configure: Updated. * rs6000-nat.c (vmap_ldinfo): Don't relocate data addresses for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE is defined. * config/powerpc/{aix.mh,aix.mh}: Host and target makefile fragments for powerpc running aix4. * config/powerpc/{nm-aix.h, tm-ppc-aix.h, xm-aix.h}: Native, target and host include files for powerpc running aix4. More of Mike's powerpc work + minor changes.
1995-08-04Lose EST-only files (now part of generic m68k monitor config)Stan Shebs1-2/+0
1995-08-03 * configure.in (m68*-est-*): Use monitor target config.Stan Shebs2-54/+0
* configure: Update. * config/m68k/est.mt, config/m68k/tm-est.h: Delete. * config/m68k/monitor.mt, config/m68k/tm-monitor.h: Fix comments.
1995-08-02Update FSF address.Fred Fish198-199/+199
1995-08-01* configure.in: Check for working mmap, ansi headers, string.h,J.T. Conklin17-71/+0
strings.h, and memory.h. * configure: Regenerated. * gdb_stat.h: New file, "portable" <sys/stat.h>. * gdb_string.h: New file, "portable" <string.h>. * altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c, convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c, gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c, i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c, mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c, rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c, symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c, ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h" instead of <sys/stat.h>. * alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c, ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c, core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c, dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c, exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c, fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c, inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c, m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c, monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c, printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c, remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c, remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c, remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c, remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c, remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c, solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c, symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c, valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include "gdb_string.h" instead of <string.h>. * gdbtk.c: Likewise. * config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h, sparc/xm-sun4os4.h (HAVE_MMAP): Removed. * config/xm-lynx.h, config/i386/xm-ptx.h, config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h, config/mips/xm-irix3.h, config/mips/xm-mips.h, config/mips/xm-news-mips.h, config/mips/xm-riscos.h, config/pa/hppah.h, config/rs6000/xm-rs6000.h, config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h, config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h, config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed. * config/mips/xm-irix3.h, config/mips/xm-mips.h, config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
1995-08-01 * h8500-tdep.c: General linting and cleanup.Stan Shebs2-59/+46
(opcodes/h8500-opc.h): Don't include. (code_size, data_size): Make static. (frame_locals_address, frame_args_address): Remove. (h8300_pop_frame): Rename to h8500_pop_frame. (big_command, medium_command, compact_command, small_command): Define as regular functions rather than with macro trickery. (tm_print_insn): Set to correct disassembler function. * config/h8500/tm-h8500.h: Minor cleanup, add prototypes. (ABOUT_TO_RETURN): #if 0 out. (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Use usual define. (GDB_TARGET_IS_H8500): Remove duplicate definition. (regoff): Remove, never used. * config/h8500/h8500.mt (TDEPFILES): Add monitor.o.
1995-07-29 * procfs.c (unconditionally_kill_inferior): Clear current signalPeter Schauer1-0/+26
if PROCFS_NEED_CLEAR_CURSIG_FOR_KILL is defined. * config/alpha/nm-osf3.h (PROCFS_NEED_CLEAR_CURSIG_FOR_KILL): Define.
1995-07-29 * config/mips/tm-irix3.h, config/mips/tm-irix5.h,Peter Schauer3-2/+6
config/mips/tm-mipsv4.h (SIGFRAME_FPREGSAVE_OFF): Define.
1995-07-27Better support V.4 calling sequences.Michael Meissner1-38/+58
1995-07-25Change aix_framedata -> rs6000_framedataMichael Meissner1-3/+12
1995-07-20 * config/m68k/tm-m68kv4.h (DWARF_REG_TO_REGNUM): Define toPeter Schauer1-1/+4
correctly map floating point registers numbers.
1995-07-18 * gdbserver/low-hppabsd.c: New file.Jeff Law2-2/+7
* gdbserver/Makefile.in (SFILES): Add low-hppabsd.c. * config/hppabsd.mh (XDEPFILES): Add ser-tcp.o (GDBSERVER_DEPFILES): Add low-hppabsd.o * config/hppaosf.mh: LIkewise. Needed this for the gdbserver framework development. Trying to avoid doing development work on lynx for the obvious reasons.
1995-07-15 * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: New filesPeter Schauer1-0/+2
for OSF/1-3.x procfs support.
1995-07-01Reflect comings and goings of files.Stan Shebs3-9/+15
1995-07-01 * config/h8300/h8300.mt: Renamed from h8300hms.mt.Stan Shebs10-25/+37
* config/h8500/h8500.mt: Renamed from h8500hms.mt. * config/z8k/z8k.mt: Renamed from z8ksim.mt. * configure, configure.in: Update to reflect renamings. * remote-sim.c (sim): New command, passes commands to simulator. (simulator_command): New function. (gdbsim_ops): Clean up. * remote-sim.h (sim_do_command): Declare. * sh-tdep.c (memory_size): Remove command. * Makefile.in (SIM, SIM_OBS): New variables. (CLIBS, CDEPS): Add value of SIM. (DEPFILES): Add value of SIM_OBS * config/arm/arm.mt, config/h8300/h8300.mt, config/h8500/h8500.mt, config/sh/sh.mt, config/sparc/sp64sim.mt, config/w65/w65.mt, config/z8k/z8k.mt: Remove simulator files from TDEPFILES, define in SIM_OBS and SIM. config/sparc/sp64sim.mt (SIMFILES): Remove. * remote-z8k.c: Remove, was superseded by remote-sim.c * Makefile.in, mpw-make.in: Remove references to remote-z8k.c.
1995-06-21 * config/pa/tm-hppa.h (PSW_*): Define processor status word masks.Jeff Law1-0/+23
(INSTRUCTION_NULLIFIED): Allow specific targets to override. * config/pa/tm-hppao.h (INSTRUCTION_NULLIFIED): Define to work around losing mach kernel behavior.
1995-06-14Copyright update in tm-est.h, and minor formatting cleanup.Stu Grossman1-2/+2
Add remote-est.o to TDEPFILES in monitor.mt.
1995-06-06Fix some little endian problemsMichael Meissner1-6/+3
1995-05-24Wed May 24 15:49:47 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-1/+1
* arm-tdep.c (convert_from_extended, convert_to_extended): New. * coffread.c (enter_linenos): Return if linetab 0. * config/arm/arm.mt (TDEPFILES): Add simulator support. * config/arm/tm-arm.h (FRAME_FIND_SAVED_REGS): Fix prototypes.
1995-05-23 * config/idt.mt: replace monitor and array-rom with the newRob Savoye1-1/+1
remote-array.
1995-05-22 * breakpoint.c: Move defaults of watchpoint related macros intoStu Grossman3-0/+8
target.h. * target.h: Macros from breakpoint.c. Conditionalize based on TARGET_HAS_HARDWARE_WATCHPOINTS. * i386v-nat.c procfs.c: Use TARGET_HAS_HARDWARE_WATCHPOINTS instead of TARGET_CAN_USE_HARDWARE_WATCHPOINT to enable watchpoint code. * config/i386/nm-linux.h, config/mips/nm-irix4.h, config/pa/nm-hppab.h, config/sparc/tm-sparclite.h: #define TARGET_HAS_HARDWARE_WATCHPOINTS to enable watchpoint code.
1995-05-17* monitor.c (monitor_printf): Changed format specification inJ.T. Conklin9-28/+0
error message to work with pre-ansi compilers. (monitor_load_srec): reduced length of s-records from 128 to 32 bytes so download is more reliable with the rom68k monitor. * rom68k-rom.c: Added trailing space to prompt string. * config/i386/xm-i386sco.h (HAVE_STRSTR): Removed. * config/i386/xm-go32.h, mswin/xm.h (SYS_SIGLIST_MISSING): Removed. * defs.h, config/{xm-lynx.h, xm-nbsd.h}, config/i386/{xm-i386bsd.h, xm-linux.h}, config/m68k/xm-hp300bsd.h, config/mips/xm-irix4.h, config/ns32k/xm-ns32km3.h, doc/gdbint.texinfo (PSIGNAL_IN_SIGNAL_H): Removed.
1995-05-16Fix arc sanitization.David Edelsohn1-1/+6
1995-05-16* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},J.T. Conklin4-9/+0
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh, mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured out by autoconf. * config/apollo68v.mh (RANLIB): Removed, figured out by autoconf. * Makefile.in, configure.in: Converted to use autoconf * aclocal.m4: New file, local autoconf macro definitions. * configure: New file, generated with autoconf 2.3.
1995-05-15 * remote.c (remote_kill): Add prototype.Stan Shebs1-1/+1
* cpu32bug-rom.c (cpu32bug_open): Properly define as static. * config/h8300/h8300hms.mt (TDEPFILES): Add monitor.o.
1995-05-15(SER_HARDWIRE): Comment out for now.David Edelsohn1-1/+2
1995-05-12 * Support debugging using native MACH primitives on hppa*-*-osf*.Jeff Law4-3/+86
* configure.in: hppa*-*-osf* != hppa*-*-bsd* anymore. * config/pa/hppaosf.mh: New file. * config/pa/nm-hppao.h: Likewise. * hppam3-nat.c: Likewise. * config/pa/tm-hppao.h (PSW_SS): Define for single-stepping. (MACHINE_CPROC_*_OFFSET): Define. (TRACE_*): Define. (START_INFERIOR_TRAPS_EXPECTED): Delete definition.
1995-05-09Add little endian PowerPC support.Michael Meissner3-0/+35
1995-05-03 * configure.in (--enable-netrom): New configuration option.Stan Shebs3-3/+7
* Makefile.in (REMOTE_OBS): Rename from REMOTE_O, append value of NETROM_OBS. (NETROM_OBS): New variable. * remote-nrom.c: New file, NetROM target support. * config/a29k/a29k-udi.mt, config/i960/vxworks960.mt: Use REMOTE_OBS instead of REMOTE_O. start-sanitize-arc * config/arc/arc.mt: Ditto. end-sanitize-arc
1995-04-22 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctlyJeff Law1-2/+11
handle "short", "int" and small structures returned in registers.
1995-04-20 * hppa-tdep.c (deposit_17): New routine to deposit 17 bitStu Grossman2-50/+68
constants into PA instructions. * Put #ifdefs around all signal handling code. Not generally needed for embedded boards. * (hppa_fix_call_dummy): Parameterize offsets into call dummy to allow different dummys to be used by this code. Use INSTRUCTION_SIZE instead of REGISTER_SIZE for things. Conditionalize setup of _sr4export fixup. Improve comments. * config/pa/tm-hppa.h: Define INSTRUCTION_SIZE. Use a different call dummy if PA_LEVEL_0 is defined. Better comments for call dummys. Define offsets for LDIL/LDO instructions which load function addresses. * config/pa/tm-pro.h: Get rid of signal handling stuff. Define PA_LEVEL_0 to disable mucking with space regs and such.
1995-04-17 * monitor.c: Move all xmodem stuff into xmodem.[ch]. RemoveStu Grossman2-2/+2
unnecessary remoteloadprotocol and remoteloadtype support. * (expect expect_prompt): Change names to monitor_expect and monitor_expect_prompt. Make them global. * (printf_monitor): Change name to monitor_printf. Make global. * (monitor_read_memory): Flush command echo to avoid parsing ambiguity with CPU32Bug monitor. * (monitor_load): Remove remoteloadprotocol and remoteloadtype support. Call target_ops->load_routine, default to monitor_load_srec. * (monitor_load_srec): Remove everything but S-record support. * monitor.h (monitor_ops): Add load_routine to provide monitor specific download capability. * remote-est.c: Clean up copyrights and comments. * w89k-rom.c: Use new xmodem support. * xmodem.c xmodem.h: New files to support xmodem downloads. * rom68k-rom.c remote-est.c: Fix copyrights, add load_routine entry to monitor_ops. * cpu32bug-rom.c: New file to support Moto BCC debuggers. * config/m68k/est.mt (TDEPFILES): Add cpu32bug.o. * config/pa/hppapro.mt (TDEPFILES): Add xmodem.o.
1995-04-12 * arc-tdep.c: #include "gdbcmd.h".David Edelsohn1-37/+77
(codestream_seek): Pass CORE_ADDR. (arc_cpu_type, tmp_arc_cpu_type, arc_cpu_type_table): New globals. (debug_pipeline_p): Likewise. (X_...): Instruction field access macros. (BUILD_INSN): Define. (codestream_tell): Allow for stream elements > 1 byte. (codestream_fill): Likewise. (setup_prologue_scan): New function. (arc_get_frame_setup): Call it. Update to current spec regarding prologues. Use BUILD_INSN. (skip_prologue): New argument `frameless_p'. Use BUILD_INSN. (arc_frame_saved_pc): New function. (frame_find_saved_regs): Use BUILD_INSN. (get_insn_type, single_step): New functions. (one_stepped): New global. (arc_set_cpu_type_command, arc_show_cpu_type_command): New functions. (arc_set_cpu_type): New function. (_initialize_arc_tdep): Define new `set' commands `cpu', `displaypipeline', and `debugpipeline'. * remote-arc.c (break_insn): Add bi-endian support. (arc_insert_breakpoint): Likewise. (arc_remove_breakpoint): Likewise. (switch_command): Delete. * arc/tm-arc.h (TARGET_BYTE_ORDER): Delete. (TARGET_BYTE_ORDER_SELECTABLE): Define. (DEFAULT_ARC_CPU_TYPE): Define. (SKIP_PROLOGUE_FRAMELESS_P): Define. (BREAKPOINT): Delete. (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Define. (DECR_PC_AFTER_BREAK): Change to 8. (NO_SINGLE_STEP): Define. (ARC_PC_TO_REAL_ADDRESS): Define. (SAVED_PC_AFTER_CALL): Use it. (NUM_REGS, REGISTER_BYTES): Fix. (FRAME_SAVED_PC): Call arc_frame_saved_pc. (FRAME_LOCALS_ADDRESS): Fix.
1995-04-11Always keep MPW supportStan Shebs1-14/+2
1995-04-10 * config/mips/xm-irix5.h: turn on CC_has_LONG_LONG andKung Hsu2-0/+4
PRINTF_HAS_LONG_LONG. * config/mips/tm-irix5.h: turn on FORCE_LONG_LONG.
1995-04-10Removed the following files from "Things to Keep":David H. Webster1-3/+0
alpha-nw.mt gdbserve.mt tm-alphanw.h
1995-03-31 * config/a29k/tm-a29k.h: Nuke obsolete define CONTROL_END_ADDR; itJim Kingdon1-8/+0
is nowhere used.