Commit Graph

20194 Commits

Author SHA1 Message Date
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
Daniel Jacobowitz 000ef4f0ec * server.c (handle_query): Correct error handling for read_auxv. 2006-11-06 21:50:32 +00:00
gdbadmin f09801072e *** empty log message *** 2006-11-06 00:00:04 +00:00
gdbadmin 8a3b477701 *** empty log message *** 2006-11-05 00:00:02 +00:00
Vladimir Prus 8b9e3a1523 2006-11-04 Vladimir Prus <vladimir@codesourcery.com>
* serial.c (serial_open): Strip leading spaces from program
       name when opening pipe.
2006-11-04 08:37:24 +00:00
gdbadmin f4f5eb403f *** empty log message *** 2006-11-04 00:00:32 +00:00
Jim Blandy 4bc9efe119 2006-11-03 Jim Blandy <jimb@codesourcery.com>
* dwarf2loc.c (dwarf_expr_read_reg): Use frame_unwind_register
        instead of frame_register.  Doc fix.
2006-11-03 22:09:28 +00:00
gdbadmin 5c38167b2c *** empty log message *** 2006-11-03 00:00:33 +00:00
Daniel Jacobowitz 31ffec4870 * dwarf2read.c (struct dwarf2_per_cu_data): Update comment.
(load_full_comp_unit): Take OBJFILE argument and use it.
	(dwarf2_build_psymtabs_hard): Skip partial units.
	(process_queue): Pass OBJFILE to load_full_comp_unit.  Check
	type_hash for read in CUs.  Test psymtab for NULL.
2006-11-02 21:34:07 +00:00
Daniel Jacobowitz 625b50039a * arm-tdep.c (arm_gdbarch_init): Handle EF_ARM_EABI_VER5. 2006-11-02 21:32:22 +00:00
gdbadmin 325a4b61ce *** empty log message *** 2006-11-02 00:00:02 +00:00
gdbadmin fe2dce6741 *** empty log message *** 2006-11-01 00:00:33 +00:00
Eli Zaretskii 1c56eb0e62 * stabs.texinfo (Macro define and undefine): New node describing
stabs for #define and #undef.
2006-10-31 22:38:27 +00:00
Vladimir Prus 6e381ba0b0 Improve "help all". 2006-10-31 11:45:41 +00:00
gdbadmin ee9e139d63 *** empty log message *** 2006-10-31 00:00:03 +00:00
gdbadmin 173dd3ae58 *** empty log message *** 2006-10-30 00:00:03 +00:00
gdbadmin c9b8f8fd74 *** empty log message *** 2006-10-29 00:00:34 +00:00
gdbadmin 691e0f4f61 *** empty log message *** 2006-10-28 00:00:03 +00:00
Andreas Schwab f73adfeb8b * gdbcmd.h (detachlist): Declare.
* infcmd.c (_initialize_infcmd): Define "detach" as prefix
	command.
	* linux-fork.c (_initialize_linux_fork): Rename
	"detach-checkpoint" to "detach checkpoint" and "detach-fork" to
	"detach fork".
	* cli/cli-cmds.c (detachlist): Define.
	(init_cmd_lists): Initialize it.
	* cli/cli-cmds.h (detachlist): Declare.

doc/:
	* gdb.texinfo (Processes): Rename "detach-fork" to "detach fork".

testsuite/:
	* gdb.base/multi-forks.exp: Use "detach fork" instead of
	"detach-fork".
2006-10-27 22:23:21 +00:00
gdbadmin 7ebede5616 *** empty log message *** 2006-10-27 00:00:34 +00:00
gdbadmin 87d98ef318 *** empty log message *** 2006-10-26 00:00:02 +00:00
Jim Blandy 7080f20f88 gdb/ChangeLog:
2006-10-25  Jim Blandy  <jimb@codesourcery.com>

	* p-valprint.c (pascal_object_print_value): Add 'static' keyword
	to function definition, to match declaration earlier in file.
2006-10-25 21:26:41 +00:00
gdbadmin 08451320d3 *** empty log message *** 2006-10-25 00:00:03 +00:00
Nick Roberts d149de7bca *** empty log message *** 2006-10-24 20:23:56 +00:00