Commit graph

20184 commits

Author SHA1 Message Date
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
gdbadmin
2941e768e4 *** empty log message *** 2006-10-24 00:00:10 +00:00
gdbadmin
75ee0d67f2 *** empty log message *** 2006-10-23 00:00:34 +00:00
gdbadmin
08b4ae39e5 *** empty log message *** 2006-10-22 00:00:07 +00:00
Paul Brook
3732ba62b9 2006-10-21 Paul Brook <paul@codesourcery.com>
* remote.c (remote_fetch_registers): Fix error message.
2006-10-21 17:59:08 +00:00
Eli Zaretskii
e5ac9b532c gdb.texinfo (Source Annotations): Fix index entries by adding
"annotation" to them, to discriminate from index entries that point
	to the more general topic descriptions.
2006-10-21 13:06:04 +00:00
Eli Zaretskii
0ced0c34ad (Breakpoints): Fix a typo. 2006-10-21 12:54:18 +00:00
Eli Zaretskii
fd60e0dfdf * gdb.texinfo (Breakpoints, Set Watchpoints): Elaborate and
clarify on the possible meanings of ``expression'' watched by
	watchpoints.  Add indexing.
2006-10-21 12:50:16 +00:00
Eli Zaretskii
286ba84deb (Backtrace): Fix a typo. 2006-10-21 12:20:59 +00:00
gdbadmin
46a30e6b86 *** empty log message *** 2006-10-21 00:00:03 +00:00
Daniel Jacobowitz
804e0f53e7 * gcore.c (MAX_COPY_BYTES): Define.
(gcore_copy_callback): Use it to limit allocation.
2006-10-20 22:06:28 +00:00