Alan Modra
d67fad7bcc
daily update
2008-07-06 00:00:05 +00:00
gdbadmin
58b9dcea98
*** empty log message ***
2008-07-06 00:00:03 +00:00
Vladimir Prus
bb599c81ca
* mi/mi-interp.c (mi_on_resume): Don't try to report
...
resumed thread it the thread list is empty.
2008-07-05 17:57:24 +00:00
Daniel Jacobowitz
ed5e946612
Add missed changelog entry.
2008-07-05 13:48:21 +00:00
gdbadmin
1fb7311a79
*** empty log message ***
2008-07-05 00:00:36 +00:00
Alan Modra
ab8c0151ac
daily update
2008-07-05 00:00:06 +00:00
Pierre Muller
7f6a63144c
* cli/cli-decode.c (add_setshow_optional_filename_cmd): Set
...
completer for set to filename_completer.
NEWS: Mention it.
2008-07-04 22:30:19 +00:00
Joel Brobecker
d5721fa7de
* safe-ctype.h: Remove #error when detecting that ctype.h has been
...
included. Redefine the various macros provided by ctype.h as
undefined variables.
2008-07-04 17:11:29 +00:00
Alan Modra
d62f07d07d
* config/tc-spu.c (md_apply_fix): Handle fully resolved
...
BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
2008-07-04 13:04:04 +00:00
Vladimir Prus
711eabedca
Implement -target-attach.
...
* mi/mi-cmds.c (mi_cmds): Forward -target-attach to CLI attach.
2008-07-04 09:04:36 +00:00
Ian Lance Taylor
5cb66f97b7
* layout.cc (Layout::include_section): Do not discard unrecognized
...
SHT_STRTAB sections.
2008-07-04 03:34:01 +00:00
gdbadmin
fa4d55d059
*** empty log message ***
2008-07-04 00:00:34 +00:00
Alan Modra
348e39b942
daily update
2008-07-04 00:00:04 +00:00
Michael Snyder
db3b9a107a
2008-06-21 Hui Zhu <teawater@gmail.com>
...
* target-descriptions.c (maint_print_c_tdesc_cmd): Fix a memory leak.
2008-07-03 23:14:35 +00:00
Pedro Alves
dc177b7a51
* config/i386/nm-cygwin.h (ATTACH_NO_WAIT): Delete.
...
* config/i386/nm-i386gnu.h (ATTACH_NO_WAIT): Delete.
* target.h (struct target_ops): Add to_attach_no_wait member.
(target_attach_no_wait): New.
* target.c (update_current_target): Inherit to_attach_no_wait.
* infcmd.c: Replace ATTACH_NO_WAIT compile time check by
target_attach_no_wait runtime check.
* gnu-nat.c (init_gnu_ops): Set to_attach_no_wait in gnu_ops.
* win32-nat.c (init_win32_ops): Set to_attach_no_wait in
win32_ops.
2008-07-03 17:38:08 +00:00
Pedro Alves
caac88966e
* i386-tdep.c (i386_displaced_step_fixup): Condition log printing
...
on debug_displaced being set.
2008-07-03 00:19:58 +00:00
gdbadmin
6ed45dfb5e
*** empty log message ***
2008-07-03 00:00:35 +00:00
Alan Modra
6a8b14f88e
daily update
2008-07-03 00:00:06 +00:00
Alan Modra
7382d32a75
* elf32-ppc.c (is_pic_glink_stub): New function.
...
(ppc_elf_get_synthetic_symtab): Don't generate symbols when
multiple shared/pie stubs per plt entry.
2008-07-02 13:31:53 +00:00
Alan Modra
b8be0b248f
daily update
2008-07-02 00:00:05 +00:00
gdbadmin
6d55bcfd9e
*** empty log message ***
2008-07-02 00:00:03 +00:00
Alan Modra
ca12087be2
daily update
2008-07-01 00:00:06 +00:00
gdbadmin
166ec5755f
*** empty log message ***
2008-07-01 00:00:03 +00:00
Craig Silverstein
afe4762271
2008-06-30 Craig Silverstein <csilvers@cs.stanford.edu>
...
* script.cc (Lex::can_continue_name): Make '?' allowable in
version-script names.
* testsuite/version_script.map: Change glob pattern to use '?'
2008-06-30 20:59:54 +00:00
Richard Sandiford
cb53bf42a0
bfd/
...
* elf.c (_bfd_elf_get_synthetic_symtab): Increment p by
bed->s->int_rels_per_ext_rel.
2008-06-30 20:53:06 +00:00
Richard Sandiford
6ba2a41553
bfd/
...
* syms.c (BSF_SYNTHETIC): New flag.
* elf.c (_bfd_elf_get_synthetic_symtab): Set it.
* elf32-ppc.c (ppc_elf_get_synthetic_symtab): Likewise.
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Likewise.
* bfd-in.h (bfd_asymbol_flavour): Return bfd_target_unknown_flavour
for synthetic symbols.
* bfd-in2.h: Regenerate.
opcodes/
* mips-dis.c (_print_insn_mips): Use bfd_asymbol_flavour to check
for ELF symbols.
2008-06-30 20:51:58 +00:00
Ian Lance Taylor
5adf97213b
PR 6585
...
* symtab.cc (Symbol_table::add_undefined_symbols_from_command_line):
Correct typo.
2008-06-30 18:16:31 +00:00
Daniel Jacobowitz
0d254d6f30
* frame.c (get_prev_frame_1): Call frame_unwind_find_by_frame
...
directly instead of get_frame_id.
2008-06-30 17:59:03 +00:00
Ian Lance Taylor
e6fde20876
PR 6660
...
PR 6682
* powerpc.cc (Powerpc_relocate_functions::addr16_ha) [both
versions]: Don't try to read the value in the contents, since we
don't use it. Use the template endianness when writing.
2008-06-30 16:36:40 +00:00
Daniel Jacobowitz
3dccd7b794
* elf32-arm.c (record_arm_to_thumb_glue, record_thumb_to_arm_glue):
...
Expand comments.
(arm_map_one_stub): Use | 1 when setting the low bit.
2008-06-30 15:32:51 +00:00
Luis Machado
f74c6cad4e
* rs6000-tdep.c (ppc_displaced_step_fixup): New function.
...
(deal_with_atomic_sequence): Update BC masks.
(rs6000_gdbarch_init): Init displaced stepping infra-structure.
Define BRANCH_MASK, B_INSN, BC_INSN, BXL_INSN, BP_MASK and BP_INSN.
2008-06-30 14:11:48 +00:00
Daniel Jacobowitz
395f2fc22d
* cris-tdep.c (crisv32_single_step_through_delay): Get this frame's
...
register, not the previous frame's.
2008-06-30 14:00:38 +00:00
Luis Machado
8340a3fbbe
* source.c (select_source_symtab): Make sure we skip namespace
...
symtabs when showing cpp source code.
2008-06-30 13:52:07 +00:00
Hans-Peter Nilsson
cfefc99a49
* MAINTAINERS (Authorized committers): Fix my email address.
2008-06-30 08:38:18 +00:00
Alan Modra
560083c34b
daily update
2008-06-30 00:00:05 +00:00
gdbadmin
e2b16c3ff1
*** empty log message ***
2008-06-30 00:00:03 +00:00
Vladimir Prus
1b98914a55
* mi/mi-cmds.c (mi_cmds): Route -exec-run, -exec-until,
...
-target-download and -target-select via CLI, so that
the quoting rules are the same as they were (unfortunately)
in all prior gdb releases.
* mi/mi-cmds.h (mi_cmd_exec_run, mi_cmd_exec_until)
(mi_cmd_target_download, mi_cmd_target_select): Remove.
* mi/mi-main.c (mi_cmd_exec_run, mi_cmd_exec_until)
(mi_cmd_target_download, mi_cmd_target_select): Remove.
(mi_cmd_execute): Set current_token even for commands
routed via CLI.
2008-06-29 17:36:36 +00:00
Andreas Schwab
f57718b4c3
* elf32-m68k.c (elf_m68k_relocate_section): Don't ignore existing
...
addend on _GLOBAL_OFFSET_TABLE_.
ld/testsuite/:
* ld-m68k/got-1.s: New file.
* ld-m68k/got-1.d: New dump test.
* ld-m68k/m68k.exp: Run it.
2008-06-29 12:56:41 +00:00
Alan Modra
240c00d201
daily update
2008-06-29 00:00:05 +00:00
gdbadmin
c01f9a0ea9
*** empty log message ***
2008-06-29 00:00:02 +00:00
Ulrich Weigand
94afd7a6d3
* alphafbsd-tdep.c: Update for unwinder changes.
...
* alpha-linux-tdep.c: Likewise.
* alphanbsd-tdep.c: Likewise.
* alphaobsd-tdep.c: Likewise.
* avr-tdep.c: Likewise.
* cris-tdep.c: Likewise.
* frv-linux-tdep.c: Likewise.
* frv-tdep.c: Likewise.
* h8300-tdep.c: Likewise.
* hppa-linux-tdep.c: Likewise.
* iq2000-tdep.c: Likewise.
* m32c-tdep.c: Likewise.
* m32r-linux-tdep.c: Likewise.
* m32r-tdep.c: Likewise.
* m68hc11-tdep.c: Likewise.
* mep-tdep.c: Likewise.
* mn10300-tdep.c: Likewise.
* mt-tdep.c: Likewise.
* score-tdep.c: Likewise.
* sh64-tdep.c: Likewise.
* sh-tdep.c: Likewise.
* sparc64fbsd-tdep.c: Likewise.
* sparc64nbsd-tdep.c: Likewise.
* sparc64obsd-tdep.c: Likewise.
* v850-tdep.c: Likewise.
* vaxobsd-tdep.c: Likewise.
* vax-tdep.c: Likewise.
* xstormy16-tdep.c: Likewise.
2008-06-28 17:29:04 +00:00
Vladimir Prus
e111d6c920
* mi/mi-main.c (enum captured_mi_execute_command_actions)
...
(captured_mi_execute_command_args): Remove.
(captured_mi_execute_command): Cast the closure to mi_parse
pointer, not to captured_mi_execute_command_args, and don't
set the action field thereof.
(mi_execute_command): Pass struct mi_parse, not
captured_mi_execute_command_args to captured_mi_execute_command.
(mi_execute_command): Remove (dead) code for suppressing
printing prompt.
2008-06-28 11:53:34 +00:00
Vladimir Prus
7ebd49dca3
* lib/mi-support.exp (mi_send_resuming_command_raw): Revert
...
previous commit. Add a comment.
2008-06-28 11:31:02 +00:00
Pedro Alves
84e46146f7
gdb/
...
2008-06-28 Pedro Alves <pedro@codesourcery.com>
* linux-nat.c (enum sigchld_state): New.
(linux_nat_async_events_state): Renamed from
linux_nat_async_events_enabled.
(linux_nat_event_pipe_push, my_waitpid): Adjust.
(sigchld_default_action): New.
(lin_lwp_attach_lwp): Adjust. Call linux_nat_async_events
unconditionally.
(linux_nat_create_inferior): Set events state to sigchld_default
state.
(linux_nat_resume): Adjust.
(linux_nat_wait): Call linux_nat_async_events unconditionally.
(sigchld_handler): Adjust.
(linux_nat_async_mask): Don't set SIGCHLD actions here.
(get_pending_events): Adjust.
(linux_nat_async_events): Rewrite to handle enum sigchld_state
instead of a boolean.
(linux_nat_async): Adjust.
(_initialize_linux_nat): Capture default SIGCHLD action into
sigchld_default_action.
gdb/testsuite/
2008-06-28 Pedro Alves <pedro@codesourcery.com>
* gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
2008-06-28 11:15:34 +00:00
Vladimir Prus
0f8d4a2f6e
* lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
2008-06-28 10:14:34 +00:00
Vladimir Prus
53c2f6a972
Revert accidental commit
2008-06-28 10:03:42 +00:00
Vladimir Prus
20874c92f8
* breakpoint.c (moribund_locations): New.
...
(bpstat_stop_status): Process moribund locations.
(update_global_location_list): Add removed
locations to moribund_locations.
(breakpoint_retire_moribund): New.
* breakpoint.h (struct bp_location): New field
events_till_retirement.
(breakpoint_retire_moribund): Declare.
* thread.c (thread_count): New.
* infrun.c (handle_inferior_event): Call
breakpoint_retire_moribund.
* gdbthread.h (thread_count): Declare.
2008-06-28 09:42:15 +00:00
gdbadmin
2a9bd7a88c
*** empty log message ***
2008-06-28 00:00:33 +00:00
Alan Modra
5d4c9a945e
daily update
2008-06-28 00:00:05 +00:00
Joseph Myers
cd0b43b1f1
* dfp.c (decimal_convert): Call match_endianness before and after
...
conversion.
2008-06-27 20:15:01 +00:00