Commit Graph

56277 Commits

Author SHA1 Message Date
Martin Schwidefsky
e6181b6abd 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.
2007-11-29 09:34:14 +00:00
Nick Clifton
39ce1a6a19 PR ld/5398
* elf32-arm.c (bfd_elf32_arm_process_before_allocation): Do not complain if
  there is no glue bfd, just return.
2007-11-29 08:14:22 +00:00
Vladimir Prus
c36b740af1 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
2007-11-29 07:48:21 +00:00
gdbadmin
5c45b5dc50 *** empty log message *** 2007-11-29 00:00:33 +00:00
Alan Modra
828beb2695 daily update 2007-11-28 23:00:05 +00:00
Ian Lance Taylor
2d6840917d Don't try to delete the output file if we don't know its name yet. 2007-11-28 19:39:40 +00:00
Ian Lance Taylor
ef04e3921e From Craig Silverstein: Fix up comments. 2007-11-28 19:38:35 +00:00
Jim Blandy
35a487f186 * breakpoint.c (watch_command_1): When the watchpoint isn't local
to any frame, initialize watchpoint_frame using null_frame_id, not
a memset.
2007-11-28 18:21:30 +00:00
Ian Lance Taylor
79e052eafd From Craig Silverstein: Better handling of ODR violations which are
not in a function.
2007-11-28 18:01:06 +00:00
Nathan Sidwell
f7bc09bdbc * internal.h (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with
segments at the end of memory.
2007-11-28 13:53:05 +00:00
Nick Clifton
e23f161028 * 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.
2007-11-28 13:04:18 +00:00
Vladimir Prus
e842223a72 * infrun.c (resume): Set right thread even if
stepping over breakpoint using software single step.
2007-11-28 12:49:55 +00:00
gdbadmin
be9fd9f5fc *** empty log message *** 2007-11-28 00:00:03 +00:00
Nick Roberts
9265acad39 (print_varobj): Revert change from 2007-08-31.
(mi_print_value_p): Guard against type = NULL.
2007-11-27 23:02:59 +00:00
Nick Roberts
b21a715fc1 *** empty log message *** 2007-11-27 23:02:31 +00:00
Alan Modra
6520b4ed3b daily update 2007-11-27 23:00:05 +00:00
Thiago Jung Bauermann
a4ae0ca1db * 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.
2007-11-27 20:13:12 +00:00
Ulrich Weigand
c0993dbe92 * 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.
2007-11-27 17:06:12 +00:00
Andreas Krebbel
5f1c91d91e 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 15:33:28 +00:00
Andreas Krebbel
967877645e 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.
2007-11-27 15:31:59 +00:00
Ian Lance Taylor
4625f782a5 Rework merge_map for speed. 2007-11-27 06:13:33 +00:00
gdbadmin
4f0916aa94 *** empty log message *** 2007-11-27 00:00:33 +00:00
Alan Modra
fc81646790 daily update 2007-11-26 23:00:06 +00:00
Alan Modra
1afcb04ce0 * cxxfilt.c (demangle_it): Don't call printf without format string. 2007-11-26 01:53:59 +00:00
Alan Modra
ee21dcabf8 * config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand. 2007-11-26 01:43:43 +00:00
gdbadmin
da43e35109 *** empty log message *** 2007-11-26 00:00:34 +00:00
Alan Modra
05ed937ec7 daily update 2007-11-25 23:00:06 +00:00
Jan Kratochvil
4303944388 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.
2007-11-25 21:40:39 +00:00
gdbadmin
a67d13cf51 *** empty log message *** 2007-11-25 00:00:32 +00:00
Alan Modra
f656dbe68b daily update 2007-11-24 23:00:06 +00:00
Pedro Alves
6537bb249e * 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.
2007-11-24 12:13:28 +00:00
gdbadmin
7129a489bd *** empty log message *** 2007-11-24 00:00:03 +00:00
Alan Modra
011bad05f6 daily update 2007-11-23 23:00:05 +00:00
Vladimir Prus
a0cf7492a3 * breakpoint.c (insert_breakpoints)
(insert_bp_location): Remove stale comments.
2007-11-23 16:54:34 +00:00
Maciej W. Rozycki
dc29a15683 * mips-linux-tdep.h: Fix some formatting. 2007-11-23 16:33:11 +00:00
gdbadmin
8a0f4bedd1 *** empty log message *** 2007-11-23 00:00:03 +00:00
Alan Modra
b3e76501ef daily update 2007-11-22 23:00:05 +00:00
Maciej W. Rozycki
0ef2251b99 * 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.
2007-11-22 16:03:00 +00:00
Ian Lance Taylor
d8a8897678 Make Merge_key_less operator() inline. 2007-11-22 00:45:46 +00:00
Ian Lance Taylor
c79126688f Add threading support. 2007-11-22 00:05:51 +00:00
gdbadmin
06d063c072 *** empty log message *** 2007-11-22 00:00:33 +00:00
Alan Modra
9025e63419 daily update 2007-11-21 23:00:05 +00:00
Hans-Peter Nilsson
0eb090cbfc * dwarf.c (display_debug_loc): Cast section_end - start to long
for output format.
2007-11-21 17:50:41 +00:00
Nick Clifton
fc91707cc2 * 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.
2007-11-21 12:06:26 +00:00
Nick Clifton
031cd65fb2 * 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.
2007-11-21 11:58:00 +00:00
Markus Deuling
123680036c 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.
2007-11-21 06:02:53 +00:00
gdbadmin
b9d9e222ea *** empty log message *** 2007-11-21 00:00:03 +00:00
Alan Modra
46ba7344b4 daily update 2007-11-20 23:00:05 +00:00
Nick Roberts
15820a9f75 Variables objects of pointers that can't be dereferenced are now
"noneditable".
2007-11-20 20:01:35 +00:00
Nick Roberts
5443631e12 *** empty log message *** 2007-11-20 19:59:05 +00:00