aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1993-04-30 * alldeps.mak, depend: Update with latest automatically builtFred Fish3-434/+473
versions.
1993-04-30 * Makefile.in (GDBFLAGS): Set to -nx.Fred Fish1-0/+5
* Makefile.in (site.exp): Use GDBFLAGS.
1993-04-30 * Makefile.in (SFILES): Add ser-unix.c and ser-go32.c.Fred Fish2-1/+3
1993-04-30 * Makefile.in (make-proto-testsuite.dir): New target to makeFred Fish2-4/+21
prototype testsuite tree. * Makefile.in (TAGS): Remove use of DEPFILES, it may be empty. In any case, it is a subset of the ALLDEPFILES list, which is part of SOURCES, which is part of TAGFILES, so it's redundant.
1993-04-29Bump version to 4.8.4 for gdb 4.9 prerelease testing.Fred Fish2-5/+8
1993-04-29 * stabs.texinfo: Many changes to include information from theJim Kingdon2-90/+257
AIX documentation.
1993-04-29 * stabsread.c (define_symbol): If unrecognized constant type,Jim Kingdon2-1/+17
complain() not error().
1993-04-29 * gdb.texinfo (Environment): Mention pitfall with .cshrc.Jim Kingdon2-0/+11
1993-04-29 * infptrace.c: Add missing close paren to test forFred Fish1-0/+3
FIVE_ARG_PTRACE defined.
1993-04-29 * defs.h (CC_HAS_LONG_LONG): Set up to define CC_HAS_LONG_LONGFred Fish9-112/+308
when compiling with gcc, but disable it for now. See comment. * defs.h (LONGEST): Define as either "long" or "long long" based on CC_HAS_LONG_LONG. * defs.h (longest_to_int): Use CC_HAS_LONG_LONG to control how longest_to_int is defined. * c-valprint.c (c_val_print): Call print_longest. * expprint.c (dump_expression): Use PRINTF_HAS_LONG_LONG instead of LONG_LONG. * {printcmd.c, gdbtypes.h} (LONG_LONG): Replace usages with CC_HAS_LONG_LONG. * printcmd.c (print_scalar_formatted): Call print_longest and let it figure out what to do for PRINTF_HAS_LONG_LONG. * typeprint.c (print_type_scalar): Call print_longest and let it figure out what to do for PRINTF_HAS_LONG_LONG. * valprint.c (val_print_type_code_int): Call print_longest and let it figure out what to do for PRINTF_HAS_LONG_LONG. * stabsread.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG. * value.h (struct value): Replace usage of LONG_LONG with CC_HAS_LONG_LONG. * value.h (print_longest): Add prototype. * values.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG. * values.c (unpack_double): Collapse code that was unnecessarily dependent on CC_HAS_LONG_LONG. Use LONGEST instead of direct types. * values.c (value_from_longest): Remove dependency on CC_HAS_LONG_LONG and just use LONGEST. * solib.c (solib_map_sections): Use bfd_get_filename to access filename field. * solib.c (clear_solib): Save filename and free it later, after bfd_close, since bfd_close may reference it. Use bfd_get_filename to access the field. * config/convex/xm-convex.h (LONG_LONG): Replace with CC_HAS_LONG_LONG. Add define for PRINTF_HAS_LONG_LONG. * doc/gdbint.texinfo (LONG_LONG): Replace with CC_HAS_LONG_LONG. Add PRINTF_HAS_LONG_LONG references.
1993-04-28 * inflow.c (kill_command), infcmd.c (attach_command),Jim Kingdon1-0/+4
remote.c (remote_interrupt_twice): In messages for the user, call it "the program" or "the program being debugged" not "the inferior".
1993-04-28add just-check target so that tests can be run without a noop buildK. Richard Pixley2-6/+6
pass.
1993-04-28 * hp300ux-nat.c: Cast second arg to supply_register calls.Jim Kingdon6-38/+76
(_initialize_kernel_u_addr, getpagesize): New functions. (store_inferior_register_1): Change arg name from value to val. (fetch_core_registers): Make arg core_reg_size unsigned. Pass 5 args to ptrace. * config/m68k/xm-hp300hpux.h: Define FIVE_ARG_PTRACE. Remove KERNEL_U_ADDR stuff. * infptrace.c [FIVE_ARG_PTRACE]: Pass 5th arg to ptrace. * config/m68k/hp300hpux.m{t,h}: Move exec.o from NATDEPFILES to TDEPFILES * config/m68k/hp300hpux.mt: Mention GAS requirement. Remove hp-include stuff. Add m68k-tdep.o to TDEPFILES.
1993-04-28 * ch-exp.y (yylex): Don't STREQ with simplename if it is NULL.Peter Schauer2-21/+25
1993-04-28Add CFALGS = -g to all subdir Makefile.in's.K. Richard Pixley1-0/+13
1993-04-28 * config/sparc/xm-sun4os4.h [__STDC__]: Don't use MALLOC_INCOMPATIBLE.Jim Kingdon2-0/+8
1993-04-28changesRoland Pesch1-0/+6
1993-04-28Changes thanks to Jim Kingdon's vigilance:Roland Pesch1-18/+18
* doc/gdb.texinfo: make node "Shell Commands" unconditional; describe `set demangle-style arm' (not cfront); mention can type `q' to discard output, when gdb pages
1993-04-28 * valops.c (search_struct_field): Fix gdb core dump with incompletePeter Schauer1-0/+5
stabs info.
1993-04-28 * remote.c: Change timeout to 2.Jim Kingdon2-169/+104
(remote_open): Use unpush_target not remote_close. (remote_resume): If siggnal != 0, give warning not error(). (remote_wait, remote_interrupt, remote_interrupt_twice): If we get two interrupts, let the user get out if they want. (remote_{kill,mourn}): New functions. i386-stub.c (handle_exception, case 'k'): Don't BREAKPOINT.
1993-04-28 * config/sparc/sun4sol2.mh (XM_CLIBS): Define to be -lnsl.Ian Lance Taylor2-0/+5
1993-04-28 * Remote targets (mourn): Call unpush_target.Jim Kingdon7-0/+8
1993-04-28 * config/sparc/xm-sun4os4.h: Declare free() to return int.Jim Kingdon2-3/+8
Remove twisted use of PARAMS.
1993-04-28 * config/rs6000/xm-rs6000.h: Don't define MALLOC_INCOMPATIBLE nowJim Kingdon2-7/+5
that ansidecl.h assumes ANSI on AIX.
1993-04-27 * gdbint.texinfo (new node Debugging GDB, elsewhere):Jim Kingdon2-16/+198
Move a bunch of information from ../README. (Getting Started): New node.
1993-04-27 * README: Move most stuff about hacking GDB to doc/gdbint.texinfo.Jim Kingdon1-0/+5
(Known bugs): Remove AIX bugs, revise SPARC struct bug description.
1993-04-27 * expprint.c (print_subexp): Fix bug with OP_SCOPE operator output.Peter Schauer2-7/+72
1993-04-27 * remote-vx.c (net_connect): Allow numeric IP address for host.Jim Kingdon2-5/+17
1993-04-27Support for Hitachi SHSteve Chamberlain8-0/+521
1993-04-26 * rs6000-tdep.c (branch_dest): Deal with stepping through system call.Jim Kingdon2-2/+15
1993-04-26 * symtab.h, xcoffread.c: Revise linetable sorting comments.Jim Kingdon1-94/+50
1993-04-25 * valops.c (value_cast): A cast might also change the objectPeter Schauer1-0/+10
representation in C++. * dbxread.c (end_psymtab): Copy subpst read_symtab function from pst to get the proper read_symtab function when called from mipsread.c. * mipsread.c (mipscoff_psymtab_to_symtab, psymtab_to_symtab_1): Set cur_bfd in psymtab_to_symtab_1 as CURBFD(pst) is invalid for dummy psymtabs, inhibit processing of dummy psymtabs.
1993-04-25 * Changes from (or inspired by) AMD:Jim Kingdon3-13/+20
* remote-udi.c (udi_attach): Assignments to Space and Offset were switched, fix it. (udi_wait): Make error message (UDIGetStdout) match error. (udi_wait): Handle UDIStdinNeeded. * command.c [CANT_FORK]: Use system(). * utils.c (prompt_for_continue): Allow quit with 'q'.
1993-04-25 * solib.c (solib_add): Don't call special_symbol_handling if thereJim Kingdon1-0/+6
were errors in symbol_add_stub. Also set so->from_tty before calling symbol_add_stub.
1993-04-24switch from configuration from subdirs to configdirsK. Richard Pixley1-1/+1
1993-04-24gdbinv-s.texi, gdb.texinfo: include Hitachi SH targetRoland Pesch5-72/+109
gdb.texinfo: advance manual revision dates to present gdbinv-s.texi, gdb.texinfo, all-config.texi, h8-config.texi: stop using silly Roman numerals in @set variable names
1993-04-23 * Merge in HPPA/BSD patches from Utah:Stu Grossman10-2618/+963
* defs.h: Add const to 2nd arg of psignal prototype. * hppah-tdep.c: Renamed to hppa-tdep.c 'cuz it's common code with BSD now. * hppab-core.c: Deleted. No longer useful. * hppab-nat.c: #include more files. Use PT_WUREGS, not PT_WRITE_U. * hppab-tdep.c: Deleted. Supplanted by hppa-tdep.c. * config/pa/hppabsd.mh (NATDEPFILES): Remove hppab-core.o. * config/pa/hppabsd.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o * config/pa/hppahpux.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o * config/pa/xm-hppab.h: #define SET_STACK_LIMIT_HUGE.
1993-04-23 * Fix two bugs found by deja-gnu. One is the incorrect reportingStu Grossman3-12/+98
of the PC being in a stack dummy when looking at a core file without symbols. The other is the incorrect passing of char arguments during expression evaluation (ie: p foo('a','b') would mess up the passing of it's args because it wasn't coercing the char's to ints). * hppah-tdep.c: Rename global functions to have consistent hppa_ prefix. Make more functions static. Drop hp_ prefix from static functions. (hppa_push_arguments): Call value_arg_coerce to cast char to int args if necessary. (hppa_fix_call_dummy): Create this routine from FIX_CALL_DUMMY macro in tm-hppa.h. * inferior.h (PC_IN_CALL_DUMMY): Check for frame_address being valid (ie: != 0) before doing comparison against PC. * valops.c (call_function_by_hand): Adjust call to FIX_CALL_DUMMY to reflect new arguments. * config/pa/tm-hppa.h (POP_FRAME, PUSH_ARGUMENTS): Use new hppa_ prefix for func name. (FIX_CALL_DUMMY): Move code into hppah-tdep.c. * testsuite/gdb.t16/gdbme.c, testsuite/gdb.t17/gdbme.c: Add calls to malloc() so that we can test GDB eval of dynamically created arrays (like char strings in `print "foo"').
1993-04-23more on ParametersJim Kingdon1-0/+11
1993-04-23Doc fixes to previous doc fixes.Jim Kingdon1-2/+2
1993-04-23* stabs.texinfo (Parameters): Keep trying to get this right.Jim Kingdon1-13/+32
1993-04-23* stabs.texinfo (Parameters): Keep trying to get this right.Jim Kingdon2-27/+26
1993-04-23 * printcmd.c (print_address_symbolic): Search symtabs as well as thePeter Schauer2-10/+34
minimal symbols for a nearby symbol.
1993-04-23Comment changes around minimal symbol recording.John Gilmore1-1/+5
1993-04-22document FRAME_SAVED_PC and FRAME_CHAIN.K. Richard Pixley1-0/+4
1993-04-22comment changes onlyK. Richard Pixley2-2/+8
1993-04-22 * mips-tdep.c (heuristic_fence_post): new static variable.K. Richard Pixley2-6/+42
(heuristic_proc_start): use heuristic_fence_post, print better warnings, but only if not stop_soon_quietly. (_initialize_mips_tdep): add_set_cmd for heuristic-fence-post.
1993-04-22Thu Apr 22 14:50:05 1993 Jim Kingdon (kingdon@cygnus.com)Jim Kingdon6-18/+86
* symtab.h: Fix LOC_REF_ARG comment. Wed Apr 22 20:21:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) and Jim Kingdon (kingdon@cygnus.com) * stabsread.c (define_symbol): Combine a 'p', 'r' arg pair to a LOC_REGPARM symbol. * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Revise comments. symfile.c (compare_symbols): Don't check first character; STRCMP does that. * stabsread.c (define_symbol): Generate a LOC_REGPARM_ADDR for structures that are passed by address in a register. * symtab.h (enum address_class): Add LOC_REGPARM_ADDR. * findvar.c (read_var_value), printcmd.c (address_info, print_frame_args), stack.c (print_frame_arg_vars), symmisc.c (print_{,partial_}symbol), * symtab.c (lookup_block_symbol): Deal with it.
1993-04-22 * objfiles.h (obj_section), objfiles.c (build_objfile_section_table):Jim Kingdon7-25/+110
Add objfile field. * objfiles.c (find_pc_section): Return a struct obj_section *. * sparc-tdep.c (in_solib_trampoline): Deal with find_pc_section return. * symfile.c (syms_from_objfile) [IBM6000_TARGET]: Don't use obj_section hack. * xcoffexec (vmap_symtab): Relocate obj_sections. * printcmd.c (containing_function_bounds): Use find_pc_section.
1993-04-22Save the README file for gdb snapshots here for now. Make note inFred Fish2-0/+160
the .Sanitize file that snapshots.readme is explicitly not kept by default.