OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
16 years ago Add non_stop global.
palves [Wed, 9 Jul 2008 22:27:12 +0000 (22:27 +0000)]
Add non_stop global.

* inferior.h (non_stop): Declare.
* infrun.c (non_stop, non_stop_1): New.
(set_non_stop, show_non_stop): New.
(_initialize_infrun): Add "set/show non-stop" command.

16 years ago Adjust fork/vfork/exec to pass ptids around.
palves [Wed, 9 Jul 2008 22:23:04 +0000 (22:23 +0000)]
Adjust fork/vfork/exec to pass ptids around.

* target.h (struct target_waitstatus): Store related_pid as a ptid.
(inferior_has_forked, inferior_has_vforked, inferior_has_execd):
Take a ptid_t.
* breakpoint.h (struct breakpoint): Change forked_inferior_pid
type to ptid.
* breakpoint.c (print_it_typical, bpstat_check_location)
(print_one_breakpoint_location, set_raw_breakpoint_without_location)
(create_fork_vfork_event_catchpoint): Adjust.
* infrun.c (fork_event): Change parent_pid and child_pid types to
ptid.
(follow_exec, inferior_has_forked, inferior_has_vforked)
(inferior_has_execd): Take a ptid_t and don't trim it.
* linux-thread-db.c (thread_db_wait): Don't trim the returned ptid.
* linux-nat.c (linux_child_follow_fork): Adjust.
* inf-ptrace.c (inf_ptrace_wait): Adjust.
* inf-ttrace.c (inf_ttrace_wait): Adjust.
* win32-nat.c (get_win32_debug_event): Don't set related_pid.

16 years ago Add "executing" property to threads.
palves [Wed, 9 Jul 2008 22:16:14 +0000 (22:16 +0000)]
Add "executing" property to threads.

* inferior.h (target_executing): Delete.
* gdbthread.h (struct thread_info): Add executing_ field.
(set_executing, is_executing): New.
* thread.c (main_thread_executing): New.
(init_thread_list): Clear it and also main_thread_running.
(is_running): Return false if target has no execution.
(any_running, is_executing, set_executing): New.

* top.c: Include "gdbthread.h".
(target_executing): Delete.
(execute_command): Replace target_executing check by any_running.
* event-top.c: Include "gdbthread.h".
(display_gdb_prompt, command_handler): Replace target_executing by
is_running.
* inf-loop.c: Include "gdbthread.h".  Don't mark as not executing
here.  Replace target_executing by is_running.
* infrun.c (handle_inferior_event): Mark all threads as
not-executing.
* linux-nat.c (linux_nat_resume): Don't mark thread as executing
here.
* stack.c (get_selected_block): Return null if inferior is
executing.
* target.c (target_resume): Mark resumed ptid as executing.
* breakpoint.c (until_break_command): Replace target_executing
check by is_executing.
* remote.c (remote_async_resume): Don't mark inferior as executing
here.
* mi/mi-interp.c (mi_cmd_interpreter_exec): Replace target_executing
by any_running.

* mi/mi-main.c (mi_cmd_exec_interrupt, mi_cmd_execute)
(mi_execute_async_cli_command): Replace target_executing by
is_running.

* frame.c (get_current_frame): Error out if the current thread is
executing.
(has_stack_frames): New.
(get_selected_frame, deprecated_safe_get_selected_frame): Check
has_stack_frames.

* Makefile.in (event-top.o, frame.o, inf-loop.o, top.o): Depend on
$(gdbthread_h).

16 years ago * sec_auth.cc (verify_token): Allow builtin groups missing in a token
corinna [Wed, 9 Jul 2008 15:45:08 +0000 (15:45 +0000)]
* sec_auth.cc (verify_token): Allow builtin groups missing in a token
and it's still valid.  Explain why.

16 years ago * mkgroup.c: Use statically linked functions throughout, except for
corinna [Wed, 9 Jul 2008 14:32:29 +0000 (14:32 +0000)]
* mkgroup.c: Use statically linked functions throughout, except for
DsGetDcNameW.  Reformat.  Convert to use WCHAR for names throughout.
Use defines instead of constants throughout.
(MAX_SID_LEN): Define.
(load_netapi): Just load DsGetDcNameW pointer.
(psx_dir): Remove.
(uni2ansi): Remove.
(enum_local_users): Take server name and use in Net... call.
(DBGSID): Define datastructure.
(MAX_BUILTIN_SIDS): Define.
(builtin_sid_list): Define global sid list.
(builtin_sid_cnt): Define counter for global sid list.
(enum_local_groups): Take server name and use in Net... and Lookup...
calls.  Take offset argument.  Use MAX_PREFERRED_LENGTH in call to
NetLocalGroupEnum.  Check for duplicate builtin groups.
(enum_users): Take server name and use in Net... call.
(usage): Change text slightly.
(print_version): Fix copyright.
(main): Call enum_local_groups for domains as well.
* mkpasswd.c: Use statically linked functions throughout, except for
DsGetDcNameW.  Reformat.  Convert to use WCHAR for names throughout.
Use defines instead of constants throughout.
(MAX_SID_LEN): Define.
(load_netapi): Just load DsGetDcNameW pointer.
(uni2ansi): Use wcstombs.
(current_user): Replace "unused_by_nt/2000/xp" by
just "unused".
(enum_users): Ditto.
(print_version): Fix copyright.

16 years ago * autoload.cc (DsGetDcNameW): Replace DsGetDcNameA.
corinna [Wed, 9 Jul 2008 11:58:38 +0000 (11:58 +0000)]
* autoload.cc (DsGetDcNameW): Replace DsGetDcNameA.
* dcrt0.cc (child_info_spawn::handle_spawn): Drop artificial
supplementary group list from calling setgroups in parent.
* grp.cc (internal_getgroups): Drop 9x-only code.  Reformat.
* sec_auth.cc (get_logon_server): Do everything in WCHAR only.
(get_user_groups): Ditto.  Use wlogonserver in LookupAccountNameW
calls, too.
(is_group_member): Get logon server as first argument and use in call
to NetLocalGroupGetMembers.
(get_user_local_groups): Get logon server as first argument and use in
calls to NetLocalGroupEnum and LookupAccountNameW.  Revamp to work
more correctly in domain environments.
(get_server_groups): Accommodate aforementioned changed function calls.
* security.h (get_logon_server): Change prototype accordingly.
* uinfo.cc (cygheap_user::env_logsrv): Accommodate changed
get_logon_server call.

16 years agogdb/
palves [Wed, 9 Jul 2008 11:16:48 +0000 (11:16 +0000)]
gdb/
2008-07-09  Pedro Alves  <pedro@codesourcery.com>

* symfile.c (load_command): Reopen the exec file and reread
symbols before anything else.

gdb/testsuite/
2008-07-09  Pedro Alves  <pedro@codesourcery.com>

* gdb.base/chng-syms.exp: Don't expect "No symbol ...".

16 years ago * remote-sim.c: Include gdbthread.h.
palves [Wed, 9 Jul 2008 11:02:55 +0000 (11:02 +0000)]
* remote-sim.c: Include gdbthread.h.
(remote_sim_ptid): New global.
(gdbsim_create_inferior): Silently add the main task to GDB's
thread list.
(gdbsim_close, gdbsim_mourn_inferior): Silently delete the main
task from GDB's thread list.
(gdbsim_resume): Adjust to use remote_sim_ptid.
(gdbsim_thread_alive, gdbsim_pid_to_str): New.
(init_gdbsim_ops): Register gdbsim_thread_alive and
gdbsim_pid_to_str.
(_initialize_remote_sim): Initialize remote_sim_ptid.
* Makefile.in (remote-sim.o): Depend on $(gdbthread_h).

16 years ago * monitor (monitor_ptid): New global.
palves [Wed, 9 Jul 2008 10:58:40 +0000 (10:58 +0000)]
* monitor (monitor_ptid): New global.
(monitor_open): Silently add the main task to GDB's thread list.
(monitor_close, monitor_mourn_inferior): Silently delete the main
task from GDB's thread list.
(monitor_thread_alive, monitor_pid_to_str): New.
(init_base_monitor_ops): Register monitor_thread_alive and
monitor_pid_to_str.
(_initialize_remote_monitors): Initialize monitor_ptid.

* gdbthread.h (delete_thread_silent): Declare.
* thread.c (delete_thread): Rename to ...
(delete_thread_1): ... this.  Add "silent" parameter.  If silent,
don't do exit notifications.
(delete_thread, delete_thread_silent): New, as wrappers to
delete_thread_1.

16 years ago * gdb.base/fullname.exp: Restore pwd if compiling failed.
palves [Wed, 9 Jul 2008 10:50:52 +0000 (10:50 +0000)]
* gdb.base/fullname.exp: Restore pwd if compiling failed.

16 years ago2008-07-09 Kai Tietz <kai.tietz@onevision.com>
ktietz [Wed, 9 Jul 2008 10:28:11 +0000 (10:28 +0000)]
2008-07-09  Kai Tietz  <kai.tietz@onevision.com>

* gas/i386/i386.exp (x86-64-pcrel): Disable for w64.
(x86-64-sse5): Likewise.
(x86-64-opcode-inval): Likewise.
(x86-64-opcode-inval-intel): Likewise.
(x86-64-w64-pcrel): New.
* gas/i386/x86-64-w64-pcrel.d: New.

16 years ago * grp.cc (internal_getgroups): Also add integrity-enabled groups.
corinna [Wed, 9 Jul 2008 09:14:12 +0000 (09:14 +0000)]
* grp.cc (internal_getgroups): Also add integrity-enabled groups.

16 years ago * sec_auth.cc (verify_token): Disable code which returns false if
corinna [Wed, 9 Jul 2008 08:10:24 +0000 (08:10 +0000)]
* sec_auth.cc (verify_token): Disable code which returns false if
the token contains additional groups not requested by setgroups.
Explain why.

16 years ago *pe-dll.c (autofilter_symbolprefixlist): Excude all symbols
dannysmith [Wed, 9 Jul 2008 03:18:15 +0000 (03:18 +0000)]
       *pe-dll.c (autofilter_symbolprefixlist): Excude all symbols
           starting with ".".
           Exclude "_IMPORT_DESCRIPTOR_".
           (autofilter_symbolsuffixlist): Exclude "_NULL_THUNK_DATA".
           (autofilter_symbollist_generic): Don't check for ".text".
           Exclude "_NULL_IMPORT_DESCRIPTOR".
           (autofilter_symbollist_i386): Likewise.

16 years agodaily update
amodra [Wed, 9 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Wed, 9 Jul 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago2008-07-08 Kenji Tanaka <tanaka.ken2@jp.panasonic.com>
jjohnstn [Tue, 8 Jul 2008 20:36:26 +0000 (20:36 +0000)]
2008-07-08  Kenji Tanaka  <tanaka.ken2@jp.panasonic.com>

        * libc/machine/mn10300/memset.S: Fix bug where return value is
        incorrectly set if number of bytes set is a multiple of 4.

16 years ago * fhandler_socket.cc (fhandler_socket::bind): Don't run explicit
corinna [Tue, 8 Jul 2008 20:12:46 +0000 (20:12 +0000)]
* fhandler_socket.cc (fhandler_socket::bind): Don't run explicit
local socket test in SO_REUSEADDR case on systems supporting
enhanced socket security.  Explain why.  Only call address_in_use
for AF_INET sockets.
* net.cc (cygwin_setsockopt): Don't call setsockopt to set SO_REUSEADDR
on systems supporting enhanced socket security.  Add comment.
* wincap.h (wincaps::has_enhanced_socket_security): New element.
* wincap.cc: Implement above element throughout.

16 years ago * net.cc (ipv6_inited): Make NO_COPY.
corinna [Tue, 8 Jul 2008 12:37:44 +0000 (12:37 +0000)]
* net.cc (ipv6_inited): Make NO_COPY.

16 years ago * breakpoint.c (update_global_location_list): Add boolean
palves [Tue, 8 Jul 2008 11:09:40 +0000 (11:09 +0000)]
* breakpoint.c (update_global_location_list): Add boolean
"should_insert" argument.  Only insert locations if caller told it
too.
(update_global_location_list_nothrow): Add boolean "should_insert"
argument.  Pass it to update_global_location_list.
(insert_breakpoints, create_longjmp_breakpoint)
(create_overlay_event_breakpoint, enable_overlay_breakpoints)
(create_thread_event_breakpoint, create_solib_event_breakpoint)
(create_fork_vfork_event_catchpoint, create_exec_event_catchpoint)
(enable_watchpoints_after_interactive_call_stop)
(set_momentary_breakpoint, create_breakpoints)
(break_command_really, watch_command_1)
(create_ada_exception_breakpoint, update_breakpoint_locations)
(do_enable_breakpoint, enable_command): Pass true to
update_global_location_list.
(bpstat_stop_status, disable_overlay_breakpoints)
(disable_watchpoints_before_interactive_call_start)
(delete_breakpoint, disable_breakpoint, disable_command): Pass
false to update_global_location_list.
(update_breakpoints_after_exec): Don't temporarily disable
always-inserted mode.

16 years ago * breakpoint.c (mark_breakpoints_out): Make public.
palves [Tue, 8 Jul 2008 10:59:57 +0000 (10:59 +0000)]
* breakpoint.c (mark_breakpoints_out): Make public.
(update_breakpoints_after_exec): Don't call mark_breakpoints_out
here.  Update comment.
* breakpoint.h (mark_breakpoints_out): Declare.

* linux-nat.c (linux_handle_extended_wait): On
TARGET_WAITKIND_EXECD, call mark_breakpoints_out.
* inf-ttrace.c (inf_ttrace_wait): Likewise.

16 years ago * infrun.c (follow_exec): Reset shared libraries before adding the
palves [Tue, 8 Jul 2008 10:31:15 +0000 (10:31 +0000)]
* infrun.c (follow_exec): Reset shared libraries before adding the
main exec file.

16 years ago2008-07-08 Kai Tietz <kai.tietz@onevision.com>
ktietz [Tue, 8 Jul 2008 08:15:09 +0000 (08:15 +0000)]
2008-07-08  Kai Tietz  <kai.tietz@onevision.com>

* binutils-all/objcopy.exp (copy_setup): Check if host-triplet
is target-triplet for execution tests.
(copy_executable): Likewise.
(strip_executable): Likewise.
(strip_executable_with_saving_a_symbol): Likewise.

16 years ago * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
nathan [Tue, 8 Jul 2008 06:33:40 +0000 (06:33 +0000)]
* config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
about overriding an earlier setting.

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

16 years agodaily update
amodra [Tue, 8 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * server.c (handle_v_attach): Inhibit reporting dll changes.
palves [Mon, 7 Jul 2008 23:00:11 +0000 (23:00 +0000)]
* server.c (handle_v_attach): Inhibit reporting dll changes.

16 years agogdb/
jkratoch [Mon, 7 Jul 2008 22:39:57 +0000 (22:39 +0000)]
gdb/
* breakpoint.c (bpstat_copy): Call RELEASE_VALUE on the new OLD_VAL.

gdb/testsuite/
* gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.

16 years ago * i386-dicos-tdep.c: Include "inferior.h".
palves [Mon, 7 Jul 2008 22:05:44 +0000 (22:05 +0000)]
* i386-dicos-tdep.c: Include "inferior.h".
(i386_dicos_frame_align): New.
(i386_dicos_init_abi): Register i386_dicos_frame_align.  Set call
dummy location ON_STACK.
* Makefile.in (i386-dicos-tdep.o): Depend on $(inferior_h).

16 years ago * gas/mips/mips32.s: Move out coprocessor2 insns from here ...
nemet [Mon, 7 Jul 2008 19:28:02 +0000 (19:28 +0000)]
* gas/mips/mips32.s: Move out coprocessor2 insns from here ...
* gas/mips/mips32-cp2.s: ... to here.
* gas/mips/mips32.d: Update.
* gas/mips/mips32-cp2.d: New file.
* gas/mips/mips32r2.s: Move out coprocessor2 insns from here ...
* gas/mips/mips32r2-cp2.s: ... to here.
* gas/mips/mips32r2.d: Update.
* gas/mips/mips32r2-cp2.d: New file.
* gas/mips/mips64.s: Move out coprocessor2 insns from here ...
* gas/mips/mips64-cp2.s: ... to here.
* gas/mips/mips64.d: Update.
* gas/mips/mips64-cp2.d: New file.
* gas/mips/mips.exp: Run mips32-cp2, mips32r2-cp2 and mips64-cp
except for Octeon.
* gas/mips/octeon.s: Add supported coprocessor insns.  Move pop
down to keep alphabetical order.
* gas/mips/octeon.d: Update.
* gas/mips/octeon-ill.s: Add unsupported coprocessor insns.
* gas/mips/octeon-ill.l: Update.

16 years ago * config/tc-mips.c (NO_ISA_COP): New macro.
nemet [Mon, 7 Jul 2008 19:16:23 +0000 (19:16 +0000)]
* config/tc-mips.c (NO_ISA_COP): New macro.
(COP_INSN): New macro.
(is_opcode_valid): Use them.
(macro) <ld_st>: Use them.  Don't accept coprocessor load store
insns based on the ISA if CPU is NO_ISA_COP.
<copz>: Likewise for coprocessor operations.

16 years agogas/
carlos [Mon, 7 Jul 2008 19:12:56 +0000 (19:12 +0000)]
gas/

2008-07-07  Paul Brook  <paul@codesourcery.com>

* config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
relocations.

gas/testsuite/

2008-07-07  Paul Brook  <paul@codesourcery.com>

* gas/arm/movw-local.d: New test.
* gas/arm/movw-local.s: New test.

16 years ago * mips-opc.c (CP): New macro.
nemet [Mon, 7 Jul 2008 19:11:15 +0000 (19:11 +0000)]
* mips-opc.c (CP): New macro.
(mips_builtin_opcodes): Mark c0, c2 and c3 as CP.  Add Octeon to the
membership of di, dmfc0, dmtc0, ei, mfc0 and mtc0.  Add dmfc2 and
dmtc2 Octeon instructions.

16 years ago * ld-arm/arm-elf.exp: Use objdump -d for arm-be8 test.
shebs [Mon, 7 Jul 2008 19:00:21 +0000 (19:00 +0000)]
    * ld-arm/arm-elf.exp: Use objdump -d for arm-be8 test.
    * ld-arm/arm-be8.d: Change to test disassembly.

16 years ago2008-07-07 Stan Shebs <stan@codesourcery.com>
shebs [Mon, 7 Jul 2008 18:40:12 +0000 (18:40 +0000)]
2008-07-07  Stan Shebs  <stan@codesourcery.com>

    * dis-asm.h (struct disassemble_info): Add endian_code field.

16 years ago2008-07-07 Stan Shebs <stan@codesourcery.com>
shebs [Mon, 7 Jul 2008 18:35:23 +0000 (18:35 +0000)]
2008-07-07  Stan Shebs  <stan@codesourcery.com>

    * dis-init.c (init_disassemble_info): Init endian_code field.
    * arm-dis.c (print_insn): Disassemble code according to
    setting of endian_code.
    (print_insn_big_arm): Detect when BE8 extension flag has been set.

16 years ago * gstdint.h: New file.
brobecke [Mon, 7 Jul 2008 17:11:56 +0000 (17:11 +0000)]
    * gstdint.h: New file.

16 years ago * safe-ctype.h: Add #include of ctype.h before redefining
brobecke [Mon, 7 Jul 2008 17:09:31 +0000 (17:09 +0000)]
    * safe-ctype.h: Add #include of ctype.h before redefining
        the ctype.h macros.

16 years ago * configure.tgt: Add bfin-*-rtems*.
nickc [Mon, 7 Jul 2008 16:43:06 +0000 (16:43 +0000)]
    * configure.tgt: Add bfin-*-rtems*.

16 years ago * elf32-arm.c (arm_type_of_stub): Don't crash on local symbols in
nickc [Mon, 7 Jul 2008 16:02:31 +0000 (16:02 +0000)]
    * elf32-arm.c (arm_type_of_stub): Don't crash on local symbols in
        the presence of a PLT.

16 years ago2008-07-07 Hans-Peter Nilsson <hp@axis.com>
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 "&".

16 years ago(GDB/MI Target Manipulation): Fix last change.
schwab [Mon, 7 Jul 2008 12:05:30 +0000 (12:05 +0000)]
(GDB/MI Target Manipulation): Fix last change.

16 years ago * bfd.c (bfd_demangle): Always trim off bfd_get_symbol_leading_char.
amodra [Mon, 7 Jul 2008 11:48:26 +0000 (11:48 +0000)]
* bfd.c (bfd_demangle): Always trim off bfd_get_symbol_leading_char.

16 years ago2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
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.

16 years ago * objdump.c (find_symbol_for_address): Prefer symbols in current
amodra [Mon, 7 Jul 2008 04:37:53 +0000 (04:37 +0000)]
* objdump.c (find_symbol_for_address): Prefer symbols in current
section.

16 years ago * emultempl/armelf.em (elf32_arm_add_stub_section): Use
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.

16 years ago * ieee.c (write_ieee_debugging_info): Use bfd_make_section_with_flags.
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.

16 years ago*** empty log message ***
gdbadmin [Mon, 7 Jul 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Mon, 7 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * ld.texinfo (File Commands): Document that INCLUDE can be used in
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.

16 years ago * gdb.texinfo (GDB/MI Target Manipulation): Add
vprus [Sun, 6 Jul 2008 13:21:19 +0000 (13:21 +0000)]
* gdb.texinfo (GDB/MI Target Manipulation): Add
example of -target-attach.

16 years agodaily update
amodra [Sun, 6 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

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

16 years ago * mi/mi-interp.c (mi_on_resume): Don't try to report
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.

16 years agoAdd missed changelog entry.
drow [Sat, 5 Jul 2008 13:48:20 +0000 (13:48 +0000)]
Add missed changelog entry.

16 years ago*** empty log message ***
gdbadmin [Sat, 5 Jul 2008 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sat, 5 Jul 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago * cli/cli-decode.c (add_setshow_optional_filename_cmd): Set
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.

16 years ago * safe-ctype.h: Remove #error when detecting that ctype.h has been
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.

16 years ago * config/tc-spu.c (md_apply_fix): Handle fully resolved
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.

16 years ago Implement -target-attach.
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.

16 years ago * include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
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.

16 years ago * layout.cc (Layout::include_section): Do not discard unrecognized
ian [Fri, 4 Jul 2008 03:34:01 +0000 (03:34 +0000)]
* layout.cc (Layout::include_section): Do not discard unrecognized
SHT_STRTAB sections.

16 years ago*** empty log message ***
gdbadmin [Fri, 4 Jul 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Fri, 4 Jul 2008 00:00:04 +0000 (00:00 +0000)]
daily update

16 years ago * HOWTO, HOWTO.old: Preserve old HOWTO document as HOWTO.old. It
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.

16 years ago2008-06-21 Hui Zhu <teawater@gmail.com>
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.

16 years ago * config/i386/nm-cygwin.h (ATTACH_NO_WAIT): Delete.
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.

16 years ago * i386-tdep.c (i386_displaced_step_fixup): Condition log printing
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.

16 years ago*** empty log message ***
gdbadmin [Thu, 3 Jul 2008 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Thu, 3 Jul 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago2008-07-02 Jeff Johnston <jjohnstn@redhat.com>
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.

16 years ago2008-07-02 Jeff Johnston <jjohnstn@redhat.com>
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.

16 years ago * path.cc (path_conv::is_binary): Fix test. Add comment.
corinna [Wed, 2 Jul 2008 14:00:26 +0000 (14:00 +0000)]
* path.cc (path_conv::is_binary): Fix test.  Add comment.

16 years ago * elf32-ppc.c (is_pic_glink_stub): New function.
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.

16 years agodaily update
amodra [Wed, 2 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Wed, 2 Jul 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agoAdd _get_output_format(), _set_output_format() for MSVCRT >= MSVCR80
keithmarshall [Tue, 1 Jul 2008 22:57:24 +0000 (22:57 +0000)]
Add _get_output_format(), _set_output_format() for MSVCRT >= MSVCR80

16 years ago* Makefile.in: Temporarily add ability to generate pdfs.
cgf [Tue, 1 Jul 2008 17:17:31 +0000 (17:17 +0000)]
* Makefile.in: Temporarily add ability to generate pdfs.

16 years agodaily update
amodra [Tue, 1 Jul 2008 00:00:06 +0000 (00:00 +0000)]
daily update

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

16 years ago2008-06-30 Craig Silverstein <csilvers@cs.stanford.edu>
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 '?'

16 years agobfd/
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.

16 years agobfd/
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.

16 years ago PR 6585
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.

16 years ago * frame.c (get_prev_frame_1): Call frame_unwind_find_by_frame
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.

16 years ago PR 6660
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.

16 years ago * elf32-arm.c (record_arm_to_thumb_glue, record_thumb_to_arm_glue):
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.

16 years ago * rs6000-tdep.c (ppc_displaced_step_fixup): New function.
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.

16 years ago * cris-tdep.c (crisv32_single_step_through_delay): Get this frame's
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.

16 years ago * source.c (select_source_symtab): Make sure we skip namespace
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.

16 years ago * MAINTAINERS (Authorized committers): Fix my email address.
hp [Mon, 30 Jun 2008 08:38:18 +0000 (08:38 +0000)]
* MAINTAINERS (Authorized committers): Fix my email address.

16 years agodaily update
amodra [Mon, 30 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update

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

16 years ago * mi/mi-cmds.c (mi_cmds): Route -exec-run, -exec-until,
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.

16 years ago * elf32-m68k.c (elf_m68k_relocate_section): Don't ignore existing
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.

16 years agodaily update
amodra [Sun, 29 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update

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

16 years ago * alphafbsd-tdep.c: Update for unwinder changes.
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.

16 years ago * mi/mi-main.c (enum captured_mi_execute_command_actions)
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.