Commit Graph

20217 Commits

Author SHA1 Message Date
Ulrich Weigand c1d88655bb * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
* gdb.asm/spu.inc: New file.
	* gdb.base/term.exp: Disable if [target_info exists noargs].
	* gdb.gdb/complaints.exp: Disable if ![isnative].
	* gdb.gdb/selftest.exp: Likewise.
	* gdb.gdb/observer.exp: Likewise.
	* gdb.gdb/xfullpath.exp: Likewise.
	* gdb.base/attach.exp: Disable on SPU target.
	* gdb.cp/bs145503.exp: Likewise.
	* gdb.cp/exception.exp: Likewise.
	* gdb.cp/userdef.exp: Likewise.
2006-11-22 17:19:52 +00:00
Daniel Jacobowitz 32a13b1aec * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n. 2006-11-22 15:24:07 +00:00
Ulrich Weigand 771b4502d5 * config/powerpc/spu-linux.mh: New file.
* config/spu/spu.mt: New file.
	* configure.ac: Provide gdb_native configuration variable.
	* configure: Regenerate.
	* configure.host: Support powerpc64 to spu 'pseudo-native' mode.
	* configure.tgt: Add "spu" target_cpu and "spu*-*-*" target.
	* Makefile.in (spu_tdep_h): New variable.
	(ALLDEPFILES): Add spu-linux-nat.c and spu-tdep.c
	(spu-linux-nat.o, spu-tdep.o): Add dependencies.
	* spu-linux-nat.c: New file.
	* spu-tdep.c: New file.
	* spu-tdep.h: New file.
2006-11-22 13:49:53 +00:00
Ulrich Weigand 0b2b0195d1 * findvar.c (address_from_register): New function.
* value.h (address_from_register): Add prototype.
	* dwarf2loc.c (dwarf_expr_read_reg): Use address_from_register.
2006-11-22 13:44:45 +00:00
Vladimir Prus 765dc01564 2006-11-22 Vladimir Prus <vladimir@codesourcery.com>
* breakpoint.c: Include "memattr.h".
        (automatic_hardware_breakpoints): New.
        (show_automatic_hardware_breakpoints): New.
        (insert_bp_location): Automatically use
        hardware breakpoints.
        (_initialize_breakpoint): Register the "auto-hw"
        variable.
        * Makefile.in (breakpoint.o): Update dependencies.
2006-11-22 10:43:34 +00:00
gdbadmin 3593430428 *** empty log message *** 2006-11-22 00:00:32 +00:00
Vladimir Prus 4b5752d02f gdb/
* memattr.h (enum mem_access_mode): New value
        MEM_NONE.
        * memattr.c (unknown_mem_attrib): New.
        (inaccessible_by_default): New.
        (show_inaccessible_by_default): New.
        (lookup_mem_region): Check inaccessible_by_default.
        (dummy_cmd): New.
        (mem_set_cmdlist, mem_show_cmdlist): New.
        (_initialize_mem): Register new "set" and "show"
        commands.
        * target.c (memory_xfer_partial): If memory type
        is MEM_NONE, return an error.
        Clip to region size when calling to_xfer_partial.
        If upper limit of memory range is 0, don't clip
        anything.

        gdb/doc/
        * gdb.texinfo (Memory Access Checking): New.
2006-11-21 16:50:16 +00:00
Joel Brobecker caac47b8c3 * README: Remove obsolete information. 2006-11-21 05:12:44 +00:00
gdbadmin 76ea7ebf75 *** empty log message *** 2006-11-21 00:00:33 +00:00
Andrew Cagney 155bd5d1c1 Index: ChangeLog
2006-11-20  Andrew Cagney  <cagney@redhat.com>

	* linux-nat.h: Refer to GNU/Linux or Linux kernel.
	* linux-nat.c (lin_lwp_attach_lwp, linux_nat_thread_alive): Ditto.
	* infcmd.c (attach_command): Ditto.
	* hppa-linux-tdep.c (hppa_linux_regset): Ditto.
	* mn10300-linux-tdep.c: Ditto.  Update copyright year.
	* frv-linux-tdep.c: Ditto.  Update copyright year.
2006-11-20 21:47:06 +00:00
Joel Brobecker 6dd0964508 * NEWS: Add a new section for changes since GDB 6.6. Rename
the section "Changes since GDB 6.5" into "Changes in GDB 6.6".
        Move a couple of items into the new section as they did not
        make it to 6.6.
2006-11-20 00:16:05 +00:00
gdbadmin baa7655eda *** empty log message *** 2006-11-20 00:00:32 +00:00
Joel Brobecker ab44b8ebc8 GDB 6.6 branch created (branch timestamp: 2006-11-15 12:00)
* version.in: Bump version to 6.6.50.20061119-cvs.
2006-11-19 23:30:13 +00:00
gdbadmin ed4768753a *** empty log message *** 2006-11-19 00:00:02 +00:00
Daniel Jacobowitz 08f08ce684 * prologue-value.c (clear_entries): Fix memory leak. 2006-11-18 23:57:08 +00:00
Daniel Jacobowitz aef9c3b3f5 2006-11-18 Pedro Alves <pedro_alves@portugalmail.pt>
* parse.c (write_exp_msymbol): Check SYMBOL_BFD_SECTION before
	dereferencing it.
2006-11-18 23:54:32 +00:00
gdbadmin 8329e30aa8 *** empty log message *** 2006-11-18 00:00:03 +00:00
Daniel Jacobowitz 63f0680332 * utils.c (string_to_core_addr): Use error instead of
internal_error.
	* mi/mi-main.c (mi_execute_command): Check for a NULL message.
2006-11-17 19:30:41 +00:00
Daniel Jacobowitz e554a4b262 * NEWS: Mention QPassSignals. 2006-11-17 17:48:41 +00:00
gdbadmin 6e953d69fb *** empty log message *** 2006-11-17 00:00:03 +00:00
Daniel Jacobowitz cb7283db10 * configure.ac: Correct td_thr_tls_get_addr test.
* configure: Regenerated.
2006-11-16 22:04:09 +00:00
Maxim Grigoriev 7a11f07a31 Changelog update for my previous check-in. 2006-11-16 19:58:57 +00:00
Maxim Grigoriev 9cd8460227 2006-11-16 Maxim Grigoriev <maxim2405@gmail.com>
* MAINTAINERS (Responsible Maintainers): Add myself for Xtensa.
   (Write After Approval): Add myself.
2006-11-16 19:45:45 +00:00
Daniel Jacobowitz 89be209149 gdb/
* remote.c (PACKET_QPassSignals): New.
	(last_pass_packet, remote_pass_signals): New.
	(remote_protocol_features): Add QPassSignals.
	(remote_query_supported): Correct an infinite loop.
	(remote_open_1): Reset last_pass_packet.
	(remote_resume): Call remote_pass_signals.
	(_initialize_remote): Register "set remote pass-signals".
gdb/doc/
	* gdb.texinfo (Remote configuration): Mention
	"pass-signals-packet".
	(General Query Packets): Document QPassSignals.  Fix
	a typo.
gdb/gdbserver/
	* linux-low.c (linux_wait_for_event): Reformat.  Use the
	pass_signals array.
	* remote-utils.c (decode_address_to_semicolon): New.
	* server.c (pass_signals, handle_general_set): New.
	(handle_query): Mention QPassSignals for qSupported.
	(main): Call handle_general_set.
	* server.h (pass_signals, decode_address_to_semicolon): New.
2006-11-16 15:08:25 +00:00
gdbadmin 7495b3afc0 *** empty log message *** 2006-11-16 00:00:36 +00:00
gdbadmin 5f69414afa *** empty log message *** 2006-11-15 00:00:33 +00:00
Daniel Jacobowitz ca3bf3bdbe 2006-11-14 Maxim Grigoriev <maxim@tensilica.com>
* NEWS: New port to Xtensa.
	* Makefile.in: Add dependencies for Xtensa files.
	* configure.tgt (xtensa*, xtensa*-*-elf*): New.
	* configure.host (xtensa*-*-elf*): New.
	* config/xtensa/xtensa.mt: New file.
	* xtensa-config.c: New file.
	* xtensa-tdep.h: New file.
	* xtensa-tdep.c: New file.

2006-11-14  Maxim Grigoriev  <maxim@tensilica.com>

	* gdb.texinfo (Contributors): Add contributors of Xtensa port.
2006-11-14 21:53:59 +00:00
Daniel Jacobowitz 427c3a89d3 gdb/
* remote.c (set_remote_cmd): Call help_list.
	(show_remote_cmd): Skip legacy aliases.  Handle non-show_cmd
	entries.  Add missed cleanup.
	* cli/cli-setshow.c (cmd_show_list): Handle non-show_cmd entries.
gdb/doc/
	* gdb.texinfo (Remote configuration): Rewrite documentation for
	packet configuration commands.
	(OS Information): Adjust reference to qXfer:auxv:read.
	(General Query Packets): Remove references to read-aux-vector-packet
	and set remote get-thread-local-storage-address.
2006-11-14 21:40:19 +00:00
gdbadmin 981be051b4 *** empty log message *** 2006-11-14 00:00:03 +00:00
Daniel Jacobowitz 1bc1fa8c87 Fix last entry. 2006-11-13 19:05:50 +00:00
Paul Gilliam 60f140f9b6 Fixed up some indentation introduced by my last pactch. 2006-11-13 18:50:11 +00:00
Paul Gilliam 4019046acc Fix sigtramp cache code so that PPC register are read only if there is H/W. 2006-11-13 17:37:36 +00:00
gdbadmin 83fb162ab0 *** empty log message *** 2006-11-13 00:00:03 +00:00
Ben Harris 59ea4f7003 * arm-tdep.c (arm_unwind_pc): Use arm_addr_bits_remove. 2006-11-12 11:06:31 +00:00
gdbadmin 7e38eb0a58 *** empty log message *** 2006-11-12 00:00:04 +00:00
gdbadmin c903bd719c *** empty log message *** 2006-11-11 00:00:32 +00:00
Daniel Jacobowitz e48af409a9 * frame.c (frame_register_unwind_location): New function.
(get_prev_frame_1): Check for UNWIND_NO_SAVED_PC.
	(frame_stop_reason_string): Handle UNWIND_NO_SAVED_PC.
	* frame.h (enum unwind_stop_reason): Add UNWIND_NO_SAVED_PC.
2006-11-10 20:11:35 +00:00
Daniel Jacobowitz 7a10774786 gdb/
* arch-utils.c (target_byte_order_user): Renamed from
	target_byte_order.
	(target_byte_order_auto, selected_byte_order): Removed.
	(show_endian): Check target_byte_order_user.
	(set_endian): Always update the architecture.  Set
	target_byte_order_user after success.
	(target_architecture_auto): Removed.
	(target_architecture_user): New.
	(selected_architecture_name, show_architecture): Check it.
	(set_architecture): Set target_architecture_user after success.
	(gdbarch_from_bfd): Check the argument.
	(default_byte_order): New.
	(initialize_current_architecture): Set the global default
	architecture and endianness.
	(gdbarch_info_fill): Remove GDBARCH argument.  Do not check the
	previous architecture.  Use exec_bfd, global selected architecture
	and endianness, and global defaults.
	* arch-utils.h (selected_byte_order): Remove prototype.
	(gdbarch_info_fill): Update.
	* exec.c (exec_file_attach): Update the architecture after removing
	the current file.
	* gdbarch.sh: Update comments.
	(find_arch_by_info): Remove OLD_GDBARCH argument.  Update call to
	gdbarch_info_fill.
	(gdbarch_find_by_info): Update call to find_arch_by_info.
	* gdbarch.h, gdbarch.c: Regenerated.
	* remote-sim.c (gdbsim_open): Use TARGET_BYTE_ORDER.
gdb/doc/
	* gdbint.texinfo (Target Architecture Definition): Add new
	Initializing a New Architecture section.
2006-11-10 19:20:37 +00:00
Vladimir Prus d8295fe954 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
* gdb.base/completion.exp: Fix completion tests for
        'info' and 'info '.
        * gdb.base/help.exp (help_test_raw, test_class_help)
        (test_prefix_command_help): Move...
        * lib/gdb.exp: Here.
        * gdb.base/main.exp: Adjust.
        * gdb.cp/maint.exp: Adjust.
        * gdb.trace/tracecmd.exp: Use test_help_class.
2006-11-10 16:58:53 +00:00
Jim Blandy 9ef8fd3cb0 Fix garbled ChangeLog entry. 2006-11-10 01:12:24 +00:00
gdbadmin 142018cf03 *** empty log message *** 2006-11-10 00:00:33 +00:00
Vladimir Prus 8c394015eb 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
* gdb.stabs/weird.exp (print_weird_var): Use
        gdb_test_multiple instead of gdb_expect.
2006-11-09 19:31:14 +00:00
Vladimir Prus 027fc1bcc3 Move changelog entry to the right place 2006-11-09 19:26:45 +00:00
Vladimir Prus a38cd18094 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
* gdb.base/help.exp (help_test_raw): New.
        (test_class_help): New.
        (test_prefix_command_help): New.
        Adjust testcases.
2006-11-09 19:22:11 +00:00
Joel Brobecker b5bf31df5b * sparc-tdep.c (sparc_fetch_instruction): Read instruction
using read_memory_nobpt.
2006-11-09 16:36:58 +00:00
Frederic Riss 6760920914 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
* gdb.base/constvars.c (main): Write to crass and crips, so that
	they are allocated by the compiler.
2006-11-09 09:20:17 +00:00
gdbadmin 4eaf9bc93a *** empty log message *** 2006-11-09 00:00:33 +00:00
gdbadmin 499f04a3c1 *** empty log message *** 2006-11-08 00:00:35 +00:00
gdbadmin 2f23e1502e *** empty log message *** 2006-11-07 00:00:33 +00:00
Jim Blandy e5192dd81c 2006-11-06 Jim Blandy <jimb@codesourcery.com>
* (dwarf_expr_read_reg): Use frame_register_read, not frame_register.
	* dwarf2loc.c (dwarf_expr_read_reg): Use frame_register_read
	instead of frame_register.  Doc fix.
2006-11-06 23:20:12 +00:00