aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-04-04 * cli/cli-interp.c (struct captured_execute_command_args):Tom Tromey7-98/+51
Remove. (do_captured_execute_command): Remove. (safe_execute_command): Use TRY_CATCH. * cli/cli-script.c (struct wrapped_read_command_file_args): Remove. (wrapped_read_command_file): Remove. (script_from_file): Use TRY_CATCH. * exceptions.c (catch_exception): Remove. * exceptions.h (catch_exception): Remove. (deprecated_throw_reason): Update comment. * mi/mi-main.c (captured_mi_execute_command): Change 'data' argument to 'context'. (mi_execute_command): Use TRY_CATCH. * remote.c (struct start_remote_args): Remove. (remote_start_remote): Update; change arguments. (remote_open_1): Use TRY_CATCH.
2011-04-04 * tracepoint.c (scope_info): Update.Tom Tromey8-82/+61
* symtab.c (decode_line_spec): Update. * python/python.c (gdbpy_decode_line): Update. * linespec.h (decode_line_1): Update. * linespec.c (decode_line_1): Remove 'not_found_ptr' argument. (decode_compound, find_method, symtab_from_filename) (decode_variable): Likewise. * cli/cli-cmds.c (edit_command): Update. (list_command): Update. * breakpoint.c (parse_breakpoint_sals): Remove 'not_found_ptr' argument. (create_breakpoint): Update. (until_break_command): Update. (addr_string_to_sals): Update. (decode_line_spec_1): Update.
2011-04-04Add a testcase for PR ld/12627.H.J. Lu5-0/+56
2011-04-04 H.J. Lu <hongjiu.lu@intel.com> PR ld/12627 * ld-i386/i386.exp: Run pr12627. * ld-i386/pr12627.d: New. * ld-i386/pr12627.s: Likewise. * ld-i386/pr12627.t: Likewise.
2011-04-04 * breakpoint.c (struct captured_parse_breakpoint_args): Remove.Tom Tromey2-26/+12
(do_captured_parse_breakpoint): Remove. (create_breakpoint): `e' is now volatile. Remove `parse_args'. Use TRY_CATCH directly.
2011-04-04 * symtab.h (free_symtab): Remove.Tom Tromey5-36/+43
(forget_cached_source_info_for_objfile): Declare. * symmisc.c (free_symtab): Remove. * source.c (forget_cached_source_info_for_objfile): New function. (forget_cached_source_info): Use it. * objfiles.c (free_objfile): Simplify check before calling clear_current_source_symtab_and_line. Call forget_cached_source_info_for_objfile.
2011-04-04 * mdebugread.c (psymtab_to_symtab_1): Copy linetable to obstack.Tom Tromey6-73/+57
(new_symtab): Don't set `free_code' on symtab. (new_linetable): Properly handle size==0. * symtab.h (struct symtab) <free_code, free_func>: Remove. * symmisc.c (free_symtab): Don't free the linetable. Don't call free_func. * jv-lang.c (struct jv_per_objfile_data): New. (jv_per_objfile_free): Free the data. (get_dynamics_objfile): Allocate a jv_per_objfile_data. (get_java_class_symtab): Set the `dict' field on the jv_per_objfile_data. (free_class_block): Remove. * buildsym.c (end_symtab): Don't set `free_code' or `free_func' on the symtab.
2011-04-04gdbTom Tromey8-296/+37
* symfile.c (reread_symbols): Update. * objfiles.h (struct objfile) <cp_namespace_symtab>: Remove field. * objfiles.c (allocate_objfile): Update. * cp-support.h (cp_check_possible_namespace_symbols): Don't declare. * cp-namespace.c (lookup_symbol_file): Don't call lookup_possible_namespace_symbol. (initialize_namespace_symtab, get_possible_namespace_block) (free_namespace_block, cp_check_possible_namespace_symbols) (check_possible_namespace_symbols_loop) (check_one_possible_namespace_symbol) (lookup_possible_namespace_symbol): Remove. (maintenance_cplus_namespace): Replace with notice. (_initialize_cp_namespace): Deprecate `maint cplus namespace'. gdb/testsuite * gdb.cp/maint.exp (test_help): Update. (test_namespace): Likewise.
2011-04-04 * xcoffread.c (read_xcoff_symtab): Make `debugfmt' const.Tom Tromey6-36/+30
* symtab.h (struct symtab) <producer, debugformat>: Now const. * symmisc.c (free_symtab): Don't free debugformat. * buildsym.h (struct subfile) <producer, debugformat>: Now const. (record_debugformat, record_producer): Document. * buildsym.c (end_symtab): Don't save debugformat and producer names on obstack. (end_symtab): Don't free debugformat and producer fields. (record_debugformat): Don't call xstrdup. (record_producer): Likewise.
2011-04-04 * source.c (find_source_lines): Remove LSEEK_NOT_LINEAR code.Tom Tromey2-65/+6
(source_line_charpos, source_charpos_line): Remove.
2011-04-04 * symtab.h (domain_enum): Split in two...Tom Tromey8-32/+55
(enum search_domain): New. (search_symbols): Update. * symtab.c (print_symbol_info, symtab_symbol_info): Remove redundant declarations. (search_symbols): Change 'kind' argument to search_domain. Update. (print_symbol_info): Likewise. (symtab_symbol_info): Likewise. * symfile.h (struct quick_symbol_functions) <pre_expand_symtabs_matching>: Change type of 'kind' argument. <expand_symtabs_matching>: Likewise. * psymtab.c (pre_expand_symtabs_matching_psymtabs): Update. (expand_symtabs_matching_via_partial): Update. * dwarf2read.c (dw2_pre_expand_symtabs_matching): Update. (dw2_expand_symtabs_for_function): Update. * block.h: Moved anonymous enum... * defs.h (enum block_enum): ... here. Now named.
2011-04-04Make the unknown archive element readable.H.J. Lu2-1/+9
2011-04-03 H.J. Lu <hongjiu.lu@intel.com> PR binutils/12632 * objcopy.c (copy_unknown_object): Make the archive element readable.
2011-04-04binutils/David S. Miller2-1/+42
* objdump.c (dump_reloc_set): Output R_SPARC_OLO10 relocations accurately, rather than how they are represented internally.
2011-04-04daily updateAlan Modra1-1/+1
2011-04-04*** empty log message ***gdbadmin1-1/+1
2011-04-03Update NEWS after gdb-7.3 branch creation.Joel Brobecker2-1/+9
gdb/ChangeLog: * NEWS: Create a new section for the next release branch. Rename the section of the current branch, now that it has been cut.
2011-04-03Record GDB 7.3 branch creation. Bump version number to 7.3.50.20110403-cvs.gdbadmin2-1/+6
2011-04-03*** empty log message ***gdbadmin1-1/+1
2011-04-03daily updateAlan Modra1-1/+1
2011-04-02sim: dv-glue: fix up style a bitMike Frysinger2-7/+38
This touches up the code a bit to match GNU style. No functional changes. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-04-02sim: fix up style a bitMike Frysinger14-80/+137
This touches up the code a bit to match GNU style. No functional changes. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-04-02Fix gdb.info build error (bad @menu entry)Joel Brobecker2-1/+6
gdb/doc/ChangeLog: * gdb.texinfo (GDB/MI Output Records): Fix menu entry for "GDB/MI Ada Exception Information" node.
2011-04-02*** empty log message ***gdbadmin1-1/+1
2011-04-01daily updateAlan Modra1-1/+1
2011-04-01sim: bfin: add OTP output portMike Frysinger2-0/+12
This doesn't currently generate any interrupts (as there doesn't appear to be any documentation to *when* it would even do so), but since the HRM does say an interrupt line exists between the OTP and the SIC, add one for completeness sake. This will make a follow up patch easier. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-04-01 * arm-tdep.c (arm_gdbarch_init): Enfore correct register numberUlrich Weigand2-1/+11
for "fpscr" in target description.
2011-04-01 * configure.ac (avr-*-*): Add comment about why libssp is disabled.Joseph Myers3-6/+8
(microblaze*): Don't disable libssp. * configure: Regenerate.
2011-04-01gdb/Jan Kratochvil2-2/+35
* dwarf2read.c (find_slot_in_mapped_hash): New variable back_to, initialize it. Delay HASH initialization. Strip the part after open parenthesis for languages with qualifiers. Call do_cleanups.
2011-04-01 * utils.c (report_command_stats): Don't print `-' for negativeTom Tromey2-3/+8
number.
2011-04-01extend scope of testing in gdb.ada/arrayptrJoel Brobecker3-0/+21
We add testing of taking a slice of an array access. And we also introduce the same amount of testing, but with an access to a constrained array. gdb/testsuite/ChangeLog: * gdb.ada/arrayptr/foo.adb: Add access to constrained array. * gdb.ada/arrayptr.exp: Add new tests.
2011-04-01[Ada] fix printing slice of array defined as typedefJoel Brobecker2-8/+18
A change we are making in the compiler to help preserve useful types when using -feliminate-unused-debug-types exposed a small hole in our value-printing code. One example of the problem happens when trying to print a slice of an array pointer. If the variable is defined as a pointer to the typedef of an array, then we fail to print the slice, like so: (gdb) p arr_ptr(1..2) cannot take slice of non-array gdb/ChangeLog: * ada-lang.c (ada_is_simple_array_type, ada_value_slice_from_ptr) (ada_value_slice, empty_array, to_fixed_array_type): Deal with typedefs.
2011-04-01improve Ada exception catchpoint MI notificationJoel Brobecker9-24/+256
This rewrites the code generating the Ada exception catchpoint hit notification for both the GDB/MI case as well as the non-MI case, by using the relevant ui_out_* functions to generate the output. the MI notifications for Ada exception catchpoints now include the stop reason, and the breakpoint "disp", much like other breakpoint events do. It also introduces a new field "exception-name" for exception catchpoints (excluding "failed assertion catchpoints, where we just want to know that it was a failed assertion). gdb/ChangeLog: * breakpoint.h (bpdisp_text): Add declaration. * breakpoint.c (bpdisp_text): Make non-static. * ada-lang.c: #include "mi/mi-common.h". (print_it_exception): Rewrite to improve GDB/MI output. gdb/doc/ChangeLog: * gdb.texinfo (GDB/MI Ada Exception Information): Document the "exception-name" field in the *stopped async record. gdb/testsuite/ChangeLog: * gdb.ada/mi_catch_ex: New testcase.
2011-04-01 gdb/testsuite/Pedro Alves2-6/+6
* gdb.cp/cpexprs.exp (Overloaded methods): No longer try the base::overload(void) method without specifying "const".
2011-04-01 * arm-tdep.h (struct address_space): Add forward declaration.Pedro Alves2-0/+5
2011-04-01 * configure.ac: Remove code setting CONFIG_SHELL, config_shell andJoseph Myers5-77/+10
moveifchange. * configure: Regenerate. * Makefile.tpl: Use @SHELL@ not @config_shell@. * Makefile.in: Regenerate.
2011-04-01 * configure.ac (*-*-sysv4*): Don't enable libgomp.Joseph Myers3-72/+15
(alpha*-*-*vms*, i[[34567]]86-*-sco3.2v5*, mn10300-*-*, powerpc-*-chorusos*, powerpc*-*-eabi*, powerpc*-*-sysv*, powerpc*-*-kaos*, s390x-ibm-tpf*, sparc64-*-elf*, v850*-*-*, xtensa*-*-elf*, *-*-beos*, *-*-elf*, *-*-netware*, *-*-rtems*, *-*-sysv[[45]]*, *-*-vxworks*, *-wrs-windiss): Remove md_exec_prefix cases. * configure: Regenerate.
2011-04-01 * configure.ac: Separate cases disabling target-libssp,Joseph Myers3-46/+189
target-libiberty, target-libstdc++-v3 and Fortran from general case over targets. * configure: Regenerate.
2011-04-01 * configure.ac (*-*-chorusos): Don't disable libgcj.Joseph Myers3-148/+89
(*-*-freebsd[[12]] | *-*-freebsd[[12]].* | *-*-freebsd*aout*): Remove case. (*-*-kaos*): Don't disable GCC libraries, zlib or fastjar. (arm-*-coff): Don't disable libgcj. (arm*-*-linux-gnueabi): Remove useless assignment. (arm-*-riscix*): Don't disable libgcj. (bfin-*-*): Don't enable target-bsp and target-cygmon depending on configuration. (c4x-*-* | tic4x-*-*): Don't disable GCC libraries. (c54x*-*-*): Remove case. (tic54x-*-*): Don't disable GCC or GCC libraries. (cris-*-* | crisv32-*-*): Don't handle *-*-aout. Change *-*-elf to *. (d10v-*-*): Don't disable GCC libraries. (d30v-*-*): Don't disable libgcj. (h8500-*-*): Don't disable GCC libraries. (i960-*-*): Don't disable libgcj. (i[[3456789]]86-*-linux*): Don't handle *-*-*libc1*. (i[[3456789]]86-*-sco3.2v5*, i[[3456789]]86-*-sco*, i[[3456789]]86-*-sysv4*, i[[3456789]]86-*-beos*): Don't disable libgcj. (m68k-*-coff*): Remove case. (mmix-*-*): Don't disable libgloss on host. (mn10200-*-*, mn10300-*-*): Remove cases. (powerpc*-*-winnt* | powerpc*-*-pe*, powerpcle-*-solaris*, powerpc-*-beos*, m68k-apollo-*, mips*-*-irix5*, mips*-*-bsd*): Don't disable libgcj. (romp-*-*): Remove case. (sparclite-*-*, sparc-*-sunos4*): Don't disable libgcj. (sparc-*-solaris2.[[0-6]] | sparc-*-solaris2.[[0-6]].*): Remove case. (v810-*-*): Don't disable GCC libraries. (v850*-*-*, vax-*-vms, xtensa*-*-*): Remove cases. (ip2k-*-*): Don't disable GCC libraries. * configure: Regenerate.
2011-04-01gdb/Ulrich Weigand7-66/+184
* arm-tdep.h (arm_insert_single_step_breakpoint): Add prototype. * arm-tdep.c (arm_override_mode): New global. (arm_pc_is_thumb): Respect arm_override_mode. Remove single-step execution mode heuristics. (thumb_get_next_pc_raw): Remove INSERT_BKTP argument; always insert second single-step breakpoint if needed, using arm_insert_single_step_breakpoint. (arm_get_next_pc_raw): Remove INSERT_BKTP argument. Only handle ARM execution mode, do not call thumb_get_next_pc_raw. (arm_get_next_pc): Encode execution mode in return value. Call either arm_get_next_pc_raw or thumb_get_next_pc_raw. (arm_insert_single_step_breakpoint): New function. (arm_software_single_step): Call it. * arm-linux-tdep.c (arm_linux_sigreturn_return_addr): Add IS_THUMB argument to return execution mode of sigreturn target. (arm_linux_syscall_next_pc): Use it. (arm_linux_copy_svc): Update call. (arm_linux_software_single_step): Call arm_insert_single_step_breakpoint. gdb/testsuite/ * gdb.arch/thumb-singlestep.S: New file. * gdb.arch/thumb-singlestep.exp: Likewise.
2011-04-012011-04-01 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+5
* config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
2011-04-012011-04-01 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+5
* elfxx-ia64.c: include bfd_stdint.h
2011-04-01*** empty log message ***gdb_7_3-branchpointgdbadmin1-1/+1
2011-03-31daily updateAlan Modra1-1/+1
2011-03-31Fix elf_l1om linker scripts.H.J. Lu3-36/+9
2011-03-31 H.J. Lu <hongjiu.lu@intel.com> * configure.tgt: Add elf_l1om to targ_extra_libpath for x86_64-*-linux-*. * emulparams/elf_l1om.sh: Remove duplicates.
2011-03-31gdb/Jan Kratochvil2-1/+6
* dwarf2read.c (dwarf2_read_index): Fix .gdb_index version number in the comment.
2011-03-31gdbTom Tromey6-3/+79
* varobj.c (update_dynamic_varobj_children): Properly handle errors from iterator. gdb/testsuite * gdb.python/py-prettyprint.py (exception_flag): New global. (NoStringContainerPrinter._iterator.next): Check it. * gdb.python/py-prettyprint.c (main): New variable nstype2. * gdb.python/py-mi.exp: Set exception_flag and do more tests.
2011-03-31gdb/Jan Kratochvil2-2/+10
* dwarf2read.c (dwarf2_name): Initialize DEMANGLED. Avoid demangling struct linkage name twice.
2011-03-31 * python/py-prettyprint.c (print_stack_unless_memory_error): AddTom Tromey2-1/+6
missing ">" to message.
2011-03-31 * varobj.c (instantiate_pretty_printer): Remove duplicateTom Tromey2-1/+5
'return'.
2011-03-31 * i386-tdep.c (i386_frame_prev_register): Unwind SP from memoryUlrich Weigand2-2/+8
if neither saved value nor register available (e.g. signal frame).
2011-03-31 * macroexp.c (expand): Avoid uninitialized variableThiago Jung Bauermann2-1/+6
compiler warning.