binutils-gdb.git
16 years agodaily update
Alan Modra [Wed, 11 Jun 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Wed, 11 Jun 2008 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago2008-06-10 Stan Shebs <stan@codesourcery.com>
Stan Shebs [Tue, 10 Jun 2008 18:13:58 +0000 (18:13 +0000)]
2008-06-10  Stan Shebs  <stan@codesourcery.com>

    * MAINTAINERS: Update my affiliation and address.

16 years ago(print_gdb_version): Don't print final newline.
Andreas Schwab [Tue, 10 Jun 2008 11:57:28 +0000 (11:57 +0000)]
(print_gdb_version): Don't print final newline.

16 years ago Implement *running.
Vladimir Prus [Tue, 10 Jun 2008 10:23:54 +0000 (10:23 +0000)]
Implement *running.
        * Makefile.in: Update dependencies.
        * gdbthread.h (struct thread_info): New field
        running_.
        (set_running, is_running): New.
        * thread.c (set_running, is_running): New.
        * inferior.h (suppress_normal_stop_observer): Rename to...
        (suppress_run_stop_observers): ..this.
        * infcmd.c (suppress_normal_stop_observer): Rename to...
        (suppress_run_stop_observers): ..this.
        (finish_command_continuation, finish_command): Adjust.
        * infcall.c (call_function_by_hand): Adjust.
        * infrun.c (normal_stop): Call set_running.
        * target.c (target_resume): New.  Call set_running.
        * target.h (target_resume): Convert from macro to
        a function.

        * mi/mi-interp.c (mi_on_resume): New.
        (mi_interpreter_init): Register mi_on_resume.

16 years ago Use observers to report stop events in MI.
Vladimir Prus [Tue, 10 Jun 2008 09:35:09 +0000 (09:35 +0000)]
Use observers to report stop events in MI.
        * mi/mi-interp.c (mi_on_normal_stop): New.
        (mi_interpreter_init): Register mi_on_normal_stop.
        (mi_interpreter_exec_continuation): Remove.
        (mi_cmd_interpreter_exec): Don't register the above.
        * mi/mi-main.c (captured_mi_execute_command): Don't care
        about sync_execution.
        (mi_execute_async_cli_command): Don't install continuation.  Don't
        print *stopped.
        (mi_exec_async_cli_cmd_continuation): Remove.

16 years ago Suppress normal stop observer when it's problematic.
Vladimir Prus [Tue, 10 Jun 2008 09:32:05 +0000 (09:32 +0000)]
Suppress normal stop observer when it's problematic.
        * inferior.h (suppress_normal_stop_observer): New.
        * infcall.c (call_function_by_hand): Disable stop events when
        doing function calls.
        * infmcd.c (suppress_normal_stop_observer): New.
        (finish_command_continuation): Call normal_stop observer
        explicitly.
        (finish_command): Disable stop events inside proceed.
        * infrun.c (normal_stop): Don't call normal stop observer if
        suppressed of if multi-step is in progress.

16 years ago Remove stale code.
Vladimir Prus [Tue, 10 Jun 2008 09:30:34 +0000 (09:30 +0000)]
Remove stale code.
        * infrun.c (finish_command): Don't pass cleanup
        to continuation.
        (finish_command_continuation): Don't grab cleanup from
        the passed data, as we don't use, and cannot, use it anyway.

16 years ago Introduce common cleanup for restoring integers.
Vladimir Prus [Tue, 10 Jun 2008 09:29:15 +0000 (09:29 +0000)]
Introduce common cleanup for restoring integers.
        * defs.h (make_cleanup_restore_integer): New declaration.
        (struct cleanup): New field free_arg.
        (make_my_cleanup_2): New.
        * utils.c (restore_integer_closure, restore_integer)
        (make_cleanup_restore_integer): New.
        (make_my_cleanup): Initialize the free_arg field and
        renamed to make_my_cleanup_2.
        (do_my_cleanups): Call free_arg.
        (discard_cleanups): Call free_arg.
        * breakpoint.c (restore_always_inserted_mode): Remove.
        (update_breakpoints_after_exec): Use make_cleanup_restore_integer.

16 years ago * MAINTAINERS: Remove myself as m68k maintainer.
Ben Elliston [Tue, 10 Jun 2008 08:16:54 +0000 (08:16 +0000)]
* MAINTAINERS: Remove myself as m68k maintainer.

16 years agodaily update
Alan Modra [Tue, 10 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Tue, 10 Jun 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago2008-06-09 Joel Sherrill <joel.sherrill@oarcorp.com>
Michael Snyder [Mon, 9 Jun 2008 22:55:27 +0000 (22:55 +0000)]
2008-06-09  Joel Sherrill <joel.sherrill@oarcorp.com>

* sis.c: Correct spelling error.

16 years ago * ld-sh/arch/arch_expected.txt: Regenerate.
Kaz Kojima [Mon, 9 Jun 2008 22:22:05 +0000 (22:22 +0000)]
* ld-sh/arch/arch_expected.txt: Regenerate.

16 years ago * sh.h (EF_SH_BFD_TABLE): Set bfd_mach_sh for EF_SH_UNKNOWN.
Kaz Kojima [Mon, 9 Jun 2008 22:20:46 +0000 (22:20 +0000)]
* sh.h (EF_SH_BFD_TABLE): Set bfd_mach_sh for EF_SH_UNKNOWN.

16 years ago * remote.c (remote_wait): Include beginning of malformed packet
Doug Evans [Mon, 9 Jun 2008 20:43:48 +0000 (20:43 +0000)]
* remote.c (remote_wait): Include beginning of malformed packet
in error output.

16 years agogdb
Tom Tromey [Mon, 9 Jun 2008 19:25:15 +0000 (19:25 +0000)]
gdb
* completer.c (complete_line): Don't special-case
expression_completer.
(expression_completer): Only pass last word to
location_completer.
* c-exp.y (yylex): Check 'token', not 'operator'.
gdb/testsuite
* gdb.base/completion.exp: New tests for field name completion
with spaces, and field name completion with '->'.

16 years ago * testsuite/relro_test.cc: Include <cstdio>, <cstdlib>, and
Ian Lance Taylor [Mon, 9 Jun 2008 19:12:34 +0000 (19:12 +0000)]
* testsuite/relro_test.cc: Include <cstdio>, <cstdlib>, and
<exception>.
(throwing, orig_terminate): New static variables.
(terminate_handler): New static function.
(t2): Set terminate handler.

16 years ago/gas:
Eric B. Weddington [Mon, 9 Jun 2008 16:07:02 +0000 (16:07 +0000)]
/gas:
2008-06-09  Eric B. Weddington  <eric.weddington@atmel.com>

* config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
* doc/c-avr.texi: Likewise.

16 years ago2008-06-09 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 9 Jun 2008 15:19:52 +0000 (15:19 +0000)]
2008-06-09  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_merge_private_bfd_data): Allow BE8 shared
libraries.

16 years ago * configure.ac (build_warnings): Add -Wno-format for mingw.
Daniel Jacobowitz [Mon, 9 Jun 2008 15:03:59 +0000 (15:03 +0000)]
* configure.ac (build_warnings): Add -Wno-format for mingw.
* configure: Regenerated.

16 years ago * ld-arm/mixed-lib.d: Loosen pattern.
Daniel Jacobowitz [Mon, 9 Jun 2008 14:55:04 +0000 (14:55 +0000)]
* ld-arm/mixed-lib.d: Loosen pattern.

16 years ago2008-06-03 Christophe Lyon <christophe.lyon@st.com>
Daniel Jacobowitz [Mon, 9 Jun 2008 14:53:13 +0000 (14:53 +0000)]
2008-06-03  Christophe Lyon  <christophe.lyon@st.com>

bfd/
* elf32-arm.c (arm_stub_is_thumb): Define.
(elf32_arm_final_link_relocate): Handle near mode switching stubs.

ld/testsuite/
* ld-arm/farcall-thumb-thumb-m.d: Fix branch type.
* ld-arm/farcall-thumb-arm.d: Likewise.

16 years ago * common.h: Change registry@caldera.com to registry@sco.com.
Joseph Myers [Mon, 9 Jun 2008 14:07:18 +0000 (14:07 +0000)]
* common.h: Change registry@caldera.com to registry@sco.com.

16 years agodaily update
Alan Modra [Mon, 9 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Mon, 9 Jun 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * Makefile.def (flags_to_pass): Add LDFLAGS_FOR_BUILD.
Joseph Myers [Sun, 8 Jun 2008 16:19:22 +0000 (16:19 +0000)]
* Makefile.def (flags_to_pass): Add LDFLAGS_FOR_BUILD.
* Makefile.tpl (EXTRA_BUILD_FLAGS): Define.
(all prefix="build-"): Pass them to build-system sub-makes.
* Makefile.in: Regenerate.

config:
* config/mh-mingw (LDFLAGS): Define.

16 years ago*** empty log message ***
gdbadmin [Sun, 8 Jun 2008 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sun, 8 Jun 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago * NEWS: Make indentation consistent. Move exec tracing entry out
Daniel Jacobowitz [Sat, 7 Jun 2008 22:21:28 +0000 (22:21 +0000)]
* NEWS: Make indentation consistent.  Move exec tracing entry out
of remote packet list.

16 years ago * elf32-spu.c (spu_elf_auto_overlay): Add valid area below sp
Alan Modra [Sat, 7 Jun 2008 12:02:47 +0000 (12:02 +0000)]
* elf32-spu.c (spu_elf_auto_overlay): Add valid area below sp
to stack calculation.

16 years ago * NEWS: Mention archive:path patterns.
Alan Modra [Sat, 7 Jun 2008 11:35:46 +0000 (11:35 +0000)]
* NEWS: Mention archive:path patterns.
* ld.texinfo: Likewise.
* ldlang.c: Formatting throughout.
(archive_path): Only assume "[A-Za-z]:" is a dos drive.
(input_statement_is_archive_path): New function, extracted from..
(walk_wild): ..here.
(walk_wild_consider_section): Match archive:path here too.
(init_map_userdata, sort_def_symbol): Convert to ISO C.
* ldmain.c (main): Set link_info.path_separator.
* emultempl/spuelf.em (choose_target): Don't set it here.

16 years agosim:
Joseph Myers [Sat, 7 Jun 2008 01:31:27 +0000 (01:31 +0000)]
sim:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* cris/configure: Regenerate.

sim/common:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* aclocal.m4: Include ../../config/acx.m4.
* common.m4: Use ACX_PKGVERSION and ACX_BUGURL.
* configure, config.in: Regenerate.
* Make-common.in (LIB_OBJS): Add version.o.
(version.c, version.o): New rules.
* run.c: Include version.h.
(usage): Add help parameter. Print output either to stdout or
stderr depending on that parameter.
(print_version): New.
(main): Check for --help and --version.
* run-sim.h (sim_target_display_usage): Add help parameter.
* version.h: New.

sim/arm:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.
* wrapper.c (sim_target_display_usage): Add help parameter.

sim/cr16:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/d10v:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/erc32:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/frv:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/h8300:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/iq2000:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/m32c:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/m32r:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/m68hc11:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/mcore:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/mips:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/mn10300:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/ppc:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure.ac: Use ACX_PKGVERSION and ACX_BUGURL.
* configure, config.in: Regenerated.
* Makefile.in (LIB_OBJ): Add version.o.
(version.c, version.o): New rules.
* psim.c (psim_usage): Add help parameter.  Print the bug URL.
Exit with code 0 for help.
(psim_options): Update calls to psim_usage.  Handle --help and
--version.
* psim.h (psim_usage): Update prototype.
* main.c (main): Update psim_usage call.

sim/sh:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/sh64:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/v850:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

16 years agodaily update
Alan Modra [Sat, 7 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sat, 7 Jun 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago2008-06-06 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 6 Jun 2008 23:20:48 +0000 (23:20 +0000)]
2008-06-06  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_merge_private_bfd_data): Reject BE8 input.

16 years ago * Makefile.in (gdbreplay.o): New rule.
Daniel Jacobowitz [Fri, 6 Jun 2008 22:19:50 +0000 (22:19 +0000)]
* Makefile.in (gdbreplay.o): New rule.

16 years agogdb
Tom Tromey [Fri, 6 Jun 2008 20:58:08 +0000 (20:58 +0000)]
gdb
* value.h (evaluate_subexpression_type, extract_field_op):
Declare.
* printcmd.c (_initialize_printcmd): Use expression_completer for
'p', 'inspect', 'call'.
* parser-defs.h (parse_field_expression): Declare.
* parse.c: Include exceptions.h.
(in_parse_field, expout_last_struct): New globals.
(mark_struct_expression): New function.
(prefixify_expression): Return int.
(prefixify_subexp): Return int.  Use expout_last_struct.
(parse_exp_1): Update.
(parse_exp_in_context): Add 'out_subexp' argument.  Handle
in_parse_field.
(parse_field_expression): New function.
* expression.h (parse_field_expression): Declare.
(in_parse_field): Likewise.
* eval.c (evaluate_subexpression_type): New function.
(extract_field_op): Likewise.
* completer.h (expression_completer): Declare.
* completer.c (expression_completer): New function.
(count_struct_fields, add_struct_fields): New functions.
* c-exp.y (yyparse): Redefine.
(COMPLETE): New token.
(exp): New productions.
(saw_name_at_eof, last_was_structop): New globals.
(yylex): Return COMPLETE when needed.  Recognize in_parse_field.
(c_parse): New function.
* breakpoint.c (_initialize_breakpoint): Use expression_completer
for watch, awatch, and rwatch.
* Makefile.in (parse.o): Depend on exceptions_h.
gdb/testsuite
* gdb.base/break1.c (struct some_struct): New struct.
(values): New global.
* gdb.base/completion.exp: Add field name completion test.
gdb/doc
* gdb.texinfo (Completion): Add field name example.

16 years ago * gdbreplay.c (gdbreplay_version): Say gdbreplay in version
Joseph Myers [Fri, 6 Jun 2008 20:38:35 +0000 (20:38 +0000)]
* gdbreplay.c (gdbreplay_version): Say gdbreplay in version
message, not gdbserver.

16 years agoOops, missed some warnings.
DJ Delorie [Fri, 6 Jun 2008 19:26:10 +0000 (19:26 +0000)]
Oops, missed some warnings.
* mem.h (m32c_sim_restore_console): New.

16 years ago* Makefile.in: Add Timer A support.
DJ Delorie [Fri, 6 Jun 2008 19:18:15 +0000 (19:18 +0000)]
* Makefile.in: Add Timer A support.
* cpu.h (m32c_opcode_pc): New.
(in_gdb): New.
* gdb-if.c (sim_open): Add Timer A support.  Support unbuffered
console.
* int.c (trigger_interrupt): Manage the U flag properly.
(trigger_based_interrupt): Likewise.
(trigger_fixed_interrupt): New.
(trigger_peripheral_interrupt): New.
* int.h (trigger_peripheral_interrupt): New.
* m32c.opc: Use m32c_opcode_pc throughout, as needed.
(decode_m32c): Detect jump-to-zero with traceback.
(BRK): Try to do the right thing, keeping track of whether we're
in gdb or not, and if the user has provided a handler or not.
(GBRK): Alternate break opcode for gdb, in case the user's app
needs to use BRK for itself.
(BRK2): Implement.
* main.c: Add Timer A support.  Support TCP-based console.
(setup_tcp_console): New.
(main): Add Timer A support.  Support TCP-based console.
* mem.c: Add Timer A support.  Support TCP-based console.
(mem_ptr): Enhance NULL pointer detection.
(stdin_ready): New.
(m32c_sim_restore_console): New.
(mem_get_byte): Check for console input ready.
(update_timer_a): New.
* r8c.opc (SSTR): Use r0l, not r0h.
(REIT): Fix return frame logic.
* reg.c (print_flags): New.
(trace_register_changes): Use it.
(m32c_dump_all_registers): New.
* timer_a.h: New.

* load.c: Fix indentation.
* trace.c: Fix indentation.
* trace.h: Fix indentation.

16 years ago2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
Paul Pluzhnikov [Fri, 6 Jun 2008 18:29:52 +0000 (18:29 +0000)]
2008-06-06  Paul Pluzhnikov  <ppluzhnikov@google.com>

* gdb.cp/call-c.exp: Test for incorrect handling of reference
to pointer.
* gdb.cp/call-c.cc: Likewise.

16 years ago2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
Paul Pluzhnikov [Fri, 6 Jun 2008 18:29:00 +0000 (18:29 +0000)]
2008-06-06  Paul Pluzhnikov  <ppluzhnikov@google.com>

PR gdb/1147
* gdb/valopts.c (find_overload_match): Handle references
to pointers.

16 years ago2008-06-05 Marc Khouzam <marc.khouzam@ericsson.com>
Marc Khouzam [Fri, 6 Jun 2008 13:15:43 +0000 (13:15 +0000)]
2008-06-05  Marc Khouzam  <marc.khouzam@ericsson.com>

* gdb.texinfo (GDB/MI Program Context): Added example
to -exec-arguments

16 years agoada_value_assign: Correct big-endian case to take into account the bitsize
Paul N. Hilfinger [Fri, 6 Jun 2008 06:48:36 +0000 (06:48 +0000)]
ada_value_assign: Correct big-endian case to take into account the bitsize
  of the 'from' operand.

16 years agoinclude/
Alan Modra [Fri, 6 Jun 2008 06:02:00 +0000 (06:02 +0000)]
include/
* bfdlink.h (struct bfd_link_info): Add "path_separator".
bfd/
* elf32-spu.c (spu_elf_auto_overlay): Relax requirement that
file names be unique.  Specify archive:path in overlay script.
ld/
* ldlang.c (name_match): New function.
(unique_section_p, walk_wild_consider_section): Use it here.
(walk_wild_section_general): And here.
(archive_path): New function.
(walk_wild): Match archive:path filespecs.
(open_input_bfds): Don't load archive:path files.
* emultempl/spuelf.em (choose_target): Set path_separator.
* emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output.

16 years ago * annotate.h (annotate_thread_changed): Declare.
Pedro Alves [Fri, 6 Jun 2008 02:35:47 +0000 (02:35 +0000)]
* annotate.h (annotate_thread_changed): Declare.

16 years ago PR driver/35916
Danny Smith [Fri, 6 Jun 2008 02:32:32 +0000 (02:32 +0000)]
PR driver/35916
* mh-mingw (CFLAGS): Add -D__USE_MINGW_ACCESS.

16 years ago*** empty log message ***
Nick Roberts [Fri, 6 Jun 2008 00:41:22 +0000 (00:41 +0000)]
*** empty log message ***

16 years ago(thread_switch): Test for thread-changed annotation.
Nick Roberts [Fri, 6 Jun 2008 00:40:21 +0000 (00:40 +0000)]
(thread_switch): Test for thread-changed annotation.

16 years ago(Multi-threaded Apps): Add entry for thread-changed annotation.
Nick Roberts [Fri, 6 Jun 2008 00:35:16 +0000 (00:35 +0000)]
(Multi-threaded Apps): Add entry for thread-changed annotation.

16 years ago* annotate.c (annotate_thread_changed): New function.
Nick Roberts [Fri, 6 Jun 2008 00:33:52 +0000 (00:33 +0000)]
* annotate.c (annotate_thread_changed): New function.
* thread.c (thread_command) : Use it.
* infrun.c (normal_stop): Use it.

16 years ago*** empty log message ***
Nick Roberts [Fri, 6 Jun 2008 00:30:27 +0000 (00:30 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Fri, 6 Jun 2008 00:00:04 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Fri, 6 Jun 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago2008-06-05 Vladimir Prus <vladimir@codesourcery.com>
Joseph Myers [Thu, 5 Jun 2008 22:36:57 +0000 (22:36 +0000)]
2008-06-05  Vladimir Prus  <vladimir@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* acinclude.m4: Include ../config/acx.m4.
* configure.ac: Use ACX_PKGVERSION and ACX_BUGURL.
* configure, config.in: Regenerate.
* main.c (print_gdb_help): Use REPORT_BUGS_TO for bug-reporting
address.
* top.c (print_gdb_version): Use PKGVERSION and REPORT_BUGS_TO.

doc:
2008-06-05  Vladimir Prus  <vladimir@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure.ac: Include ../../config/acx.m4.  Use ACX_PKGVERSION
and ACX_BUGURL.
* configure: Regenerate.
* Makefile.in (PKGVERSION, BUGURL_TEXI): Define.
(GDBvn.texi): Define VERSION_PACKAGE, BUGURL and BUGURL_DEFAULT.
* gdb.texinfo: Use VERSION_PACKAGE and BUGURL.  Remove
mailing-list-specific text about bug reporting unless
BUGURL_DEFAULT.

gdbserver:
2008-06-05  Vladimir Prus  <vladimir@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* acinclude.m4: Include ../../config/acx.m4.
* configure.ac: Use ACX_PKGVERSION and ACX_BUGURL.
* configure, config.in: Regenerate.
* Makefile.in (gdbreplay$(EXEEXT)): Add version.o.
* server.c (gdbserver_version): Print PKGVERSION.
(gdbsrever_usage): Add stream parameter.  Print REPORT_BUGS_TO.
(main): Adjust gdbserver_usage calls.
* gdbreplay.c (version, host_name): Add declarations.
(gdbreplay_version, gdbreplay_usage): New.
(main): Accept --version and --help options.

16 years ago Replace 'target async' by 'maintenance set remote-async' and
Pedro Alves [Thu, 5 Jun 2008 21:35:00 +0000 (21:35 +0000)]
Replace 'target async' by 'maintenance set remote-async' and
'target remote' combination.

* remote.c (remote_async_wait): Merge into remote_wait, and
remove.
(remote_async_permitted, remote_async_permitted_set): New
variables.
(set_maintenance_remote_async_permitted)
(show_maintenance_remote_async_permitted): New functions.
(remote_async_ops, extended_async_remote_ops): Delete.
(remote_async_open, extended_remote_async_open): Delete.
(remote_open_1): Drop async_p parameter.  Update callers.  Replace
async_p with remote_async_permitted checks.
(extended_async_remote_attach): Delete.
(remote_resume, remote_async_resume): Merge and leave remote_resume.
(remote_async_terminal_inferior): Rename to...
(remote_terminal_inferior): ... this, and add
remote_async_termitted check.
(remote_async_terminal_ours): Rename to...
(remote_terminal_ours): ... this, and add remote_async_termitted
check.
(remote_wait, remote_async_wait): Merge and leave remote_wait
only.
(remote_kill, remote_async_kill): Merge and leave remote_kill
only.
(remote_async_mourn, extended_async_remote_mourn): Delete.
(extended_remote_create_inferior_1): Drop async_p parameter.
Update callers.  Always use extended_remote_ops.
(extended_remote_async_create_inferior): Delete.
(remote_return_zero): Delete.
(init_remote_ops): Register remote_can_async_p, remote_async,
remote_async_mask, remote_terminal_inferior and
remote_terminal_ours.
(remote_can_async_p, remote_is_async_p): Check for
remote_async_permitted.
(init_remote_async_ops, init_extended_async_remote_ops): Remove.
(set_remote_cmd): Don't add async and extended-async targets.
(_initialize_remote): Add set/show remote-async maintenance
commands.

gdb/doc/
* gdb.texinfo (-target-select): Remove reference to target async.
(Maintenance Commands): Document "maint set/show remote-async".

16 years ago * remote.c (kill_kludge): Delete.
Pedro Alves [Thu, 5 Jun 2008 21:13:58 +0000 (21:13 +0000)]
* remote.c (kill_kludge): Delete.
(remote_wait, remote_async_wait): Don't set it.
(remote_kill, remote_async_kill): Don't do anything with it.

16 years agogdb/
Pedro Alves [Thu, 5 Jun 2008 21:03:59 +0000 (21:03 +0000)]
gdb/
* linux-thread-db.c (thread_db_wait): Don't trim event ptid.

testsuite/
* gdb.threads/execl.c, gdb.threads/execl1.c,
gdb.threads/execl.exp: New tests.

16 years ago * bcache.c (bcache_data): Call deprecated_bcache_added function.
Aleksandar Ristovski [Thu, 5 Jun 2008 19:21:55 +0000 (19:21 +0000)]
* bcache.c (bcache_data): Call deprecated_bcache_added function.
(deprecated_bcache_added): New function name. Body of function
bcache_data is used here with the addition of 'added' argument.
* bcache.h (deprecated_bcache_added): New function.
* symfile.c (add_psymbol_to_bcache): New helper function, takes part of
work from add_psymbol_to_list - initialises partial symbol and stashes
it in objfile's cache.
(append_psymbol_to_list): New helper function, takes other part of
work from add_psymbol_to_list - adds partial symbol to the given list.
(add_psymbol_to_list): Call helper functions instead of doing work
here. If adding to global list, do not duplicate partial symbols in the
partial symtab.

16 years ago * gdb.cp/exception.exp: Activate test, make it work with pending
Aleksandar Ristovski [Thu, 5 Jun 2008 18:45:37 +0000 (18:45 +0000)]
* gdb.cp/exception.exp: Activate test, make it work with pending
catchpoints.

16 years ago * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
Jan Kratochvil [Thu, 5 Jun 2008 18:37:17 +0000 (18:37 +0000)]
* dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.

16 years ago * breakpoint.c (print_exception_catchpoint): Put 'exception' back to
Aleksandar Ristovski [Thu, 5 Jun 2008 18:31:53 +0000 (18:31 +0000)]
* breakpoint.c (print_exception_catchpoint): Put 'exception' back to
'exception caught|thrown' message.

16 years ago * Makefile.in: Update dependencies.
Jan Kratochvil [Thu, 5 Jun 2008 18:25:30 +0000 (18:25 +0000)]
* Makefile.in: Update dependencies.
* dwarf2expr.c: New include "gdb_assert.h".
(new_dwarf_expr_context): Initialize MAX_RECURSION_DEPTH.
(dwarf_expr_eval): Sanity check the RECURSION_DEPTH count.
(execute_stack_op): Error out on too large RECURSION_DEPTH.
Increase/decrease RECURSION_DEPTH around the function.

16 years ago PR 6584
Ian Lance Taylor [Thu, 5 Jun 2008 17:29:44 +0000 (17:29 +0000)]
PR 6584
        * binary.cc (Binary_to_elf::sized_convert): Fix .data
alignment.

16 years ago * remote.c (get_offsets): Handle a single segment.
Daniel Jacobowitz [Thu, 5 Jun 2008 16:17:54 +0000 (16:17 +0000)]
* remote.c (get_offsets): Handle a single segment.
* symfile.c (symfile_map_offsets_to_segments): Allow more bases
than segments.

16 years ago PR ld/6590
Alan Modra [Thu, 5 Jun 2008 00:30:09 +0000 (00:30 +0000)]
PR ld/6590
* elf64-ppc.c (ppc_build_one_stub): Correct reloc offsets.

16 years ago*** empty log message ***
gdbadmin [Thu, 5 Jun 2008 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 5 Jun 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago2008-06-04 Marc Khouzam <marc.khouzam@ericsson.com>
Marc Khouzam [Wed, 4 Jun 2008 23:24:19 +0000 (23:24 +0000)]
2008-06-04  Marc Khouzam  <marc.khouzam@ericsson.com>

* gdb.texinfo (GDB/MI File Transfer Commands): Typo
in -target-file-get section.

16 years ago * linux-arm-low.c (thumb_breakpoint, thumb_breakpoint_len): New.
Daniel Jacobowitz [Wed, 4 Jun 2008 19:51:51 +0000 (19:51 +0000)]
* linux-arm-low.c (thumb_breakpoint, thumb_breakpoint_len): New.
(arm_breakpoint_at): Handle Thumb.
(the_low_target): Add comment.

16 years ago * app.c (do_scrub_chars): Do not UNGET an EOF value.
Nick Clifton [Wed, 4 Jun 2008 16:10:21 +0000 (16:10 +0000)]
        * app.c (do_scrub_chars): Do not UNGET an EOF value.

16 years ago * elf.c (ignore_section_sym): Don't test section sym value here.
Alan Modra [Wed, 4 Jun 2008 14:24:05 +0000 (14:24 +0000)]
* elf.c (ignore_section_sym): Don't test section sym value here.
(elf_map_symbols): Instead check zero value here as was done prior
to 2006-05-26 change.

16 years ago* po/nl.po: New file: Dutch translation
Nick Clifton [Wed, 4 Jun 2008 10:28:35 +0000 (10:28 +0000)]
* po/nl.po: New file: Dutch translation
* configure.in (ALL_LINGUAS): Add nl.
* configure: Regenerate.

16 years ago * ld.texinfo (Orphan Sections): Fix texi typo.
Nick Clifton [Wed, 4 Jun 2008 10:07:22 +0000 (10:07 +0000)]
    * ld.texinfo (Orphan Sections): Fix texi typo.

16 years ago PR ld/6019
Nick Clifton [Wed, 4 Jun 2008 09:59:08 +0000 (09:59 +0000)]
    PR ld/6019
        * elf32-avr.c (elf32_avr_relax_section): Handle the case where
        there are no local symbols.

16 years ago * lexsup.c (option_values): Add OPTION_NO_WARN_FATAL.
Nick Clifton [Wed, 4 Jun 2008 09:45:05 +0000 (09:45 +0000)]
    * lexsup.c (option_values): Add OPTION_NO_WARN_FATAL.
        (ld_options): Add entry for --no-fatal-warnings.
        (parse_args): Handle OPTION_NO_WARN_FATAL.
        * ld.texinfo (Options): Document new command line switch.

16 years ago * emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg.
Alan Modra [Wed, 4 Jun 2008 07:08:01 +0000 (07:08 +0000)]
* emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg.

16 years ago * elf32-spu.c (get_sym_h): Don't attempt to read global syms.
Alan Modra [Wed, 4 Jun 2008 07:07:19 +0000 (07:07 +0000)]
* elf32-spu.c (get_sym_h): Don't attempt to read global syms.
(process_stubs): Likewise.
(discover_functions): Don't used cached symbols.
(maybe_insert_function): Correct condition under which function
array is realloc'd.
(mark_functions_via_relocs): Delete unused variable.

16 years ago*** empty log message ***
gdbadmin [Wed, 4 Jun 2008 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Wed, 4 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agogas/
H.J. Lu [Tue, 3 Jun 2008 17:31:52 +0000 (17:31 +0000)]
gas/

2008-06-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (set_sse_check): New.
(md_pseudo_table): Add "sse_check".

gas/testsuite/

2008-06-03  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run sse-check-none and
x86-64-sse-check-none.

* gas/i386/sse-check-none.d: New.
* gas/i386/sse-check-none.s: Likewise.
* gas/i386/x86-64-sse-check-none.d: Likewise.

16 years ago2008-06-03 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 3 Jun 2008 14:29:07 +0000 (14:29 +0000)]
2008-06-03  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (do_t_rbit): Populate both rm fields.
gas/testsuite/
* gas/arm/thumb32.d: Update expected output.

16 years ago * solib-svr4.c (struct lm_info): Add lm_addr.
Daniel Jacobowitz [Tue, 3 Jun 2008 12:59:37 +0000 (12:59 +0000)]
* solib-svr4.c (struct lm_info): Add lm_addr.
(main_lm_addr): New.
(svr4_default_sos): Set lm_addr.
(svr4_current_sos): Set lm_addr and main_lm_addr.
(svr4_fetch_objfile_link_map): Rewrite.
(svr4_clear_solib): Clear main_lm_addr.

16 years ago2008-06-03 Michael Snyder <msnyder@redhat.com>
Joseph Myers [Tue, 3 Jun 2008 10:53:34 +0000 (10:53 +0000)]
2008-06-03  Michael Snyder  <msnyder@redhat.com>
            Joseph Myers  <joseph@codesourcery.com>

* mips-tdep.c (mips_eabi_return_value): Replace stub that always
returned RETURN_VALUE_STRUCT_CONVENTION with a real function.

16 years ago*** empty log message ***
gdbadmin [Tue, 3 Jun 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Tue, 3 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Fix incorrect test.
Joel Brobecker [Mon, 2 Jun 2008 16:06:52 +0000 (16:06 +0000)]
    * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Fix incorrect test.

16 years ago * m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn.
Joel Brobecker [Mon, 2 Jun 2008 16:05:57 +0000 (16:05 +0000)]
    * m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn.

16 years ago * ldlang.c (closest_target_match): Skip generic big and little
Nick Clifton [Mon, 2 Jun 2008 06:49:58 +0000 (06:49 +0000)]
    * ldlang.c (closest_target_match): Skip generic big and little
        endian ELF targets.

(The patch itself was actually checked in by mistake with a previous delta)

16 years ago * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Do not
Joel Brobecker [Mon, 2 Jun 2008 03:12:33 +0000 (03:12 +0000)]
    * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Do not
        treat pointers in data space as function descriptors if the
        target address is also in the data space.

16 years ago*** empty log message ***
gdbadmin [Mon, 2 Jun 2008 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Mon, 2 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Sun, 1 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sun, 1 Jun 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago PR ld/6430
Nick Clifton [Sat, 31 May 2008 16:35:56 +0000 (16:35 +0000)]
        PR ld/6430
            * testsuite/ld-elfcomm/elfcomm.exp (test_sort_common): Test the
            ascending/descending argument to the --sort-common command line
            option.
            * testsuite/ld-elfcomm/sort-common.s: New file.
            * ld.h (enum sort_order): New.
            * ldlang.c (lang_check: Fix comment.
            (lang_common): Sort commons in ascending or descending order.
            (lang_one_common): Likewise.
            * lexsup.c (ld_options): Have --sort-common take an option
            argument.
            (parse_args): Handle argument to --sort-common.
            * ld.texinfo (--sort-common): Document new optional argument.
            * NEWS: Mention new feature.

16 years agoOoops, omitted from previous delta
Nick Clifton [Sat, 31 May 2008 16:04:57 +0000 (16:04 +0000)]
Ooops, omitted from previous delta

16 years ago*** empty log message ***
gdbadmin [Sat, 31 May 2008 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sat, 31 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * archive.cc (Archive::include_all_members) Correct to step
Cary Coutant [Fri, 30 May 2008 21:24:43 +0000 (21:24 +0000)]
* archive.cc (Archive::include_all_members) Correct to step
over symbol table and extended name table in thin archives.