aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
1997-06-28Fri Jun 27 19:19:12 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder1-1/+6
* config/mips/tm-mips.h (USE_STRUCT_CONVENTION): MIPS_EABI returns structs in a register wherever possible.
1997-06-21Minor formatting change (whitespace only).Fred Fish1-1/+1
1997-06-17 * infrun.c (wait_for_inferior): Mark registers as invalid whenMark Alexander2-13/+41
stepping over an instruction that triggered a watchpoint. * remote-mips.c: Numerous changes to support hardware breakpoints and watchpoints on LSI MiniRISC and TinyRISC boards. * mips-tdep.c: Move MIPS16-related macros to config/mips/tm-mips.h. (mips_breakpoint_from_pc): Account for different breakpoint instructions used by PMON and IDT monitor. * config/mips/tm-embed.h: Enable hardware breakpoints on embedded MIPS targets. * config/mips/tm-mips.h: Define breakpoint instructions for PMON and IDT monitor. Move MIPS16-related macros here from mips-tdep.c.
1997-06-13 * fix earlier checkin errorMichael Snyder1-3/+0
1997-06-13Fri Jun 13 13:44:47 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder5-4/+106
* config/mips/tm-tx39[l].h, tx39[l].mt: change r3900 target to tx39. [also clean up sanitization]
1997-06-13 * config/i386/nm-linux.h: Enable prototypes that were #ifdef out.Fred Fish1-0/+1
* config/tm-sysv4.h (in_plt_section): Add prototype. * maint.c (maintenance_translate_address): Avoid assignment inside if, per GNU coding standards. * symfile.c (simple_read_overlay_table): Avoid assignments inside if, per GNU coding standards. * monitor.c (parse_register_dump): Is really a void function. Add prototype. (monitor_read_memory): Remove unused variable "name". (monitor_read_memory): Remove unused variable "regbuf". (monitor_open): Remove unused variable "i". (get_hex_word): Apparently unused, #if away for now. (from_hex): Ditto. * i386v4-nat.c (supply_fpregset): Remove unused variable "regi". (fill_fpregset): Remove unused variables "regi", "to", "from" and "registers". * remote-e7000.c (ctype.h): Include. (e7000_insert_breakpoint): #if away unused arg used by unused expr. * frame.h (generic_get_saved_register): Add prototype. (enum lval_type): Add partial forward decl. * dsrec.c (make_srec): Remove unused variable "type_code". * remote-sim.c (gdbsim_wait): Handle sim_running and sim_polling cases by just ignoring them. (command.h): Include. * java-exp.y (parse_number): Remove unused variable "unsigned_p". * java-lang.c (gdbcore.h): Include for prototypes. (type_from_class): Remove unused variable "ftype". (type_from_class): Remove unused variable "name_length". (evaluate_subexp_java): Add default case to handle remaining enumerations. * java-valprint.c (c-lang.h): Include for prototypes. * symfile.c (simple_read_overlay_region_table): #if away unused function. (simple_free_overlay_region_table): Ditto. (overlay_is_mapped): Add default case to switch. (simple_read_overlay_region_table): Ditto. (simple_read_overlay_region_table): Add prototype. * symtab.c (fixup_symbol_section): Remove unused msym variable. (fixup_psymbol_section): Ditto. (find_pc_sect_symtab): Make distance a CORE_ADDR. * utils.c: Add comment about t_addr being either unsigned long or unsigned long long. (paddr): Change formats to match actual types args are cast to. (preg): Ditto. (paddr_nz): Ditto. (preg_nz): Ditto.
1997-06-13 * sh-tdep.c (symfile.h): Include.Fred Fish1-0/+5
(gdb_string.h): Include. (sh_fix_call_dummy): Ifdef away, currently unused. * config/sh/tm-sh.h (pop_frame): Add prototype. * config/sh/tm-sh.h (sh_set_processor_type): Add prototype.
1997-06-06 Modified Files:Keith Seitz1-0/+1
ChangeLog sh-tdep.c config/sh/tm-sh.h * config/sh/tm-sh.h: add define for FPSCR_REGNUM * sh-tdep.c (sh_show_regs): print out all registers for the current processor
1997-06-03 * configure.tgt: add mipsr3900-elf targetMichael Snyder5-0/+95
* config/mips/r3900*.mt config/mips/tm-r3900*.h: ditto
1997-05-14Fix total number of tic80 registersAndrew Cagney1-1/+1
1997-05-12 * tic80-tdep.c, config/tic80/tm-tic80.h: First cut at gettingMark Alexander1-14/+73
basic C80 features working.
1997-04-30Define TiC80 break point (tmp)Andrew Cagney1-1/+1
1997-04-25 * config/mn10300/tm-mn10300.h (EXTRACT_STRUCT_VALUE_ADDRESS): TheJeff Law2-4/+4
structure value address is found in $a0 now. * config/mn10200/tm-mn10200.h (EXTRACT_STRUCT_VALUE_ADDRESS): Likewise. Fixes some struct.exp failures.
1997-04-24 * config/mn10300/tm-mn10300.h (STORE_RETURN_VALUE): Pointers areJeff Law1-2/+9
returned in $a0. (EXTRACT_RETURN_VALUE): Likewise. * mn10300-tdep.c (mn10300_analyze_prologue): Check for a return insn at "pc", not "fi->pc".
1997-04-24Fix? some reg definitionsAndrew Cagney1-13/+23
1997-04-23Wed Apr 23 11:18:45 1997 Jeffrey A Law (law@cygnus.com)Jeff Law1-0/+8
* config/mn10200/tm-mn10200.h (STORE_RETURN_VALUE): Pointers are returned in $a0. (EXTRACT_RETURN_VALUE): Likewise.
1997-04-22TIc80 simulator checkpoint - runs 3 instructions - trap, addu, br.a.Andrew Cagney1-2/+2
1997-04-22 * config/alpha/alpha-osf3.mh config/i386/{i386gnu linux}.mhStu Grossman11-20/+12
config/mips/{embed embed64 embedl embedl64 vr4300 vr4300el vr5000 vr5000el}.mt config/powerpc/{aix aix4}.mh config/rs6000/{aix aix4}.mh config/sh/sh.mt config/sparc/sp64sim.mt: start-sanitize-v850 config/v850/v850.mt: end-sanitize-v850 Remove -lm. That's now handled by configure.
1997-04-19 * config/powerpc/tm-ppc-aix4.h, config/rs6000/tm-rs6000-aix4.hPeter Schauer2-9/+2
(DONT_RELOCATE_SYMFILE_OBJFILE): Removed.
1997-04-19 * Makefile.in (SUBDIRS): Add mswin so that make cleanup cleans upStu Grossman2-4/+3
that directory. * defs.h utils.c (error warning): Make message be const. * main.c (fputs_unfiltered): Only send gdb_stdout and gdb_stderr to hook. Otherwise send it to fputs. * monitor.c monitor.h (monitor_get_dev_name): New function. Does the obvious. * remote-e7000.c: Remove debugify stuff. Change printf, fprintf to _filtered forms to make output appear in GUIs. Replace all uses of SERIAL_READCHAR with readchar, which has better error checking. * (e7000_parse_device): Add prototype. * (readchar): Improve doc. Handle random serial errors. * (expect): Disable notice_quit code. It's busted. Remove serial error handling (it's now handled in readchar). Remove remote_debug echoing. That's handled in readchar as well. * (e7000_parse_device): Remove serial_flag arg. It's not necessary. * (e7000_open): Split into two pieces. Second part is e7000_start_remote, and is error protected. Now, when we connect to the target, we setup the initial frame and registers so that the user gets an immediate indication of where the target is. * (gch): Remove debug output. That's handled by readchar. * (e7000_read_inferior_memory): Handle errors better. * (_initialize_remote_e7000): Get rid of `<xxx>' things from command names. They show up when doing completion and confuse things horribly. * ser-e7kpc.c: Remove the last seven months of brain damage. Get rid of the DLL's since we can access the device directly from Win32s and Win95. Get rid of debugify crud. * serial.c: Remove debugify cruft. * (serial_logchar serial_log_command serial_write serial_readchar serial_send_break serial_close): Merge common functionality into serial_logchar. Clean up rest of routines. * sparclet-rom.c: Disembowel. Leave only download routine. Download routine now switches to remote target automatically. * top.c (disconnect): Only define if SIGHUP is defined. Cleans up MSVC/Win32 problem. * utils.c (gdb_flush): Don't call hook unless it's for gdb_stdout or gdb_stderr. * config/sh/tm-sh.h: Define TARGET_SH for WinGDB. * config/sparc/tm-sparclet.h: Remove override for prompt.
1997-04-14Mon Apr 14 11:55:27 1997 Geoffrey Noer <noer@pizza.cygnus.com>Geoffrey Noer1-1/+1
* config/i386/cygwin32.mh: remove -lkernel32 from XM_CLIBS since gcc automatically includes it
1997-04-10Thu Apr 10 13:20:53 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-4/+22
* procfs.c: Substantial (but incomplete) changes to support sysv4.2mp procfs as implemented in UnixWare 2.1. The procinfo struct now has substructs like struct flt_ctl instead of just a fltset_t and has a ctl_fd, status_fd, as_fd, and map_fd instead of a single fd. Non-sysv4.2mp procfs models still have the structs and multiple fds, but don't use the entire struct and the four fds all point to the same thing. We use PROCFS_USE_READ_WRITE to decide whether to talk to procfs with reads/writes or use ioctl instead. We use HAVE_MULTIPLE_PROC_FDS to determine whether procfs really has multiple fds or not. PROC_NAME_FMT is split out into CTL_PROC_NAME_FMT, AS_PROC_NAME_FMT, MAP_PROC_NAME_FMT, STATUS_PROC_NAME_FMT. (procfs_notice_signals): now a necessary wrapper around (notice_signals): which are the new guts for noticing signals (open_proc_file): gets a new flag arg used in sysv4.2mp to determine whether or not to attempt to open the ctl_fd. (procfs_read_status): new local function, reads procfs status (procfs_write_pcwstop): new local function, writes a PCWSTOP (procfs_write_pckill): new local function, writes a PCKILL (unconditionally_kill_inferior): remove signo since we now just call procfs_write_pckill(). (procfs_xfer_memory): call lseek with SEEK_SET rather than 0 (proc_iterate_over_mappings): the whole function is ifdefed on UNIXWARE to keep things readable. Expanded the syscall_table to include new potential sysv4.2mp members. Note that all ifdefs of UNIXWARE should be eliminated if possible or renamed to describe what's being selected for a bit better. Sysv4.2mp and IRIX both have SYS_sproc so the IRIX specific code now also checks it's not UNIXWARE. * config/i386/tm-i386v42mp.h: also define HAVE_PSTATUS_T, HAVE_NO_PRRUN_T, PROCFS_USE_READ_WRITE, and UNIXWARE * config/mips/nm-irix4.h: set CTL_PROC_NAME_FMT et al to "/debug/%d" as PROC_NAME_FMT used to be
1997-04-09 * mn10300-tdep.c: Almost completely rewritten based on mn10200Jeff Law1-21/+32
port. * config/mn10300/tm-mn10300.h: Likewise. === gdb Summary === # of expected passes 3890 # of unexpected failures 8 # of expected failures 39 # of unresolved testcases 1
1997-04-08 * config/pa/{hppabsd.mt hppahpux.mt hppaosf.mt}: RemoveStu Grossman2-2/+2
remote-pa.o from TDEPFILES. Nobody uses it, and besides, it's a lousy out-of-date clone of remote.c.
1997-04-07Remove m32r sanitization.David Edelsohn1-14/+1
1997-04-03 * mips-tdep.c (mips_in_call_stub, mips_in_return_stub,Mark Alexander1-2/+12
mips_skip_stub, mips_ignore_helper): New functions for dealing with MIPS16 call/return thunks. (mips_init_frame_pc_first): New function to implement INIT_FRAME_PC_FIRST macro; includes code from old macro plus new code to skip over MIPS16 thunks. (mips_frame_chain): Skip over MIPS16 thunks. * config/mips/tm-mips.h (mips_in_call_stub, mips_in_return_stub, mips_skip_stub, mips_ignore_helper): Declare. (IN_SOLIB_CALL_TRAMPOLINE, IN_SOLIB_RETURN_TRAMPOLINE, SKIP_TRAMPOLINE_CODE, IGNORE_HELPER_CALL): New macros that invoke the above functions. (INIT_FRAME_PC_FIRST): Change to invoke mips_init_frame_pc. (mips_init_frame_pc): Declare. * infrun.c (wait_for_inferior): Use new IGNORE_HELPER_CALL macro to decide if certain library function calls should be ignored.
1997-03-30 * config/tic80/tic80.mt: Disable using the simulatorFred Fish1-2/+4
until it is ready.
1997-03-28 * config/tic80/tm-tic80.h (NAMES_HAVE_UNDERSCORE): Define.Fred Fish1-0/+5
1997-03-24Fixes from Peter Schauer:Mark Alexander1-8/+12
* config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE, REGISTER_CONVERT_FROM_TYPE): Swap words if target, not host, is big-endian and if registers are 32 bits. * mips-tdep.c (mips_print_register, mips_extract_return_value, mips_store_return_value): Fix floating-point word-order problems on little-endian targets introduced by changes of Mar 21.
1997-03-22Add this file too..Fred Fish1-0/+72
1997-03-22Forgot this change in last checkin.Fred Fish1-0/+14
1997-03-22 * remote-sim.c (simulator_command): Add comment about dealing withFred Fish2-0/+187
NULL or empty args. start-sanitize-tic80 * Makefile.in (tic80-tdep.o): Add target. * configure.tgt: Add tic80 case. * tic80-tdep.c: New file. * config/tic80/{tic80.mt, tm-tic80.h}: New files. end-sanitize-tic80
1997-03-20Fixed .SanitizeGeoffrey Noer1-0/+4
1997-03-20Wed Mar 19 16:13:22 1997 Geoffrey Noer <noer@pizza.cygnus.com>Geoffrey Noer3-0/+59
New UnixWare 2.1 configuration * config/i386/i386v42mp.mt: new * config/i386/i386v42mp.mh: new * config/i386/tm-i386v42mp.h: new * config/i386/nm-i386v42mp.h: new * configure.tgt: added new entries * configure.host: added new entries
1997-03-11First cut at supporting simulators in gdbserver:Mark Alexander1-0/+6
* configure, configure.in: Allow gdbserver to be configured for cross-target environments. * gdbserver/Makefile.in: Add simulator support. * gdbserver/configure.in: Eliminate assumption that host == target. Simplify using gdb/configure.tgt and gdb/configure.host. Fix other minor configuration errors. * gdbserver/low-sparc.c: Fix compile error. * gdbserver/remote-utils.c: Eliminate assumption that registers and addresses are four bytes. Fix minor compile errors and warnings. * gdbserver/server.c: Rewrite numerous instances of identical code for starting inferior processes to call new function start_inferior. Eliminate assumption that registers and addresses are four bytes. * gdbserver/server.h: Add missing prototypes to eliminate compiler warnings. * gdbserver/low-sim.c: New file to mate gdbserver with simulators. * config/mips/vr5000.mt: Add Vr5000 simulator support to gdbserver. * config/i386/linux.mh: Eliminate gdbserver support as a first step in moving such support from host to target makefile fragments. * config/i386/linux.mt: Move gdbserver support here from linux.mh.
1997-03-03Correct d10v sanitization errors.Jim Wilson1-14/+1
1997-02-12Remove REG_STRUCT_HAS_ADDR change.Jeff Law1-1/+1
1997-02-12 * config/mn10200/tm-mn10200.h (STORE_STRUCT_RETURN): Fix.Jeff Law1-4/+4
* mn10200-tdep.c (mn10200_store_struct_return): New function. (REG_STRUCT_HAS_ADDR): Tweak. Fixes most of the structs.exp tests.
1997-02-11 * m32r/tm-m32r.h (TARGET_M32R): Define, for wingdb.David Edelsohn1-2/+4
1997-02-11 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE): Fix case whenJeff Law1-1/+1
extracting a return value from a register pair. Fixes remaining failures in callfuncs.exp, but not structs.exp.
1997-02-11 * mn10200-tdep.c (mn10200_push_arguments): Stack only needs toJeff Law1-4/+6
be two byte aligned. Round argument sizes up to two byte boundary. Write out args in two byte hunks. (mn10200_push_return_address): Implement. * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE): Abort for structures > 8 bytes (temporary). (STORE_RETURN_VALUE): Likewise. (CALL_DUMMY): No longer undefine. (USE_STRUCT_CONVENTION): Use for args > 8 bytes. (REG_STRUCT_HAS_ADDR): Define. Inferior function calls for the mn10200.
1997-02-10 * mn10200-tdep.c: Remove lots of debugging printfs, update/improveJeff Law1-23/+80
comments, formatting, etc. Plus other minor fixes for problems I found during my first pass over the mn10200 port. (mn10200_analyze_prologue): New function. (mn10200_frame_chain, mn10200_init_extra_frame_info): Use it. * config/mn10200/tm-mn10200.h: Lots of updates/improvements to comments, formatting, etc. Minor fixes for problems I found during my first pass over the mn10200 port. (TARGET_*_BIT): Define appropriately for ints, long longs, doubles and pointers. (REGISTER_VIRTUAL_TYPE): Define as a long. (EXTRACT_RETURN_VALUE): Rework to deal with long ints living in register pairs. (STORE_RETURN_VALUE): Similarly. Checking in my initial changes, prologue scanning, etc. Current gdb testsuite results: === gdb Summary === # of expected passes 3684 # of expected failures 40 # of unexpected failures 6
1997-02-02Committing sanitize changesGeoffrey Noer3-2/+35
1997-01-29Remove ../sim/ppc/libsim.aMichael Meissner1-1/+1
1997-01-28First set of changes for mips16:Mark Alexander1-1/+17
* config/mips/tm-mips.h (MIPS16_BIG_BREAKPOINT, MIPS16_LITTLE_BREAKPOINT, BREAKPOINT_FROM_PC): Define. (ABOUT_TO_RETURN): Call new function mips_about_to_return. (mips_breakpoint_from_pc, mips_about_to_return): Declare. * mem-break.c (memory_breakpoint_from_pc): New function. (memory_insert_breakpoint, memory_remove_breakpoint): Use memory_breakpoint_from_pc to determine breakpoint contents and size. * target.h (memory_breakpoint_from_pc): Declare. * monitor.c (monitor_insert_breakpoint): Use memory_breakpoint_from_pc to determine size of breakpoint instruction. * mips-tdep.c (mips32_decode_reg_save, mips16_decode_reg_save): New helper functions for mips_find_saved_regs. (mips_find_saved_regs): Recognize mips16 prologues. (mips_addr_bits_remove): Strip off upper 32 bits of address when target CPU is 32 bits but CORE_ADDR is 64 bits. (mips_step_skips_delay): No branch delay slot on mips16. (gdb_print_insn_mips): Disassemble mips16 code. (mips_breakpoint_from_pc, mips_about_to_return): New functions.
1997-01-27 * tm-mn10200.h (NUM_REGS): Decrease to 12.Jeff Law1-8/+6
(REGISTER_NAMES): Elimination registers not found on the mn10200. (PC_REGNUM, MDR_REGNUM, PSW_REGNUM): Corresponding changes. (LIR_REGNUM, LAR_REGNUM): Delete. They don't exist on the mn10200.
1997-01-23Committing tiny change -- pretend regs are 32 bitsGeoffrey Noer1-1/+3
1997-01-22Wed Jan 22 01:31:16 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-0/+151
Start mn10200 gdb port by adding copies of mn10300 target-specific files with all instances of mn10300 changed to mn10200 to start with. * mn10200-tdep.c: new * config/mn10200/tm-mn10200.h: new, REGISTER_SIZE is 24 bits not 32, SP_REGNUM and FP_REGNUM are different, also no lar or lir. * config/mn10200/mn10200.mt: new
1997-01-22Tue Jan 21 17:03:26 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1-3/+6
* mn10300-tdep.c: wrote/fixed implementations of mn10300_frame_chain, mn10300_init_extra_frame_info, mn10300_frame_saved_pc * config/mn10300/tm-mn10300.h: redefine INIT_EXTRA_FRAME_INFO and INIT_FRAME_PC macros Backtracing starting to work correctly.
1997-01-20 * config/mips/{embed,embed64,embedl,embedl64}.mt:Mark Alexander3-0/+6
Link in simulator on MIPS embedded targets.