OSDN Git Service
jjohnstn [Mon, 7 Jul 2008 15:51:53 +0000 (15:51 +0000)]
2008-07-07 Hans-Peter Nilsson <hp@axis.com>
* libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t.
(strncpy): Cast src to uintptr_t before checking alignment with "&".
schwab [Mon, 7 Jul 2008 12:05:30 +0000 (12:05 +0000)]
(GDB/MI Target Manipulation): Fix last change.
amodra [Mon, 7 Jul 2008 11:48:26 +0000 (11:48 +0000)]
* bfd.c (bfd_demangle): Always trim off bfd_get_symbol_leading_char.
dannysmith [Mon, 7 Jul 2008 07:58:33 +0000 (07:58 +0000)]
2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
* include/ctype.h (_imp____mb_cur_max): Correct spelling.
(_imp____mb_cur_max_dll): Likewise.
amodra [Mon, 7 Jul 2008 04:37:53 +0000 (04:37 +0000)]
* objdump.c (find_symbol_for_address): Prefer symbols in current
section.
amodra [Mon, 7 Jul 2008 00:46:51 +0000 (00:46 +0000)]
* emultempl/armelf.em (elf32_arm_add_stub_section): Use
bfd_make_section_with_flags.
* emultempl/avrelf.em (avr_elf_create_output_section_statements):
Likewise.
* emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise.
* emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise.
* emultempl/m68kcoff.em (gld${EMULATION_NAME}_after_open): Likewise.
* emultempl/m68kelf.em (m68k_elf_after_open): Likewise.
* emultempl/ppc64elf.em (ppc_add_stub_section): Likewise.
* emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation):
Likewise.
amodra [Mon, 7 Jul 2008 00:44:41 +0000 (00:44 +0000)]
* ieee.c (write_ieee_debugging_info): Use bfd_make_section_with_flags.
* nlmconv.c (main, powerpc_build_stubs): Likewise.
* rescoff.c (write_coff_file): Likewise.
* resres.c (write_res_file): Likewise.
* windmc.c (windmc_write_bin): Likewise.
gdbadmin [Mon, 7 Jul 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 7 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update
nathan [Sun, 6 Jul 2008 13:38:36 +0000 (13:38 +0000)]
* ld.texinfo (File Commands): Document that INCLUDE can be used in
several different places.
* ldgram.y (statement, memory_spec, section): Allow INCLUDE.
(memory, memory_spec_list): Simplify BNF
(memory_spec_list_opt): New rule.
* ldlex.l (INCLUDE): Recognize in EXPRESSION.
testsuite/
* ld-scripts/include-1.d: New.
* ld-scripts/include-1.t: New.
* ld-scripts/include-data.t: New.
* ld-scripts/include-mem.t: New.
* ld-scripts/include-ram.t: New.
* ld-scripts/include-sections.t: New.
* ld-scripts/include-subdata.t: New.
* ld-scripts/include.exp: New.
* ld-scripts/include.s: New.
vprus [Sun, 6 Jul 2008 13:21:19 +0000 (13:21 +0000)]
* gdb.texinfo (GDB/MI Target Manipulation): Add
example of -target-attach.
amodra [Sun, 6 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 6 Jul 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
vprus [Sat, 5 Jul 2008 17:57:23 +0000 (17:57 +0000)]
* mi/mi-interp.c (mi_on_resume): Don't try to report
resumed thread it the thread list is empty.
drow [Sat, 5 Jul 2008 13:48:20 +0000 (13:48 +0000)]
Add missed changelog entry.
gdbadmin [Sat, 5 Jul 2008 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 5 Jul 2008 00:00:06 +0000 (00:00 +0000)]
daily update
muller [Fri, 4 Jul 2008 22:30:14 +0000 (22:30 +0000)]
* cli/cli-decode.c (add_setshow_optional_filename_cmd): Set
completer for set to filename_completer.
NEWS: Mention it.
brobecke [Fri, 4 Jul 2008 17:11:29 +0000 (17:11 +0000)]
* safe-ctype.h: Remove #error when detecting that ctype.h has been
included. Redefine the various macros provided by ctype.h as
undefined variables.
amodra [Fri, 4 Jul 2008 13:04:03 +0000 (13:04 +0000)]
* config/tc-spu.c (md_apply_fix): Handle fully resolved
BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
vprus [Fri, 4 Jul 2008 09:04:36 +0000 (09:04 +0000)]
Implement -target-attach.
* mi/mi-cmds.c (mi_cmds): Forward -target-attach to CLI attach.
dannysmith [Fri, 4 Jul 2008 03:55:50 +0000 (03:55 +0000)]
* include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
* include/wchar.h (swprintf, vswprintf): Likewise.
ian [Fri, 4 Jul 2008 03:34:01 +0000 (03:34 +0000)]
* layout.cc (Layout::include_section): Do not discard unrecognized
SHT_STRTAB sections.
gdbadmin [Fri, 4 Jul 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 4 Jul 2008 00:00:04 +0000 (00:00 +0000)]
daily update
kevinb [Thu, 3 Jul 2008 23:24:11 +0000 (23:24 +0000)]
* HOWTO, HOWTO.old: Preserve old HOWTO document as HOWTO.old. It
may still contain some useful information about the library
internals. Revise HOWTO, providing significantly more detail
about how to create a new RDA application than was found in the
original document.
msnyder [Thu, 3 Jul 2008 23:14:35 +0000 (23:14 +0000)]
2008-06-21 Hui Zhu <teawater@gmail.com>
* target-descriptions.c (maint_print_c_tdesc_cmd): Fix a memory leak.
palves [Thu, 3 Jul 2008 17:38:08 +0000 (17:38 +0000)]
* 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.
palves [Thu, 3 Jul 2008 00:19:57 +0000 (00:19 +0000)]
* i386-tdep.c (i386_displaced_step_fixup): Condition log printing
on debug_displaced being set.
gdbadmin [Thu, 3 Jul 2008 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 3 Jul 2008 00:00:06 +0000 (00:00 +0000)]
daily update
jjohnstn [Wed, 2 Jul 2008 18:38:45 +0000 (18:38 +0000)]
2008-07-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/argz/argz_count.c: Include stddef.h to get size_t.
* libc/argz/argz_extract.c: Ditto.
* libc/argz/argz_stringify.c: Ditto.
* libc/search/hash.h: Ditto.
* libc/sys/linux/include/sched.h: Ditto.
* libc/sys/linux/sys/types.h: Ditto.
jjohnstn [Wed, 2 Jul 2008 18:17:47 +0000 (18:17 +0000)]
2008-07-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/machine/mips/strncpy.c (strncpy): Fix logic so unaligned
source data is taken care of before loop unrolling.
corinna [Wed, 2 Jul 2008 14:00:26 +0000 (14:00 +0000)]
* path.cc (path_conv::is_binary): Fix test. Add comment.
amodra [Wed, 2 Jul 2008 13:31:52 +0000 (13:31 +0000)]
* 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.
amodra [Wed, 2 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 2 Jul 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
keithmarshall [Tue, 1 Jul 2008 22:57:24 +0000 (22:57 +0000)]
Add _get_output_format(), _set_output_format() for MSVCRT >= MSVCR80
cgf [Tue, 1 Jul 2008 17:17:31 +0000 (17:17 +0000)]
* Makefile.in: Temporarily add ability to generate pdfs.
amodra [Tue, 1 Jul 2008 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 1 Jul 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
csilvers [Mon, 30 Jun 2008 20:59:54 +0000 (20:59 +0000)]
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 '?'
rsandifo [Mon, 30 Jun 2008 20:53:06 +0000 (20:53 +0000)]
bfd/
* elf.c (_bfd_elf_get_synthetic_symtab): Increment p by
bed->s->int_rels_per_ext_rel.
rsandifo [Mon, 30 Jun 2008 20:51:57 +0000 (20:51 +0000)]
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.
ian [Mon, 30 Jun 2008 18:16:31 +0000 (18:16 +0000)]
PR 6585
* symtab.cc (Symbol_table::add_undefined_symbols_from_command_line):
Correct typo.
drow [Mon, 30 Jun 2008 17:59:02 +0000 (17:59 +0000)]
* frame.c (get_prev_frame_1): Call frame_unwind_find_by_frame
directly instead of get_frame_id.
ian [Mon, 30 Jun 2008 16:36:40 +0000 (16:36 +0000)]
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.
drow [Mon, 30 Jun 2008 15:32:51 +0000 (15:32 +0000)]
* 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.
luisgpm [Mon, 30 Jun 2008 14:11:46 +0000 (14:11 +0000)]
* 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.
drow [Mon, 30 Jun 2008 14:00:38 +0000 (14:00 +0000)]
* cris-tdep.c (crisv32_single_step_through_delay): Get this frame's
register, not the previous frame's.
luisgpm [Mon, 30 Jun 2008 13:52:06 +0000 (13:52 +0000)]
* source.c (select_source_symtab): Make sure we skip namespace
symtabs when showing cpp source code.
hp [Mon, 30 Jun 2008 08:38:18 +0000 (08:38 +0000)]
* MAINTAINERS (Authorized committers): Fix my email address.
amodra [Mon, 30 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 30 Jun 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
vprus [Sun, 29 Jun 2008 17:36:36 +0000 (17:36 +0000)]
* 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.
schwab [Sun, 29 Jun 2008 12:56:40 +0000 (12:56 +0000)]
* 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.
amodra [Sun, 29 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 29 Jun 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
uweigand [Sat, 28 Jun 2008 17:29:02 +0000 (17:29 +0000)]
* 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.
vprus [Sat, 28 Jun 2008 11:53:33 +0000 (11:53 +0000)]
* 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.
vprus [Sat, 28 Jun 2008 11:31:02 +0000 (11:31 +0000)]
* lib/mi-support.exp (mi_send_resuming_command_raw): Revert
previous commit. Add a comment.
palves [Sat, 28 Jun 2008 11:15:32 +0000 (11:15 +0000)]
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.
vprus [Sat, 28 Jun 2008 10:14:34 +0000 (10:14 +0000)]
* lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
vprus [Sat, 28 Jun 2008 10:03:42 +0000 (10:03 +0000)]
Revert accidental commit
vprus [Sat, 28 Jun 2008 09:42:15 +0000 (09:42 +0000)]
* 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.
gdbadmin [Sat, 28 Jun 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 28 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update
jsm28 [Fri, 27 Jun 2008 20:15:01 +0000 (20:15 +0000)]
* dfp.c (decimal_convert): Call match_endianness before and after
conversion.
jlarmour [Fri, 27 Jun 2008 18:56:34 +0000 (18:56 +0000)]
* remote.c (remote_insert_breakpoint): Ensure that if Z0
unsupported and we fall back to memory_insert_breakpoint, we
use the unmodified requested address.
chaoyingfu [Fri, 27 Jun 2008 18:30:11 +0000 (18:30 +0000)]
* gas/mips/odd-float.d: Replace ... with #pass.
* gas/mips/ldstla-32-shared.d: Add -march=mips1 for as.
* gas/mips/ldstla-32.d: Likewise.
* gas/mips/mips16-hilo-match.d: Add -mabi=32 -march=mips1 for as.
brobecke [Fri, 27 Jun 2008 17:56:47 +0000 (17:56 +0000)]
* dwarf2read.c (read_attribute_value): Issue a complaint when
adjusting size attribute values of 0xffffffff as zero.
palves [Fri, 27 Jun 2008 16:42:18 +0000 (16:42 +0000)]
* lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
(gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
compiling an executable, link in an object that forces unbuffered
output.
* lib/set_unbuffered_mode.c: New file.
jsm28 [Fri, 27 Jun 2008 16:22:55 +0000 (16:22 +0000)]
* i386-tdep.c (i386_16_byte_align_p): New.
(i386_push_dummy_call): Determine stack space required for
arguments going forwards allowing for 16-byte alignment, then push
arguments going forwards.
palves [Fri, 27 Jun 2008 13:22:15 +0000 (13:22 +0000)]
* remote-utils.c (prepare_resume_reply): If requested, don't
output "thread:TID" in the T stop reply.
* server.c (disable_packet_vCont, disable_packet_Tthread)
(disable_packet_qC, disable_packet_qfThreadInfo): New globals.
(handle_query): If requested, disable support for qC, qfThreadInfo
and qsThreadInfo.
(handle_v_requests): If requested, disable support for vCont.
(gdbserver_show_disableable): New.
(main): Handle --disable-packet and --disable-packet=LIST.
* server.h (disable_packet_vCont, disable_packet_Tthread)
(disable_packet_qC, disable_packet_qfThreadInfo): Declare.
palves [Fri, 27 Jun 2008 11:54:21 +0000 (11:54 +0000)]
* infrun.c (start_remote): Don't clear thread list here.
* monitor.c (monitor_open): Include "gdbthread.h". Clear thread
list here.
* remote.c (record_currthread): Upgrade the main thread and its
entry in the thread list if this is the first time we hear about
threads.
(remote_thread_alive): Consider magic_null_ptid or a ptid without
a tid member always alive.
(remote_find_new_threads): Don't update the main thread here.
(remote_start_remote): Clear thread list here. Always add the
main thread.
(extended_remote_attach_1): Add the main thread here.
(extended_remote_mourn_1): Re-add the main thread here.
(extended_remote_create_inferior_1): Add a main thread.
* Makefile.in (monitor.o): Depend on $(gdbthread_h).
palves [Fri, 27 Jun 2008 11:32:17 +0000 (11:32 +0000)]
Fix date.
palves [Fri, 27 Jun 2008 11:31:39 +0000 (11:31 +0000)]
Use ptid_t.tid to store thread ids instead of ptid_t.pid.
* remote.c (magic_null_ptid, not_sent_ptid, any_thread_ptid): New
globals.
(general_thread, continue_thread): Change type to ptid_t.
(record_currthread): Take a ptid_t parameter instead of an
integer.
(MAGIC_NULL_PID): Delete.
(set_thread): Take a ptid_t parameter and adjust.
(set_general_thread, set_continue_thread): New.
(remote_thread_alive, remote_newthread_step)
(remote_current_thread, remote_find_new_threads)
(remote_threads_info, remote_start_remote, remote_vcont_resume)
(remote_resume_1, remote_wait, extended_remote_create_inferior_1)
(threadalive_test, remote_pid_to_str)
(remote_get_thread_local_address): Adjust.
(_initialize_remote): Initialize magic_null_ptid, not_sent_ptid
and any_thread_ptid.
cgf [Fri, 27 Jun 2008 00:34:02 +0000 (00:34 +0000)]
* effectively.sgml: Correct subject-verb agreement, missing verb
(typo), preposition and (definite vs indefinite) article use.
gdbadmin [Fri, 27 Jun 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 27 Jun 2008 00:00:06 +0000 (00:00 +0000)]
daily update
jkratoch [Thu, 26 Jun 2008 19:20:42 +0000 (19:20 +0000)]
* configure.ac (--enable-tui): AC_MSG_ERROR for explicit --enable-tui.
* configure: Regenerated.
brobecke [Thu, 26 Jun 2008 19:08:10 +0000 (19:08 +0000)]
* dwarf2read.c (read_attribute_value): Treat size attribute
values of 0xffffffff as if the attribute value was zero.
vprus [Thu, 26 Jun 2008 17:40:23 +0000 (17:40 +0000)]
* linux-nat.c: Add description of overall logic.
drow [Thu, 26 Jun 2008 15:51:26 +0000 (15:51 +0000)]
* Makefile.in (GNULIB_H): Use GNULIB_STDINT_H.
(gdb_stdint_h, gdb_stdint.h, stamp-int): Delete. Remove
all dependencies on $(gdb_stdint_h).
(distclean): Do not delete gdb_stdint.h.
* acinclude.m4: Do not use stdint.m4.
* configure.ac: Set GNULIB_STDINT_H. Remove tests for stdint.h,
uintptr_t, and gdb_stdint.h.
* defs.h: Include <stdint.h>.
* gdb_thread_db.h: Assume stdint.h is already included.
* breakpoint.c, findcmd.c, hppa-tdep.c, inf-ptrace.c, proc-service.c,
rs6000-nat.c, spu-linux-nat.c, target.c, win32-nat.c: Do not
include gdb_stdint.h.
* configure, config.in: Regenerate.
jsm28 [Thu, 26 Jun 2008 15:38:39 +0000 (15:38 +0000)]
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Handle passing
decimal floating-point values in GPRs for soft-float.
(do_ppc_sysv_return_value): Handle returning decimal
floating-point values in GPRs for soft-float.
vprus [Thu, 26 Jun 2008 15:10:47 +0000 (15:10 +0000)]
* target.c (target_read_until_error): New.
* target.h (target_read_until_error): Declare.
* mi/mi-main.c (mi_cmd_data_read_memory): Use
target_read_until_error.
amodra [Thu, 26 Jun 2008 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 26 Jun 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
nivenh [Wed, 25 Jun 2008 21:21:07 +0000 (21:21 +0000)]
2008-06-25 Brandon Sneed <nivenh@sourceware.org>
* include/winbase.h (GetProcessHandleCount, GetSystemRegistryQuota,
GetThreadIOPendingFlag): Modified to rely on _WIN32_WINNT 0x0501 instead
of 0x0502.
Bug reported by Thomas Denk.
nivenh [Wed, 25 Jun 2008 20:53:31 +0000 (20:53 +0000)]
2008-06-25 Brandon Sneed <nivenh@sourceware.org>
* include/winbase.h (InterlockedIncrement, InterlockedDecrement,
InterlockedCompareExchange, InterlockedExchange,
InterlockedCompareExchangePointer, InterlockedExchangeAdd,
InterlockedExchangePointer): Modified from PLONG to LONG volatile *.
ccoutant [Wed, 25 Jun 2008 17:10:08 +0000 (17:10 +0000)]
2008-06-25 Cary Coutant <ccoutant@google.com>
* fileread.cc (File_read::make_view): Assert on zero-length view.
* object.cc (Sized_relobj::do_read_symbols): Don't try to read
symbol table when there are no symbols to read.
bergner [Wed, 25 Jun 2008 16:49:02 +0000 (16:49 +0000)]
gas/
* config/tc-ppc.c (parse_cpu): Handle -m464.
(md_show_usage): Likewise.
opcodes/
* ppc-dis.c (powerpc_init_dialect): Handle -M464.
(print_ppc_disassembler_options): Likewise.
* ppc-opc.c (PPC464): Define.
(powerpc_opcodes): Add mfdcrux and mtdcrux.
eweddington [Wed, 25 Jun 2008 16:19:10 +0000 (16:19 +0000)]
/gas:
2008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
Add support for ATtiny13A.
* config/tc-avr.c (mcu_types): Add attiny13a.
* doc/c-avr.texi: Likewise.
jkratoch [Wed, 25 Jun 2008 15:52:15 +0000 (15:52 +0000)]
* lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
jkratoch [Wed, 25 Jun 2008 15:49:20 +0000 (15:49 +0000)]
Fix a memory leak found by Hui Zhu <teawater@gmail.com>.
* c-exp.y (parse_number): Move the S and SAVED_CHAR initialization
after the DECFLOAT detection to fix a memory leak. Remove the
redundant NUM initialization. Protect the DECFLOAT detection memory
access before the P block. Restore the P memory content for the
DECFLOAT detection.
drow [Wed, 25 Jun 2008 15:21:21 +0000 (15:21 +0000)]
Revert accidental commit.
vprus [Wed, 25 Jun 2008 15:15:41 +0000 (15:15 +0000)]
Kill the return value for all MI command functions.
* mi/mi-cmds.h (enum mi_cmd_result): Remove.
(mi_cmd_argv_ftype): Change return type to void.
* mi/mi-main.c: Adjust all function that implement
MI commands to return nothing.
(struct captured_mi_execute_command_actions):
Remove the rc field.
(mi_cmd_execute): Return nothing.
(mi_execute_async_cli_command): Return nothing.
(mi_cmd_exec_interrupt): Don't print ^done here.
(mi_cmd_target_select): Don't print ^connected here.
(captured_mi_execute_command): Don't check for MI_CMD_DONE.
Special-case -target-select and output ^connected, not ^done.
* mi/mi-cmd-break.c: Adjust.
* mi/mi-cmd-disas.c: Adjust.
* mi/mi-cmd-env.c: Adjust.
* mi/mi-cmd-file.c: Adjust.
* mi/mi-cmd-stack.c: Adjust.
* mi/mi-cmd-target.c: Adjust.
* mi/mi-cmd-var.c: Adjust.
* mi/mi-interp.c: Adjust.
* mi/mi-symbol-cmds.c: Adjust.
vprus [Wed, 25 Jun 2008 14:32:32 +0000 (14:32 +0000)]
Emit ^running via observer.
* mi/mi-interp.c (mi_cmd_interpreter_exec): Do no print
^running here.
(mi_on_resume): Print ^running if not previously output.
* mi/mi-main.c (running_result_record_printed): New.
(captured_mi_execute_command): Reset
running_result_record_printed. Use running_result_record_printed
to decide if we should skip ^done.
(mi_execute_async_cli_command): Don't print ^running here.
* mi/mi-main.h (current_token, running_result_record_printed):
Declare.
drow [Wed, 25 Jun 2008 14:28:46 +0000 (14:28 +0000)]
* elf32-arm.c (STUB_ENTRY_NAME): Define.
(arm_thumb_thumb_long_branch_stub): Use bx instead of b.n.
(arm_pic_long_branch_stub): Mention R_ARM_REL32 instead of
R_ARM_ABS32.
(struct elf32_arm_stub_hash_entry): Add output_name.
(arm_build_one_stub): Move offsets into the offset argument
of _bfd_final_link_relocate. Correct offset for
arm_thumb_arm_v4t_stub_long_branch.
(elf32_arm_size_stubs): Set stub_entry->output_name.
(elf32_arm_ouput_plt_map_sym): Rename to elf32_arm_output_map_sym.
Update all callers.
(elf32_arm_output_stub_sym): New.
(arm_map_one_stub): Correct formatting. Use elf32_arm_output_stub_sym.
* ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d,
ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d,
ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d,
ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm.d,
ld-arm/farcall-thumb-thumb-blx-pic-veneer.d,
ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d,
ld-arm/thumb2-bl-as-thumb1-bad.d, ld-arm/thumb2-bl-bad.d: Update for
stub symbols and stub corrections.
hp [Wed, 25 Jun 2008 01:45:01 +0000 (01:45 +0000)]
Fix strict-aliasing issues with _strtod_r and Storeinc.
* libc/stdlib/strtod.c (_strtod_r): Change local variables aadj,
rv, rv0 from double to type U. Use accessor macros dval, dword0
and dword1 for all accesses except for the ULtod call, where rv.i
replaces the pointer cast.
* libc/stdlib/mprec.h (U): Rename member L to i for easier re-use
of access macros. Tweak comment.
Remove #ifdef'd YES_ALIAS code.
(dword0, dword1, dval): Define in terms of uncast union member
access. Ditto for _DOUBLE_IS_32BITS variants.
(Storeinc): Replace aliasing-flawed microoptimized definition with
alternative suggested in comment. Remove now stale comment.