Ian Lance Taylor [Tue, 4 Dec 2007 01:30:46 +0000 (01:30 +0000)]
From Craig Silverstein: Use gold_fatal in options.h, beef up value checks.
gdbadmin [Tue, 4 Dec 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 3 Dec 2007 23:19:25 +0000 (23:19 +0000)]
* readelf.c (is_32bit_abs_reloc, is_32bit_pcrel_reloc): Add SPU.
Alan Modra [Mon, 3 Dec 2007 23:14:24 +0000 (23:14 +0000)]
* config/tc-ppc.c (ppc_tc): Allow a space between toc symbol
name and bracket.
Alan Modra [Mon, 3 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update
Pedro Alves [Mon, 3 Dec 2007 01:42:06 +0000 (01:42 +0000)]
* win32-low.c (attaching): New global.
(win32_create_inferior): Clear the `attaching' global.
(win32_attach): Set the `attaching' global.
(get_child_debug_event) [_WIN32_WCE]: Stop the inferior when
attaching. Only set a breakpoint at the entry point if not
attaching.
Pedro Alves [Mon, 3 Dec 2007 01:38:09 +0000 (01:38 +0000)]
* server.c (main): Don't report dll events on the initial
connection on attaches.
Pedro Alves [Mon, 3 Dec 2007 01:34:09 +0000 (01:34 +0000)]
* server.c (main): Relax numerical bases supported for the pid of
the --attach command line argument.
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.
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.
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.
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.
gdbadmin [Mon, 3 Dec 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
Alan Modra [Sun, 2 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update
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.
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.
gdbadmin [Sun, 2 Dec 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 1 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update
Ian Lance Taylor [Sat, 1 Dec 2007 06:53:32 +0000 (06:53 +0000)]
More -fPIC options.
Ian Lance Taylor [Sat, 1 Dec 2007 06:51:45 +0000 (06:51 +0000)]
Add missing space.
Ian Lance Taylor [Sat, 1 Dec 2007 06:50:09 +0000 (06:50 +0000)]
Compile shared library code with -fPIC. Also, alphabetize.
Ian Lance Taylor [Sat, 1 Dec 2007 06:45:21 +0000 (06:45 +0000)]
Add casts to avoid warnings.
Ian Lance Taylor [Sat, 1 Dec 2007 06:34:12 +0000 (06:34 +0000)]
Compress all debug sections.
Daniel Jacobowitz [Sat, 1 Dec 2007 05:00:04 +0000 (05:00 +0000)]
* hostio.c: Correct copyright year.
gdbadmin [Sat, 1 Dec 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
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.
Alan Modra [Fri, 30 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update
Ian Lance Taylor [Fri, 30 Nov 2007 22:38:01 +0000 (22:38 +0000)]
From Cary Coutant: Avoid compilation warnings if no zlib.h.
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.
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.
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.
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.
Ian Lance Taylor [Fri, 30 Nov 2007 00:35:27 +0000 (00:35 +0000)]
From Craig Silverstein: Add support for compressing .debug_str section.
gdbadmin [Fri, 30 Nov 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 29 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update
Ian Lance Taylor [Thu, 29 Nov 2007 20:10:17 +0000 (20:10 +0000)]
Clean up setting address and section offset.
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.
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.
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.
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.
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.
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
gdbadmin [Thu, 29 Nov 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 28 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update
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.
Ian Lance Taylor [Wed, 28 Nov 2007 19:38:35 +0000 (19:38 +0000)]
From Craig Silverstein: Fix up comments.
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.
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.
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.
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.
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.
gdbadmin [Wed, 28 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
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.
Nick Roberts [Tue, 27 Nov 2007 23:02:31 +0000 (23:02 +0000)]
*** empty log message ***
Alan Modra [Tue, 27 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update
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.
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.
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.
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.
Ian Lance Taylor [Tue, 27 Nov 2007 06:13:33 +0000 (06:13 +0000)]
Rework merge_map for speed.
gdbadmin [Tue, 27 Nov 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 26 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update
Alan Modra [Mon, 26 Nov 2007 01:53:59 +0000 (01:53 +0000)]
* cxxfilt.c (demangle_it): Don't call printf without format string.
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.
gdbadmin [Mon, 26 Nov 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 25 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update
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.
gdbadmin [Sun, 25 Nov 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 24 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update
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.
gdbadmin [Sat, 24 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 23 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update
Vladimir Prus [Fri, 23 Nov 2007 16:54:34 +0000 (16:54 +0000)]
* breakpoint.c (insert_breakpoints)
(insert_bp_location): Remove stale comments.
Maciej W. Rozycki [Fri, 23 Nov 2007 16:33:11 +0000 (16:33 +0000)]
* mips-linux-tdep.h: Fix some formatting.
gdbadmin [Fri, 23 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 22 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update
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.
Ian Lance Taylor [Thu, 22 Nov 2007 00:45:46 +0000 (00:45 +0000)]
Make Merge_key_less operator() inline.
Ian Lance Taylor [Thu, 22 Nov 2007 00:05:51 +0000 (00:05 +0000)]
Add threading support.
gdbadmin [Thu, 22 Nov 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 21 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update
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.
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.
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.
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.
gdbadmin [Wed, 21 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 20 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update
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".
Nick Roberts [Tue, 20 Nov 2007 19:59:05 +0000 (19:59 +0000)]
*** empty log message ***
Nick Roberts [Tue, 20 Nov 2007 19:55:16 +0000 (19:55 +0000)]
(mi_cmd_var_assign): Simplify.
Nick Roberts [Tue, 20 Nov 2007 19:54:58 +0000 (19:54 +0000)]
Add extern for varobj_editable_p.
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.
Nick Roberts [Tue, 20 Nov 2007 19:52:41 +0000 (19:52 +0000)]
*** empty log message ***
Nick Roberts [Tue, 20 Nov 2007 19:44:19 +0000 (19:44 +0000)]
*** empty log message ***
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.
Nick Clifton [Tue, 20 Nov 2007 16:58:47 +0000 (16:58 +0000)]
oops - omitted from previous delta
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.
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.