aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1995-11-02Tsk tsk, somebody forgot to update .Sanitize when they renamed regex.*...Stan Shebs1-2/+2
1995-11-01 * breakpoint.c (breakpoint_re_set): Fix typo in comment.Fred Fish1-1/+2
1995-11-01 * gdb.base/break.exp: Change test that deletes all breakpointsFred Fish2-21/+34
when no user breakpoints are installed. A post 4.15 change causes gdb to no longer prompt in this case.
1995-11-01 * symtab.c (in_prologue): Document func_start and when it is zeroFred Fish1-0/+6
don't call SKIP_PROLOGUE (which typically leads unconditionally to an error when we try to access a prologue at address 0).
1995-11-01Regenerated.Jason Molenda1-205/+64
1995-10-31 * elfread.c: Include elf-bfd.h rather than libelf.h.Fred Fish2-1/+5
1995-10-31 * gdb.base/return.exp (return_tests): Change xfail for testFred Fish1-0/+6
"correct value returned double test" to stop xfailing at Solaris 2.5. Apparently the bug has been fixed.
1995-10-31Tue Oct 31 10:42:42 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-0/+5
* win32-nat.c (xlate_exception): Treat a stack overflow like a SEGV.
1995-10-30 * pr-5016.exp: xfail "whatis i" for sparc-sun-sunos4*, same as linux.Fred Fish2-2/+6
1995-10-29 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.Fred Fish1-0/+5
IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
1995-10-29 * monitor.c: Include gnu-regex.h rather than system regex.h.Fred Fish1-0/+4
1995-10-29Sat Oct 28 23:51:48 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain5-19/+68
* defs.h: Test on name __WIN32__ rather than WIN32. * inflow.c (new_tty): Likewise * terminal.h: Likewise. * utils.c (initialize_utils): Likewise. * win32-nat.c (child_create_inferiror): Print error code when failing. * config/i386/win32.mh (XM_CLIBS): Need -lkernel32.
1995-10-28 * symtab.h (enum address_class): Add LOC_UNRESOLVED forPeter Schauer3-35/+36
a location whose address has to be resolved via the minimal symbol table. * buildsym.c (finish_block), findvar.c (symbol_read_needs_frame, read_var_value), printcmd.c (address_info), symmisc.c (print_symbol, print_partial_symbol): Handle LOC_UNRESOLVED. * stabsread.c (scan_file_globals): Change unresolved LOC_STATIC symbols to LOC_UNRESOLVED. Remove rt_common_objfile lookup kludge, global common symbols are now handled by LOC_UNRESOLVED. (scan_file_globals_1): Move code back to scan_file_globals, delete.
1995-10-27 * config/mips/tm-magic.h config/mips/magic.mt: New files forStu Grossman4-0/+72
magic target support.
1995-10-27 * breakpoint.c (breakpoint_re_set): #ifdef GET_LONGJMP_TARGETStu Grossman15-215/+1235
around calls to create_longjmp_breakpoint. Why install the breakpoints if we can't find the longjmp target? * infrun.c (wait_for_inferior): Cleanup comments near call test. * remote-mips.c: Fixed a bunch of prototypes to avoid char/int complaint from picky compilers. Add comment to mips_expect. Replace all instances of sr_get_debug with remote_debug. * (mips_readchar): Don't jam init string to monitor. mips_initialize() handles that. * (mips_receive_header): Print better message when we get too much garbage. * (mips_request): Allow caller to pass in buff to allow them to analyze the returned message. * (mips_initialize): Re-do initialization to try sending a BREAK, a ^C, and then a download escape sequence. Cleanup protocol startup. Eliminate sleeps. Clear breakpoints (if using monitor breakpoints). Re-init frame. * (mips_detach): Close down target. start-sanitize-gm * (mips_resume): Pass signal down to target. * (mips_create_inferior): Start target with TARGET_SIGNAL_PWR. end-sanitize-gm * (mips_wait): Handle return status with registers, or breakpoint stuff. * (mips_kill): Add ^C handling. * (mips_insert_breakpoint mips_remove_breakpoint): Call new breakpoint stuff if enabled. * (calculate_mask remote_mips_set_watchpoint remote_mips_remove_watchpoint remote_mips_stopped_by_watchpoint): Hardware watchpoint/breakpoint stuff. * (common_breakpoint): Common code for new monitor breakpoint commands. * (mips_load): Don't use `prompt'. It's a global variable. * top.c (dont_repeat_command): New command for use in user-defined commands to suppress auto-repeat (by hittin return key). start-sanitize-gm * utils.c (request_quit): Call target_kill here. Good idea. Needs a better implementation. end-sanitize-gm * valops.c: Add start of auto function-call abandonment capability. start-sanitize-gm * c-exp.y: Add code (currently disabled) to handle GM dynamic structures (it conflicts with @!). * eval.c (evaluate_subexp_standard): ditto. * expprint.c (print_subexp dump_expression): ditto. * expression.h (enum exp_opcode): ditto. * parse.c (length_of_subexp): ditto. * configure, configure.in: Add mip*-*-magic* target. * magic.c magic.h: Special routines to handle GM stuff (like stepping through dispatcher). end-sanitize-gm
1995-10-27New fileStan Shebs2-2/+6
1995-10-27 * config/xm-mpw.h: New file, all-Mac host support.Stan Shebs4-65/+113
* config/m68k/xm-mpw.h: Move most definitions into generic Mac support. * config/powerpc/xm-mpw.h: New file, PowerMac host support.
1995-10-27 * mpw-config.in: Add support for PowerMac host, add beginningsStan Shebs4-14/+49
of native support. * mpw-make.sed: Disable subdir recursion, edit out useless rule. * mac-xdep.c (Values.h): Don't include. (GestaltEqu.h): Include Gestalt.h instead. (do_mouse_down): Comment out control tracking, needs to be updated to use UPP before will work on PowerMac.
1995-10-27Remove unnecessary CYGNUS LOCALStan Shebs1-2/+0
1995-10-26 * regex.h: Renamed to gnu-regex.h.Brendan Kehoe8-17/+31
* regex.c: Renamed to gnu-regex.c. * Makefile.in (POSSLIBS): Refer to gnu-regex.h and gnu-regex.c. (REGEX, REGEX1): Change to gnu-regex.o instead of regex.o. (regex.o): Renamed to gnu-regex.o; refer to gnu-regex.c. (irix5-nat.o, osfsolib.o, gnu-regex.o, solib.o, source.o, symtab.o): Likewise. * irix5-nat.c, osfsolib.c, gnu-regex.c, solib.c, source.c, symtab.c): Include "gnu-regex.h" instead of "regex.h". * alpha-tdep.c (in_prologue): Rename to alpha_in_prologue, to avoid conflicts with symtab.h. fixes building gdb under OSF/1 4.0
1995-10-26Cosmetic improvementsStan Shebs1-2/+2
1995-10-25forgot to check this in.Jason Molenda1-0/+6
1995-10-25Tue Oct 24 18:30:18 1995 Jason Molenda (crash@phydeaux.cygnus.com)Jason Molenda4-264/+206
* config/pa/hppahpux.mh: Remove hardcoding of X locations. * Makefile.in: Use X11_CFLAGS, X11_LDFLAGS and X11_LIBS. * configure.in: Link X statically on Solaris, SunOS and HPUX.
1995-10-24 * monitor.h (struct memrw_cmd->resp_delim): Document this as a regexp.Stu Grossman2-1/+3
1995-10-24 * monitor.c (monitor_expect_regexp): Same as monitor_expect, butStu Grossman3-29/+112
with the obvious extension. (monitor_read_memory_single): Use regexp for getmem.resp_delim because of parsing ambiguities caused by certain monitors. (monitor_read_memory): Use new regexp stuff to parse getmem.resp_delim. * sh3-rom.c: Finish off table. Use new regexp capability for getmem commands.
1995-10-24 * infrun.c (wait_for_inferior): Disable questionable code nearStu Grossman4-27/+128
the step range test. Replace call detection test with much simpler (and more efficient) test that doesn't require prologue examination (as often). * symtab.c symtab.h (in_prologue): New function that indicates whether or not we are in a function prologue. This uses the symbol table, and then falls back to prologue examination if that fails. It's much more efficient for remote debugging because it avoids examining memory, which is very slow. This is used in wait_for_inferior to determine if we've made a function call that needs to be skipped over (for next/nexti). * mips-tdep.c (after_prologue): New function, returns the PC after the prologue. Uses PDRs and the symbol table. (mips_find_saved_regs): Use in_prologue() to avoid costly prologue examination if possible. (mips_skip_prologue): Use after_prologue() if possible to avoid costly prologue examination.
1995-10-24 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.Jeff Law1-0/+11
* gdb.disasm/hppa.s: Corresponding changes.
1995-10-23The revision 2.48 change (grossman 1995/10/16) had unfortunatelyJackie Smith Cashion4-23/+31
broken the prompt spotting for the <RISQ> variant of the IDT monitor. Also took this opportunity to add the vr4300 configure.in options.
1995-10-21 * alpha-tdep.c, mips-tdep.c (init_extra_frame_info):Peter Schauer6-44/+99
Do not set saved registers from heuristics for a sigtramp frame. * dwarfread.c (enum_type): Determine signedness of enum type from enumerators. * mips-tdep.c: Include gdb_string.h, gcc -Wall lint. * rs6000-nat.c (xcoff_relocate_core): Fix typo. * valops.c (value_repeat): Fix length of memory transfer to match recent allocate_repeat_value change.
1995-10-20 * gdbtypes.c (get_discrete_bounds): Fix typo.Per Bothner1-1/+1
1995-10-20 * defs.h (SEEK_SET, SEEK_CUR): Add default definitions.Stan Shebs3-10/+15
* dbxread.c, mdebugread.c, os9kread.c (SEEK_SET, SEEK_CUR): Remove default definitions.
1995-10-19Hitachi SH3e, patch to make FP registers debuggable.Jim Wilson3-2/+87
1995-10-19 * Makefile.in (CC-LD): Rename to CC_LD, so MPW xform works.Stan Shebs6-15/+18
(MMALLOC_SRC): Define. (MMALLOC_CFLAGS): Use. (ser-mac.o): Add rule. * dwarfread.c, somread.c, ultra3-nat.c, xcoffread.c: Replace L_SET with SEEK_SET in all calls to bfd_seek. * scm-tags.h (scm_tags): Remove excess comma.
1995-10-19Comings and goings of Mac-related filesStan Shebs1-2/+2
1995-10-19 * mpw-config.in: Adapt to work with autoconf'ed configury;Stan Shebs7-1815/+316
build config.h, add empty definitions to mk.tmp. (powerpc-apple-macos): Make it work. * mpw-make.sed: New file, sed commands to translate Unix makefile into MPW syntax. * mpw-make.in: Remove. * mac-gdb.r: New file, was macgdb.r, renamed for consistency with other tools, now includes cfrg resource. * macgdb.r: Remove. * config/m68k/xm-mpw.h: Remove most of contents, replace with include of include/mpw/mpw.h.
1995-10-18 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs targetJeff Law3-6/+0
makefile fragment. * config/mt-hpux: Deleted. Because we longer need to statically link nodebug for hpux.
1995-10-18 * hppa-tdep.c (frame_chain): Fix more obscure problems causedJeff Law2-2/+32
by system calls that core dump processes without saving all the register state.
1995-10-18 * Many files: When warning about suppressed tests due to aJeff Law18-17/+26
nonexistant test binary, avoid incrementing the warning count. Fixes bogus UNRESOLVED test results.
1995-10-17 * config/pa/hppahpux.mt (XDEPFILES): Remove bogus definition.Jeff Law2-1/+5
* config/pa/hppapro.mt (XDEPFILES): Likewise.
1995-10-17Fix typoFred Fish2-1/+5
1995-10-16 * remote-mips.c: Add support for speedy (about 10x faster)Stu Grossman2-12/+301
downloads.
1995-10-16 * remote-array.c: Move baud_rate initialization fromStu Grossman3-2/+9
_initialize_array to array_open. It was forcing the baud rate of all targets to be 4800 baud! Seems like I've fixed this before... * config/mips/idt.mt (TDEPFILES): Remove remote-array.o. This has *nothing* to do with IDT!!!
1995-10-16 * gdbtk.c (gdb_disassemble): Use fprintf_unfiltered instead ofStu Grossman2-1/+4
fprintf_filtered.
1995-10-16 * Makefile.in sh3-rom.c config/sh/sh.mt config/sh/tm-sh.h: AddStu Grossman7-7/+219
sh3 monitor support. * monitor.c: Cleanup regexp compilation stuff to make it easier to use several regexps. * monitor.h: Get rid of struct rom_cmd_data. It's no longer used. * config/m68k/tm-monitor.h: Don't redefine NUM_REGS here. It just causes GDB to crash.
1995-10-16 * sparcl-tdep.c: Cleanup serial error handling.Stu Grossman2-17/+28
1995-10-16 * dcache.c: Change default value of remotecache to off. It justStu Grossman3-53/+98
screws up too many targets. * sparcl-stub.c: Add prototypes to many forward decls. * Create private copies of strlen, strcpy, and memcpy to prevent chaos when user steps into them. * (trap_low handle_exception): Clean up DSU support code (hardware breakpoints). Move lots of stuff from asm-land to C-land (make it much easier to #ifdef if necessary). Also, use trap 255 to get into break mode instead of doing a DSU register write, which may trash the register. * (putpacket): Don't check return value of putDebugChar. It returns void...
1995-10-15 * rs6000-tdep.c: Don't include a.out.h, improve some formatting.Stan Shebs2-43/+50
1995-10-13 * srcwin.cpp (CSrcScroll1::OnDraw): Don't show disabledSteve Chamberlain1-0/+10
splats unless a breakpoint is possible. * gui.mak: Include mips config. * prebuilt/mips/elf32-target.h: Regenerated.
1995-10-13 * somsolib.c (som_solib_add): Just give a warning if a fileJeff Law2-1/+24
mentioned in the dld_list can't be found. Warning seems more reasonable than croaking. * config/pa/tm-hppah.h (FRAME_SAVED_PC_IN_SIGTRAMP): Dig out the PC from the PC queues rather than %r31. Fixes net bug. Might also fix one of the hpux10 corefile.exp failures, not sure (will test when I get back monday morning).
1995-10-12 * corelow.c (core_open): Don't update the to_sections andJeff Law6-7/+70
to_sections_end fields in core_ops here. It's too late. * irix5-nat.c (solib_add): Update the to_sections and to_sections_end fields in core_ops here if needed. * osfsolib.c (solib_add): Likewise. * rs6000-nat.c (xcoff_reload_core): Likewise. * solib.c (solib_add): Likewise. * somsolib.c (solib_add): Likewise.