summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* merge with mainlinecvs/cagney-unwind-20030108-branchcagney-unwind-20030108-branchAndrew Cagney2003-01-234-45/+52
|
* Merge branch with mainline:Andrew Cagney2003-01-2021-437/+405
| | | | | POP_FRAME_P; frame-unwind.h.
* 2003-01-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-194-30/+44
| | | | | | | * d10v-frame.c: Use D10V_RET1_REGNUM. (saved_regs_unwinder): Don't use get_frame_saved_regs. * frame.c (get_prev_frame): Always initialize frame.frame. (get_frame_base): Return frame.frame.
* 2003-01-13 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-136-5/+51
| | | | | | | | | | | * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with predicate. * gdbarch.h, gdbarch.c: Regenerate. * stack.c (frame_info): Only initialize the saved registers when FRAME_INIT_SAVED_REGS_P. * frame.c (frame_saved_regs_register_unwind): Assert FRAME_INIT_SAVED_REGS_P. (deprecated_generic_get_saved_register): Ditto.
* 2003-01-13 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-1316-246/+1052
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * d10v-tdep.c: Include "d10v-tdep.h". Update to use D10V_ prefixed enums. (do_d10v_pop_frame): Delete. Use version in d10v-frame.c. * frame.c (frame_read_unsigned_register): Do not use get_next_frame. (frame_read_signed_register): Do not use get_next_frame. (get_frame_base): Use frame_id_unwind. * d10v-tdep.h: New file. * d10v-frame.h: New file. * d10v-frame.c: New file. * frame.c (frame_id_unwind): Update. (create_sentinel_frame): Update. (legacy_get_prev_frame): Use frame_unwind_find_by_pc. (get_prev_frame): Ditto. * frame.h (struct frame_info): Replace pc_unwind, id_unwind and register_unwind with unwind structure. * frame.c (set_unwind_by_pc): Delete function. (create_new_frame): Use frame_unwind_find_by_pc; * Makefile.in (frame_h): Add $(frame_unwind_h). * frame.h: Include "frame-unwind.h". (frame_register_unwind_ftype): Delete. (frame_id_unwind_ftype): Delete. (frame_pc_unwind_ftype): Delete. * Makefile.in (dummy-frame.o): Update dependencies. (legacy-frame.o): Update dependencies. * dummy-frame.c: Include "frame-unwind.h". (dummy_frame_unwind): New static variable. (dummy_frame_p): New function. * legacy-frame.c: Include "frame-unwind.h". (legacy_frame_unwind): New static variable. (legacy_frame_p): New function. * legacy-frame.h (legacy_frame_p): Declare. * dummy-frame.h (dummy_frame_p): Declare. * Makefile.in (frame_unwind_h): Define. * frame-unwind.h: New file. * frame-unwind.c: New file.
* Import latest changes from mainline.Andrew Cagney2003-01-122-54/+74
|
* 2003-01-11 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-123-48/+98
| | | | | | | | | | | * frame.c (deprecated_update_frame_pc_hack) (deprecated_update_frame_base_hack): Also update the next frame's ID/PC cache. (create_sentinel_frame): Link the sentinel frame to itself. * frame.h: Expand comments describing update PC and FP hacks. * frame.c (get_prev_frame): Add comment explaining why INIT_EXTRA_FRAME_INFO call is needed. (legacy_get_prev_frame): Use get_next_frame.
* Move legacy frame code to legacy-frame.[hc].Andrew Cagney2003-01-105-307/+459
|
* 2003-01-10 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-10720-120456/+368
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sentinel-frame.c (sentinel_frame_register_unwind): Correctly set LVALP and ADDRP. * frame.c: Include "ui-out.h". * frame.c (frame_type_from_pc): New function. (create_new_frame): Use. (set_unwind_by_pc): Drop unused frame parameter. (deprecated_get_prev_frame): Rename old get_prev_frame. (get_prev_frame): Rewrite. Unwind the PC first. Use frame_id_unwind. * dummy-frame.h (dummy_frame_id_unwind): Update. (dummy_frame_pc_unwind): Update. (dummy_frame_register_unwind): Update. * dummy-frame.c: Update. * frame.c (create_new_frame): Set next to a sentinal frame. (create_sentinel_frame): New function. (frame_id_unwind): Update id_unwind call. (frame_saved_regs_register_unwind): Update cache parameter. (frame_saved_regs_pc_unwind): Update cache parameter. (frame_saved_regs_id_unwind): Update cache and id parameters. * frame.h (frame_id_unwind_ftype): Return the frame ID using a reference parameter. (struct frame_unwind_cache): Declare. (frame_id_unwind_ftype, frame_pc_unwind_ftype, frame_register_unwind_ftype): Change the unwind cache_type to `struct frame_unwind_cache'. (struct frame_info): Change type of unwind_cache to `struct frame_unwind_cache'. * frame.c (get_next_frame): Don't go beyond the inner-most frame. (frame_register_unwind): Assume that there is always a next frame. (frame_register): Ditto. (generic_unwind_get_saved_register): Ditto. * frame.h (frame_type): Add SENTINEL_FRAME. * Makefile.in (frame.o): Update dependencies. * frame.h (FRAME_OBSTACK_ZALLOC): Define. * Makefile.in (sentinel-frame.o): Specify dependencies. (sentinel_frame_h): Define. (SFILES): Add sentinel-frame.c. (COMMON_OBS): Add sentinel-frame.o. * sentinel-frame.c: New file. * sentinel-frame.h: New file.
* * Makefile.tpl (BASE_FLAGS_TO_PASS): Also pass DESTDIR.cagney-unwind-20030108-branchpointDJ Delorie2003-01-093-4/+12
| | | | | (install-info, dir.info): Prepend $(DESTDIR) to $(infodir). * Makefile.in: Regenerate.
* * configure.in: Remove Makefile in build, host and target modulesAlexandre Oliva2003-01-093-74/+113
| | | | | unless configure was run with --no-recursion. * configure: Rebuilt.
* * gdb.base/detach.exp: New test.Daniel Jacobowitz2003-01-092-0/+79
|
* * lin-lwp.c (child_wait): Ignore exit statuses for processes otherDaniel Jacobowitz2003-01-092-1/+26
| | | | | than inferior_ptid. (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
* 2003-01-09 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-095-27/+33
| | | | | | | | | | | | | | * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc. Update comments. * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc. (frame_saved_regs_zalloc): Update. (frame_saved_regs_register_unwind): Update. (create_new_frame): Update. (get_prev_frame): Update. (frame_extra_info_zalloc): Update. (deprecated_get_frame_saved_regs): Update. * dwarf2cfi.c (cfi_init_extra_frame_info): Update. * cris-tdep.c: Update comment.
* * Makefile.in (ALL_SUBDIRS): New variable.Daniel Jacobowitz2003-01-0911-120/+43
| | | | | | | | | | | | | | (subdirs, clean, distclean): Use it. * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for regenerating Makefile, since it is generated from the top level. * gdb.asm/Makefile.in: Likewise. * gdb.base/Makefile.in: Likewise. * gdb.c++/Makefile.in: Likewise. * gdb.disasm/Makefile.in: Likewise. * gdb.java/Makefile.in: Likewise. * gdb.mi/Makefile.in: Likewise. * gdb.threads/Makefile.in: Likewise. * gdb.trace/Makefile.in: Likewise.
* 2003-01-09 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-092-4/+9
| | | | | | * gdbint.texinfo (Target Architecture Definition): Mention frame_saved_regs_zalloc and frame_extra_info_zalloc as the way to allocate memory.
* 2003-01-09 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-0915-17/+26
| | | | | | | | | * somsolib.h: Fix function indentation. * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. * somsolib.c, inftarg.c: Remove assignment in if conditional.
* 2003-01-09 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-097-15/+31
| | | | | | | | | | | | | | | | * infrun.c (follow_fork): Use ISO C definition. * expprint.c (print_subexp): Use xfree instead of free. * charset.c: Include "gdb_string.h" instead of <string.h>. (register_iconv_charsets): Use ISO C definition. (host_charset, target_charset): Ditto. * Makefile.in (charset.o): Update dependencies. (mi-cmd-env.o): Update dependencies. Index: mi/ChangeLog 2003-01-09 Andrew Cagney <ac131313@redhat.com> * mi-cmd-env.c: Include "gdb_string.h" instead of <string.h>. Move all includes to after "defs.h".
* 2003-01-09 David Carlton <carlton@math.stanford.edu>David Carlton2003-01-092-1/+8
| | | | | * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x". Add copyright year 2003.
* merge from gccDJ Delorie2003-01-092-0/+10
|
* 2002-01-08 Klee Dienes <kdienes@apple.com>Klee Dienes2003-01-093-4/+10
| | | | | | * Makefile.am (ALL_MACHINES): Use cpu-msp430.lo, not cpu-msp430.c. (BFD32_BACKENDS): Use elf32-msp430.lo, not elf32-msp430.c. * Makefile.in: Regenerate.
* 2003-01-08 Klee Dienes <kdienes@apple.com>Klee Dienes2003-01-093-0/+7
| | | | | * Makefile.am (ALL_MACHINES): Add msp430-dis.lo. * Makefile.in: Regenerate.
* 2003-01-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-092-7/+29
| | | | | | * gdb_mbuild.sh: Add --keep option. When specified, keep the build directories. Save edited gdb output in Mbuild.log. If a build fails, remove any final GDB executable.
* 2003-01-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-092-1/+6
| | | | | * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use get_frame_base.
* *** empty log message ***gdbadmin2003-01-091-1/+1
|
* 2003-01-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-082-1/+27
| | | | | | * gdb_mbuild.sh: Edit the output of `maint print architecture' replacing hex constants with function names and stripping leading file name directory prefixes.
* daily updateAlan Modra2003-01-081-1/+1
|
* 2003-01-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-083-9/+15
| | | | | * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and get_frame_base.
* 2003-01-08 David Carlton <carlton@math.stanford.edu>David Carlton2003-01-082-23/+47
| | | | | * linespec.c (decode_line_1): Move code into decode_variable. (decode_variable): New function.
* [ ChangeLog ]Chris Demetriou2003-01-086-152/+255
| | | | | | | | | | | | | | | | | | | 2003-01-08 Chris Demetriou <cgd@broadcom.com> * config.guess: Update to 2003-01-03 version. * config.sub: Update to 2003-01-03 version. [ dejagnu/ChangeLog ] 2003-01-08 Chris Demetriou <cgd@broadcom.com> * config.guess: Update to 2003-01-03 version. * config.sub: Update to 2003-01-03 version. [ readline/ChangeLog.gdb ] 2003-01-08 Chris Demetriou <cgd@broadcom.com> * config.guess: Update to 2003-01-03 version. * config.sub: Update to 2003-01-03 version.
* * elfn32-mips.c (prev_reloc_section): New.Alexandre Oliva2003-01-082-12/+21
| | | | | (GET_RELOC_ADDEND): Use it. Parenthesize macro arguments. (SET_RELOC_ADDEND): Parenthesize macro argument.
* 2003-01-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-082-1/+5
| | | | * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
* 2003-01-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-087-11/+30
| | | | | | | | | | | | | * cris-tdep.c (cris_frame_init_saved_regs): Use get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a saved_regs buffer. * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. (sh64_nofp_frame_init_saved_regs): Ditto. (sh_fp_frame_init_saved_regs): Ditto. * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack. * mips-tdep.c (mips_init_extra_frame_info): Ditto. * mcore-tdep.c (analyze_dummy_frame): Ditto. * mn10300-tdep.c (analyze_dummy_frame): Ditto.
* * minsyms.c (lookup_minimal_symbol): Update comment.Daniel Jacobowitz2003-01-082-24/+36
| | | | | (lookup_minimal_symbol_text): Update comment. Use the hash table. (lookup_minimal_symbol_solib_trampoline): Likewise.
* 2003-01-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-082-1/+5
| | | | | * d10v-tdep.c (d10v_init_extra_frame_info): Use frame_relative_level.
* 2003-01-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-0816-352/+383
| | | | | | | | * alpha-tdep.c: Use get_frame_extra_info. * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto. * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. * sparc-tdep.c, xstormy16-tdep.c: Ditto.
* * run.c (usage): Fix typos.Kazu Hirata2003-01-082-2/+6
|
* 2003-01-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-0824-167/+193
| | | | | | | | | | | * alpha-tdep.c: Use get_next_frame. * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto. * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto. * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. * xstormy16-tdep.c: Ditto.
* 2003-01-07 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2003-01-082-9/+16
| | | | | | | * mips.h: Fix missing space in comment. (INSN_ISA1, INSN_ISA2, INSN_ISA3, INSN_ISA4, INSN_ISA5) (INSN_ISA32, INSN_ISA32R2, INSN_ISA64): Shift values right by four bits.
* * ppc-opc.c (powerpc_macros <extrwi>): Accept a shift of 32.Alan Modra2003-01-082-2/+6
|
* * elf32-hppa.c (final_link_relocate): For all DP relative relocations,Dave Anglin2003-01-082-7/+11
| | | | adjust addil instructions if the symbol has no section.
* 2003-01-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-0826-299/+407
| | | | | | | | | | | | * alpha-tdep.c: Use get_frame_base. * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto. * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. * config/sparc/tm-sparc.h: Ditto.
* * configure: Regenerate with proper autoconf 2.13.Christopher Faylor2003-01-082-16/+1218
|
* *** empty log message ***gdbadmin2003-01-081-1/+1
|
* daily updateAlan Modra2003-01-071-1/+1
|
* 2003-01-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-074-2/+36
| | | | | | | | | * frame.c (deprecated_get_frame_context): New function. (deprecated_set_frame_context): New function. * frame.h (deprecated_get_frame_context): Declare. (deprecated_set_frame_context): Declare. * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
* * configure.in: Add AC_PREREQ for consistency.Christopher Faylor2003-01-073-1217/+26
| | | | * configure: Regenerate.
* * elf32-xstormy16.c (xstormy16_elf_howto_table): Make REL_12 notDJ Delorie2003-01-072-1/+6
| | | | partial_inplace.
* 2003-01-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-075-4/+36
| | | | | | | | | | * frame.c (deprecated_set_frame_next_hack): New function. (deprecated_set_frame_prev_hack): New function. * frame.h (deprecated_set_frame_next_hack): Declare. (deprecated_set_frame_prev_hack): Declare. * mcore-tdep.c (analyze_dummy_frame): Use deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. * mn10300-tdep.c (analyze_dummy_frame): Ditto.
* 2003-01-07 David Carlton <carlton@math.stanford.edu>David Carlton2003-01-072-63/+87
| | | | | * linespec.c (decode_line_1): Move code into decode_dollar. (decode_dollar): New function.