summaryrefslogtreecommitdiff
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***gdbadmin2002-11-251-1/+1
|
* 2002-11-24 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2002-11-242-1/+7
| | | | | | * varobj.c (find_frame_addr_in_frame_chain): Use get_frame_base instead of FRAME_FP, obvious fix.
* 2002-11-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-2425-73/+128
| | | | | | | | | | | | | | | * frame.h (FRAME_FP): Delete macro. (get_frame_base): New function declaration. * frame.c (get_frame_base): New function. (get_frame_id): Use ->frame. (frame_find_by_id): Rewrite to use get_frame_id. * blockframe.c: Use get_frame_base instead of FRAME_FP. * cris-tdep.c, d10v-tdep.c, findvar.c, h8500-tdep.c: Ditto. * hppa-tdep.c, i386-tdep.c, infcmd.c, infrun.c: Ditto. * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. * mn10200-tdep.c, mn10300-tdep.c, rs6000-tdep.c: Ditto. * sh-tdep.c, sparc-tdep.c, stack.c, tracepoint.c: Ditto. * v850-tdep.c, valops.c, z8k-tdep.c: Ditto.
* 2002-11-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-242-1/+8
| | | | | * generic/gdbtk-stack.c (gdb_selected_frame): Use get_frame_base instead of FRAME_FP. Mention that get_frame_id() should be used.
* 2002-11-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-242-1/+4
| | | | * arm-tdep.c (arm_gdbarch_init): Do not set get_saved_register.
* 2002-11-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-242-4/+21
| | | | | | * frame.c (set_unwind_by_pc): Revert change below, use PC_IN_CALL_DUMMY. (get_prev_frame): Ditto.
* 2002-11-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-244-8/+65
| | | | | | | | | | | | | * dummy-frame.c (pc_in_dummy_frame): New function. (generic_pc_in_call_dummy): Call pc_in_dummy_frame. (find_dummy_frame): Update comment. (generic_pop_current_frame): Use get_frame_type. * dummy-frame.h (pc_in_dummy_frame): Declare. * frame.c (set_unwind_by_pc): Use pc_in_dummy_frame. (create_new_frame): Use pc_in_dummy_frame. (get_prev_frame): Use pc_in_dummy_frame. (frame_saved_regs_register_unwind): Use get_prev_frame. (deprecated_generic_get_saved_register): Use get_prev_frame.
* 2002-11-23 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-244-23/+35
| | | | | | | | * blockframe.c (find_frame_addr_in_frame_chain): Move function from here ... * varobj.c (find_frame_addr_in_frame_chain): ... to here. (varobj_create): Note that frame ID should be used. * frame.h (find_frame_addr_in_frame_chain): Delete declaration.
* 2002-11-23 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-247-28/+30
| | | | | | | | | | | | | | | | | | * breakpoint.c: Include "gdb_assert.h". (deprecated_frame_in_dummy): Assert that generic dummy frames are not being used. * Makefile.in (breakpoint.o): Update dependencies. * ada-lang.c (find_printable_frame): Use get_frame_type instead of deprecated_frame_in_dummy. * stack.c (print_frame_info_base): Ditto. (frame_info): Ditto. (print_frame_info_base): Ditto. Delete dead code. Index: tui/ChangeLog 2002-11-23 Andrew Cagney <ac131313@redhat.com> * tuiStack.c (tuiShowFrameInfo): Use get_frame_type instead of deprecated_frame_in_dummy. Fix coding style.
* *** empty log message ***gdbadmin2002-11-241-1/+1
|
* * Makefile.in (m68k_tdep_h): Define.Andreas Schwab2002-11-2312-93/+144
| | | | | | | | | | | | | | | | | | (abug-rom.o, cpu32bug-rom.o, dbug-rom.o, m68k-tdep.o, m68klinux-nat.o) (remote-est.o, rom68k-rom.o): Add $(m68k_tdep_h). * m68k-tdep.c: Move register number enum ... * m68k-tdep.h: ... to this new file and rename the constants from E_* to M68K_*. All uses changed. * config/m68k/tm-m68k.h (D0_REGNUM, A0_REGNUM): Remove definitions. * abug-rom.c: Include "m68k-tdep.h". Use M68K_D0_REGNUM/M68K_A0_REGNUM instead of D0_REGNUM/A0_REGNUM. * cpu32bug-rom.c: Likewise. * dbug-rom.c: Likewise. * m68k-tdep.c: Likewise. * m68klinux-nat.c: Likewise. * remote-est.c: Likewise. * rom68k-rom.c: Likewise. * config/m68k/tm-linux.h: Likewise.
* 2002-11-23 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-233-49/+6
| | | | | | * arm-tdep.c (arm_gdbarch_init): Remove old style non-generic dummy frame initialization code. * mips-tdep.c (mips_gdbarch_init): Ditto.
* * win32-nat.c (child_attach): Reset saw_create counter or subsequent attachChristopher Faylor2002-11-232-0/+6
| | | | will hang.
* 2002-11-22 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-2316-50/+41
| | | | | | | | | | | | | | | | | | | | | | | | * gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Default to default_frame_address. * gdbarch.h, gdbarch.c: Re-generate. * d10v-tdep.c (d10v_gdbarch_init): Do not set frame_args_address or frame_locals_address to default_frame_address. * m68k-tdep.c (m68k_gdbarch_init): Update. * i386-tdep.c (i386_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * x86-64-tdep.c (x86_64_gdbarch_init): Update. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * cris-tdep.c (cris_frame_args_address): Delete function. (cris_frame_locals_address): Delete function. (cris_gdbarch_init): Do not set frame_args_address or frame_locals_address.
* 2002-11-22 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-11-232-1/+12
| | | | | * thread-db.c (thread_db_load): Tell the user what's going on if dlopen fails on libthread_db.
* *** empty log message ***gdbadmin2002-11-231-1/+1
|
* * m68k-tdep.c (m68k_register_virtual_type): Use architectureAndreas Schwab2002-11-222-12/+18
| | | | invariant return values.
* 2002-11-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-222-1/+6
| | | | * Makefile.in (install): Make 'install' do some real work.
* Revert previous change --- the hour was late, and I was confused aboutJim Blandy2002-11-223-75/+0
| | | | its status.
* * valops.c (value_slice): Move declaration of `offset' to avoidAndreas Schwab2002-11-222-2/+7
| | | | warning.
* * win32-nat.c (psapi_get_dll_name): Fix a compiler warning.Christopher Faylor2002-11-223-4/+43
| | | | | | | | | | | | | | (struct so_stuff): Add end_addr field. (register_loaded_dll): Calculate and store end address of loaded dll. (solib_address): New function. (child_solib_loaded_library_pathname): Pass carefully constructed section info to safe_symbol_file_add rather than ignoring it. (get_child_debug_event): Call re_enable_breakpoints_in_shlibs when a DLL is loaded. (do_initial_child_stuff): Call disable_breakpoints_in_shlibs. (child_create_inferior): Fix a compiler warning. * config/i386/tm-cygwin.h (PC_SOLIB): Define new macro. (solib_address): Declare new function.
* * gdb.base/step-line.exp: Check that GDB can handle filenames thatJim Blandy2002-11-223-0/+75
| | | | | | | | | | appear in the line number info, but not in the preprocessor macro info. * lib/gdb.exp (gdb_internal_error_regexp): New variable. (gdb_internal_error_resync): New procedure. (gdb_test): If the command results in an internal error, answer GDB's questions until we get back to a prompt.
* * gdb.base/maint.exp (help maint dump-me): Update with typo fix.Daniel Jacobowitz2002-11-222-1/+5
|
* * m68k-tdep.c (m68k_register_virtual_type): Return int for SR, FPCAndreas Schwab2002-11-222-7/+17
| | | | and FPS registers.
* *** empty log message ***gdbadmin2002-11-221-1/+1
|
* * tui-hooks.c (tui_init_hook): Don't enable the TUI if a specificStephane Carrez2002-11-212-0/+9
| | | | interpreter is installed.
* * maint.c (_initialize_maint_cmds): Fix typo. FromDaniel Jacobowitz2002-11-212-1/+6
| | | | Francesco Potorti` <pot@gnu.org>.
* 2002-11-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2002-11-214-38/+11
| | | | | | | | | | | * mips-tdep.c (mips_dump_tdep): Delete references to GDB_TARGET_UNMASK_DISAS_PC and GDB_TARGET_MASK_DISAS_PC. * config/mips/tm-mips.h (GDB_TARGET_MASK_DISAS_PC): Delete macro. (GDB_TARGET_UNMASK_DISAS_PC): Delete macro. * printcmd.c (build_address_symbolic): Delete calls to GDB_TARGET_UNMASK_DISAS_PC and GDB_TARGET_MASK_DISAS_PC. (address_info): Ditto. Fix PR gdb/773.
* *** empty log message ***gdbadmin2002-11-211-1/+1
|
* * linux-s390-low.c (s390_regmap): Check GPR_SIZE instead ofDaniel Jacobowitz2002-11-202-1/+7
| | | | defined(PT_FPR0_HI).
* 2002-11-19 Klee Dienes <kdienes@apple.com>Klee Dienes2002-11-203-7/+39
| | | | | | | | | | | | Adam Fedor <fedor@gnu.org> * completer.c (skip_quoted_chars): Renamed from skip_chars. Add the ability to explicitly specify the quote characters and word break characters; if NULL is specified for either, use the old behavior of using the characters used by the completer. (skip_chars): New function. Convenience wrapper around skip_quoted_chars to provide the original skip_chars behavior. * completer.h (skip_quoted_chars): Add prototype.
* 2002-11-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-204-2/+14
| | | | | | | | | | | Problems reported by Paul Eggert. * gdbarch.sh: Use `sort -k 3`. Fix PR gdb/527. Index: doc/ChangeLog 2002-11-19 Andrew Cagney <ac131313@redhat.com> Fix POSIX problem reported by Paul Eggert. * Makefile.in (GDBvn.texi): Use `sed q' instead of `head -1'.
* *** empty log message ***gdbadmin2002-11-201-1/+1
|
* * m68klinux-nat.c (IS_SIGTRAMP, IS_RT_SIGTRAMP)Andreas Schwab2002-11-195-98/+137
| | | | | | | | | (m68k_linux_in_sigtramp, SIGCONTEXT_PC_OFFSET) (UCONTEXT_PC_OFFSET, m68k_linux_sigtramp_saved_pc) (m68k_linux_frame_saved_pc): Move to ... * m68klinux-tdep.c: ... here. New file. * Makefile.in (m68klinux-tdep.o): Add dependencies. * config/m68k/linux.mt (TDEPFILES): Add m68klinux-tdep.o.
* 2002-11-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-193-3/+10
| | | | | | | * generic/gdbtk-cmds.c (gdb_loc): Use get_frame_type instead of ->signal_handler_caller. * generic/gdbtk-stack.c (get_frame_name): Ditto. (get_frame_name): Ditto.
* Revert to old skip_quoted usage.Adam Fedor2002-11-192-3/+5
|
* * Makefile.in (SFILES): Add objc-exp.y objc-lang.c.Adam Fedor2002-11-192-0/+37
| | | | | | | (objc_lang_h): Define. (YYFILES): Add objc-exp.tab.c. (local-maintainer-clean): Remove objc-exp.tab.c. (objc-exp.tab.c, objc-exp.tab.o, objc-lang.o): New target.
* 2002-11-19 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2002-11-192-4/+42
| | | | | | | | * p-exp.y (typecast rule): Add automatic dereference of pascal classes if needed. (THIS): Set current_type. Automatically dereference pascal classes. (typebase rule): Add ^typebase recognition.
* * expprint.c (print_subexp): Handle OP_OBJC_NSSTRING,Adam Fedor2002-11-193-1/+64
| | | | | | OP_OBJC_MSGCALL, and OP_OBJC_SELF. (op_name): Handle OP_OBJC_SELF. * Makefile.in (expprint.o): Add additional depends.
* * expression.h: Rename ObjC ops to OP_OBJC_MSGCALL,Adam Fedor2002-11-194-27/+34
| | | | | | OP_OBJC_SELECTOR, OP_OBJC_NSSTRING, and OP_OBJC_SELF. * parse.c (length_of_subexp, prefixify_subexp): Likewise. * objc-exp.y: Likewise.
* gdb/parser-defs.h: (struct objc_class_str): New structureAdam Fedor2002-11-192-0/+13
| | | | for parsing ObjC classes.
* 2002-11-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-193-16/+17
| | | | | * stack.c (frame_relative_level): Copy function from here ... * frame.c (frame_relative_level): ...to here.
* *** empty log message ***gdbadmin2002-11-191-1/+1
|
* 2002-11-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-1826-133/+286
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * frame.h (enum frame_type): Define. (get_frame_type): Declare. (struct frame_info): Add field `type'. Delete field signal_handler_caller. (deprecated_set_frame_signal_handler_caller): Declare. * frame.c (get_frame_type): New function. (deprecated_set_frame_type): New function. (create_new_frame): Set the frame's type. (get_prev_frame): Similar. * sparc-tdep.c: Use get_frame_type instead of signal_handler_caller. * s390-tdep.c: Ditto. * m68klinux-nat.c: Ditto. * ns32k-tdep.c: Ditto. * x86-64-linux-tdep.c: Ditto. * vax-tdep.c: Ditto. * rs6000-tdep.c: Ditto. * ppc-linux-tdep.c: Ditto. * i386-interix-tdep.c: Ditto. * mips-tdep.c: Ditto. * m68k-tdep.c: Ditto. * hppa-tdep.c: Ditto. * ia64-tdep.c: Ditto. * cris-tdep.c: Ditto. * arm-tdep.c: Ditto. * alpha-tdep.c: Ditto. * i386-tdep.c: Ditto. * stack.c: Ditto. * ada-lang.c: Ditto. * blockframe.c: Update. * i386-interix-tdep.c (i386_interix_back_one_frame): Use deprecated_set_frame_type instead of signal_handler_caller. * ppc-linux-tdep.c (ppc_linux_init_extra_frame_info): Ditto. * rs6000-tdep.c (rs6000_init_extra_frame_info): Ditto. * breakpoint.h: Delete FIXME suggesting get_frame_type. Index: tui/ChangeLog 2002-11-18 Andrew Cagney <ac131313@redhat.com> * tuiStack.c (tuiShowFrameInfo): Use get_frame_type instead of signal_handler_caller.
* 2002-11-18 Klee Dienes <kdienes@apple.com>Klee Dienes2002-11-182-3/+7
| | | | * Makefile.in (buildsym.o): Add dependency for gdb_assert.h.
* 2002-11-18 Klee Dienes <kdienes@apple.com>Klee Dienes2002-11-182-0/+7
| | | | * buildsym.c (pop_context): Add comment.
* 2002-11-18 Klee Dienes <kdienes@apple.com>Klee Dienes2002-11-184-6/+36
| | | | | | | | | | | | * buildsym.h (pop_context): Convert to function, defined in buildsym.c. * buildsym.c: Include gdb_assert.h. (pop_context): Implement as C function. Add check for stack underflow. * dbxread.c (process_one_symbol): Complain and stop processing that symbol if we are already at the top of the context stack for a function-end N_FUN (this would imply an umatched RBRAC). Ditto when processing N_RBRAC.
* * linux-arm-low.c (arm_num_regs): Increase.Daniel Jacobowitz2002-11-183-3/+12
| | | | | | (arm_regmap): Include status register. * linux-low.c (register_addr): Remove incorrect -1 check.
* *** empty log message ***gdbadmin2002-11-181-1/+1
|
* *** empty log message ***gdbadmin2002-11-171-1/+1
|