aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-02-07 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),Jim Kingdon1-5/+5
gdb.t03/ptype.exp (ptype structure, ptype union): Remove xfails; the test is looser than when the xfails were added.
1994-02-07 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,Jim Kingdon2-15/+20
since "run" automatically loads if necessary. Call gdb_target_udi after the "file" since "file" kills any execution target.
1994-02-07 * target.c (target_preopen): If target_kill doesn't remove theJim Kingdon2-6/+3
target from the stack, use pop_target to do it.
1994-02-07 * gdb.t02/whatis.exp: Remove xfails for PRs 1838 and 2417; theyJim Kingdon1-0/+10
are fixed. * gdb.t02/whatis.exp: Remove xfails for v_char_array and v_signed_char_array; the test is looser than when the xfails were added. * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI. * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
1994-02-07 * coffread.c (process_coff_symbol, case C_TPDEF): Don't set nameJim Kingdon1-0/+4
of TYPE_CODE_PTR or TYPE_CODE_FUNC types. This parallels similar changes to stabsread.c from summer 1993.
1994-02-07* gdb.t01/run.exp: Only run shell test if isnative.Jim Kingdon1-0/+2
1994-02-07 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,Jim Kingdon2-26/+7
since "run" automatically loads if necessary.
1994-02-06 * config/udi-gdb.exp (gdb_start): Don't send "set args main" toJim Kingdon2-4/+6
GDB. GDB doesn't work that way (not anymore at least) on UDI. * gdb.t01/run.exp: Don't pass extra first argument for UDI.
1994-02-06 * remote-udi.c (udi_files_info): If prog_name is NULL, just skipJim Kingdon2-12/+38
printing the program, rather than passing NULL to printf. (udi_detach): Set udi_session_id to -1 so that udi_close doesn't try to call UDIDisconnect again. Print better message. (udi_kill): Just call UDIDisconnect ourselves, rather than doing it via udi_close. (udi_open): Unpush UDI target after target_preopen, now that udi_kill doesn't pop the target. (udi_create_inferior): If udi_session_id is negative, open a new TIP rather than giving an error.
1994-02-06 * config/mips/mipsm3.mh, config/i386/i386m3.mh,Jim Kingdon8-26/+33
config/ns32k/ns32km3.mh: Define NAT_FILE. * config/nm-m3.h: Change guard from _OS_MACH3_H_ and _OS_MACH3_H (it was inconsistent and namespace-wrong) to NM_M3_H. * m3-nat.c (mach_really_wait): Change parameter name to ourstatus. (m3_open): New function. (m3_ops): Use it. * TODO: Update Mach section. * Makefile.in: Remove "rapp" stuff; it is superseded by gdbserver.
1994-02-06 * printcmd.c (printf_command): Add missing single-letterPer Bothner1-0/+5
backslash-escape sequences, and improve error message.
1994-02-06 * corelow.c (solib_add_stub, core_open): Pass address of from_ttyJim Kingdon2-5/+10
rather than trying to shove an int into a pointer and back out again. This avoids compiler warnings.
1994-02-06 * defs.h (alloca): Declare as void *, not char *, on hpux.Jim Kingdon2-22/+38
Don't prototype it, just declare the return type.
1994-02-06 * config/i386/tm-sun386.h, config/i386/tm-symmetry.hPeter Schauer3-2/+7
(REGISTER_CONVERT_TO_RAW): Add missing backslash.
1994-02-05 * remote-mips.c (mips_fetch_registers): If regno is FP_REGNUM orJim Kingdon2-4/+15
ZERO_REGNUM, just read it as zero without talking to the board.
1994-02-05 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.Jim Kingdon1-0/+6
* gdb.t17/callfuncs.exp: Add xfails for rs6000.
1994-02-05 * config/i386/tm-i386aix.h (REGISTER_CONVERT_TO_RAW): Add missingJim Kingdon2-5/+7
backslash. * i386-tdep.c (i386_extract_return_value): Pass TYPE_LENGTH (type) to store_floating, not nonexistent variable len.
1994-02-05 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):Jim Kingdon4-27/+91
New functions. (mips_store_word): Change calling convention to return errors, and to provide old contents if the caller wants it. (mips_xfer_memory): Deal with errors from mips_store_word. * config/mips/tm-idt.h, config/mips/tm-idtl.h: Remove BREAKPOINT define now that remote-mips.c doesn't use BREAKPOINT.
1994-02-05 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.Jeff Law1-0/+5
(comib_nullified_tests): Fix typo. * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect strings. No longer expected to fail.
1994-02-05 * remote-e7000.c: Replace "snoop" command (e7000_noecho) withJim Kingdon1-1/+4
remote_debug.
1994-02-05 * gdb.disasm/hppa.s (addib_tests): Fix typo.Jeff Law3-72/+1699
* gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect strings. No longer expected to fail.
1994-02-05 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,Jim Kingdon1-0/+8
properly quoting regexps. This makes the second argument to demangle a fixed string, which matches the callers, instead of a shell-style pattern which is what the previous implementation used. Update some of the callers.
1994-02-05 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect string.Jeff Law2-7/+9
No longer expected to fail.
1994-02-05 * config/rs6000/tm-rs6000.h (STORE_STRUCT_RETURN): Don't castJim Kingdon1-0/+5
to unsigned int.
1994-02-05 * value.h (print_longest): Rename "value" to "val" in prototypePeter Schauer1-0/+8
declaration because some compilers don't like arguments whose names are the same as types. * remote.c (remote_xfer_memory): Cast "myaddr" to unsigned char * before passing it to remote_*_bytes.
1994-02-05 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.Jeff Law2-33/+35
No longer expected to fail.
1994-02-05 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expectJeff Law2-20/+135
string. No longer expected to fail.
1994-02-05REGISTER_TYPE is obsolete.Steve Chamberlain1-1/+0
1994-02-05(hms_fetch_register): Take out REGISTER_TYPE.Steve Chamberlain2-3/+8
1994-02-05Fix REGISTER_TYPE and order of register names.Steve Chamberlain1-5/+11
1994-02-05Fix REGISTER_TYPE.Steve Chamberlain1-5/+6
1994-02-05Get REGISTER_TYPE right.Steve Chamberlain2-9/+14
1994-02-05Fri Feb 4 15:53:18 1994 Steve Chamberlain (sac@cygnus.com)Steve Chamberlain5-129/+503
* h8500-tdep.c (saved_pc_after_call): The size of the pc is memory model dependent. (segmented_command, unsegmented_command, _initialize_h8500_tdep): New commands to change memory model. * remote-7000.c (initialize_remote_e7000): Change name of snoop command. * remote-hms.c (hms_load): Remove breakpoints when loaded. (hms_wait): Use new status structure (hms_open): Push the target here. (hms_before_main_loop): Not here. (supply_val, hms_fetch_register, hms_store_register): Cope with H8/500 names too. * sh-tdep.c (show_regs, initialize_sh_tdep): New command to print all registers in a compact way.
1994-02-04 * gdb.t24/demangle.exp: Remove a bunch more tests which differJim Kingdon1-0/+8
only in the names (I probably got most of them). I was even generous with some which differed in underscores in names, and probably missed a few, and I *still* was able to remove almost a third of the file with almost no impact on testsuite coverage.
1994-02-04 * config/rs6000/tm-rs6000.h: Declare rs6000_struct_return_addressJim Kingdon2-38/+53
as CORE_ADDR to match definition in rs6000-tdep.c.
1994-02-04 * gdb.texinfo (Continuing and Stepping): When talking about "step"Jim Kingdon2-1/+15
versus functions without line numbers, also mention stepping into them as well as "step" when you are in them. Tell the user how to deal with the situation. Add comment about "debugging information".
1994-02-04 * dwarfread.c (process_dies): Skip nested TAG_compile_unit DIEs.Peter Schauer2-2/+17
* dwarfread.c (add_partial_symbol): Do not enter opaque aggregate definitions into the psymtab.
1994-02-04 * gdb.t00/default.exp: Match udi_attach error message as well asJim Kingdon1-0/+10
the one from child_attach. * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
1994-02-04* remote-udi.c (udi_attach): If no arguments, print error.Jim Kingdon2-0/+10
1994-02-04 * Makefile.in (VERSION): Bump to 4.12.1Fred Fish3-8/+34
* NEWS, README: Update to match 4.12 release.
1994-02-03 * command.c (empty_sfunc): New function.Jim Kingdon1-3/+13
(add_set_cmd): Use it instead of not_just_help_class_command. (not_just_help_class_command): Change calling convention back to what it was before yesterday's change.
1994-02-03 * stabsread.c (read_sun_builtin_type): Skip the semicolon at the endJim Kingdon2-0/+13
of the type if present.
1994-02-03 * Move test with enums and partial symbols back toJim Kingdon3-26/+21
gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}. Reverts the change of 26 May 93. Per today's change to stabs.texinfo, the behavior that weird.exp was expecting was unreasonable; what is important is that the compiler+gdb get things right, which happens with a recent gcc. Also fix the test to deal with native compilers which put out the stab gdb can't deal with.
1994-02-03 * stabs.texinfo (Enumerations): Document restriction on whereJim Kingdon2-0/+17
enumeration types can appear and still win with GDB.
1994-02-03 * valarith.c (value_binop): Figure out type ourself based onJim Kingdon1-4/+3
sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The point is that we don't depend on CC_HAS_LONG_LONG anymore.
1994-02-03 * language.h, c-lang.c, ch-lang.c, m2-lang.c, language.c: RemoveJim Kingdon2-8/+2
longest_int and longest_unsigned_int.
1994-02-03 * printcmd.c (decode_format): Don't blithely set the size forJim Kingdon8-60/+148
an address to 'w'. Make it 'g' or 'h', depending on TARGET_PTR_BIT. * defs.h: Just typedef CORE_ADDR to bfd_vma. Include bfd.h. If BFD64, make a LONGEST a BFD_HOST_64_BIT. * defs.h (longest_to_int): Don't depend on CC_HAS_LONG_LONG; instead always just check against INT_MIN and INT_MAX (this also fixes things if sizeof (long) > sizeof (int), e.g. Alpha). * config/pa/tm-hppa.h, config/i386/sun386.h, config/rs6000/tm-rs6000.h: Don't define LONGEST or BUILTIN_TYPE_LONGEST. * gdbtypes.h: Remove BUILTIN_TYPE_LONGEST and BUILTIN_TYPE_UNSIGNED_LONGEST. * language.h, c-lang.c, ch-lang.c, m2-lang.c: Remove longest_int and longest_unsigned_int. * value.h (struct value): Just align to LONGEST, rather than worrying about CC_HAS_LONG_LONG. * valarith.c (value_binop, _initialize_valarith): Figure out type ourself based on sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The point is that we don't depend on CC_HAS_LONG_LONG anymore. * valprint.c (val_print_type_code_int): Just call extract_unsigned_integer directly, rather than going through unpack_long. * printcmd.c (decode_format): Remove code which would sometimes change 'g' size to 'w' for integers. print_scalar_formatted handles printing huge integers well enough, thank you.
1994-02-02 * command.c (add_set_cmd, no_just_help_class_command): ChangeJim Kingdon3-23/+20
to make this the sfunc, not cfunc, since that is how we call it. * command.h: Comment difference between sfunc and cfunc. * demangle.c (set_demangling_command): Add third arg since that is how it is called. (_initialize_demangler): Use sfunc, not cfunc, for set_demangling_command, since that is how it is called. Remove show_demangling_command; it has no effect.
1994-02-02 * command.c (shell_escape): Report errors correctly (with errorJim Kingdon2-2/+9
message from strerror).
1994-02-02 * xcoffread.c (read_xcoff_symtab): Change CSECT_LEN to useIan Lance Taylor2-1/+7
x_scnlen.l rather than x_scnlen to match corresponding change in coff/internal.h.