aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2004-11-102004-11-10 Randolph Chung <tausq@debian.org>Randolph Chung6-21/+54
* blockframe.c (inside_entry_func): Move to ..... * frame.c (inside_entry_func): ... here, and make static. (backtrace_past_entry): New flag. (get_prev_frame): Stop backtrace at the entry function if enabled by flag. Update comments. (_initialize_frame): Add command to set backtrace_past_entry flag. * defs.h (inside_entry_func): Remove prototype. doc/ * gdb.texinfo: Document set/show backtrace past-entry commands. Rearrange index entries for set/show backtrace past-main.
2004-11-10* dwarf2read.c: Fix formatting.Mark Kettenis2-12/+17
2004-11-102004-11-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney8-64/+100
* value.h (COERCE_REF, COERCE_ARRAY, COERCE_NUMBER, COERCE_ENUM) (coerce_ref, coerce_array, coerce_number, coerce_enum): Replace macros with function declarations. * value.c (coerce_ref, coerce_array, coerce_number) (coerce_enum): New functions. (value_as_long, value_as_address): Update. * ada-lang.c (ada_coerce_ref, ada_value_binop) (ada_evaluate_subexp, ada_value_assign, ada_value_struct_elt): Update. * jv-lang.c (evaluate_subexp_java): Update. * valarith.c (value_less, value_neg, value_complement) (value_binop, value_add, value_subscript, value_x_binop) (value_logical_not, value_sub): Update. * valops.c (check_field, value_struct_elt, value_ind) (value_find_oload_method_list, value_cast, value_assign): Update. * eval.c (evaluate_subexp_standard): Update.
2004-11-10* mips-tdep.c (mips32_relative_offset): Change return type toMark Kettenis2-10/+8
LONGEST, change argument type to ULONGEST. Fix sign-extension.
2004-11-102004-11-10 Randolph Chung <tausq@debian.org>Randolph Chung2-12/+32
* hppa-tdep.c (hppa32_register_name, hppa64_register_name): Make static. (hppa32_push_dummy_call, hppa64_push_dummy_call): Likewise. (hppa_fetch_pointer_argument): Likewise. (hppa_frame_cache): Use safe_frame_unwind_memory instead of deprecated_read_memory_nobpt. (_initialize_hppa_tdep): Replace deprecated_add_show_from_set/ add_set_cmd sequence with add_setshow_boolean_cmd.
2004-11-102004-11-10 Jon Beniston <jon@beniston.com>Andrew Cagney2-1/+8
Committed by Andrew Cagney <cagney@gnu.org>. * gdb.texinfo (Remote Serial Protocol): Further describe binary transfer escaping mechanism .
2004-11-10GDB 6.3Andrew Cagney1-0/+4
2004-11-10*** empty log message ***gdbadmin1-1/+1
2004-11-092004-11-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-3/+9
* values.c: Rename to ... * value.c: ..., new file. * Makefile.in: Update.
2004-11-09 * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Correct allocatedDaniel Jacobowitz2-1/+6
size.
2004-11-092004-11-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-333/+2
* TODO: Delete.
2004-11-092004-11-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney19-95/+76
* value.h (struct value): Delete field bfd_section. (VALUE_BFD_SECTION): Delete macro. (COERCE_REF): Update. (value_at, value_at_lazy): Delete asection parameter. * printcmd.c (print_formatted, x_command): Update. (do_examine): Delete asection parameter. (next_section): Delete variable. * valops.c (value_cast, value_at, value_at_lazy) (value_coerce_function, value_addr, value_ind, value_string) (find_rt_vbase_offset, value_full_object): Update. * hpacc-abi.c (hpacc_virtual_fn_field) (hpacc_value_rtti_type): Update. * gnu-v3-abi.c (gnuv3_rtti_type, gnuv3_virtual_fn_field) (gnuv3_baseclass_offset): Update. * f-valprint.c (f_val_print): Update. * c-valprint.c (c_val_print): Update. * p-valprint.c (pascal_val_print): Update. * jv-valprint.c (java_value_print): Update. * jv-lang.c (java_class_from_object, evaluate_subexp_java): Update. * ada-lang.c (ada_value_primitive_packed_val) (ada_evaluate_subexp): Update. * dwarf2loc.c (dwarf2_evaluate_loc_desc): Update. * expprint.c (print_subexp_standard): Update. * infcall.c (call_function_by_hand): Update. * valarith.c (value_add): Update. * eval.c (evaluate_subexp_standard): Update. * values.c (allocate_value, value_copy, value_static_field): Update. * findvar.c (read_var_value, locate_var_value): Update.
2004-11-092004-11-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-12/+13
* i386-linux-tdep.c: Include "dwarf2-frame.h". * Makefile.in: Update all dependencies.
2004-11-092004-11-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-12/+40
* sentinel-frame.c (sentinel_frame_prev_pc): New function. (sentinel_frame_unwinder): Add the prev_pc method. * frame.c (frame_pc_unwind): Use the per-frame pc unwinder when available. Do not handle the sentinel-frame case. * frame-unwind.h (frame_prev_register_ftype): Define. (struct frame_unwind): Add prev_pc;
2004-11-09 * configure.in: Check for ncurses/term.h.Dave Anglin7-309/+359
* gdb_curses.h: Include term.h here, prefering ncurses/term.h. * utils.c: Include gdb_curses.h instead of curses.h and term.h. * tui/tui.c: Don't include term.h. * configure, config.in: Rebuilt.
2004-11-09*** empty log message ***gdbadmin1-1/+1
2004-11-08* m68kbsd-nat.c: Include "inf-ptrace.h".Mark Kettenis3-3/+11
(_initialize_m68kbsd_nat): Fix pasto. * Makefile.in (m68kbsd-nat.o): Update dependencies.
2004-11-082004-11-08 Randolph Chung <tausq@debian.org>Randolph Chung2-0/+12
* gdb.texinfo (inferior_debugging info): Document "set debug infrun" and "show debug infrun". Add index entries.
2004-11-082004-11-08 Randolph Chung <tausq@debian.org>Randolph Chung2-1/+141
* infrun.c (debug_infrun): New variable. (resume, proceed, wait_for_inferior): Annotate with debug messages. (handle_inferior_event, keep_going): Likewise. (_initialize_infrun): Register "set debug infrun" command.
2004-11-08 * linux-nat.c (PTRACE_EVENT_VFORK_DONE): Renamed fromAndreas Schwab2-2/+8
PTRACE_EVENT_VFORKDONE. (child_follow_fork): Adjust.
2004-11-082004-11-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-66/+58
* README: Refer to 6.3, not 6.2, update directory listing droppng references to intl/ and mmalloc/. * PROBLEMS: Refer to 6.3 not 6.2.
2004-11-082004-11-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-52/+4
* PROBLEMS: Delete no-longer applicable problems.
2004-11-08*** empty log message ***gdbadmin1-1/+1
2004-11-07 * Makefile.in (symfile-mem.o): Update dependencies.Daniel Jacobowitz6-5/+135
* i386-linux-tdep.c (i386_linux_dwarf_signal_frame_p): New. (i386_linux_init_abi): Call dwarf2_frame_set_signal_frame_p. * inf-ptrace.c (inf_ptrace_attach): Call observer_notify_inferior_created. * inftarg.c (child_attach): Likewise. * symfile-mem.c: Include "observer.h", "auxv.h", and "elf/common.h". (symbol_file_add_from_memory): Take NAME argument. Use it for the new BFD's filename. (add_symbol_file_from_memory_command): Update call to symbol_file_add_from_memory. (struct symbol_file_add_from_memory_args, add_vsyscall_page) (symbol_file_add_from_memory_wrapper): New. (_initialize_symfile_mem): Register add_vsyscall_page as an inferior_created observer.
2004-11-07* m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Rename fromMark Kettenis6-40/+37
fetch_inferior_registers. Make static. (m68kbsd_store_inferior_registers): Rename from store_inferior_registers. Make static. (_initialize_m68kbsd_nat): Construct and add target vector. * config/m68k/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-ptrace.o. (NAT_FILE): Set to tm-solib.h. (LOADLIBES): New variable. * config/m68k/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-ptrace.o. (NAT_FILE): Delete variable. * config/m68k/obsd.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-ptrace.o. (NAT_FILE): Set to tm-solib.h. * config/m68k/nm-nbsdaout.h: Remove file.
2004-11-07 * dwarf2-frame.c (struct dwarf2_frame_ops): Add signal_frame_p.Daniel Jacobowitz3-3/+65
(dwarf2_frame_set_signal_frame_p, dwarf2_frame_signal_frame_p) (dwarf2_signal_frame_unwind): New. (dwarf2_frame_sniffer): Use dwarf2_frame_signal_frame_p. * dwarf2-frame.h (dwarf2_frame_set_signal_frame_p): New prototype.
2004-11-07* Makefile.in (mips64obsd-tdep.o): Fix typo.Mark Kettenis2-1/+3
2004-11-07* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): RenamedMark Kettenis2-19/+26
from mipsnbsd_ilp32_solib_svr4_fetch_link_map_offsets. Trim sizes to only include the structure members we actually need. (mipsnbsd_lp64_fetch_link_map_offsets): Renamed from mipsnbsd_lp64_solib_svr4_fetch_link_map_offsets. Trim sizes to only include the structure members we actually need. (mipsnbsd_init_abi): Update.
2004-11-07* mips64obsd-nat.c: Include "mips-tdep.h".Mark Kettenis3-4/+24
(MIPS64OBSD_NUM_REGS): Remove define. (MIPS_PC_REGNUM, MIPS_FP0_REGNUM, MIPS_FSR_REGNUM): New defines. (mips64obsd_supply_gregset, mips64obsd_collect_gregset): Handle floating-point registers correctly. * Makefile.in (mips64obsd-nat.o): Update dependencies.
2004-11-07* mips64obsd-tdep.c: Include "trad-frame.h", "tramp-frame.h" andMark Kettenis3-1/+73
"gdb_assert.h". (mips64obsd_sigframe_init): New function. (mips64obsd_sigframe): New variable. (mips64obsd_init_abi): Add comments. Prepend mips64obsd_sigrame unwinder. * Makefile.in (mips64obsd-tdep.o): Update dependencies.
2004-11-07* gdb.base/savedregs.exp: Correct pattern used for sigtrampMark Kettenis2-1/+6
frames.
2004-11-07* tramp-frame.c (tramp_frame_prepend_unwinder): Set unwinder typeMark Kettenis1-1/+1
from TRAMP_FRAME frame type.
2004-11-07*** empty log message ***gdbadmin1-1/+1
2004-11-06 * alpha-mdebug-tdep.c: #include mdebugread.h.Joel Brobecker3-10/+17
Replace alpha_extra_func_info_t by struct mdebug_extra_func_info *. * Makefile.in (alpha-mdebug-tdep.o): Add dependency on mdebugread.h.
2004-11-062004-11-05 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-3/+14
* dwarf2-frame.c (dwarf2_frame_cache): Only complain when both the CFI and the init_reg method leave the register unspecified. Include the register name in the "Incomplete CFI data" complaint. Supress leading zeros in the address.
2004-11-06*** empty log message ***gdbadmin1-1/+1
2004-11-05* dwarf2-frame.c (decode_frame_entry_1): Avoid indirection whenMark Kettenis2-2/+7
skipping a personality routine in a CIE augmentation.
2004-11-052004-11-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston4-6/+78
* defs.h (fatal, vfatal): New function prototypes. * stack.c (backtrace_command_stub): Stub to call backtrace_command_1 via catch_errors. (backtrace_command): Change to call backtrace_command_stub via catch_errors instead of calling backtrace_command_1 directly. (backtrace_full_command): Ditto. * utils.c (error_stream_1): New static function. (verror): Change to call error_stream_1 instead of error_stream. (error_stream): Call error_stream_1 with RETURN_ERROR argument. (vfatal, fatal): New functions.
2004-11-052004-11-05 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-1/+6
* stack.c (parse_frame_specification_1): Clear selected_frame_p when not using selected frame.
2004-11-05* dwarf2-frame.c (decode_frame_entry_1): Correctly skipMark Kettenis2-1/+8
personality routine in a CIE augmentation.
2004-11-052004-11-05 Felix Lee <felix+log1@specifixinc.com>Felix Lee5-10/+154
* gdb.base/cursal.exp: New file. * gdb.base/cursal.c: New file.
2004-11-05*** empty log message ***gdbadmin1-1/+1
2004-11-04* dwarf2-frame.c (read_encoded_value): Change type of thirdMark Kettenis2-3/+22
argument to `unsigned char *'. Add support for LEB128 encodings.
2004-11-04* gdbtypes.c (make_qualified_type): Doc fix. Add assertion toJim Blandy2-19/+59
prevent cross-objfile references. (make_cv_type): Doc fix. Don't create cross-objfile references, even for stub types. (replace_type): Add assertion to prevent cross-objfile references. (check_typedef): Never resolve a stub type by copying over a type from another file.
2004-11-04Fix TYPO.Kazuhiro Inaoka1-0/+2
2004-11-042004-11-04 Kei Sakamoto <sakamoto.kei@denesas.com>Kazuhiro Inaoka3-2/+13
* Makefile.in (m32r-tdep.o): Update dependencies. * m32r-tdep.c (m32r_gdbarch_init): Call gdbarch_init_osabi for ABI-specific overrides.
2004-11-042004-11-04 Kei Sakamoto <sakamoto.kei@denesas.com>Kazuhiro Inaoka2-69/+76
* m32r-tdep.c (m32r_memory_insert_breakpoint): Remove unnecessary parallel execution bit. (m32r_memory_remove_breakpoint): Ditto. (m32r_breakpoint_from_pc): Update.
2004-11-04*** empty log message ***gdbadmin1-1/+1
2004-11-032004-11-03 Randolph Chung <tausq@debian.org>Randolph Chung2-7/+43
* hppa-tdep.c (hppa_frame_cache): Use frame_pc_unwind instead of frame_func_unwind to locate the unwind entry. (hppa_frame_this_id): Likewise.
2004-11-032004-11-03 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-0/+220
* gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.