aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-04-08 * infrun.c (IN_SOLIB_TRAMPOLINE): Correct comment, trampolinesPeter Schauer14-226/+773
are in the .plt section. * minsyms.c (lookup_solib_trampoline_symbol_by_pc, find_solib_trampoline_target): New functions for handling stepping into -g compiled shared libraries. * symtab.h (lookup_solib_trampoline_symbol_by_pc, find_solib_trampoline_target): Add prototypes. * config/tm-sunos.h (IN_SOLIB_TRAMPOLINE, SKIP_TRAMPOLINE_CODE): Define to handle stepping into -g compiled shared libraries. * config/tm-sysv4.h (SKIP_TRAMPOLINE_CODE): Define to handle stepping into -g compiled shared libraries. * configure.in: Add mips-*-sysv4* support. * config/mips/mipsv4.mh, config/mips/mipsv4.mt, config/mips/tm-mipsv4.h, config/mips/xm-mipsv4.h, mipsv4-nat.c: New files for MIPS SVR4 support. * Makefile.in: Update for new mipsv4 files. * alpha-tdep.c (heuristic_proc_desc, find_proc_desc): Use read_next_frame_reg to obtain the frame relative stack pointer. * mips-tdep.c (heuristic_proc_desc): Use read_next_frame_reg to obtain the frame relative stack pointer. * mdebugread.c (parse_partial_symbols, psymtab_to_symtab1): Handle stStatic and stStaticProc symbols in stabs-in-ecoff output by entering them into the minimal symbol table. * printcmd.c (print_scalar_formatted): Do not try to unpack to a long for float formats. * solib.c: Include "elf/mips.h" only if DT_MIPS_RLD_MAP does not get defined in <link.h>. * solib.c (solib_add): Add shared library sections to the section table of the target before adding the symbols. * partial-stab.h: Relocate static and global functions. * dbxread.c (read_dbx_symtab): Remove unused variable end_of_text_address. Relocate text_addr when passing it to end_psymtab. For Alpha OSF/1 targets, enable gdb to set breakpoints in shared library functions before the executable is run. Retrieve dynamic symbols from stripped executables. * mipsread.c (read_alphacoff_dynamic_symtab): New function. * mipsread.c (mipscoff_symfile_read): Use it. Issue warning message if no debugging symbols were found. * alpha-tdep.c (alpha_skip_prologue): Silently return the unaltered pc if memory at the pc is not accessible and GDB_TARGET_HAS_SHARED_LIBS is defined. * config/alpha/nm-alpha.h (GDB_TARGET_HAS_SHARED_LIBS): Define, OSF/1 has shared libraries.
1994-04-07 * dbxread.c (read_dbx_dynamic_symtab): Adjust for recent changesIan Lance Taylor2-109/+79
to BFD handling of dynamic symbols.
1994-04-06 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halvesJeff Law1-0/+5
to avoid expect lossage. (fmem_LRbug_tests): Likewise. * gdb.disasm/hppa.s: Corresponding changes.
1994-04-06 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-lineJeff Law2-598/+634
conditions to work with latest dejagnu/expect.
1994-04-06Fix typo in last change.Jeff Law1-2/+2
1994-04-06 * hppa-tdep.c (hppa_fix_call_dummy): If FUN is a procedure label,Jeff Law3-3/+22
then gets its real address into FUN and its GOT/DP value into %r19. * tm-hppa.h (CALL_DUMMY): Use %r20, not %r19 as a temporary.
1994-04-06 * gdb.t15/funcargs.exp (finish from indirect call): No longerJeff Law1-0/+5
expected to fail on the PA. (backtrace in call with trampolines): Explicitly require main to be frame #1 (no trampolines should show up in backtrace).
1994-04-06 * hppa-tdep.c (frameless_function_invocation): If no unwindJeff Law2-8/+24
descriptor was found, then assume this was not a frameless function invocation. (frame_saved_pc): If the saved PC is in a linker stub, then return the return address which the linker stub will return to.
1994-04-05 * xm-hppab.h: Never define USG.Jeff Law3-6/+5
* xm-hppah.h: Always define USG.
1994-04-05 * gdb.t00/default.exp: Use "exp_continue" rather than obsoleteJeff Law1-0/+9
"continue -expect". * gdb.t06/break.exp: Likewise. * gdb.t07/watchpoint.exp: Likewise. * gdb.t13/bitfields.exp: Likewise. * gdb.t15/{funcargs,return}.exp: Likewise. * gdb.stabs/weird.exp: Likewise. * config/{mips,udi}-gdb.exp: Likewise.
1994-04-05 * gdb.t00/default.exp: Use "exp_continue" rather than obsoleteJeff Law2-3/+3
"continue -expect". * gdb.t06/break.exp: Likewise. * gdb.t07/watchpoint.exp: Likewise. * gdb.t13/bitfields.exp: Likewise. * gdb.t15/{funcargs,return}.exp: Likewise. * gdb.stabs/weird.exp: Likewise. * config/{mips,udi}-gdb.exp: Likewise.
1994-04-05 * hppa.sed: Enclose comments within a sed command to avoidJeff Law1-0/+5
losing with the old OSF1 sed.
1994-04-05 * values.c (unpack_long, value_from_longest),Per Bothner2-0/+7
valarith.c (value_binop): Allow TYPE_CODE_RANGE.
1994-04-02* symfile.c (deduce_language_from_filename): .cpp is a C++ extension.Jim Kingdon2-5/+10
1994-04-01 * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): Removed,Peter Schauer1-3/+0
the new generic definition from tm-sysv4.h works for Solaris.
1994-04-01 * config/tm-sysv4.h (IN_SOLIB_TRAMPOLINE): Use new in_plt_section.Peter Schauer1-9/+3
1994-04-01 For SVR4 targets, enable gdb to set breakpoints in sharedPeter Schauer3-1/+56
library functions before the executable is run. * elfread.c (elf_symtab_read): Handle symbols for shared library functions. * sparc-tdep.c (in_solib_trampoline): Renamed to in_plt_section and moved to objfiles.c. * objfiles.c (in_plt_section): Moved to here from sparc-tdep. * config/tm-sysv4.h (IN_SOLIB_TRAMPOLINE): Use new in_plt_section. * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): Removed, the new generic definition from tm-sysv4.h works for Solaris.
1994-03-30 * xcoffread.c (xcoff_next_symbol_text): New function.Jim Kingdon1-3/+3
(read_xcoff_symtab): Set next_symbol_text_func to it. Move raw_symbol outside of read_xcoff_symtab.
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