aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-11-29gdb/Sanjoy Das2-4/+10
* jit.c (add_objfile_entry, jit_reader_try_read_symtab) (jit_bfd_try_read_symtab): Fix comments.
2011-11-29Record Mike Frysinger as a sim Global Maintainer.Joel Brobecker2-0/+9
sim/ChangeLog: * maintainers (global maintainers): new section. add mike frysinger.
2011-11-29[sim]DJ Delorie20-0/+8649
* configure.tgt: Add rl78 support. * configure: Regenerate. * rl78: New directory. * MAINTAINERS: Add myself as RL78 maintainer. [gdb] * NEWS: Mention RL78 simulator.
2011-11-29Further fix the documentation in struct quick_symbol_functionsJoel Brobecker2-7/+13
gdb/ChangeLog: * symfile.h (struct quick_symbol_functions): Fix the documentation of field map_matching_symbols, as symbols are sorted using strcmp_iw_ordered, not strcmp_iw.
2011-11-29Update documentation in struct quick_symbol_functionsJoel Brobecker2-4/+9
Paul sent me this documentiion update when I asked him a question about compare_names in ada-lang.c. gdb/ChangeLog: * symfile.h (struct quick_symbol_functions): Update the documentation for field map_matching_symbols.
2011-11-29wrong value returned by ada-lang.c:compare_namesJoel Brobecker9-1/+163
The ada-lang.c:compare_names function returns the wrong value when the first string starts with the same contents as the second string, followed by '_' and then some characters that do not make a symbol name suffix. For instance: string1 = "generics__test_generics__instance__print" string2 = "generics__test_generics" In that case, compare_names (string1, string2) return -1, when clearly, string1 is greater than string2. A consequence of this problem is that GDB may fail to lookup "generics.test_generics" from our partial symtabs, because partial symbols are ordered by strcmp_iw_ordered: (gdb) b generics.test_generics Function "generics.test_generics" not defined. Make breakpoint pending on future shared library load? (y or [n]) gdb/ChangeLog: * ada-lang.c (compare_names): Fix wrong return value in case string1 starts with the same contents as string2, followed by an underscore that do not start a symbol name suffix. gdb/testsuite/ChangeLog: * gdb.ada/fullname_bp: New testcase.
2011-11-29*** empty log message ***gdbadmin1-1/+1
2011-11-28daily updateAlan Modra1-1/+1
2011-11-28 PR binutils/13421Nick Clifton2-61/+96
* readelf.c (arm_section_get_word): Add descriptive comments. Initliase the rel_type field of the arm_sec structure. (expand_prel31): Rename to arm_expand_prel31. (dump_arm_unwind): Use new name. Print the function name based on the function address entry.
2011-11-282011-11-28 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon7-21/+57
PR python/13369 PR python/13374 * python/python.c (gdbpy_decode_line): Do not acquire GIL. * python/py-inferior.c (inferior_to_inferior_object): Ditto. * python/py-value.c (valpy_nonzero): Use TRY_CATCH to catch GDB exceptions. * python/py-type.c (typy_strip_typedefs): Ditto. (typy_legacy_template_argument): Ditto. * python/py-inferior.c (inferior_to_inferior_object): Ditto. * python/py-breakpoint.c (bppy_set_ignore_count): Ditto.
2011-11-28*** empty log message ***gdbadmin1-1/+1
2011-11-27daily updateAlan Modra1-1/+1
2011-11-27remove use of sprintf_vma in remote_get_tracepoint_statusJoel Brobecker2-5/+8
This function takes a VMA and was forcing us to perform a cast to compile without warning on one platform. Except that the cast caused a warning on sparc-solaris. This patch fixes the problem by using phex_nz instead. gdb/ChangeLog: * remote.c (remote_get_tracepoint_status): Delete addrbuf local variable. Avoid use of sprintf_vma.
2011-11-27gdb/Sanjoy Das2-7/+19
Fix regression in jit.exp. * jit.c (jit_reader_try_read_symtab, jit_bfd_try_read_symtab) (jit_register_code): Set the jit_objfile_data field to the correct value.
2011-11-27*** empty log message ***gdbadmin1-1/+1
2011-11-26daily updateAlan Modra1-1/+1
2011-11-26*** empty log message ***gdbadmin1-1/+1
2011-11-25gdb/testsuite/Jan Kratochvil2-5/+9
Code cleanup. * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test): Convert send_gdb and gdb_expect to gdb_test_multiple.
2011-11-25gdb/testsuite/Jan Kratochvil2-1/+9
PR testsuite/12649 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2): Wrap send_gdb into a new gdb_test.
2011-11-25gdb/testsuite/Jan Kratochvil2-1/+5
* gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
2011-11-25daily updateAlan Modra1-1/+1
2011-11-252011-11-25  Uros Bizjak  <ubizjak@gmail.com>Ulrich Weigand2-0/+100
* alpha-tdep.c (br_opcode): New. (ldl_l_opcode, ldq_l_opcode, stl_c_opcode, stq_c_opcode): Ditto. (alpha_deal_with_atomic_sequence): New function. (alpha_gdbarch_init): Handle single stepping of atomic sequences with alpha_deal_with_atomic_sequence.
2011-11-25 * mips-dis.c (print_insn_micromips): Rename local variable iprintfPierre Muller2-94/+99
to infprintf to avoid shadow warning.
2011-11-25 * gas/config/tc-arm.c (do_t_mov_cmp): Allow MOV lowreg, lowreg when no CPUMatthew Gretton-Dann7-4/+46
is specified. * gas/testsuite/gas/arm/mov-highregs-any.d: New testcase. * gas/testsuite/gas/arm/mov-highregs-any.s: Likewise. * gas/testsuite/gas/arm/mov-lowregs-any.d: Likewise. * gas/testsuite/gas/arm/mov-lowregs-any.s: Likewise.
2011-11-25 * emultempl/armelf.em: Update copyright to 2010 and 2011.Nick Clifton2-10/+15
(PARSE_AND_LIST_OPTIONS): Fix formatting.
2011-11-25 * binutils-all/objdump.exp (cpus): Add MicroBlaze.Nick Clifton3-3/+23
(objdump -WL): Skip this test on MCore, Moxie and OpenRisc targets. * binutils-all/objcopy.exp (localize-hidden-1): Expect this test to fail on MIPS based targets.
2011-11-25 * po/it.po: Updated Italian translation.Nick Clifton2-9/+6
2011-11-25 * po/it.po: New Italian translation.Nick Clifton2-0/+2251
2011-11-252011-11-24 Stan Shebs <stan@codesourcery.com>Stan Shebs2-2/+6
* tracepoint.c (cmd_qtstatus): Use plongest instead of %llx.
2011-11-25*** empty log message ***gdbadmin1-1/+1
2011-11-24daily updateAlan Modra1-1/+1
2011-11-242011-11-24 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-281/+483
* machoread.c (oso_el): Remove num_Sections, symbols, offsets fields. Add oso_sym, end_sym and nbr_syms. (macho_register_oso): Change interface. (macho_symtab_add_minsym): New function. (macho_symtab_read): Rewritten. (get_archive_prefix_len): Remove trailing blanks. (oso_el_compare_name): Add comment. (struct macho_sym_hash_entry): New structure. (macho_relocate_common_syms): Remove. (macho_sym_hash_newfunc): New function. (macho_resolve_oso_sym_with_minsym): Likewise. (macho_add_oso_symfile): Rewritten. (macho_symfile_read_all_oso): Remove trailing blanks. Adjust code to free oso vector. (macho_symfile_read): Likewise. Move code to initialize minimal symbol
2011-11-24 * mips-tdep.c (extended_offset): Fix formatting.Maciej W. Rozycki2-3/+9
2011-11-24*** empty log message ***gdbadmin1-1/+1
2011-11-23daily updateAlan Modra1-1/+1
2011-11-23 * lib/mi-support.exp (varobj_tree): New namespace and procs.Keith Seitz2-0/+316
(mi_varobj_tree_test_children_callback): New proc. (mi_walk_varobj_tree): New proc.
2011-11-23 * dwarf2read.c (dw2_lookup_symtab): Add comment.Doug Evans2-0/+12
(dw2_expand_symtabs_with_filename): Ditto. (dw2_expand_symtabs_matching): Ditto. (dw2_map_symbol_filenames): Ditto.
2011-11-23Minor reformatting in ada-lang.c:assign_aggregateJoel Brobecker2-16/+20
No code change. gdb/ChangeLog: From Andrey Smirnov <andrew.smirnov@gmail.com>: * ada-lang.c (assign_aggregate): Minor reformatting.
2011-11-23fix -Wshadow warning inside ada-lang.c:assign_aggregateJoel Brobecker2-2/+6
gdb/ChangeLog: From Andrey Smirnov <andrew.smirnov@gmail.com>: * ada-lang.c (assign_aggregate): Remove declaration of local variable `i' which is shadowing another variable with the same name declared in the outer scope.
2011-11-23ada-lang.c: Rename function base_type into get_base_typeJoel Brobecker2-7/+12
This avoids shadowing issues with variables named base_type. gdb/ChangeLog: * ada-lang.c (get_base_type): Renames base_type. Adjust all calls throughout this file.
2011-11-23Fix compilation error in gdb-dlfcn.c (on Windows)Joel Brobecker2-1/+6
gdb/ChangeLog: * gdb-dlfcn.c (gdb_dlopen): Add missing coma in call to FormatMessage.
2011-11-232011-11-23 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+4
* config/tc-alpha.c (s_alpha_prologue): Requires empty line.
2011-11-232011-11-23 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+12
* config/tc-alpha.c (s_alpha_frame): Emit a warning if bad value of RA. (s_alpha_pdesc): Adjust comment.
2011-11-232011-11-23 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-4/+17
* vms-lib.c (get_idxlen): Add comments. Fix type in sizeof. (vms_write_index): Add comments.
2011-11-232011-11-23 Thomas Klein <th.r.klein@web.de>Richard Earnshaw2-0/+11
* config/tc-arm.c (do_t_mov_cmp): Prevent emitting code for MOV with two low register at arch v4t or v5t when assember using unified syntax.
2011-11-23*** empty log message ***gdbadmin1-1/+1
2011-11-22daily updateAlan Modra1-1/+1
2011-11-22gdbTom Tromey14-41/+288
PR mi/8444: * mi/mi-common.h (EXEC_ASYNC_SOLIB_EVENT, EXEC_ASYNC_FORK) (EXEC_ASYNC_VFORK, EXEC_ASYNC_SYSCALL_ENTRY) (EXEC_ASYNC_SYSCALL_RETURN, EXEC_ASYNC_EXEC): New constants. * mi/mi-common.c (async_reason_string_lookup): Add new reasons. * breakpoint.c (print_it_catch_fork, print_it_catch_vfork) (print_it_catch_syscall, print_it_catch_exec) (internal_bkpt_print_it): Use ui_out. Emit stop reason. (bpstat_print): Add 'kind' argument. Handle TARGET_WAITKIND_LOADED. * infrun.c (normal_stop): Update for bpstat_print change. Don't handle TARGET_WAITKIND_LOADED here. * breakpoint.h (bpstat_print): Update. gdb/testsuite * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd. Add "use_mi_command" argument. (mi_run_cmd, mi_run_with_cli): New procs. * gdb.mi/solib-lib.c: New file. * gdb.mi/solib-main.c: New file. * gdb.mi/mi-solib.exp: New file. gdb/doc * gdb.texinfo (GDB/MI Async Records): Document new *stopped reasons.
2011-11-22 * mi/mi-interp.c (mi_on_normal_stop): Call bpstat_print.Tom Tromey2-0/+5
2011-11-22 * mi/mi-common.c (_initialize_gdb_mi_common): Remove.Tom Tromey3-11/+16
Use static_assert to check the size of async_reason_string_lookup. * common/gdb_assert.h (static_assert): New macro.