aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-04-01gas/Peter Bergner7-7/+34
* config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop. gas/testsuite/ * gas/ppc/power7.d ("ori", ".p2align"): Add tests for group ending nop. * gas/ppc/power7.s: Likewise. * gas/ppc/power6.d: Likewise. * gas/ppc/power6.s: Likewise.
2009-04-01merge from gccDJ Delorie2-3/+5
2009-04-01daily updateAlan Modra1-1/+1
2009-04-01*** empty log message ***gdbadmin1-1/+1
2009-03-31 * server.c (main): After the inferior having exited, callPedro Alves2-0/+6
remote_close before exiting gdbserver.
2009-03-31[obvious] Kill left-over merge markerPaul Pluzhnikov1-1/+0
2009-03-312009-03-31 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+9
* common.h (EM_INTEL178): New. (EM_INTEL179): Likewise. (EM_INTEL180): Likewise.
2009-03-31gdbTom Tromey12-49/+268
2009-03-31 Daniel Jacobowitz <dan@codesourcery.com> Keith Seitz <keiths@redhat.com> Jan Kratochvil <jan.kratochvil@redhat.com> PR gdb/6817 * Makefile.in (dbxread.o): Update. * dbxread.c (read_dbx_symtab): Use cp_canonicalize_string. * dwarf2read.c (GDB_FORM_cached_string): New. (read_partial_die): Use dwarf2_canonicalize_name. (dwarf2_linkage_name): Use dwarf2_name. (dwarf2_canonicalize_name): New. (dwarf2_name): Use dwarf2_canonicalize_name. (dwarf_form_name, dump_die): Handle GDB_FORM_cached_string. * stabsread.c (define_symbol, read_type): Use cp_canonicalize_string. * symtab.c (lookup_symbol_in_language): Canonicalize input before searching. * cp-name-parser.y: operator() requires two parameters, according to libiberty. * minsyms.c (lookup_minimal_symbol): Canonicalize input before searching. * NEWS: Update. gdb/testsuite 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com> Jan Kratochvil <jan.kratochvil@redhat.com> PR gdb/931 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical output. * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs for gdb/931. * dw2-strp.S (DW_AT_language): Change to C++. (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
2009-03-31 * gdb.texinfo (Ada Tasks): Add documentation about task-specificJoel Brobecker2-0/+64
breakpoints. (Set Breaks): Add reference to thread-specific and task-specific breakpoints.
2009-03-31 * gdb.ada/tasks: New testcase.Joel Brobecker3-0/+151
2009-03-31 Provide support for (Ada) task-specific breakpoints.Joel Brobecker5-17/+75
* ada-lang.h (ada_get_task_number): Add declaration. (breakpoint_ada_task_match): Delete declaration. * ada-tasks.c (ada_get_task_number): Make non-static. * breakpoint.h (struct breakpoint): Add field "task". * breakpoint.c (print_one_breakpoint_location): Add handling of task-specific breakpoints. (create_breakpoint, create_breakpoints, find_condition_and_thread): New parameter "task". (break_command_really): Update calls to find_condition_and_thread and create_breakpoints. (breakpoint_re_set_one): Update call to find_condition_and_thread. Set b->task.
2009-03-31 * gdb.texinfo (Ada Tasks): Remove the documentation aboutJoel Brobecker2-7/+10
the "Running" state, as this state has been eliminated. Now all runnable tasks are shown as "Runnable".
2009-03-31 * ada-tasks.c (short_task_info): Eliminate the "Running" task state.Joel Brobecker2-3/+4
2009-03-31 * remote.c (remote_notice_new_inferior): Use ptid_is_pid. CheckPedro Alves4-10/+64
if the thread's ptid without a thread id field is in the list before calling thread_change_ptid. (extended_remote_attach_1): In non-stop mode, do not rely on querying the current thread, instead, query the thread list, and select the first thread of the process. * gdbthread.h (first_thread_of_process): Declare. * thread.c (first_thread_of_process): Define.
2009-03-31 PR 9992Nick Clifton3-14/+49
* configure.in: Import Solaris specific largefile test from bfd/configure.in. * configure: Regenerate.
2009-03-312009-03-30 Stan Shebs <stan@codesourcery.com>Stan Shebs15-932/+903
Make tracepoints into a type of breakpoint. * breakpoint.h (enum bptype): Add bp_tracepoint. (struct breakpoint): Add fields step_count, pass_count, actions. (get_tracepoint, get_tracepoint_by_number): Declare. (all_tracepoints): Declare. * breakpoint.c: Include tracepoint.h, readline.h. (ALL_TRACEPOINTS): Move here from tracepoint.c. (tracepoint_count): Ditto. (should_be_inserted): GDB does not insert tracepoints itself. (print_it_typical): Add tracepoint case. (bpstat_what): Ditto. (print_one_breakpoint_location): Ditto, and add printing for pass count, step count, and action list. (user_settable_breakpoint): Add tracepoint case. (allocate_bp_location): Ditto. (set_breakpoint_location_function): Ditto. (disable_breakpoints_in_shlibs): Ditto. (mention): Ditto. (break_command_really): Add argument traceflag, use to choose basic breakpoint type. (break_command_1): Pass extra argument. (set_breakpoint, handle_gnu_v3_exceptions): Ditto. (breakpoint_re_set_one): Add tracepoint case. (disable_command, enable_command): Ditto. (set_tracepoint_count): Move here from tracepoint.c. (trace_command): Move here from tracepoint.c and use break_command_really. (tracepoints_info): Move here from tracepoint.c and call breakpoints_info. (enable_trace_command): Move here from tracepoint.c and call enable_command. (disable_trace_command): Move here from tracepoint.c and call disable_command. (delete_trace_command): Move here from tracepoint.c and call delete_breakpoint. (trace_pass_command): Move here from tracepoint.c. (get_tracepoint_by_number): Ditto. (tracepoint_save_command): Ditto. (get_tracepoint): New function. (all_tracepoints): New function. (_initialize_breakpoint): Move tracepoint init from tracepoint.c, deprecate "enable trace" and "disable trace" commands. * tracepoint.h (struct tracepoint): Remove. (tracepoint_chain): Remove decl. (deprecated_create_tracepoint_hook): Remove decl. (deprecated_delete_tracepoint_hook): Remove decl. (deprecated_modify_tracepoint_hook): Remove decl. (ALL_TRACEPOINTS, ALL_TRACEPOINTS_SAFE): Remove. (free_actions): Update signature. (validate_actionline): Update signature. (end_actions_pseudocommand): Declare. (while_stepping_pseudocommand): Declare. * tracepoint.c: Include breakpoint.h. (tracepoint_chain, tracepoint_count): Remove. (free_actions, make_cleanup_free_actions): Update signature. (trace_command, set_raw_tracepoint): Remove. (trace_mention): Remove. (tracepoints_info): Remove. (tracepoint_operation, map_args_over_tracepoints): Remove. (get_tracepoint_by_number): Remove. (enable_trace_command, disable_trace_command): Remove. (delete_trace_command, trace_pass_command): Remove. (trace_actions_command, read_actions): Update signature. (validate_actionline): Update signature, use bp loc. (encode_actions): Ditto. (download_tracepoint): New function, body of trace_start_command. (trace_start_command): Call it, use all_tracepoints. (tracepoint_save_command): Remove. (tracepoint_dump_command): Use get_tracepoint. (end_actions_pseudocommand): Make globally visible. (while_stepping_pseudocommand): Ditto. (_initialize_tracepoint): Move command definitions to breakpoint.c. doc/ * gdb.texinfo (Tracepoints): Describe tracepoints as a special case of breakpoints. (Enable and Disable Tracepoints): Mention deprecation. (Listing Tracepoints): Update description and example. testsuite/ * gdb.trace/actions.exp: Update to match new info trace format. * gdb.trace/deltrace.exp: Ditto. * gdb.trace/infotrace.exp: Ditto. * gdb.trace/passcount.exp: Ditto. * gdb.trace/save-trace.exp: Ditto. * gdb.trace/while-stepping.exp: Ditto. * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option. gdbtk/ * generic/gdbtk-bp.c (gdb_actions_command): Update to handle tracepoints as breakpoints. (gdb_get_tracepoint_info): Ditto, plus use get_tracepoint and breakpoint locations. (tracepoint_exists): Ditto, plus use all_tracepoints.
2009-03-31 * doc/internals.texi: Fix trivial syntax errors.Dave Korn2-3/+7
2009-03-31* elflink.c (elf_link_input_bfd): Don't try to resolve complexDJ Delorie2-1/+7
relocs when doing a relocatable link.
2009-03-31daily updateAlan Modra1-1/+1
2009-03-31*** empty log message ***gdbadmin1-1/+1
2009-03-30 * ffsll.c (ffsll): Correct implementation.Ian Lance Taylor2-3/+12
2009-03-30binutils/Richard Sandiford2-0/+6
* MAINTAINERS: Add self.
2009-03-30gdb/Thiago Jung Bauermann12-21/+801
Expose frames to Python. * Makefile.in (SUBDIR_PYTHON_OBS): Add python-frame.o. (SUBDIR_PYTHON_SRCS): Add python-frame.c. (python-frame.o): New target. * python/python-frame.c: New file. * python/python-internal.h (gdbpy_frames, gdbpy_newest_frame, gdbpy_frame_stop_reason_string, gdbpy_selected_frame, gdbpy_initialize_frames): New prototypes. * python/python.c (_initialize_python): Call gdbpy_initialize_frames. (GdbMethods): Add `selected_frame' and `frame_stop_reason_string' entries. * stack.c (find_frame_funname): New function, factored out of print_frame. (print_frame): Call find_frame_funname. * stack.h (find_frame_funname): Add prototype. gdb/doc/ * gdb.texinfo (Frames in Python): New node. (Python API): Update. gdb/testsuite/ * gdb.python/python-frame.c: New file. * gdb.python/python-frame.exp: New file.
2009-03-30gas/testsuite:Joseph Myers5-1/+72
* gas/arm/mapsecs.d, gas/arm/mapsecs.s: New. opcodes: * arm-dis.c (print_insn): Also check section matches in backwards search for mapping symbol.
2009-03-30merge from gccDJ Delorie23-1606/+1976
2009-03-30merge from gccDJ Delorie23-1971/+1611
2009-03-30*** empty log message ***gdbadmin1-1/+1
2009-03-30daily updateAlan Modra1-1/+1
2009-03-29 Remove unused value_object attribute `owned_by_gdb'.Thiago Jung Bauermann2-5/+10
* python/python-value.c (value_object): Remove owned_by_gdb attribute. (valpy_dealloc): Remove reference to self->owned_by_gdb. (valpy_new): Likewise. (value_to_value_object): Likewise.
2009-03-29gdb/Thiago Jung Bauermann6-7/+65
Change gdb.Value.address from a method to an attribute. * python/python-value.c (value_object): Add `address' element. (valpy_dealloc): Decrement reference to self->address if set. (valpy_new): Initialize val_obj->address. (valpy_address): Rename to ... (valpy_get_address): ... this. Change signature from method to attribute. Update self->address if not set. (value_to_value_object): Initialize val_obj->address. (value_object_getset): Add `address' element. (value_object_methods): Remove `address' element. gdb/testsuite/ * gdb.python/python-value.exp: Add tests for the address attribute. gdb/doc/ * gdb.texinfo (Values From Inferior): Change gdb.Value.address from a method to an attribute.
2009-03-29* gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.Andreas Schwab2-7/+11
2009-03-29* observer.sh: Set LANG/LC_ALL to C, not c.Andreas Schwab2-19/+23
2009-03-29merge from gccDJ Delorie23-1611/+1971
2009-03-29*** empty log message ***gdbadmin1-1/+1
2009-03-29daily updateAlan Modra1-1/+1
2009-03-28 * coff-arm.c (coff_arm_merge_private_bfd_data): Use "error:", notMark Mitchell5-29/+39
"ERROR:", in error messages. * cpu-arm.c (bfd_arm_merge_machines): Likewise. * elf-attrs.c (_bfd_elf_merge_object_attributes): Likewise. * elf32-arm.c (tag_cpu_arch_combine): Likewise. (elf32_arm_merge_eabi_attributes): Likewise. (elf32_arm_merge_private_bfd_data): Likewise.
2009-03-28 * ffsll.c: New file.Ian Lance Taylor10-5/+72
* configure.ac: Call AC_REPLACE_FUNCS on ffsll. * gold.h (ffsll): Declare if HAVE_FFSLL is not defined. * ftruncate.c (ftruncate): Declare before definition. * mremap.c (mremap): Likewise. * pread.c (pread): Likewise. * configure, Makefile.in, config.in: Rebuild.
2009-03-28 * mn10300-tdep.c (mn10300_gdbarch_init): For mn10300, by default,Kevin Buettner2-0/+8
`char' is unsigned.
2009-03-28 * remote.c (remote_stop_ns): If multi-process extensions are off,Pedro Alves2-2/+8
and GDB is requesting the whole process to stop, sent "vCont;t", not "vCont;t:-1"
2009-03-28 * inf-loop.c (inferior_event_handler): Avoid calling is_running onPedro Alves2-1/+9
null inferior_ptid.
2009-03-28daily updateAlan Modra1-1/+1
2009-03-28*** empty log message ***gdbadmin1-1/+1
2009-03-27 * mremap.c: New file.Ian Lance Taylor7-3/+78
* configure.ac: Call AC_REPLACE_FUNCS on mremap. * gold.h (MREMAP_MAYMOVE): Define if HAVE_MREMAP is not defined. (mremap): Declare if HAVE_MREMAP is not defined. * configure, Makefile.in, config.in: Rebuild.
2009-03-27merge from gccDJ Delorie7-8/+109
2009-03-27 * powerpc.cc (Target_powerpc::check_non_pic): Assert that output isCary Coutant4-1/+11
position independent. * sparc.cc (Target_sparc::check_non_pic): Likewise. * x86_64.cc (Target_x86_64::check_non_pic): Likewise.
2009-03-27 * dwarf.c (display_debug_ranges): Add the base address to theNick Clifton2-3/+10
displayed values for 'Begin' and 'End'.
2009-03-27Add one more tweak for readline/examples.Eli Zaretskii1-0/+1
2009-03-27 * config/djgpp/fnchange.lst: Update to fix ARI-reported problems.Eli Zaretskii2-2/+166
2009-03-27 * djunpack.bat: Use ".." quoting in Sed command, for the sake ofEli Zaretskii2-1/+6
Windows builds of Sed.
2009-03-27 * section.c (bfd_get_section_contents): Detect and handle the caseNick Clifton2-0/+16
where a section has the SEC_IN_MEMORY flag set but no actual contents allocated.