aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-04-01bfd/Richard Sandiford2-2/+5
* xcofflink.c (bfd_link_input_bfd): Fix buffer overrun.
2009-04-01 * linux-nat.c (linux_nat_filter_events): Do not delete the lwp ifJoel Brobecker2-11/+17
this is the last one.
2009-04-01 * remote.c (append_resumption): New.Pedro Alves2-58/+64
(remote_vcont_resume): Use it.
2009-04-012009-04-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+13
* common.h (EM_INTEL178): Removed. (EM_INTEL179): Likewise. (EM_ETPU): New. (EM_SLE9X): Likewise. (EM_INTEL181): Likewise. (EM_INTEL182): Likewise.
2009-04-01binutils/ChangeLogDave Korn5-10/+50
* dlltool.c (set_dll_name_from_def): Accept new second arg that indicates if we are building DLL or EXE, and use it to add a default suffix to the output filename when none is already present. (def_name): Indicate we are building an EXE when calling it. (def_library): Indicate we are building a DLL when calling it. ld/testsuite/ChangeLog * ld-cygwin/exe-export.exp: Add "-lkernel32" when linking test exe. * ld-cygwin/testexe.c (testexe_main): Indicate whether global_a was set to correct final value using error return status. (testexe_dummy): Dummy function calls an import from kernel32.dll to ensure it is mapped into the process space at runtime.
2009-04-012009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>Ramana Radhakrishnan3-2/+14
* config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF. (find_real_start): Likewise. * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
2009-04-01 * windows-nat.c (+windows_get_ada_task_ptid): New function.Joel Brobecker2-0/+12
(init_windows_ops): Set windows_ops.to_get_ada_task_ptid.
2009-04-012009-04-01 Christophe Lyon <christophe.lyon@st.com>Christophe Lyon7-42/+24
opcodes/ * arm-dis.c (print_insn): Print BE8 opcodes in little endianness. ld/testsuite/ * ld-arm/arm-elf.exp: BE8 tests expect the same output as the default ones. * ld-arm/arm-be8.d: Print opcodes in little endian. * ld-arm/farcall-thumb-arm-be8.d: Removed useless expected result. * ld-arm/farcall-arm-arm-be8.d: Likewise.
2009-04-012009-04-01 Christophe Lyon <christophe.lyon@st.com>Christophe Lyon2-33/+31
bfd/ * elf32-arm.c (group_sections): Rewrite loops for better readability.
2009-04-01 PR 9972Nick Clifton3-3/+13
* doc/binutils.texi (strings): Document the -V alias for the --version option. * strings.c (usage): Likewise.
2009-04-01 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.Nathan Sidwell9-31/+120
(arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops whenever possible. testsuite/ * gas/arm/align.s, gas/arm/align.d: New. * gas/arm/thumb32.d, gas/arm/arch6zk.d, gas/arm/arch6zk.s, arm/thumb2_relax.d: Adjust for align changes.
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"