aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-03-30 * elfread.c (elf_symtab_read): Change storage_needed,Ian Lance Taylor3-9/+29
number_of_symbols and i to long. Rename get_symtab_upper_bound to bfd_get_symtab_upper_bound. Check for errors from bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. * nlmread.c (nlm_symtab_read): Same changes.
1994-03-30 * xcoffread.c (xcoff_next_symbol_text): New function.Jim Kingdon2-13/+30
(read_xcoff_symtab): Set next_symbol_text_func to it. Move raw_symbol outside of read_xcoff_symtab.
1994-03-30* remote.c (getpkt): Remove unused "out" label.Jim Kingdon2-1/+4
1994-03-30 * breakpoint.c (print_it_normal): Allow GDB to notify the userJeff Law2-5/+9
about more than one watchpoint being triggered.
1994-03-30* config/m68k/tm-dpx2.h: Include tm-m68k.h not nonexistent tm-68k.h.Jim Kingdon2-1/+5
1994-03-30 * blockframe.c (find_pc_partial_function): mst_file_textPeter Schauer2-4/+32
symbols do not live in the shared library transfer table.
1994-03-30 * config/i386/tm-symmetry.h: Clean up, it is now only used for Dynix.Peter Schauer2-297/+76
Remove all conditionals and definitions for ptx. I386_REGNO_TO_SYMMETRY moved to here from symm-tdep.c. Fix addresses of floating point registers in REGISTER_U_ADDR. STORE_STRUCT_RETURN now handles cc and gcc conventions. FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET defined to make backtracing through signal trampoline code work. * config/i386/xm-symmetry.h: Clean up, it is now only used for Dynix. Remove all conditionals and definitions for ptx. Remove KDB definitions.
1994-03-30 * ch-exp.y (decode_integer_value, match_character_literal,Peter Schauer6-50/+144
match_bitstring_literal): Guard tolower calls with isupper, tolower on old BSD systems blindly subtracts a constant. * dbxread.c (read_ofile_symtab): Check for __gnu_compiled_* as well when determining the producer of the object file. * mdebugread.c (has_opaque_xref): New function to check for cross reference to an opaque aggregate. * mdebugread.c (parse_symbol, parse_partial_symbols): Do not enter typedefs to opaque aggregates into the symbol tables. * mdebugread.c (parse_external): Remove skip_procedures argument, it has always been 1. Remove code that handled stProc symbols, it was never executed and was wrong, as the index of a stProc symbol points to the local symbol table and not to the auxiliary symbol info. Update caller. * mdebugread.c (parse_partial_symbols): Do not enter external stProc symbols into the partial symbol table, they are already entered into the minimal symbol table. * config/i386/tm-symmetry.h: Clean up, it is now only used for Dynix. Remove all conditionals and definitions for ptx. I386_REGNO_TO_SYMMETRY moved to here from symm-tdep.c. Fix addresses of floating point registers in REGISTER_U_ADDR. STORE_STRUCT_RETURN now handles cc and gcc conventions. FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET defined to make backtracing through signal trampoline code work. * config/i386/xm-symmetry.h: Clean up, it is now only used for Dynix. Remove all conditionals and definitions for ptx. Remove KDB definitions. * symm-nat.c (store_inferior_registers): Fetch registers before storing them to obtain valid floating point control registers. Store fpu registers. * symm-nat.c (print_1167_control_word): Dynix 3.1.1 defines FPA_PCR_CC_C0 and FPA_PCR_CC_C1, avoid duplicate case value. * symm-nat.c (fetch_inferior_registers, child_xfer_memory): Fix typos. * symm-nat.c (child_resume): Update type of `signal' parameter. * symm-tdep.c (I386_REGNO_TO_SYMMETRY): Moved to tm-symmetry.h.
1994-03-30 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs forPeter Schauer1-0/+12
sequent dynix. * gdb.t06/signals.exp: Add clear_xfail for sequent dynix. * gdb.t15/funcargs.exp: Conditionally step again to really finish from marker_call_with_trampolines. Handle the case where the first step from within call_with_trampolines already steps us back to main. * gdb.t15/gdbme.c: Add comment to closing brace of call_with_trampolines for funcargs.exp.
1994-03-30 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):Jeff Law1-0/+5
Fix typo(s).
1994-03-30 * hppa-tdep.c (hppa_fix_call_dummy): Use an alternate method forJeff Law2-0/+35
calling import stubs for functions in shared libraries.
1994-03-30 * ch-exp.y: Implement SIZE(mode_name) and SIZE(expression).Per Bothner2-9/+10
1994-03-30 * ch-lang.c (chill_is_varying_struct): Magic string isPer Bothner2-1/+6
was "<var_length>" is now "__var_length" (more portable).
1994-03-30 * remote.c (getpkt): If we get a timeout, actually retry ratherJim Kingdon2-7/+16
than just giving up the first time it happens. * remote.c: Document sequence numbers. (remote_store_registers): Change syntax of 'P' request so that it never looks like a sequence number.
1994-03-30Modified Files:Kung Hsu3-16/+72
ChangeLog os9kread.c remote-os9k.c * os9kread.c (record_minmal_symbol): add section_offset to relocate minimal symbol table. * os9kread.c (read_minimal_symbols): ditto. * os9kread.c (os9k_symfile_init): increase size of dbg and stb file names. * os9kread.c (read_os9k_psymtab): if there's no dbg file, just return. Also if file addr is 0 leave it 0, not to relocate. * remote-os9k.c (_initialize_remote_os9k): add 'set remotexon', 'set remotexoff' and 'set remotelog' commands.
1994-03-29 * remote.c (remote_store_registers): Add 'P' request to set anJim Kingdon2-20/+71
individual register. (remote_write_bytes, remote_read_bytes): Use %lx, not %x, to print a target address.
1994-03-29Put back include to tm-hppa.h mistakenly taken out during a recent checkin.Jeff Law1-4/+46
1994-03-29Fix node structure around new Hitachi nodes so general-purposeRoland Pesch1-4/+4
vn of manual builds OK, too.
1994-03-28 * gdb.t07/gdbme.c: More code for watchpoint testing.Jeff Law1-0/+9
* gdb.t07/watchpoint.exp: Accept both "Watchpoint" and "Hardware watchpoint" throughout file. (test_watchpoint_triggered_in_syscall): New test. (test_complex_watchpoint): New test.
1994-03-26 * config/sparc/tm-sparc.h: Define USE_REGISTER_NOT_ARG.Jim Kingdon3-4/+20
* stabsread (define_symbol): If USE_REGISTER_NOT_ARG, go back to combining all 'p' and 'r' pairs into a LOC_REGPARM.
1994-03-26 * command.c (do_setshow_command, case var_string): Never add aJim Kingdon4-1/+22
space to the end of the string. * NEWS: Document this change. * .gdbinit: Add a space to the "set prompt" command.
1994-03-26 * buildsym.c (start_subfile, patch_subfile_names), demangle.cJim Kingdon2-6/+9
(set_demangling_style, set_demangling_command): Use savestring not strdup. We were not dealing properly with a NULL return from strdup, and were not declaring strdup (the system header may or may not have it).
1994-03-26 * m3-nat.c, i386m3-nat.c, config/i386/i386m3.mh: Many minorJim Kingdon4-40/+93
changes to make it compile (it doesn't link yet).
1994-03-26Updates for Hitachi targets.Roland Pesch1-7/+64
1994-03-26 * ptx4-nat.c, config/i386/{nm-ptx4.h, ptx4.mh, ptx.mt, ptx4.mt,Jim Kingdon1-0/+1
tm-ptx.h, tm-ptx4.h, xm-ptx.h, xm-ptx4.h}: New files.
1994-03-26 * valprint.c (val_print): Remove inaccurate comment about whatJim Kingdon1-3/+7
types can be stub types.
1994-03-26 * hppa-tdep.c (skip_prologue): Do nothing if not at the beginningJeff Law2-18/+135
of a function. (skip_trampoline_code): Rewrite and add support for argument relocation stubs stubs, import/export stubs, calls through "_sr4export" and cascaded trampolines.
1994-03-26 * gdbme.c (call_with_trampolines): New function to try and stepJeff Law1-0/+9
into. Tests trampoline problems on the PA. * funcargs.exp (localvars_in_indirect_call): No longer expect stepping into indirect call to fail on PAs. (test_stepping_over_trampolines): New test.
1994-03-26Forgot this in recent commit.Jeff Law1-36/+44
1994-03-26Stu apparantly forgot to update the .Sanitize file when he addedSean Eric Fagan1-0/+1
tm-alphanw.h.
1994-03-26 * config/i386/ptx.mh (XDEPFILES): Add coredep.o. Delete infptrace.o.Jim Kingdon14-8/+680
* symm-nat.c (child_wait, _initialize_symm_nat, kill_inferior): Supply alternate version if ATTACH_DETACH is not defined. * ptx4-nat.c, config/i386/{nm-ptx4.h, ptx4.mh, ptx.mt, ptx4.mt, tm-ptx.h, tm-ptx4.h, xm-ptx.h, xm-ptx4.h}: New files. * configure.in: Recognize i[34]86-sequent-sysv4* host.
1994-03-26new for ptxJim Kingdon2-0/+0
1994-03-26new for ptxJim Kingdon4-0/+0
1994-03-25new for ptx4Jim Kingdon1-0/+0
1994-03-25new for ptx4Jim Kingdon1-0/+0
1994-03-25new for ptx4Jim Kingdon1-0/+0
1994-03-25 * hppa-tdep.c (skip_prologue): Return "pc" not zeroJeff Law2-1/+4
if no unwind descriptor is found.
1994-03-25 * tm-hppa.h (NUM_REGS): Bump to 128 registers.Jeff Law2-13/+38
(REGISTER_NAMES): Add entries for "right-half" of FP registers. (REGISTER_RAW_SIZE, MAX_REGISTER_RAW_SIZE): Do not treat FP regs differently. All registers are four bytes. (REGISTER_BYTES, REGISTER_BYTE): Simplify now that all registers are the same size. (REGISTER_VIRTUAL_TYPE): Use builtin_type_float for all FP regs. * hppa-tdep.c (pa_print_fp_reg): Update to print even numbered FP registers as both single and double values (fetching 2nd 32bit half as necessary). Annotate each register printed with its precision.
1994-03-25 * paread.c (read_unwind_info): Fix off-by-one error.Jeff Law2-2/+6
1994-03-25* main.c (complete_command): Deal with it if arg is NULL.Jim Kingdon2-2/+14
1994-03-25 * config/mips/tm-mips.h (SETUP_ARBITRARY_FRAME): Revise commentJim Kingdon2-9/+16
regarding using the PC--using the PC is necessary and all the FIXME comments in the world won't make it go away.
1994-03-25Netware debugger stub NLM.Stu Grossman14-0/+4070
1994-03-24 * valops.c (value_at, value_at_lazy): Give error if we dereferenceJim Kingdon3-8/+22
a pointer to void. * gdbtypes.h: Fix comments regarding TYPE_CODE_VOID. * stabsread.c: Use 1, not 0, for TYPE_LENGTH of void types.
1994-03-24 * stabsread.c (patch_block_stabs): Add comment about what happensJim Kingdon2-10/+9
if the definition is in another compilation unit from the stab.
1994-03-24 * TODO: Add suggestions for static member function tests, andJim Kingdon1-0/+7
completion tests.
1994-03-24 * stabs.texinfo (Global Variables): Talk about stabs in filesJim Kingdon2-0/+10
where variables are referenced, but not defined.
1994-03-24 * stabsread.c (patch_block_stabs): Don't create LOC_OPTIMIZED_OUTJim Kingdon2-0/+13
symbols. Reverts change of 2 Apr 1993.
1994-03-24* dbxread.c (end_psymtab): Add comment about empty psymtabs.Jim Kingdon2-22/+204
1994-03-24 * main.c (complete_command): New command, from Rick SladkeyJim Kingdon3-6/+50
<jrs@world.std.com>. (symbol_completion_function): Don't declare rl_point and rl_line_buffer; they are now declared in readline.h. (show_commands): Don't declare history_base; it is declared in history.h. * command.c (lookup_cmd): Don't delete trailing whitespace.
1994-03-24 * minsyms.c (prim_record_minimal_symbol): Move section deductionStu Grossman1-21/+23
code from prim_record_minimal_symbol_and_info() to here. Callers of the latter can legitimately supply a section number of -1.