binutils-gdb.git
16 years ago * win32-low.c (win32_attach): Call OpenProcess before
Pedro Alves [Mon, 3 Dec 2007 01:30:59 +0000 (01:30 +0000)]
* win32-low.c (win32_attach): Call OpenProcess before
DebugActiveProcess, not after.  Add last error output to error
call.

16 years ago * win32-low.c (win32_get_thread_context)
Pedro Alves [Mon, 3 Dec 2007 01:27:19 +0000 (01:27 +0000)]
* win32-low.c (win32_get_thread_context)
(win32_set_thread_context): New functions.
(thread_rec): Use win32_get_thread_context.
(continue_one_thread, win32_resume): Use win32_set_thread_context.
* win32-low.h (win32_thread_info) [_WIN32_WCE]: Add `base_context'
field.

16 years ago * win32-low.c (soft_interrupt_requested, faked_breakpoint): New
Pedro Alves [Mon, 3 Dec 2007 01:18:49 +0000 (01:18 +0000)]
* win32-low.c (soft_interrupt_requested, faked_breakpoint): New
global variables.
(child_add_thread): Minor cleanup.
(child_continue): Resume artificially suspended threads before
calling ContinueDebugEvent.
(suspend_one_thread): New.
(fake_breakpoint_event): New.
(get_child_debug_event): Change return type to int.  Check here if
gdb sent an interrupt request.  If a soft interrupt was requested,
fake a breakpoint event.  Return 0 if there is no event to handle,
and 1 otherwise.
(win32_wait): Don't check here if gdb sent an interrupt request.
Ensure there is a valid event to handle.
(win32_request_interrupt): Add soft interruption method as last
resort.

16 years ago * win32-low.h (win32_thread_info): Add descriptions to the
Pedro Alves [Mon, 3 Dec 2007 01:10:30 +0000 (01:10 +0000)]
* win32-low.h (win32_thread_info): Add descriptions to the
structure members.  Replace `suspend_count' counter by a
`suspended' flag.
* win32-low.c (thread_rec): Update condition of when to get the
context from the inferior.  Rely on ContextFlags being set if it
has already been retrieved.  Only suspend the inferior thread if
we haven't already.  Warn if that fails.
(continue_one_thread): s/suspend_count/suspended/.  Only call
ResumeThread once.  Warn if that fails.

16 years ago*** empty log message ***
gdbadmin [Mon, 3 Dec 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * win32-low.c (win32_wait): Don't read from the inferior when it
Pedro Alves [Sun, 2 Dec 2007 23:40:17 +0000 (23:40 +0000)]
* win32-low.c (win32_wait): Don't read from the inferior when it
has already exited.

16 years ago * Makefile.in (win32_low_h): New variable.
Pedro Alves [Sun, 2 Dec 2007 23:33:26 +0000 (23:33 +0000)]
* Makefile.in (win32_low_h): New variable.
(win32-low.o): Add dependency on $(win32_low_h).
(win32-arm-low.o, win32-i386-low.o): New rules.

16 years agodaily update
Alan Modra [Sun, 2 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago2007-12-02 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Sun, 2 Dec 2007 21:32:46 +0000 (21:32 +0000)]
2007-12-02  Pierre Muller  <muller@ics.u-strasbg.fr>

* win32-nat.c (win32_resume): Set the trace bit
in the thread identified by inferior_ptid.

17 years ago*win32-nat.c (open_process_used): New static variable.
Christopher Faylor [Sun, 2 Dec 2007 05:45:08 +0000 (05:45 +0000)]
*win32-nat.c (open_process_used): New static variable.
(win32_init_thread_list): Remove call to CloseHandle for thread.
(win32_delete_thread): Ditto.
(fake_create_process): Set open_process_used if OpenProcess call is successful.
(get_win32_debug_event): Do not close process handle.
(do_initial_win32_stuff): Set open_process_used to zero.
(win32_mourn_inferior): Call CloseHandle for current_process_handle if
open_process_used is set.
(win32_kill_inferior): Do not close process and main_thread handles.

17 years ago*** empty log message ***
gdbadmin [Sun, 2 Dec 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 1 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years agoMore -fPIC options.
Ian Lance Taylor [Sat, 1 Dec 2007 06:53:32 +0000 (06:53 +0000)]
More -fPIC options.

17 years agoAdd missing space.
Ian Lance Taylor [Sat, 1 Dec 2007 06:51:45 +0000 (06:51 +0000)]
Add missing space.

17 years agoCompile shared library code with -fPIC. Also, alphabetize.
Ian Lance Taylor [Sat, 1 Dec 2007 06:50:09 +0000 (06:50 +0000)]
Compile shared library code with -fPIC.  Also, alphabetize.

17 years agoAdd casts to avoid warnings.
Ian Lance Taylor [Sat, 1 Dec 2007 06:45:21 +0000 (06:45 +0000)]
Add casts to avoid warnings.

17 years agoCompress all debug sections.
Ian Lance Taylor [Sat, 1 Dec 2007 06:34:12 +0000 (06:34 +0000)]
Compress all debug sections.

17 years ago * hostio.c: Correct copyright year.
Daniel Jacobowitz [Sat, 1 Dec 2007 05:00:04 +0000 (05:00 +0000)]
* hostio.c: Correct copyright year.

17 years ago*** empty log message ***
gdbadmin [Sat, 1 Dec 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agogas/
Bob Wilson [Fri, 30 Nov 2007 23:47:55 +0000 (23:47 +0000)]
gas/
* config/tc-xtensa.h (md_allow_eh_opt): Define.
gas/testsuite/
* gas/elf/elf.exp: Disable ehopt test for Xtensa.

17 years agodaily update
Alan Modra [Fri, 30 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years agoFrom Cary Coutant: Avoid compilation warnings if no zlib.h.
Ian Lance Taylor [Fri, 30 Nov 2007 22:38:01 +0000 (22:38 +0000)]
From Cary Coutant: Avoid compilation warnings if no zlib.h.

17 years ago * remote.c (remote_cmdlist): New variable.
Daniel Jacobowitz [Fri, 30 Nov 2007 21:50:19 +0000 (21:50 +0000)]
* remote.c (remote_cmdlist): New variable.
(PACKET_vFile_open, PACKET_vFile_pread, PACKET_vFile_pwrite)
(PACKET_vFile_close, PACKET_vFile_unlink): New constants.
(remote_buffer_add_string, remote_buffer_add_bytes)
(remote_buffer_add_int, remote_hostio_parse_result)
(remote_hostio_send_command, remote_hostio_open, remote_hostio_pwrite)
(remote_hostio_pread, remote_hostio_close, remote_hostio_unlink)
(remote_fileio_errno_to_host, remote_hostio_error, fclose_cleanup)
(remote_hostio_close_cleanup, remote_file_put, remote_file_get)
(remote_file_delete, remote_put_command, remote_get_command)
(remote_delete_command, remote_command): New functions.
(_initialize_remote): Register new packets and commands.
* Makefile.in (gdb_fileio_h): New variable.
(remote.o): Update.
(SUBDIR_MI_OBS): Add mi-cmd-target.o.
(SUBDIR_MI_SRCS): Add mi/mi-cmd-target.c.
(mi-cmd-target.o): New rule.
* mi/mi-cmd-target.c: New file.
* mi/mi-cmds.c (mi_cmds): Add target-file-delete, target-file-get,
and target-file-put.
* mi/mi-cmds.h (mi_cmd_target_file_get, mi_cmd_target_file_put)
(mi_cmd_target_file_delete): Declare.
* remote.h (remote_file_put, remote_file_get, remote_file_delete):
Declare.
* NEWS: Describe new file transfer support.

* gdb.texinfo (Debugging Programs with Multiple Processes): Correct
formatting.
(Remote Debugging): Add File Transfer section.
(Remote Configuration): Document Host I/O packets.
(GDB/MI): Add GDB/MI File Transfer Commands section.
(Remote Protocol): Add Host I/O Packets section.
(Packets): Add vFile.

* Makefile.in (OBS): Add hostio.o.
(hostio.o): New rule.
* server.h (handle_vFile): Declare.
* hostio.c: New file.
* server.c (handle_v_requests): Take packet_len and new_packet_len
for binary packets.  Call handle_vFile.
(main): Update call to handle_v_requests.

* gdb.server/file-transfer.exp, gdb.server/transfer.txt,
gdb.mi/mi-file-transfer.exp: New.

17 years ago * infrun.c (handle_inferior_event): Don't
Vladimir Prus [Fri, 30 Nov 2007 10:03:16 +0000 (10:03 +0000)]
* infrun.c (handle_inferior_event): Don't
        ignore beakpoints if trap_expected is set.

17 years ago Make insert_breakpoints return void.
Vladimir Prus [Fri, 30 Nov 2007 10:00:26 +0000 (10:00 +0000)]
Make insert_breakpoints return void.
* breakpoint.h (insert_breakpoints): Change
return type to void.
* breakpoint.c (insert_breakpoints): Change
return type to void.  Rename local return_val
variable to error.
* infrun.c (keep_going): Instead of checking
return value from insert_breakpoints, catch exception.

17 years agobfd/
Richard Sandiford [Fri, 30 Nov 2007 09:01:35 +0000 (09:01 +0000)]
bfd/
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use the
ELF header to choose between 32-bit and 64-bit relocation structures.

17 years agoFrom Craig Silverstein: Add support for compressing .debug_str section.
Ian Lance Taylor [Fri, 30 Nov 2007 00:35:27 +0000 (00:35 +0000)]
From Craig Silverstein: Add support for compressing .debug_str section.

17 years ago*** empty log message ***
gdbadmin [Fri, 30 Nov 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 29 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years agoClean up setting address and section offset.
Ian Lance Taylor [Thu, 29 Nov 2007 20:10:17 +0000 (20:10 +0000)]
Clean up setting address and section offset.

17 years ago2007-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Paolo Bonzini [Thu, 29 Nov 2007 15:36:39 +0000 (15:36 +0000)]
2007-11-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

        * config-ml.in: Robustify against white space in absolute file
        names.

17 years ago bfd/
Mark Shinwell [Thu, 29 Nov 2007 12:23:44 +0000 (12:23 +0000)]
bfd/
* archures.c (bfd_mach_mips_loongson_2e): New.
(bfd_mach_mips_loongson_2f): New.
* bfd-in2.h (bfd_mach_mips_loongson_2e): New.
(bfd_mach_mips_loongson_2f): New.
* cpu-mips.c: Add I_loongson_2e and I_loongson_2f to
anonymous enum.
(arch_info_struct): Add Loongson-2E and Loongson-2F entries.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle Loongson-2E
and Loongson-2F flags.
(mips_set_isa_flags): Likewise.
(mips_mach_extensions): Add Loongson-2E and Loongson-2F
entries.

binutils/
* readelf.c (get_machine_flags): Handle Loongson-2E and -2F
flags.

gas/
* config/tc-mips.c (mips_cpu_info_table): Add loongson2e
and loongson2f entries.
* doc/c-mips.texi: Document -march=loongson{2e,2f} options.

gas/testsuite/
* gas/mips/mips.exp: Add loongson-2e and -2f tests.
* gas/mips/loongson-2e.d: New.
* gas/mips/loongson-2e.s: New.
* gas/mips/loongson-2f.d: New.
* gas/mips/loongson-2f.s: New.

include/elf/
* mips.h (E_MIPS_MACH_LS2E): New.
(E_MIPS_MACH_LS2F): New.

include/opcode/
* mips.h (INSN_LOONGSON_2E): New.
(INSN_LOONGSON_2F): New.
(CPU_LOONGSON_2E): New.
(CPU_LOONGSON_2F): New.
(OPCODE_IS_MEMBER): Update for Loongson-2E and -2F flags.

opcodes/
* mips-dis.c (mips_arch_choices): Add Loongson-2E and -2F
entries.
* mips-opc.c (IL2E): New.
(IL2F): New.
(mips_builtin_opcodes): Add Loongson-2E and -2F instructions.
Allow movz and movn for Loongson-2E and -2F.  Add movnz entry.
Move coprocessor encodings to the end of the table.  Allow
certain MIPS V .ps instructions on the Loongson-2E and -2F.

17 years ago include/opcode/
Mark Shinwell [Thu, 29 Nov 2007 11:55:19 +0000 (11:55 +0000)]
include/opcode/
* mips.h (INSN_ISA*): Redefine certain values as an
enumeration.  Update comments.
(mips_isa_table): New.
(ISA_MIPS*): Redefine to match enumeration.
(OPCODE_IS_MEMBER): Modify to correctly test new INSN_ISA*
values.

opcodes/
* mips-opc.c (I3_32, I3_33, I4_32, I4_33, I5_33): New.
(mips_builtin_opcodes): Use these new I* values.

17 years ago2007-11-29 Martin Schwidefsky <schwidefsky@de.ibm.com>
Martin Schwidefsky [Thu, 29 Nov 2007 09:34:14 +0000 (09:34 +0000)]
2007-11-29  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* config/tc-s390.c (md_begin): If the -mesa option is specified
add zarch opcodes to the hash table only if there is no variant
that is available for the esa mode as well.

2007-11-29  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* gas/s390/esa-z9-109.d: Add check for old version of sske.
* gas/s390/esa-z9-109.s: Likewise.

17 years agoPR ld/5398
Nick Clifton [Thu, 29 Nov 2007 08:14:22 +0000 (08:14 +0000)]
PR ld/5398
* elf32-arm.c (bfd_elf32_arm_process_before_allocation): Do not complain if
  there is no glue bfd, just return.

17 years ago Stop infrun from tracking breakpoint insertion status.
Vladimir Prus [Thu, 29 Nov 2007 07:48:21 +0000 (07:48 +0000)]
Stop infrun from tracking breakpoint insertion status.

The checks of breakpoints_inserted before calling
remove_breakpoints are removed, as remove_breakpoint
won't touch uninserted breakpoints. In a number of places,
we're interested if a breakpoint is inserted at particular
PC, and we now use breakpoint_inserted_here_p.  In a few
places, insert_breakpoints can be called unconditionally,
since it won't try to insert already inserted breakpoint.

* breakpoint.h (regular_breakpoint_inserted_here_p): New
declaration.
* breakpoint.c (regular_breakpoint_inserted_here_p): New.
(breakpoint_inserted_here_p): Use
regular_breakpoint_inserted_here_p.
* infrun.c (breakpoints_inserted): Remove.
(resume): Don't check for breakpoints_inserted before
remove_hw_watchpoints. Use breakpoint_inserted_here_p.
(proceed, init_wait_for_inferior): Don't set breakpoints_inserted.
(handle_inferior_event): Don't use breakpoints_inserted.
Use breakpoints_meant_to_be_inserted and
breakpoints_inserted_here_p.
(insert_step_resume_breakpoint_at_sal, keep_going): Use
breakpoints_meant_to_be_inserted. Don't set breakpoints_inserted.
(normal_stop): Don't check for breakpoints_inserted.  Don't
set breakpoints_inserted.
(keep_going): Don't check for breakpoints_inserted.
(insert_step_resume_breakpoint_at_sal): Don't insert
breakpoints

17 years ago*** empty log message ***
gdbadmin [Thu, 29 Nov 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 28 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years agoDon't try to delete the output file if we don't know its name yet.
Ian Lance Taylor [Wed, 28 Nov 2007 19:39:40 +0000 (19:39 +0000)]
Don't try to delete the output file if we don't know its name yet.

17 years agoFrom Craig Silverstein: Fix up comments.
Ian Lance Taylor [Wed, 28 Nov 2007 19:38:35 +0000 (19:38 +0000)]
From Craig Silverstein: Fix up comments.

17 years ago* breakpoint.c (watch_command_1): When the watchpoint isn't local
Jim Blandy [Wed, 28 Nov 2007 18:21:30 +0000 (18:21 +0000)]
* breakpoint.c (watch_command_1): When the watchpoint isn't local
to any frame, initialize watchpoint_frame using null_frame_id, not
a memset.

17 years agoFrom Craig Silverstein: Better handling of ODR violations which are
Ian Lance Taylor [Wed, 28 Nov 2007 18:01:06 +0000 (18:01 +0000)]
From Craig Silverstein: Better handling of ODR violations which are
not in a function.

17 years ago * internal.h (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with
Nathan Sidwell [Wed, 28 Nov 2007 13:53:05 +0000 (13:53 +0000)]
* internal.h (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with
segments at the end of memory.

17 years ago* elf-m10300.c (mn10300_elf_relax_section): Extend previous fix to cover forward...
Nick Clifton [Wed, 28 Nov 2007 13:04:18 +0000 (13:04 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Extend previous fix to cover forward jumps.
* ld-mn10300/i135409-5.s: New test case.  Check for relaxation to a 16-bit backward jump instruction.
* ld-mn10300/i135409-5.t: Linker script for the new test.
* ld-mn10300/i135409-5.d: Expected disassembly of new test.
* ld-mn10300/mn10300.exp: Run the new test.

17 years ago * infrun.c (resume): Set right thread even if
Vladimir Prus [Wed, 28 Nov 2007 12:49:55 +0000 (12:49 +0000)]
* infrun.c (resume): Set right thread even if
stepping over breakpoint using software single step.

17 years ago*** empty log message ***
gdbadmin [Wed, 28 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago(print_varobj): Revert change from 2007-08-31.
Nick Roberts [Tue, 27 Nov 2007 23:02:59 +0000 (23:02 +0000)]
(print_varobj): Revert change from 2007-08-31.
(mi_print_value_p): Guard against type = NULL.

17 years ago*** empty log message ***
Nick Roberts [Tue, 27 Nov 2007 23:02:31 +0000 (23:02 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 27 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years ago * dfp.c (decimal_from_string): Remove superfluous newline from
Thiago Jung Bauermann [Tue, 27 Nov 2007 20:13:12 +0000 (20:13 +0000)]
* dfp.c (decimal_from_string): Remove superfluous newline from
error string.
(decimal_to_string): Likewise.
* printcmd.c (printf_command): Change string buffer to use
MAX_DECIMAL_STRING constant.
* value.c (value_from_decfloat): Likewise.

17 years ago * Makefile.in (ALL_TARGET_OBS): Remove object files that require
Ulrich Weigand [Tue, 27 Nov 2007 17:06:12 +0000 (17:06 +0000)]
* Makefile.in (ALL_TARGET_OBS): Remove object files that require
64-bit CORE_ADDR and BFD support, move them to ...
(ALL_64_TARGET_OBS): ... this new variable.
* configure.ac: Check for --enable-64-bit-bfd option.  Only add
64-bit targets with --enable-targets=all if BFD supports 64-bit.
* configure: Regenerate.

* i386-cygwin-tdep.c (i386_cygwin_osabi_sniffer): Do not claim
all elf32-i386 executables, only cygwin core files.

17 years ago2007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>
Andreas Krebbel [Tue, 27 Nov 2007 15:33:28 +0000 (15:33 +0000)]
2007-11-27  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt",
"tgxt"): Removed.
("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.

17 years ago2007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>
Andreas Krebbel [Tue, 27 Nov 2007 15:31:59 +0000 (15:31 +0000)]
2007-11-27  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt",
"tgxt"): Removed.
("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.

2007-11-27  Andreas Krebbel  <krebbel1@de.ibm.com>

* gas/s390/zarch-z9-ec.d: ("tcet", "tcdt", "tcxt", "tget",
"tgdt", "tgxt"): Removed.
        ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.
* gas/s390/zarch-z9-ec.s: Likewise.

17 years agoRework merge_map for speed.
Ian Lance Taylor [Tue, 27 Nov 2007 06:13:33 +0000 (06:13 +0000)]
Rework merge_map for speed.

17 years ago*** empty log message ***
gdbadmin [Tue, 27 Nov 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 26 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * cxxfilt.c (demangle_it): Don't call printf without format string.
Alan Modra [Mon, 26 Nov 2007 01:53:59 +0000 (01:53 +0000)]
* cxxfilt.c (demangle_it): Don't call printf without format string.

17 years ago * config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand.
Alan Modra [Mon, 26 Nov 2007 01:43:43 +0000 (01:43 +0000)]
* config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand.

17 years ago*** empty log message ***
gdbadmin [Mon, 26 Nov 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 25 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years agogdb/
Jan Kratochvil [Sun, 25 Nov 2007 21:40:39 +0000 (21:40 +0000)]
gdb/
* dwarf2read.c (dwarf2_get_pc_bounds): Moved the `DW_AT_ranges' parsing
code with its variables OBJFILE, CU_HEADER and OBFD into ...
(dwarf2_ranges_read): ... a new function.
(read_partial_die): Implemented the parsing of `DW_AT_ranges'.

gdb/testsuite/
* gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.

17 years ago*** empty log message ***
gdbadmin [Sun, 25 Nov 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 24 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * win32-nat.c (DR6_CLEAR_VALUE): New define.
Pedro Alves [Sat, 24 Nov 2007 12:13:28 +0000 (12:13 +0000)]
* win32-nat.c (DR6_CLEAR_VALUE): New define.
(thread_info_struct): Rename suspend_count to suspended, to be
used as a flag.
(thread_rec): Only suspend the thread if it wasn't suspended by
gdb before.  Warn if suspending failed.
(win32_add_thread): Set Dr6 to DR6_CLEAR_VALUE.
(win32_continue): Set Dr6 to DR6_CLEAR_VALUE.  Update usage of the
`suspended' flag.  Do ContinueDebugEvent after resuming the
suspended threads, not before.  Set threads' contexts before
resuming them, not after.
(win32_resume): Set Dr6 to DR6_CLEAR_VALUE.

17 years ago*** empty log message ***
gdbadmin [Sat, 24 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 23 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years ago * breakpoint.c (insert_breakpoints)
Vladimir Prus [Fri, 23 Nov 2007 16:54:34 +0000 (16:54 +0000)]
* breakpoint.c (insert_breakpoints)
(insert_bp_location): Remove stale comments.

17 years ago* mips-linux-tdep.h: Fix some formatting.
Maciej W. Rozycki [Fri, 23 Nov 2007 16:33:11 +0000 (16:33 +0000)]
* mips-linux-tdep.h: Fix some formatting.

17 years ago*** empty log message ***
gdbadmin [Fri, 23 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 22 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years ago* gdb.trace/backtrace.exp: Fix a typo.
Maciej W. Rozycki [Thu, 22 Nov 2007 16:03:00 +0000 (16:03 +0000)]
* gdb.trace/backtrace.exp: Fix a typo.
* gdb.trace/circ.exp: Likewise.
* gdb.trace/collection.exp: Likewise.
* gdb.trace/limits.exp: Likewise.
* gdb.trace/report.exp: Likewise.
* gdb.trace/tfind.exp: Likewise.
* gdb.trace/while-dyn.exp: Likewise.

17 years agoMake Merge_key_less operator() inline.
Ian Lance Taylor [Thu, 22 Nov 2007 00:45:46 +0000 (00:45 +0000)]
Make Merge_key_less operator() inline.

17 years agoAdd threading support.
Ian Lance Taylor [Thu, 22 Nov 2007 00:05:51 +0000 (00:05 +0000)]
Add threading support.

17 years ago*** empty log message ***
gdbadmin [Thu, 22 Nov 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 21 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years ago * dwarf.c (display_debug_loc): Cast section_end - start to long
Hans-Peter Nilsson [Wed, 21 Nov 2007 17:50:41 +0000 (17:50 +0000)]
* dwarf.c (display_debug_loc): Cast section_end - start to long
for output format.

17 years ago* elf-m10300.c (mn10300_elf_relax_section): Allow for alignment relocs when
Nick Clifton [Wed, 21 Nov 2007 12:06:26 +0000 (12:06 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Allow for alignment relocs when
   computing whether instructions can be relaxed.
* ld-mn10300/i135409-4.s: New test case.  Check for relaxation to a 16-bit
    jump instruction.
* ld-mn10300/i135409-4.t: Linker script for the new test.
* ld-mn10300/i135409-4.d: Expected disassembly of new test.
* ld-mn10300/mn10300.exp: Run the new test.

17 years ago* dwarf.c (display_debug_loc): Issue a warning if there are bytes at the end
Nick Clifton [Wed, 21 Nov 2007 11:58:00 +0000 (11:58 +0000)]
* dwarf.c (display_debug_loc): Issue a warning if there are bytes at the end
  of the .debug_loc section which are not referenced by any attribute in the
  .debug_info section.

17 years ago2007-11-21 Markus Deuling <deuling@de.ibm.com>
Markus Deuling [Wed, 21 Nov 2007 06:02:53 +0000 (06:02 +0000)]
2007-11-21  Markus Deuling  <deuling@de.ibm.com>

* stack.c (print_args_stub): Use get_frame_arch to get at the current
architecture and replace current_gdbarch.
(frame_info): Likewise.

17 years ago*** empty log message ***
gdbadmin [Wed, 21 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 20 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years agoVariables objects of pointers that can't be dereferenced are now
Nick Roberts [Tue, 20 Nov 2007 20:01:35 +0000 (20:01 +0000)]
Variables objects of pointers that can't be dereferenced are now
"noneditable".

17 years ago*** empty log message ***
Nick Roberts [Tue, 20 Nov 2007 19:59:05 +0000 (19:59 +0000)]
*** empty log message ***

17 years ago(mi_cmd_var_assign): Simplify.
Nick Roberts [Tue, 20 Nov 2007 19:55:16 +0000 (19:55 +0000)]
(mi_cmd_var_assign): Simplify.

17 years agoAdd extern for varobj_editable_p.
Nick Roberts [Tue, 20 Nov 2007 19:54:58 +0000 (19:54 +0000)]
Add extern for varobj_editable_p.

17 years ago(c_variable_editable, cplus_variable_editable)
Nick Roberts [Tue, 20 Nov 2007 19:54:39 +0000 (19:54 +0000)]
(c_variable_editable, cplus_variable_editable)
(java_variable_editable, variable_editable): Delete.
(varobj_editable_p): Replace above functions with one language
independent function.  Check for an lvalue.
(varobj_get_attributes, varobj_set_value): Use varobj_editable_p.
(struct language_specific): Delete variable_editable field.

17 years ago*** empty log message ***
Nick Roberts [Tue, 20 Nov 2007 19:52:41 +0000 (19:52 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
Nick Roberts [Tue, 20 Nov 2007 19:44:19 +0000 (19:44 +0000)]
*** empty log message ***

17 years ago Remove unused breakpoint fields.
Vladimir Prus [Tue, 20 Nov 2007 17:37:35 +0000 (17:37 +0000)]
Remove unused breakpoint fields.
* breakpoint.h (struct breakpoint): Remove
from_tty and flag fields.
* breakpoint.c (break_command_1): Don't set
from_tty and flag field set of breakpoint.
(create_ada_exception_breakpoint): Don't set
the from_tty field.

17 years agooops - omitted from previous delta
Nick Clifton [Tue, 20 Nov 2007 16:58:47 +0000 (16:58 +0000)]
oops - omitted from previous delta

17 years ago* elflink.c (elf_link_output_extsym): Weaken assertion: if --gc-section is set, there...
Nick Clifton [Tue, 20 Nov 2007 15:08:25 +0000 (15:08 +0000)]
* elflink.c (elf_link_output_extsym): Weaken assertion: if --gc-section is set, there may be no TLS segment.
* lib/ld-lib.exp (check_gc_sections_available): New proc, based on the version in gcc/testsuite/lib/target-supports.exp.
* ld-elf/eld.exp: Use check_gc_sections_available.

17 years ago* mips-tdep.c (mips16_scan_prologue): Handle the MIPS16e SAVE
Maciej W. Rozycki [Tue, 20 Nov 2007 13:47:42 +0000 (13:47 +0000)]
* mips-tdep.c (mips16_scan_prologue): Handle the MIPS16e SAVE
instruction.

17 years ago * infrun.c (resume): Clarify logic that
Vladimir Prus [Tue, 20 Nov 2007 08:18:47 +0000 (08:18 +0000)]
* infrun.c (resume): Clarify logic that
decides if a single thread must be resumed. Add
comments.

17 years ago * breakpoint.c (disable_breakpoints_in_unloaded_shlib):
Vladimir Prus [Tue, 20 Nov 2007 08:16:15 +0000 (08:16 +0000)]
* breakpoint.c (disable_breakpoints_in_unloaded_shlib):
Make static.

17 years agoFrom Craig Silverstein: Also set entsize for .debug_str sections.
Ian Lance Taylor [Tue, 20 Nov 2007 04:26:15 +0000 (04:26 +0000)]
From Craig Silverstein: Also set entsize for .debug_str sections.

17 years ago*** empty log message ***
gdbadmin [Tue, 20 Nov 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 19 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years agoFrom Craig Silverstein: Force .debug_str sections to be SHF_MERGE and
Ian Lance Taylor [Mon, 19 Nov 2007 22:49:38 +0000 (22:49 +0000)]
From Craig Silverstein: Force .debug_str sections to be SHF_MERGE and
SHF_STRINGS.

17 years ago * config/xtensa-istack.h (tinsn_struct): Replace linenum field
Bob Wilson [Mon, 19 Nov 2007 19:40:55 +0000 (19:40 +0000)]
* config/xtensa-istack.h (tinsn_struct): Replace linenum field
with loc_directive_seen and debug_line.
* config/tc-xtensa.c: Include xtensa-istack.h after dwarf2dbg.h.
(xg_build_to_insn): Copy the new fields instead of linenum.
(xg_build_token_insn): Likewise.  Abort on INSTR_LABEL_DEF and move
common code out of the switch.
(md_assemble): Set new tinsn fields from DWARF information.  Call
dwarf2_consume_line_info.
(xg_assemble_vliw_tokens): Update the code to select the "best" line
number to use new information.  Call dwarf2_gen_line_info instead
of dwarf2_emit_insn.

17 years ago * dwarf2dbg.h (dwarf2_loc_directive_seen): New.
Bob Wilson [Mon, 19 Nov 2007 19:37:18 +0000 (19:37 +0000)]
* dwarf2dbg.h (dwarf2_loc_directive_seen): New.
* dwarf2dbg.c (loc_directive_seen): Make external and rename to...
(dwarf2_loc_directive_seen): ...this.
(dwarf2_emit_insn, dwarf2_consume_line_info)
(dwarf2_emit_label, dwarf2_directive_loc): Use new name.