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
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
Ulrich Weigand
f86172a554
* linux-thread-db.c (check_for_thread_db): Don't attempt to use
...
thread_db for remote targets.
* remote.c (remote_new_objfile): Always call predecessor on
new_objfile event chain.
2006-10-20 01:08:14 +00:00
Ulrich Weigand
b7149293aa
2005-10-19 Ulrich Weigand <uweigand@de.ibm.com>
...
* configure.srv [s390-*-linux*, s390x-*-linux*]: Set srv_linux_regsets
and srv_linux_thread_db to yes.
* linux-s390-low.c (s390_fill_gregset): New function.
(target_regsets): Define data structure.
2006-10-20 00:34:35 +00:00
gdbadmin
9128c20543
*** empty log message ***
2006-10-20 00:00:32 +00:00
Joel Brobecker
6612ad7f9f
* solib.c (libpthread_solib_p): New function.
...
(solib_add): Always read the symbols from the libpthread library.
2006-10-19 19:58:23 +00:00
Andrew Stubbs
d674a25c2b
2006-10-19 Andrew Stubbs <andrew.stubbs@st.com>
...
* breakpoint.c (describe_other_breakpoints): Add thread parameter.
Annotate display with thread number where appropriate.
(create_breakpoints): Add thread parameter to call to
describe_other_breakpoints.
2006-10-19 15:58:25 +00:00
Andreas Schwab
76101e23e5
Typos.
2006-10-19 09:23:10 +00:00
gdbadmin
0532541186
*** empty log message ***
2006-10-19 00:00:06 +00:00
Daniel Jacobowitz
981c7f5a30
* utils.c (query): Use defaulted_query.
...
(defaulted_query): Handle having no default answer. Print out
messages even if we have no terminal. Prevent memory corruption.
2006-10-18 22:16:52 +00:00
Daniel Jacobowitz
55feb68948
* frame.c (struct frame_info): Add stop_reason.
...
(get_prev_frame_1): Set stop_reason. Don't call error for
stop reasons.
(get_frame_unwind_stop_reason, frame_stop_reason_string): New.
* frame.h (enum unwind_stop_reason): New.
(get_frame_unwind_stop_reason, frame_stop_reason_string): New
prototypes.
* stack.c (frame_info): Print the stop reason.
(backtrace_command_1): Print the stop reason for errors.
2006-10-18 19:52:05 +00:00
Daniel Jacobowitz
8621d6a944
* inferior.h (start_remote): Update prototype.
...
* infrun.c (start_remote): Take FROM_TTY. Call
post_create_inferior.
* monitor.c (monitor_open): Update call to start_remote.
* remote-sds.c (sds_start_remote, sds_open): Likewise.
* remote.c (remote_start_remote): Likewise.
(remote_start_remote_dummy): Removed.
(remote_open): Update call to remote_start_remote. Do not call
post_create_inferior here.
2006-10-18 16:56:13 +00:00
Daniel Jacobowitz
2f83a18e2a
* lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
...
of patterns.
2006-10-18 16:49:05 +00:00
Daniel Jacobowitz
3443977099
* solib-svr4.c (debug_loader_offset_p, debug_loader_offset)
...
(debug_loader_name, svr4_default_sos): New.
(svr4_current_sos): Call svr4_default_sos.
(enable_break): Add a comment about AT_BASE. Set the new
variables and retry solib_add.
(svr4_clear_solib): Clear the new variables.
2006-10-18 15:34:39 +00:00
Daniel Jacobowitz
7d3d3ece84
* NEWS: Mention support for TLS without debugging information.
2006-10-18 15:29:18 +00:00
gdbadmin
3aafe03c09
*** empty log message ***
2006-10-18 00:00:04 +00:00
Daniel Jacobowitz
52bb452f80
gdb/
...
* gdbint.texinfo (Target Vector Definition): Move most
content into Existing Targets. Add a menu.
(Existing Targets): New section, moved from Target Vector
Definition. Use @subsection.
(Managing Execution State): New section.
gdb/doc/
* remote-sim.c (gdbsim_kill): Call target_mourn_inferior.
(gdbsim_load): Don't bother to adjust inferior_ptid here.
(gdbsim_create_inferior): Mark the simulator as running.
(gdbsim_open): Don't bother fetching registers. Mark
the target as not running.
(gdbsim_xfer): When the program is not running, pass memory
requests down.
(gdbsim_mourn_inferior): Mark the target as not running.
* target.c (target_mark_running, target_mark_exited): New.
* target.h (target_has_execution): Update the comment.
(target_mark_running, target_mark_exited): New prototypes.
2006-10-17 21:55:24 +00:00
Joel Brobecker
b40ce68a77
* breakpoint.c (free_valchain): Minor reformatting.
2006-10-17 21:53:26 +00:00
Bob Wilson
58955e583a
* gdb.texinfo (ST2000): Use Ctrl- instead of C-.
2006-10-17 21:08:17 +00:00
Daniel Jacobowitz
79d4c408c4
* solib-svr4.c (LM_ADDR_CHECK): Suggest shared library mismatch.
2006-10-17 20:52:32 +00:00
Daniel Jacobowitz
94277a3898
gdb/
...
* Makefile.in (symtab.o): Update.
* symtab.h (matching_bfd_section): New prototype.
* symtab.c (matching_bfd_section): New.
(find_pc_sect_psymbol, find_pc_sect_symtab): Use it.
* minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise.
* printcmd.c (sym_info): Ignore separate debug objfiles.
gdb/testsuite/
* gdb.base/sepdebug.exp: Remove debug format test.
* lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
Handle no-symtab.
* gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
2006-10-17 20:17:45 +00:00
Daniel Jacobowitz
dae5f5cf4b
* acinclude.m4 (SRV_CHECK_TLS_GET_ADDR): New.
...
* configure.ac: Use it. Define HAVE_TD_THR_TLS_GET_ADDR.
* config.in, configure: Regenerated.
* inferiors.c (gdb_id_to_thread): New function.
(gdb_id_to_thread_id): Use it.
* linux-low.c (linux_target_ops): Use thread_db_get_tls_address.
* linux-low.h (struct process_info): Add th member.
(thread_db_get_tls_address): New prototype.
* remote-utils.c (decode_address): Make non-static.
* server.c (handle_query): Handle qGetTLSAddr.
* server.h (gdb_id_to_thread, decode_address): New prototypes.
* target.h (struct target_ops): Add get_tls_address.
* thread-db.c (maybe_attach_thread): Save the thread handle.
(thread_db_get_tls_address): New.
2006-10-17 16:02:27 +00:00
Daniel Jacobowitz
5bd2f6e2a6
* gdb.threads/manythreads.c (thread_function, main): Don't cast
...
int to pointer or pointer to int.
* gdb.threads/manythreads.exp: Don't expect the string "LWP".
2006-10-17 15:52:53 +00:00
Daniel Jacobowitz
32a5b2f1dd
* remote.c (remote_pid_to_str): Capitalize "Thread".
2006-10-17 15:43:51 +00:00
gdbadmin
aac509a07f
*** empty log message ***
2006-10-17 00:00:32 +00:00
Daniel Jacobowitz
9b7194bcb4
PR remote/2158
...
* remote.c (remote_write_bytes): Throttle packet alignment
for small packets.
2006-10-16 03:08:37 +00:00
gdbadmin
c88c804ea4
*** empty log message ***
2006-10-16 00:00:02 +00:00
Eli Zaretskii
45ac17341e
* gdb.texinfo (Signals, Set Breaks, Set Watchpoints): Document optional
...
arguments to `info signals' `handle', `info breakpoints', and
`info watchpoints'.
2006-10-15 21:36:00 +00:00
Eli Zaretskii
c8aa23ab92
* gdb.texinfo (Sample Session, Invocation, Quitting GDB)
...
(Command Syntax, Signals, Backtrace, Connecting)
(Remote configuration, Renesas Boards, Console I/O): Fix last
change: use Ctrl- instead of C-, except wrt Emacs.
(File-I/O Examples): Put Ctrl-c in @kbd.
(Cygwin Native, File-I/O Overview, The Ctrl-C message)
(Console I/O): Use @samp with Ctrl-.
2006-10-15 21:19:49 +00:00
Nick Roberts
1111f4aa91
(thread_db_wait): Don't bother continuing if the wait result indicates the
...
program terminated with a signal (from gdb-6.3-ia64-sigill-20051115.patch, a
patch for Fedora Core 5).
2006-10-15 19:38:45 +00:00
Nick Roberts
b255021abc
*** empty log message ***
2006-10-15 19:37:49 +00:00
gdbadmin
706bae0be6
*** empty log message ***
2006-10-15 00:00:32 +00:00
Eli Zaretskii
e7109c7e3b
* gdb.texinfo (Backtrace): Fix last change.
2006-10-14 18:34:03 +00:00
Nick Roberts
dd74f6ae66
(Backtrace): Order correctly and add other cases.
2006-10-14 00:21:13 +00:00
Nick Roberts
de3aea7bdd
*** empty log message ***
2006-10-14 00:20:02 +00:00
gdbadmin
0cd39e2e24
*** empty log message ***
2006-10-14 00:00:09 +00:00
Joel Brobecker
3e4d11fe10
Add in one of the previous entries the fact that the change was to
...
fix PR symtab/2018.
2006-10-13 02:40:47 +00:00
gdbadmin
81a724a85f
*** empty log message ***
2006-10-13 00:00:33 +00:00
Daniel Jacobowitz
8c008720eb
* gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
2006-10-12 19:03:22 +00:00
gdbadmin
78af1e2086
*** empty log message ***
2006-10-12 00:00:34 +00:00
Daniel Jacobowitz
366da635ba
* dwarf2read.c (dwarf_decode_lines): Call record_line upon
...
encountering a different subfile.
2006-10-11 15:39:35 +00:00
Frederic Riss
861cf606cb
2006-10-11 Denis Pilat <denis.pilat@st.com>
...
* tui/tui-source.c (tui_set_source_content): handle source
files that contain non unix end-of-line.
2006-10-11 10:50:07 +00:00
gdbadmin
505cb5c701
*** empty log message ***
2006-10-11 00:00:03 +00:00
Bob Wilson
7f9087cb30
* gdb.texinfo (Command Syntax, Connecting, Remote configuration,
...
Renesas Boards, ST2000, TUI Keys, TUI Single Key Mode, TUI Commands,
Emacs, Console I/O): Fix @key and @kbd usage.
2006-10-10 18:55:55 +00:00
Daniel Jacobowitz
774a49c047
* ser-mingw.c (free_pipe_state, pipe_wait_handle): Update
...
for changes to pipe_select_thread.
(pipe_done_wait_handle): New.
(_initialize_ser_windows): Reference it.
2006-10-10 14:23:11 +00:00