aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-01-29 * Makefile.in (symfile.o): Update.Daniel Jacobowitz11-90/+197
* NEWS: Mention exec tracing support. * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for exec events. * infcmd.c (kill_if_already_running, detach_command) (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries. * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete. (follow_exec): Do not check may_follow_exec. Do not mourn and push targets. Apply the sysroot path to the loaded executable. Use no_shared_libraries. * linux-nat.c (linux_child_follow_fork): Print fork following messages if verbose. (kill_wait_callback): Kill again before waiting a second time. * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with no_shared_libraries. * gdb.base/foll-exec.exp: Update header. Skip on remote targets. Run on GNU/Linux. (do_exec_tests): Check for systems which do not support catchpoints. Do not match START. * gdb.base/foll-fork.exp: Update header. Skip on remote targets. Run on GNU/Linux. Enable verbose output. (check_fork_catchpoints): New. (explicit_fork_child_follow, catch_fork_child_follow) (tcatch_fork_parent_follow): Update expected messages. (do_fork_tests): Use check_fork_catchpoints. * gdb.base/foll-vfork.exp: Update header. Skip on remote targets. Run on GNU/Linux. Enable verbose output. (check_vfork_catchpoints): New. (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update expected messages. (do_vfork_and_exec_tests): Use check_fork_catchpoints.
2008-01-29 * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.Joel Brobecker2-0/+5
2008-01-29 * nto-tdep.h: Remove #include "defs.h".Joel Brobecker4-3/+11
* nto-tdep.c: Add #include "defs.h". * Makefile.in (nto_tdep_h): Update dependencies. (nto-tdep.o): Likewise.
2008-01-29Fix date of last entry.Joel Brobecker1-1/+1
2008-01-29 * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameterJoel Brobecker12-21/+39
and use it. (proceed, start_remote): Update call to wait_for_inferior. * inferior.h (wait_for_inferior): Update declaration. * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c, solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior. * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
2008-01-29* lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknownJim Blandy3-0/+12
host' errors. * lib/mi-support.exp (mi_gdb_target_cmd): Same.
2008-01-29* gdb.threads/sigthread.c: Use barriers to ensure thatJim Blandy2-0/+16
child_thread and child_thread_two are always initialized before we start to use them.
2008-01-292008-01-29 Aleksandar Ristovski <aristovski@qnx.com>Daniel Jacobowitz2-3/+18
* varobj (adjust_value_for_child_access): Added checking for returned value from gdb_value_ind. (c_describe_child): Likewise. (cplus_describe_child): Fixed a typo.
2008-01-29* MAINTAINERS: Update my info.Jim Blandy2-2/+6
2008-01-29 Use multiple locations for hardware watchpoints.Vladimir Prus7-252/+478
This eliminates the need to traverse value chain, doing various checks, in three different places. * breakpoint.h (struct bp_location): New fields lengths and watchpoint_type. (struct breakpoint): Remove the val_chain field. * breakpoint.c (is_hardware_watchpoint): New. (free_valchain): Remove. (update_watchpoint): New. (insert_bp_location): For hardware watchpoint, just directly insert it. (insert_breakpoints): Call update_watchpoint_locations on all watchpoints. If we have failed to insert any location of a hardware watchpoint, remove all inserted locations. (remove_breakpoint): For hardware watchpoints, directly remove location. (watchpoints_triggered): Iterate over locations. (bpstat_stop_status): Use only first location of a resource watchpoint. (delete_breakpoint): Don't call free_valchain. (print_one_breakpoint): Don't print all locations for watchpoints. (breakpoint_re_set_one): Use update_watchpoint for watchpoints.
2008-01-29 Don't reset watchpoint block on solib load.Vladimir Prus2-42/+76
* breakpoint.c (insert_bp_location): For watchpoints, recompute condition. (breakpoint_re_set_one): Instead of recomputing value and condition for watchpoints, just reset value and let insert_breakpoints/insert_bp_location recompute it. Don't do anything about disabled watchpoint.
2008-01-29Fix spelling typo in previous deltaNick Clifton1-1/+1
2008-01-29* dwarf.c (print_dwarf_vma): Use mingw field type specified if necessary.Nick Clifton2-1/+6
2008-01-29 * gdb.base/gdb1056.exp: Add unsigned integer test.Pierre Muller2-0/+6
2008-01-29* dwarf.c (print_dwarf_vma): New function. Display the value of aNick Clifton2-34/+76
dwarf_vma type at a specified precision. (display_debug_loc): Use dwarf_vma type for begin and end values. Use print_dwarf_vma to display their values. Use byte_get_signed in order to correctly detect the -1 escape value. (display_debug_aranges): Likewise. (display_debug_ranges): Likewise.
2008-01-29 * valarith.c (value_binop): Handle unsigned integerPierre Muller2-1/+9
division by zero.
2008-01-29 * ppc-opc.c: Support optional L form mtmsr.Alan Modra2-2/+6
2008-01-29 * mt.opc (parse_imm16): Apply 2007-09-26 opcodes/mt-asm.c changeAlan Modra2-2/+7
to source.
2008-01-29update copyright dateAlan Modra1-1/+1
2008-01-29 * dwarf.c (display_debug_loc): Correct test for base addressAlan Modra2-1/+10
entry when 64-bit host dumping 32-bit object.
2008-01-29 * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.Alan Modra2-2/+6
2008-01-29 * mn10300-tdep.c (mn10300_analyze_prologue): Check for anKevin Buettner2-27/+37
instruction pattern that appears frequently in position independent code. Fix bug in code which looks for "fmov" and backtracks if no "fmov" is found.
2008-01-29*** empty log message ***gdbadmin1-1/+1
2008-01-28 * dbxread.c (read_dbx_symtab): Reformat comments to 80 columns.Doug Evans2-7/+11
Move local var def closer to only use.
2008-01-28 * dbxread.c (read_dbx_symtab): Fix indentation.Doug Evans2-479/+483
2008-01-28daily updateAlan Modra1-1/+1
2008-01-28 * fork-child.c (SHELL_FILE): Remove #ifndef.Daniel Jacobowitz4-19/+10
(fork_inferior): Remove SHELL_COMMAND_CONCAT. * gdbint.texinfo (Native Conditionals): Remove SHELL_COMMAND_CONCAT and SHELL_FILE.
2008-01-28 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.Doug Evans2-7/+11
2008-01-28* config.bfd (x86_64-*-solaris2): Add support for this target.Nick Clifton4-0/+20
* configure.tgt (x86_64-*-solaris2): Add support for this target.
2008-01-28PR binutils/5529Nick Clifton2-2/+8
* rclex.c (yylex): Also allow the hypen character.
2008-01-28* ld-elfvers/vers.exp (test_ar): Sort the expected output so thatNick Clifton2-1/+6
it has matches the ordering of the obtained output.
2008-01-28Fix the last ChangeLog.H.J. Lu1-2/+1
2008-01-28binutils/H.J. Lu25-106/+261
2008-01-28 H.J. Lu <hongjiu.lu@intel.com> * dwarf.c: Include "elf/common.h". (eh_addr_size): Changed to int. (dwarf_regnames_i386): New. (dwarf_regnames_x86_64): Likewise. (dwarf_regnames): Likewise. (dwarf_regnames_count): Likewise. (init_dwarf_regnames): Likewise. (regname): Likewise. (frame_display_row): Properly support different address size. Call regname to get register name. (display_debug_frames): Call regname to get register name. Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register instead of DW_CFA_def_cfa_reg. * dwarf.h (init_dwarf_regnames): New. * objdump.c: Include "elf-bfd.h". (dump_dwarf): Call init_dwarf_regnames on ELF input. * readelf.c (guess_is_rela): Change argument to int. (parse_args): Remove the undocumented upper case options for -wX. (process_file_header): Call init_dwarf_regnames if do_dwarf_register is true. gas/testsuite/ 2008-01-28 H.J. Lu <hongjiu.lu@intel.com> * gas/cfi/cfi-alpha-1.d: Replace DW_CFA_def_cfa_reg with DW_CFA_def_cfa_register. * gas/cfi/cfi-alpha-3.d: Likewise. * gas/cfi/cfi-hppa-1.d: Likewise. * gas/cfi/cfi-i386.d: Likewise. * gas/cfi/cfi-m68k.d: Likewise. * gas/cfi/cfi-mips-1.d: Likewise. * gas/cfi/cfi-sh-1.d: Likewise. * gas/cfi/cfi-sparc-1.d: Likewise. * gas/cfi/cfi-sparc64-1.d: Likewise. * gas/cfi/cfi-x86_64.d: Likewise. * gas/cfi/cfi-common-1.d: Updated for i386/x86-64 register names. * gas/cfi/cfi-common-2.d: Likewise. * gas/cfi/cfi-common-5.d: Likewise. * gas/cfi/cfi-i386.d: Likewise. * gas/cfi/cfi-x86_64.d: Likewise. ld/testsuite/ 2008-01-28 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/eh1.d: Replace DW_CFA_def_cfa_reg with DW_CFA_def_cfa_register. Updated for i386/x86-64 register names. * ld-elf/eh2.d: Likewise. * ld-elf/eh3.d: Likewise. * ld-elf/eh4.d: Likewise. * ld-elf/eh5.d: Likewise.
2008-01-28PR ld/5652Nick Clifton2-2/+18
* genscripts.sh: Check for the existence of BASH_LINENO not just the BASH shell before generating line numbers in the emulation file.
2008-01-28 Rewrite SPU overlay handling code. Put overlay calls stubs in theAlan Modra10-1305/+1160
overlays where possible. Use a faster call stub, or optionally at compile time, a more compact stub. Double size of _ovly_buf_table so that low bit of _ovly_table.buf can be used as a "present" bit. Reserve an extra _ovly_table entry for index zero.
2008-01-28*** empty log message ***gdbadmin1-1/+1
2008-01-27daily updateAlan Modra1-1/+1
2008-01-27* gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.Jim Blandy2-1/+3
2008-01-27* gdb.base/expand-psymtabs.exp: Doc fix.Jim Blandy2-1/+16
2008-01-27include/David Daney5-1/+168
2008-01-26 David Daney <ddaney@avtrex.com> * demangle.h (demangle_component_type): Add DEMANGLE_COMPONENT_JAVA_RESOURCE, DEMANGLE_COMPONENT_COMPOUND_NAME, and DEMANGLE_COMPONENT_CHARACTER as new enum values. (demangle_component): Add struct s_character to union u. libiberty/ 2008-01-26 David Daney <ddaney@avtrex.com> * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE, DEMANGLE_COMPONENT_COMPOUND_NAME, and DEMANGLE_COMPONENT_CHARACTER cases. (d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and DEMANGLE_COMPONENT_JAVA_RESOURCE cases. (d_make_character): New function. (d_java_resource): Same. (d_special_name): Handle "Gr" case. (d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE, DEMANGLE_COMPONENT_COMPOUND_NAME, and DEMANGLE_COMPONENT_CHARACTER cases. * testsuite/demangle-expected: Add test for java resource name mangling.
2008-01-27*** empty log message ***gdbadmin1-1/+1
2008-01-26daily updateAlan Modra1-1/+1
2008-01-26 * gdb.texinfo (Specify Location): Improve wording.Eli Zaretskii1-3/+4
2008-01-26* gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.Mark Kettenis2-0/+12
2008-01-26 * ld-elf/loadaddr.t: New, extracted from..Alan Modra6-16/+22
* ld-elf/loadaddr1.t: ..here. Use insert. * ld-elf/loadaddr2.t: Likewise. * ld-elf/loadaddr1.d: Update. * ld-elf/loadaddr2.d: Update.
2008-01-26Permit ordinary object files in groups.Ian Lance Taylor1-11/+0
2008-01-26Don't pass around the target in order to define symbols; get it fromIan Lance Taylor13-109/+98
the parameters instead.
2008-01-26*** empty log message ***gdbadmin1-1/+1
2008-01-25daily updateAlan Modra1-1/+1
2008-01-25* readelf.c (process_section_headers): Add m16c handler.DJ Delorie2-0/+17
(is_16bit_abs_reloc): Recognize R_M32C_16.