aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-02-07 * valprint.c (val_print): Extend comment.Pedro Alves8-63/+61
* ada-valprint.c (ada_valprint): Rewrite comment deferring interface explanation to val_print. (ada_val_print_array): Adjust comment to current interface. (print_field_values): Adjust comment to current interface. * c-valprint.c (c_val_print): Rewrite comment deferring interface explanation to val_print. * f-valprint.c (f_val_print): Ditto. * jv-valprint.c (java_val_print): Ditto. * m2-valprint.c (m2_val_print): Ditto. * p-valprint.c (pascal_val_print): Ditto.
2011-02-07 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.Thiago Jung Bauermann6-10/+23
* gdb.base/jit.exp: Likewise. * gdb.base/pie-execl.exp: Likewise. * gdb.base/solib-nodir.exp: Likewise. * gdb.base/solib-overlap.exp: Likewise.
2011-02-07 * breakpoint.c (parse_breakpoint_sals): Fix description.Thiago Jung Bauermann2-3/+10
2011-02-07 gdb/server/Pedro Alves6-20/+106
* server.c (gdb_read_memory): Change return semantics to allow partial transfers. (handle_search_memory_1): Adjust. (process_serial_event) <'m' packet>: Handle partial transfers. * tracepoint.c (traceframe_read_mem): Handle partial transfers. gdb/testsuite/ * gdb.trace/collection.c (global_pieces): New. * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test): New procedure. (gdb_trace_collection_test): Call it.
2011-02-07 PR gas/3041Alan Modra4-1/+75
* gas/m68k/p3041pcrel.s, * gas/m68k/p3041pcrel.d: New test. * gas/m68k/all.exp: Add "p3041pcrel" and enable p3041 tests for all m68k-aout targets.
2011-02-07*** empty log message ***gdbadmin1-1/+1
2011-02-06 PR gprof/12468Alan Modra2-2/+23
* corefile.c (core_create_function_syms): Set is_func for targets that have no BSF_FUNCTION syms.
2011-02-06daily updateAlan Modra1-1/+1
2011-02-06*** empty log message ***gdbadmin1-1/+1
2011-02-05daily updateAlan Modra1-1/+1
2011-02-05Add the file that prev commit forget.Hui Zhu18-0/+1366
2011-02-05 * symtab.cc (Odr_violation_compare::operator()): Sort by just theIan Lance Taylor2-12/+33
filename.
2011-02-05*** empty log message ***gdbadmin1-1/+1
2011-02-04daily updateAlan Modra1-1/+1
2011-02-04Add Python support for GDB events.Sami Wagiaalla9-6/+308
2011-02-04 Sami Wagiaalla <swagiaal@redhat.com> * gdb.python/py-evthreads.c: New file. * gdb.python/py-evthreads.exp: New file. * gdb.python/py-events.py: New file. * gdb.python/py-events.exp: New file. * gdb.python/py-events.c: New file. 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com> Oguz Kayral <oguzkayral@gmail.com> * python/py-inferior.c (python_on_normal_stop): New function. (python_on_resume): New function. (python_inferior_exit): New function. (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and inferior_exit observers. * python/py-evtregistry.c: New file. * python/py-threadevent.c : New file. * python/py-event.c: New file. * python/py-evts.c: New file. * python/py-continueevent.c: New file. * python/py-bpevent.c: New file. * python/py-signalevent.c: New file. * python/py-exetiedevent.c: New file. * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function. Move struct breakpoint_object from here... * python/python-internal.h: ... to here. * python/py-event.h: New file. * python/py-events.h: New file. * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o, py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o, py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o. (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c, py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c, py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c. Add build rules for all the above.
2011-02-04 * dwarf2read.c (dwarf2_section_empty_p): New function.Tom Tromey2-8/+42
(dwarf2_read_section): Use dwarf2_section_empty_p. (dwarf2_section_size): New function. (dwarf2_get_section_info): Unconditionally read section. (dwarf2_read_index): Use dwarf2_section_empty_p. (partial_read_comp_unit_head): Use dwarf2_section_size. (dwarf2_symbol_mark_computed): Likewise.
2011-02-04 * gdbint.texinfo (Formatting): Mention some formatting guidelinesPedro Alves2-1/+28
for casts and unary operators.
2011-02-042011-02-04 David Daney <ddaney@caviumnetworks.com>David Daney2-0/+6
* NEWS: Add item for "catch syscall" on mips*-linux* targets.
2011-02-04 * gdb.texinfo (GDB/MI Async Records): Document that symbols-loadedTom Tromey2-5/+11
is not useful.
2011-02-04gdb/David Daney8-2/+1037
2011-02-04 David Daney <ddaney@caviumnetworks.com> * mips-linux-tdep.c: Include xml-syscall.h. (mips_linux_get_syscall_number): New function. (mips_linux_init_abi): Add calls to mips_linux_get_syscall_number() and set_xml_syscall_file_name(). * data-directory/Makefile.in (SYSCALLS_FILES): Add mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml * syscalls/mips-n32-linux.xml: New file. * syscalls/mips-n64-linux.xml: New file. * syscalls/mips-o32-linux.xml: New file. gdb/testsuite/ 2011-02-04 David Daney <ddaney@caviumnetworks.com> * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
2011-02-04 * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.Ulrich Weigand2-1/+32
Complain about inverted range entries. (dwarf2_record_block_ranges): Likewise.
2011-02-04 Fix some typos.Thiago Jung Bauermann3-6/+17
* breakpoint.c (update_watchpoint): Fix name of the update_global_location_list function. (print_one_breakpoint): Fix typo. (_initialize_breakpoint): Remove extra space in hbreak help string. * breakpoint.h (struct bp_location) <length>: Fix field description.
2011-02-04 * regcache.c (registers_changed_ptid): Don't explictly alwaysPedro Alves2-11/+26
clear `current_regcache'. Only clear current_thread_ptid and current_thread_arch when PTID matches. Only reinit the frame cache if PTID matches the current inferior_ptid. Move alloca(0) call to ... (registers_changed): ... here.
2011-02-04*** empty log message ***gdbadmin1-1/+1
2011-02-03 gas/Bernd Schmidt14-126/+44
* doc/as.texinfo (Target TIC6X options): Don't mention "-matomic". * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic". (TIC6X Options): Don't mention "-matomic". * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete. (md_longopts): Remove corresponding entries. (md_parse_option): Don't handle them. (md_show_usage): Don't document them. (tic6x_atomic): Delete variable. (tic6x_update_features): Always copy tic6x_arch_enable to tic6x_features. (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC. (s_tic6x_atomic, s_tic6x_noatomic): Remove functions. (md_pseudo_table): Remove ".atomic" and ".noatomic". gas/testsuite/ * gas/tic6x/dir-junk.l: Remove tests for .atomic and .noatomic. * gas/tic6x/dir-junk.s: Likewise. * gas/tic6x/insns-c674x-bad.d: Remove test. * gas/tic6x/insns-c674x-bad.l: Likewise. * gas/tic6x/insns-atomic.d: Remove "-matomic" switch. include/opcode/ * tic6x-opcode-table.h (cmtl, ll, sl): Available on C64XP. * tic6x.h (TIC6X_INSN_ATOMIC): Remove.
2011-02-03daily updateAlan Modra1-1/+1
2011-02-03 * arm-tdep.c (arm_skip_stack_protector): Accept any symbol thatUlrich Weigand2-1/+7
starts with __stack_chk_guard as stack guard symbol.
2011-02-03http://sourceware.org/ml/gdb-patches/2010-12/msg00300.htmlAndrew Burgess6-6/+132
Improve the ordering of line table entries when dealing with the end of sequence markers. This will allow us to disassemble over the border between two compile units while also displaying source code information.
2011-02-03libiberty: documentation markup and order fixes.Ralf Wildenhues33-208/+370
libiberty/: * splay-tree.c: Escape wrapping newlines in texinfo markup with '@', to fix function declaration output rendering. * gather-docs: Relax and improve macro name matching to actually match all current names and to allow input line wrapping. * bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c, hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c, memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c, pexecute.txh, random.c, setenv.c, setproctitle.c, simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c, strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c: Wrap long texinfo input lines. * functions.texi: Regenerate.
2011-02-03*** empty log message ***gdbadmin1-1/+1
2011-02-02daily updateAlan Modra1-1/+1
2011-02-022011-02-02 Sriraman Tallam <tmsriram@google.com>Sriraman Tallam3-14/+22
* icf.h (is_section_foldable_candidate): Change type of parameter to std::string. * icf.cc (Icf::find_identical_sections): Change type of local variable section_name to be std::string. (is_function_ctor_or_dtor): Change type of parameter to std::string.
2011-02-02 * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMBUlrich Weigand2-26/+51
arguments. Skip in-prologue calls to glibc __aeabi_read_tp implementation even if no symbols are available. (thumb_analyze_prologue): Update call to skip_prologue_function. (arm_analyze_prologue): Likewise.
2011-02-02 * arm-tdep.c: Include "observer.h".Ulrich Weigand2-0/+770
(arm_prologue_this_id): Use frame PC if get_frame_func returns 0. (arm_exidx_data_key): New static variable. (struct arm_exidx_entry, arm_exidx_entry_s): New data types. (struct arm_exidx_data): Likewise. (arm_exidx_data_free): New function. (arm_compare_exidx_entries): Likewise. (arm_obj_section_from_vma): Likewise. (arm_exidx_new_objfile): Likewise. (arm_find_exidx_entry): Likewise. (arm_exidx_fill_cache): Likewise. (arm_exidx_unwind_sniffer): Likewise. (arm_exidx_unwind): New global variable. (arm_gdbarch_init): Append unwinder arm_exidx_unwind. (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile observer. Register arm_exidx_data_key as objfile data.
2011-02-02 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build breakUlrich Weigand2-20/+26
due to accessing uninitialized variable. Fix indentation.
2011-02-02 gdb/Pedro Alves5-2/+61
* c-valprint.c (c_value_print): When doing virtual base pointer adjustment, create a new value with adjusted contents rather than changing the contents of the value being printed (and getting it wrong). gdb/testsuite/ * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB) (Virtual): New structs. (virtual_o, virtual_middle_b): New globals. * gdb.cp/virtbase.exp: New tests.
2011-02-02 * xml-support.c (xml_find_attribute): New.Pedro Alves8-35/+76
(xinclude_start_include): Use it. * xml-support.h (xml_find_attribute): Declare. * memory-map.c (memory_map_start_memory) (memory_map_start_property): Use xml_find_attribute. * osdata.c (osdata_start_osdata, osdata_start_column): Use xml_find_attribute. * remote.c (start_thread): Use xml_find_attribute. * solib-target.c (library_list_start_segment) (library_list_start_section, library_list_start_library) (library_list_start_list): Use xml_find_attribute. * xml-tdesc.c (tdesc_start_target, tdesc_start_feature) (tdesc_start_union, tdesc_start_struct, tdesc_start_flags) (tdesc_start_field): Use xml_find_attribute.
2011-02-02 * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.Ulrich Weigand2-6/+11
(BUILD_OCL_VTYPES): Update.
2011-02-02fix gdb+python build failure if using non-GNU sedJoel Brobecker3-2/+38
Non-GNU sed do not like the '?' quantifier when used in a s/// regexp that involve back-references, causing the build to fail when trying to link with Python support. This fixes it by using the '*' quantifier instead. gdb/ChangeLog: * configure.ac: Work around non-GNU sed limitation when computing python version number. * configure: Regenerate.
2011-02-02*** empty log message ***gdbadmin1-1/+1
2011-02-01daily updateAlan Modra1-1/+1
2011-02-01gdb/Jan Kratochvil2-0/+50
Fix debug printing of TYPE_INSTANCE. * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New. (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
2011-02-01gdb/Jan Kratochvil6-600/+457
Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL, OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME, OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT. * ada-operator.inc: Rename the file to ... * ada-operator.def: ... here, wrap all the entries by macro OP. * expprint.c (op_name_standard): Remove all the entries. Include "std-operator.def" instead. * expression.h (enum exp_opcode): Include "std-operator.def" and "ada-operator.def". Move all the entries ... * std-operator.def: ... here, wrap all the entries by macro OP.
2011-02-01Updated Danish translation.Nick Clifton2-21/+24
2011-02-01*** empty log message ***gdbadmin1-1/+1
2011-01-31daily updateAlan Modra1-1/+1
2011-01-31 * elf64-ppc.c (ppc64_elf_next_input_section): Use elf_gp valueAlan Modra2-5/+35
for toc pointer on any section having makes_toc_func_call set. (check_pasted_section): Ensure pasted .init/.fini fragments use the same toc if any has makes_toc_func_call set.
2011-01-312011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov4-0/+333
* gdb.base/jit.exp: New file. * gdb.base/jit-main.c: New file. * gdb.base/jit-solib.c: New file.
2011-01-312011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov1-0/+23
* breakpoint.h (remove_jit_event_breakpoints): New prototype. * breakpoint.c (remove_jit_event_breakpoints): New function. * jit.c (jit_descriptor_addr): Delete. (registering_code): Delete. (clear_int): Delete. (jit_inferior_data): New variable. (struct jit_inferior_data): New type. (get_jit_inferior_data): New function. (jit_inferior_data_cleanup): New function. (jit_read_descriptor): Adjust. (jit_register_code): Adjust. (jit_breakpoint_re_set_internal): New function; move code here ... (jit_inferior_init): ... from here. (jit_breakpoint_re_set): Adjust. (jit_reset_inferior_data_and_breakpoints): New function. (jit_inferior_created_observer): Adjust. (jit_inferior_exit_hook): Adjust. (jit_executable_changed_observer): New function. (jit_event_handler): Adjust. (_initialize_jit): Adjust.
2011-01-312011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov3-73/+141
* breakpoint.h (remove_jit_event_breakpoints): New prototype. * breakpoint.c (remove_jit_event_breakpoints): New function. * jit.c (jit_descriptor_addr): Delete. (registering_code): Delete. (clear_int): Delete. (jit_inferior_data): New variable. (struct jit_inferior_data): New type. (get_jit_inferior_data): New function. (jit_inferior_data_cleanup): New function. (jit_read_descriptor): Adjust. (jit_register_code): Adjust. (jit_breakpoint_re_set_internal): New function; move code here ... (jit_inferior_init): ... from here. (jit_breakpoint_re_set): Adjust. (jit_reset_inferior_data_and_breakpoints): New function. (jit_inferior_created_observer): Adjust. (jit_inferior_exit_hook): Adjust. (jit_executable_changed_observer): New function. (jit_event_handler): Adjust. (_initialize_jit): Adjust.