aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2008-10-12*** empty log message ***gdbadmin1-1/+1
2008-10-11*** empty log message ***gdbadmin1-1/+1
2008-10-10 * dwarf2read.c (comp_unit_head): Use unsigned int consistentlyDoug Evans2-72/+117
for dwarf section offsets and sizes. (dwarf2_cu): Ditto. (dwarf2_per_cu_data): Ditto. (create_all_comp_units): Change offset to unsigned int. (load_full_comp_unit,find_partial_die_in_comp_unit,find_partial_die, dwarf2_find_containing_comp_unit,dwarf2_find_comp_unit): Ditto. * dwarf2read.c (read_initial_length): Delete cu_header arg. All callers updated. (read_checked_initial_length_and_offset): New function. (read_offset_1): New function. (read_offset): Call it. (dwarf_decode_line_header): Call read_checked_initial_length_and_offset instead of read_initial_length. Call read_offset_1 instead of read_offset. * dwarf2read.c (dwarf2_get_ref_die_offset): Remove unused arg `cu'. All callers updated. * dwarf2read.c (dwarf_attr_name): Unconditionally support all DW_AT_MIPS_* except DW_AT_MIPS_fde which collides with DW_AT_HP_block_index.
2008-10-10 * remote.c (remote_start_remote): Always tell the stub if we're inPedro Alves2-7/+12
extended-remote.
2008-10-10 * server.c (handle_v_run): If GDB didn't specify an argv, use thePedro Alves2-8/+21
whole argv from the last run, not just argv[0].
2008-10-10*** empty log message ***gdbadmin1-1/+1
2008-10-09 * remote.c (remote_wait): Rename to...Pedro Alves2-222/+239
(remote_wait_as): ... this. Don't loop here. If the remote didn't stop, return TARGET_WAITKIND_IGNORE. (remote_wait): New, reimplemented on top of remote_wait_as.
2008-10-09 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather thanTom Tromey2-10/+15
'fprintf' and 'stderr'.
2008-10-092008-10-09 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2-7/+3
* Makefile.in (gnu-nat.o): Revert the 2008-09-10 change, as the problem is fixed upstream.
2008-10-092008-10-09 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2-1/+3
* reply_mig_hack.awk: Use the `BAD_TYPECHECK' macro.
2008-10-092008-10-09 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2-0/+5
* MAINTAINERS (Write After Approval): Add myself.
2008-10-092008-10-09 Pedro Alves <pedro@codesourcery.com>Pedro Alves3-47/+64
Make it compile without warnings. * procfs.c (create_procinfo): Initialize `parent'. (dead_procinfo): Pass a constant string as format to error. (procfs_address_to_host_pointer): Add cast to gdb_type *. (procfs_find_LDT_entry): Adjust format string to long int ptid.tid. (procfs_xfer_partial): Adjust prototype. Add gdb_byte* cast. (procfs_xfer_memory): Adjust prototype. (info_mappings_callback, info_proc_mappings): Adjust to not pass a variable as printf_filtered format. (procfs_make_note_section): Change type of auxv local to gdb_byte. * Makefile.in: Remove special rule.
2008-10-09 * remote.c (remote_open_1): Move acknowledging any pending ack,Pedro Alves3-54/+76
querying supported features, activating noack mode, finding the target description, enabling extended remote, and checking remote symbols from here ... (remote_start_remote): ... to here. (remote_open_1): Don't pop the target if it is already gone. * target.c (unpush_target): Check for the dummy target.
2008-10-09 * ser-mingw.c: Include "command.h".Pedro Alves2-2/+11
(pipe_windows_open): Declare locals at the beginning of the scope.
2008-10-09*** empty log message ***gdbadmin1-1/+1
2008-10-08 * remote.c (struct remote_state) <waiting_for_stop_reply>: NewPedro Alves2-0/+56
field. (remote_open_1): Clear waiting_for_stop_reply. (remote_resume): Set waiting_for_stop_reply. (remote_wait): Clear or set waiting_for_stop_reply accordingly. (putpkt_binary): If we're in async mode and waiting for a stop reply, bail out with an error. (extended_remote_mourn_1): Clear waiting_for_stop_reply.
2008-10-08 * remote.c (remote_get_thread_info): If the remote doesn't supportPedro Alves2-0/+9
the query, bail out.
2008-10-08 Convert static_kind into loc_kind enum.Jan Kratochvil17-86/+150
* gdbtypes.h (enum field_loc_kind): New. (union field_location): New field dwarf_block. (struct field): Rename static_kind as loc_kind. (FIELD_STATIC_KIND): Rename to ... (FIELD_LOC_KIND): ... here. (TYPE_FIELD_STATIC_KIND): Rename to ... (TYPE_FIELD_LOC_KIND): ... here and use there now new FIELD_LOC_KIND. (TYPE_FIELD_STATIC_HAS_ADDR): Remove. (TYPE_FIELD_STATIC): Remove. (TYPE_FIELD_BITPOS): Reformat. (SET_FIELD_BITPOS): New. (FIELD_PHYSADDR): Rename to ... (FIELD_STATIC_PHYSADDR): ... here. (TYPE_FIELD_STATIC_PHYSADDR): Follow the FIELD_PHYSADDR rename. (SET_FIELD_PHYSADDR): Use new FIELD_LOC_KIND. (FIELD_PHYSNAME): Rename to ... (FIELD_STATIC_PHYSNAME): ... here. (TYPE_FIELD_STATIC_PHYSNAME): Follow the FIELD_PHYSNAME rename. (SET_FIELD_PHYSNAME): Use new FIELD_LOC_KIND. (FIELD_DWARF_BLOCK, TYPE_FIELD_DWARF_BLOCK, SET_FIELD_DWARF_BLOCK): New. (field_is_static): New declaration. * gdbtypes.c (field_is_static): New function. (copy_type_recursive): Update throughout. * amd64-tdep.c, c-typeprint.c, coffread.c, cp-valprint.c, dwarf2read.c, eval.c, jv-typeprint.c, jv-valprint.c, mdebugread.c, p-typeprint.c, p-valprint.c, valops.c, value.c, varobj.c: Update throughout.
2008-10-08*** empty log message ***gdbadmin1-1/+1
2008-10-07 * gnu-nat.h: Rename `current_inferior' to `gnu_current_inf' toPedro Alves4-33/+41
avoid a name collision. * gnu-nat.c: Likewise. * i386gnu-nat.c: Likewise.
2008-10-07 * gdb.ada/ref_tick_size.exp: New testcase.Joel Brobecker5-0/+128
2008-10-07 * ada-lang.c (ada_evaluate_subexp) [OP_ATR_SIZE]: Add handlingJoel Brobecker2-2/+14
of arguments that are references.
2008-10-07*** empty log message ***gdbadmin1-1/+1
2008-10-06 * dwarf2read.c (dwarf2_die_debug): New static global.Doug Evans5-33/+169
(dump_die_shallow): Renamed from dump_die, New args f, indent. Print to specified file, indented by the specified amount. (dump_die_for_error): New fn. Point all existing callers of dump_die here. (dump_die_die_1,dump_die): New fns, replaces ... (dump_die_list): ... deleted. (read_die_and_children_1): Old contents of read_die_and_children moved here. (read_die_and_children): Rewrite. (read_die_and_siblings): Call read_die_and_children_1 instead of read_die_and_children. (_initialize_dwarf2_read): New option "debug dwarf2-die". * gdbinit.in (pdie): New macro. * doc/gdb.texinfo (set debug dwarf2-die): Document it.
2008-10-06 * dwarf2read.c (offset_in_cu_p): New function.Doug Evans6-9/+190
(find_partial_die,follow_die_ref): Use it. * gdb.dwarf2/dw2-cu-size.exp: New file. * gdb.dwarf2/dw2-cu-size.S: New file. * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from .Ltype_int for clarity.
2008-10-06 * symmisc.c (maintenance_info_symtabs): Watch for ^c.Doug Evans2-90/+103
(maintenance_info_psymtabs): Ditto.
2008-10-06*** empty log message ***gdbadmin1-1/+1
2008-10-05Fix email addressMichael Snyder1-1/+1
2008-10-052008-10-05 Michael Snyder <msnyder@promb-2s-dhcp59.eng.vmware.com>Michael Snyder2-1/+5
* infrun.c (handle_inferior_event): Fix typo in comment.
2008-10-05*** empty log message ***gdbadmin1-1/+1
2008-10-04 * mi/mi-interp.c (mi_on_resume): Flush raw_stdout.Vladimir Prus2-0/+5
2008-10-04*** empty log message ***gdbadmin1-1/+1
2008-10-032008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov5-40/+67
PR gdb/2384: * gdb.cp/gdb2384.exp: Extended to test more cases. * gdb.cp/gdb2384.cc: Likewise. * gdb.cp/gdb2384-base.h: Likewise. * gdb.cp/gdb2384-base.cc: Likewise.
2008-10-032008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-1/+7
PR gdb/2384: * gdbtypes.c (get_vptr_fieldno): baseclass and basetype may have different lifetimes.
2008-10-03Fix the date in the last entry.Joel Brobecker1-1/+1
2008-10-03 * solib-osf.c: Include "solib.h".Joel Brobecker2-0/+5
2008-10-032008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov16-87/+96
* utils.c, defs.h (gdb_buildargv): New fn. Wrap buildargv and check for out-of-memory condition. * exec.c (exec_file_command): Call it. * infrun.c (handle_command, xdb_handle_command): Likewise. * interps.c (interpreter_exec_cmd): Likewise. * linux-nat.c (linux_nat_info_proc_cmd): Likewise. * procfs.c (info_proc_cmd): Likewise. * remote-mips.c (common_open): Likewise. * remote-sim.c (gdbsim_kill, gdbsim_create_inferior) (gdbsim_open): Likewise. * remote.c (extended_remote_run, remote_put_command) (remote_get_command, remote_delete_command): Likewise. * ser-mingw.c (pipe_windows_open): Likesise. * source.c (add_path, show_substitute_path_command) (unset_substitute_path_command, set_substitute_path_command): Likewise. * stack.c (backtrace_command): Likewise. * symfile.c (symbol_file_command, generic_load) (add_symbol_file_command): Likesise. * symmisc.c (maintenance_print_symbols, maintenance_print_psymbols) (maintenance_print_msymbols): Likewise.
2008-10-03*** empty log message ***gdbadmin1-1/+1
2008-10-02gdb/Jan Kratochvil15-245/+85
Replace TYPE_ARRAY_{UPPER,LOWER}_BOUND_TYPE by a bit if {un,}defined. * c-typeprint.c (c_type_print_varspec_suffix), m2-typeprint.c (m2_array), p-typeprint.c (pascal_type_print_varspec_prefix), valops.c (value_cast), varobj.c (c_number_of_children): Replace TYPE_ARRAY_UPPER_BOUND_TYPE compared to BOUND_CANNOT_BE_DETERMINED by TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED. * parse.c (follow_types): Use TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED. * f-valprint.c (f77_get_dynamic_upperbound): Replace with ... (f77_get_upperbound): ... this function handling now only TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED. (f77_get_dynamic_lowerbound): Replace with ... (f77_get_lowerbound): ... this function handling now only TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED. (f77_get_dynamic_length_of_aggregate, f77_create_arrayprint_offset_tbl): Update their callers. * eval.c (evaluate_subexp_standard): Update their callers. * f-lang.h (f77_get_dynamic_upperbound, f77_get_upperbound) (f77_get_dynamic_lowerbound, f77_get_lowerbound): Update their prototypes. (BOUND_FETCH_OK, BOUND_FETCH_ERROR): Remove. * f-typeprint.c (f_type_print_varspec_suffix, f_type_print_base): Remove the lower_bound_was_default variable. Update the f77_get_dynamic_upperbound, f77_get_upperbound and TYPE_ARRAY_UPPER_BOUND_TYPE calls. * gdbtypes.c (print_bound_type): Remove the function. (recursive_dump_type): Remove its calls printing UPPER_BOUND_TYPE and LOWER_BOUND_TYPE. * gdbtypes.h (enum array_bound_type): Remove. (struct main_type): Remove the fields upper_bound_type and lower_bound_type. Comment the new overload of the field artificial. (TYPE_ARRAY_UPPER_BOUND_TYPE): Replace by ... (TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED): ... this macro. (TYPE_ARRAY_LOWER_BOUND_TYPE): Replace by ... (TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED): ... this macro. gdb/testsuite/ * gdb.base/maint.exp (maint print type): Remove printing UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
2008-10-02 * Makefile.in (HFILES_NO_SRCDIR): Remove gdb-events.h, gstdint.h.Tom Tromey2-2/+6
2008-10-02 * mips-linux-tdep.c (mips_linux_in_dynsym_resolve_code): UpdateDaniel Jacobowitz5-9/+119
comments. (mips_linux_skip_resolver): Also use glibc_skip_solib_resolver. (mips_linux_init_abi): Do not override skip_trampoline_code. * configure.tgt (mips*-*-linux*): Add glibc-tdep.o. * mips-tdep.c (mips32_scan_prologue): Stop scanning at branches. (mips_stub_frame_sniffer): Use the stub frame sniffer for PIC stubs. (mips_skip_mips16_trampoline_code): Rename from mips_skip_trampoline_code. (mips_skip_pic_trampoline_code, mips_skip_trampoline_code): New. * infrun.c (handle_inferior_event): Do not pass zero to in_solib_dynsym_resolve_code.
2008-10-02 * win32-nat.c (do_initial_win32_stuff): Set inferior_ptid.Pierre Muller3-0/+18
2008-10-02*** empty log message ***gdbadmin1-1/+1
2008-10-01 * symtab.c (search_symbols): Update.Tom Tromey3-11/+10
* symtab.h (domain_enum_tag) <METHODS_DOMAIN>: Remove.
2008-10-01 * symfile.c (syms_from_objfile): Update.Tom Tromey3-19/+14
(reread_symbols): Update. * objfiles.h (OBJF_SYMS): Remove. (OBJF_REORDERED): Renumber. (OBJF_SHARED): Likewise. (OBJF_READNOW): Likewise. (OBJF_USERLOADED): Likewise.
2008-10-01 * symtab.c (find_pc_sect_psymtab): Use MSYMBOL_TYPE.Tom Tromey8-17/+31
(find_pc_sect_symtab): Likewise. * symmisc.c (dump_msymbols): Use MSYMBOL_TYPE. * solib-som.c (som_solib_desire_dynamic_linker_symbols): Use MSYMBOL_TYPE, not SYMBOL_TYPE. * parse.c (write_exp_msymbol): Use MSYMBOL_TYPE. * objc-lang.c (find_methods): Use MSYMBOL_TYPE. * minsyms.c (lookup_minimal_symbol_by_pc_section_1): Use MSYMBOL_TYPE. * m2-exp.y (yylex): Use SYMBOL_CLASS.
2008-10-01 * gdb.texinfo (catch) [exception]: Document how to insertJoel Brobecker2-0/+15
a breakpoint on user-defined exceptions when the exception name is identical to one of the language-defined ones.
2008-10-01 * xcoffread.c (RECORD_MINIMAL_SYMBOL): Update.Tom Tromey12-47/+66
(scan_xcoff_symtab): Update. * mdebugread.c (record_minimal_symbol): Update. (parse_partial_symbols): Update. * elfread.c (record_minimal_symbol): Update. * dbxread.c (record_minimal_symbol): Update. * coffread.c (record_minimal_symbol): Update. * sh64-tdep.c (MSYMBOL_IS_SPECIAL): Redefine. (sh64_elf_make_msymbol_special): Update. * mips-tdep.c (mips_elf_make_msymbol_special): Use MSYMBOL_TARGET_FLAG_1. (mips_elf_make_msymbol_special): Likewise. (msymbol_is_special): Likewise. * minsyms.c (prim_record_minimal_symbol_and_info): Update. (install_minimal_symbols): Likewise. (prim_record_minimal_symbol): Update. (prim_record_minimal_symbol_and_info): Remove 'info' argument. * m68hc11-tdep.c (MSYMBOL_SET_RTC): Redefine. (MSYMBOL_SET_RTI): Redefine. (MSYMBOL_IS_RTC): Redefine. (MSYMBOL_IS_RTI): Redefine. * arm-tdep.c (MSYMBOL_SET_SPECIAL): Redefine. (MSYMBOL_IS_SPECIAL): Redefine. * symtab.h (struct minimal_symbol) <info>: Remove. <target_flag_1, target_flag_2>: New fields. (MSYMBOL_INFO): Remove. (MSYMBOL_TARGET_FLAG_1): New macro. (MSYMBOL_TARGET_FLAG_2): Likewise. (prim_record_minimal_symbol_and_info): Update.
2008-10-01 * ada-lang.c (is_digits_suffix): Delete unused function.Joel Brobecker2-13/+4
2008-10-01*** empty log message ***gdbadmin1-1/+1