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
Daniel Jacobowitz
9e35dae425
2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
...
Daniel Jacobowitz <dan@codesourcery.com>
* Makefile.in (expprint.o, parse.o, target.o): Update.
* dwarf2loc.c (dwarf_expr_tls_address): Move body to
target_translate_tls_address. Call it.
* eval.c (evaluate_subexp_standard): Handle UNOP_MEMVAL_TLS.
* expprint.c (print_subexp_standard): Likewise.
(op_name_standard, dump_subexp_body_standard): Likewise.
* expression.h (enum exp_opcode): Add UNOP_MEMVAL_TLS.
(union exp_element): Add objfile.
* parse.c (write_exp_elt_objfile): New function.
(msym_tls_symbol_type): New.
(write_exp_msymbol): Handle TLS.
(operator_length_standard): Handle UNOP_MEMVAL_TLS.
(build_parse): Initialize msym_tls_symbol_type.
* parser-defs.h (write_exp_elt_objfile): New prototype.
* target.c (target_translate_tls_address): New.
* target.h (target_translate_tls_address): Add prototype.
2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
2006-10-10 03:17:53 +00:00
gdbadmin
a48251ed04
*** empty log message ***
2006-10-10 00:00:33 +00:00
Daniel Jacobowitz
58dc52c34d
* solib.c (solib_open): Handle an empty solib_absolute_prefix like a
...
missing one.
2006-10-09 20:16:10 +00:00
Daniel Jacobowitz
8bb752867c
* solib.c (solib_read_symbols): Stop if the file was not found.
2006-10-09 19:58:07 +00:00
Daniel Jacobowitz
d9639e1329
2006-10-09 Paul Pluzhnikov <ppluzhnikov@charter.net>
...
PR c++/2116
* valops.c (find_overload_match): Check for a NULL name.
2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
PR c++/2116
* gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
2006-10-09 19:28:14 +00:00
gdbadmin
d5aff968a1
*** empty log message ***
2006-10-09 00:00:34 +00:00
gdbadmin
ea2c415d49
*** empty log message ***
2006-10-08 00:00:03 +00:00
gdbadmin
2eef69ef02
*** empty log message ***
2006-10-07 00:00:02 +00:00
Joel Brobecker
390a1bd069
* gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
...
the corresponding bug has been fixed in GDB (PR/2018).
2006-10-06 20:48:42 +00:00
Joel Brobecker
714e295ef0
* dwarf2read.c (read_array_type): Set the type name if the name
...
attribute is present.
2006-10-06 20:42:02 +00:00
Joel Brobecker
dd920c3388
* gdb.base/subst.exp: New testcase.
2006-10-06 18:17:56 +00:00
Joel Brobecker
53bbefe9af
* gdb.ada/array_return/pck.ads: Add copyright notice.
...
* gdb.ada/array_return/pck.adb: Likewise.
* gdb.ada/array_return/p.adb: Likewise.
* gdb.ada/exec_changed/first.adb: Likewise.
* gdb.ada/exec_changed/second.adb: Likewise.
2006-10-06 18:05:58 +00:00
Joel Brobecker
098514179b
* gdb.ada/watch_arg/watch.adb: New file.
...
* gdb.ada/watch_arg.exp: New testcase.
2006-10-06 17:46:56 +00:00
Joel Brobecker
631b0ed020
* blockframe.c (block_innermost_frame): Rewrite frame search logic.
2006-10-06 02:01:34 +00:00
gdbadmin
9ad41fe1d0
*** empty log message ***
2006-10-06 00:00:02 +00:00
Daniel Jacobowitz
dbc981de23
* Makefile.in (gdb_expat_h): New.
...
(xml_support_h): Add gdb_expat.h dependency.
(memory-map.o, xml-support.o): Likewise.
* gdb_expat.h: New file.
* xml-support.h: Include it.
* memory-map.c, xml-support.c: Likewise. Remove XML_STATUS_OK
definitions.
2006-10-05 19:42:31 +00:00
Daniel Jacobowitz
0b83947edd
* remote.c (get_remote_state_raw): Renamed from get_remote_state.
...
(get_remote_state): New function.
(init_remote_state, _initialize_remote): Use get_remote_state_raw.
2006-10-05 19:20:52 +00:00
Fred Fish
8aceae7e50
Reviewed and approved by Daniel Jacobowitz <drow@false.org>
...
2006-10-04 Fred Fish <fnf@specifix.com>
* vec.c: Include defs.h first. This pulls in config.h which can
affect other includes.
2006-10-05 01:04:23 +00:00
gdbadmin
331140640e
*** empty log message ***
2006-10-05 00:00:39 +00:00
Joel Brobecker
f31b375174
* somread.c (som_symtab_read): Avoid using alloca for potentially
...
large buffers.
2006-10-04 21:36:39 +00:00
Daniel Jacobowitz
d0a0254a41
* arch-utils.h (gdbarch_info_fill): Remove duplicate prototype.
2006-10-04 20:14:44 +00:00
gdbadmin
95a4e393f9
*** empty log message ***
2006-10-04 00:00:32 +00:00
Daniel Jacobowitz
f2d483c447
* memory-map.c (XML_STATUS_OK, XML_STATUS_ERROR): Provide default
...
definitions.
* xml-support.c (XML_STATUS_OK, XML_STATUS_ERROR): Likewise.
2006-10-03 15:54:01 +00:00
gdbadmin
0404da1612
*** empty log message ***
2006-10-03 00:00:38 +00:00
Vladimir Prus
041bf30db7
* gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
...
via string_to_regexp.
* gdb.mi/mi2-basics.exp: Likewise.
2006-10-02 16:38:26 +00:00
gdbadmin
28d9ed440a
*** empty log message ***
2006-10-02 00:00:02 +00:00
gdbadmin
fed19b6178
*** empty log message ***
2006-10-01 00:00:02 +00:00
gdbadmin
c33e703572
*** empty log message ***
2006-09-30 00:00:34 +00:00
gdbadmin
a0cd8207a6
*** empty log message ***
2006-09-29 00:00:32 +00:00
Daniel Jacobowitz
32ca6d6157
* linux-low.c (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define.
...
(linux_resume_one_process): Take a siginfo_t *. Update all
callers. Queue it if necessary. Use PTRACE_SETSIGINFO.
(struct pending_signals): Add a siginfo_t.
(linux_wait_for_process): Always set last_status.
(linux_wait_for_event): Use PTRACE_GETSIGINFO.
(linux_queue_one_thread): Use PTRACE_GETSIGINFO.
* linux-low.h (struct process_info): Add last_status.
2006-09-28 22:46:29 +00:00
gdbadmin
2642de2a6c
*** empty log message ***
2006-09-28 00:00:02 +00:00
gdbadmin
f2320d6ad5
*** empty log message ***
2006-09-27 00:00:03 +00:00
gdbadmin
172870a5b4
*** empty log message ***
2006-09-26 00:00:33 +00:00
gdbadmin
f983a9b6a3
*** empty log message ***
2006-09-25 00:00:02 +00:00
gdbadmin
86034c36bd
*** empty log message ***
2006-09-24 00:00:35 +00:00
gdbadmin
b41e175056
*** empty log message ***
2006-09-23 00:00:33 +00:00
Daniel Jacobowitz
f08799f98e
* remote.c (remote_write_bytes_aux): Doc fix.
2006-09-22 13:50:36 +00:00
gdbadmin
637ea4ae1f
*** empty log message ***
2006-09-22 00:00:03 +00:00
Daniel Jacobowitz
5ffff7c1d1
* remote-utils.c (try_rle): New function.
...
(putpkt_binary): Use it.
2006-09-21 16:09:54 +00:00
Daniel Jacobowitz
68437a39ee
* gdb.texinfo (Packets): Document vFlashErase,
...
vFlashWrite and vFlashDone packets.
(General Query Packets): Document qXfer:memory-map:read.
Add a new feature for qXfer:memory-map:read.
(Memory map format): New section.
(Target Commands): Mention that gdb can write flash.
2006-09-21 14:01:12 +00:00
Daniel Jacobowitz
a76d924dff
* Makefile.in (SFILES): Add target-memory.c.
...
(COMMON_OBS): Add target-memory.o.
* memattr.c (lookup_mem_region): Adjust handling for
the top of memory. Improve comments.
* remote.c (packet_check_result): New function, split out
from packet_ok. Recognize "E." as an error prefix.
(packet_ok): Use it.
(remote_write_bytes_aux): New function, renamed from
remote_write_bytes. Take packet header, packet format,
and length flag as arguments.
(remote_write_bytes): Rewrite to use remote_write_bytes_aux.
(remote_send_printf, restore_remote_timeout)
(remote_flash_timeout, remote_flash_erase, remote_flash_write)
(remote_flash_done): New.
(remote_xfer_partial): Handle flash writes.
(init_remote_ops, init_remote_async_ops): Set to_flash_erase
and to_flash_done.
* symfile.c (struct load_section_data): Include a pointer to
the cumulative stats and a request queue. Move most members
to other types.
(struct load_progress_data, struct load_progress_section_data): New
types.
(load_progress): Handle a NULL baton and zero bytes. Update for
type changes.
(load_section_callback): Create memory write requests instead of
writing to memory. Don't print the progress message here.
(clear_memory_write_data): New function.
(generic_load): Use target_write_memory_blocks.
* target-memory.c: New file.
* target.c (update_current_target): Mention new uninherited methods.
(memory_xfer_partial): Issue an error for flash writes.
(target_flash_erase, target_flash_done): New functions.
(target_write_with_progress): Call the progress callback at the
start also.
* target.h (enum target_object): Add TARGET_OBJECT_FLASH.
(target_write_with_progress): Update comment.
(struct target_ops): Add to_flash_erase and to_flash_done.
(target_flash_erase, target_flash_done, struct memory_write_request)
(memory_write_request_s, enum flash_preserve_mode)
(target_write_memory_blocks): New, including a vector type
for memory_write_request_s.
2006-09-21 14:00:53 +00:00
Daniel Jacobowitz
fd79eceebf
gdb/
...
2006-09-21 Vladimir Prus <vladimir@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
* Makefile.in (SFILES): Add memory-map.c and xml-support.c.
(memory_map_h, xml_support_h): New.
(target_h): Add vec_h dependency.
(COMMON_OBS): Add memory-map.o and xml-support.o.
(memory-map.o, xml-support.o): New rules.
(remote.o): Update.
* exceptions.h (enum errors): Add XML_PARSE_ERROR.
* infcmd.c (run_command_1, attach_command): Call target_pre_inferior.
* memattr.c (default_mem_attrib): Initialize blocksize.
(target_mem_region_list, mem_use_target)
(target_mem_regions_valid, mem_region_cmp, mem_region_init)
(require_user_regions, require_target_regions)
(invalidate_target_mem_regions): New.
(create_mem_region): Use mem_region_init.
(mem_clear): Move higher.
(lookup_mem_region): Use require_target_regions.
(mem_command): Implement "mem auto".
(mem_info_command): Handle target-supplied regions and flash
attributes.
(mem_enable_command, mem_disable_command, mem_delete_command): Use
require_user_regions.
(_initialize_mem): Mention "mem auto" in help.
* memattr.h (enum mem_access_mode): Add MEM_FLASH.
(struct mem_attrib): Add blocksize.
(invalidate_target_mem_regions, mem_region_init, mem_region_cmp): New
prototypes.
* remote.c: Include "memory-map.h".
(PACKET_qXfer_memory_map): New enum value.
(remote_protocol_features): Add qXfer:memory-map:read.
(remote_xfer_partial): Handle memory maps.
(remote_memory_map): New.
(init_remote_ops, init_remote_async_ops): Set to_memory_map.
(_initialize_remote): Register qXfer:memory-map:read.
* target.c (update_current_target): Mention to_memory_map.
(target_memory_map, target_pre_inferior): New.
(target_preopen): Call target_pre_inferior.
* target.h: Include "vec.h".
(enum target_object): Add TARGET_OBJECT_MEMORY_MAP.
(struct target_ops): Add to_memory_map.
(target_memory_map, target_pre_inferior): New prototypes.
* memory-map.c, memory-map.h, xml-support.c, xml-support.h: New files.
gdb/doc/
2006-09-21 Vladimir Prus <vladimir@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
* gdb.texinfo (Memory Region Attributes): Mention target-supplied
memory regions and "mem auto".
2006-09-21 13:54:03 +00:00
Daniel Jacobowitz
253c8abb67
* ada-lex.l (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int)
...
(strtoulst): Moved to ...
* utils.c (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int)
(strtoulst): ... here. Enhanced to behave more similarly
to strtoul.
* defs.h (strtoulst): New prototype.
2006-09-21 13:50:51 +00:00
Daniel Jacobowitz
c96fc75e9e
* Makefile.in (memattr_h, memattr.o): Update.
...
* memattr.h: Include "vec.h".
(struct mem_region): Remove linked list pointer.
(mem_region_s): New typedef and corresponding vector.
* memattr.c: Include "vec.h".
(mem_region_chain): Delete.
(mem_region_list): New vector pointer.
(mem_region_lessthan): New function.
(create_mem_region): Remove unused return value. Use vector
operations. Remove linear search.
(delete_mem_region): Delete.
(lookup_mem_region): Use vector operations. Add a FIXME.
(mem_info_command): Update to work with vectors.
(mem_enable, mem_enable_command, mem_disable, mem_disable_command)
(mem_free, mem_delete): Likewise.
2006-09-21 13:48:29 +00:00
Daniel Jacobowitz
350da6eece
2006-09-21 Nathan Sidwell <nathan@codesourcery.com>
...
gdb/
* vec.h: New file.
* vec.c: New file.
* Makefile.in (SFILES): Add vec.c.
(vec_h): New.
(COMMON_OBJS): Add vec.o.
(vec.o): New target.
gdb/doc/
* gdbint.texinfo (Array Containers): New section.
2006-09-21 13:47:56 +00:00
Michael Snyder
f286fbddac
Fix identity in ChangeLog.
2006-09-21 00:03:43 +00:00
gdbadmin
1a77fc0bcb
*** empty log message ***
2006-09-21 00:00:05 +00:00
Michael Snyder
7b880e0bb7
2006-09-20 Michael Snyder <michael.snyder@localhost.localdomain>
...
* abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
Remove unused / obsolete files.
2006-09-20 22:56:34 +00:00
Daniel Jacobowitz
2e9f762528
PR remote/2154
...
* remote.c (remote_thread_alive): Remove local buf.
(remote_get_threadinfo): Remove local threadinfo_pkt.
(remote_get_threadlist): Remove unused threadlist_packet.
(remote_current_thread): Remove local buf.
(remote_threads_info): Set bufp after getpkt.
(remote_threads_extra_info): Remove local bufp.
(get_offsets): Set buf after getpkt.
(remote_check_symbols): Set reply after getpkt.
(remote_vcont_probe): Set buf after getpkt.
(remote_resume): Set buf after set_thread.
(remote_wait, remote_async_wait): Set buf after getpkt.
(fetch_register_using_p): Set buf after remote_send.
(remote_fetch_registers): Likewise.
(store_register_using_P): Don't use buf after remote_send.
(check_binary_download, remote_write_bytes)
(remote_read_bytes, remote_rcmd): Remove local buf.
2006-09-20 19:13:02 +00:00
gdbadmin
a8bbe5b03e
*** empty log message ***
2006-09-20 00:00:32 +00:00
gdbadmin
8b9b0076ae
*** empty log message ***
2006-09-19 00:00:32 +00:00
Nick Roberts
9cb8286385
Include __kernel_vsyscall in regexp.
2006-09-18 21:17:07 +00:00
Nick Roberts
7c07f34970
*** empty log message ***
2006-09-18 21:16:42 +00:00
gdbadmin
6d7c49282b
*** empty log message ***
2006-09-18 00:00:03 +00:00
Vladimir Prus
a5451f4e4e
Fix grammar.
2006-09-17 17:05:27 +00:00
Vladimir Prus
2f1acb09b6
* gdb.texinfo (GDB/MI Stack Manipulation): Mention that
...
-stack-list-arguments HIGH_FRAME argument can be larger then the
actual number of frames.
2006-09-17 17:03:51 +00:00
Vladimir Prus
cd5ff84afd
* gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
...
HIGH_FRAME argument to -stack-list-arguments can be larger than
the number of frames.
2006-09-17 15:49:32 +00:00
Vladimir Prus
f28f46e7d6
Fix grammar
2006-09-17 15:48:34 +00:00
Vladimir Prus
6e90a7df84
* mi/mi-cmd-stack.c (mi_cmd_stack_list_args): Don't emit error
...
if high requested frame number is larger then number of available
frames.
2006-09-17 15:45:50 +00:00
gdbadmin
882d0cb477
*** empty log message ***
2006-09-17 00:00:02 +00:00
Nick Roberts
97725dc4f6
(linux_test_for_tracefork): Don't leave zombie
...
process.
2006-09-16 09:48:12 +00:00
Nick Roberts
d51ca893c3
*** empty log message ***
2006-09-16 09:47:42 +00:00
Daniel Jacobowitz
04d1f77003
2006-09-16 Andrzej Zaborowski <balrog@zabor.org>
...
* interps.c (interpreter_exec_cmd): Restore interpreter properties.
2006-09-16 04:10:41 +00:00
gdbadmin
f8576127ef
*** empty log message ***
2006-09-16 00:00:03 +00:00
Daniel Jacobowitz
ae018d1aa1
* gdb.base/args.c (main): Add breakpoint marker.
...
* gdb.base/args.exp: Use args_test for tests. Add new tests which
really test empty arguments.
(args_load): Delete.
(args_test): New.
2006-09-15 20:06:42 +00:00
gdbadmin
11352df049
*** empty log message ***
2006-09-15 00:00:06 +00:00
gdbadmin
87699a25a2
*** empty log message ***
2006-09-14 00:00:32 +00:00
gdbadmin
e935a3233f
*** empty log message ***
2006-09-13 00:00:32 +00:00
Nick Roberts
cd26961926
(test_file_list_exec_source_files): Just
...
check for one file.
2006-09-12 20:11:42 +00:00
Nick Roberts
b399c54988
*** empty log message ***
2006-09-12 20:11:22 +00:00
gdbadmin
3447f01503
*** empty log message ***
2006-09-12 00:00:03 +00:00
gdbadmin
3cd97e27c1
*** empty log message ***
2006-09-11 00:00:33 +00:00
Daniel Jacobowitz
5a2901d9ed
PR threads/2149
...
* infrun.c (handle_inferior_event): Context switch after fork
and exec events.
2006-09-10 16:21:03 +00:00
Daniel Jacobowitz
4c85081011
* infcall.c (call_function_by_hand): Check for function pointer
...
types.
2006-09-10 15:44:36 +00:00
gdbadmin
a4697170c7
*** empty log message ***
2006-09-10 00:00:02 +00:00
Andreas Schwab
0ba5a9325b
* m68k-tdep.c (m68k_analyze_register_saves): Fix decoding of
...
`move.l %R,-(%sp)'.
2006-09-09 23:07:32 +00:00
gdbadmin
98cfafa399
*** empty log message ***
2006-09-09 00:00:04 +00:00
gdbadmin
1a67c70765
*** empty log message ***
2006-09-08 00:00:32 +00:00
Vladimir Prus
2ab1eb7abc
Allow the HIGH-FRAME parameter for -stack-list-frames to be larger
...
than the number of available frames.
2006-09-07 16:40:19 +00:00
Joel Brobecker
7a0b019608
From Stephan Springl <springl-gdb@bfw-online.de>
...
* fork-child.c (fork_inferior): Fix typo.
2006-09-07 16:22:57 +00:00
gdbadmin
4e6e4e6696
*** empty log message ***
2006-09-07 00:00:34 +00:00
gdbadmin
0e523c0d5e
*** empty log message ***
2006-09-06 00:00:05 +00:00
Bob Wilson
599b237a8a
* gdb.texinfo (Packets, Stop Reply Packets, General Query Packets,
...
Register Packet Format, Tracepoint Packets): Fix spelling errors.
2006-09-05 17:45:53 +00:00
gdbadmin
a0d64f3a09
*** empty log message ***
2006-09-05 00:00:04 +00:00
gdbadmin
46254bca0b
*** empty log message ***
2006-09-04 00:00:05 +00:00
gdbadmin
cd0e44bf9e
*** empty log message ***
2006-09-03 00:00:36 +00:00
Eli Zaretskii
25ab7e6d93
* gdbint.texinfo (Overall Structure): New section "Source Tree
...
Structure".
2006-09-02 15:27:16 +00:00
gdbadmin
aecec9ebcb
*** empty log message ***
2006-09-02 00:00:04 +00:00
gdbadmin
3f8e43c08b
*** empty log message ***
2006-09-01 00:00:04 +00:00
gdbadmin
69132de49a
*** empty log message ***
2006-08-31 00:00:32 +00:00
gdbadmin
c3a2a8c7ce
*** empty log message ***
2006-08-30 00:00:04 +00:00
gdbadmin
a803651292
*** empty log message ***
2006-08-29 00:00:03 +00:00
DJ Delorie
d56874a7f0
* m32c-tdep.c (m32c_decode_srcdest4): Initialize fields in sd
...
that may not be initialized elsewhere.
(m32c_decode_sd23): Likewise.
2006-08-28 21:13:31 +00:00
gdbadmin
289397ccec
*** empty log message ***
2006-08-28 00:00:03 +00:00
gdbadmin
6b9d051173
*** empty log message ***
2006-08-27 00:00:33 +00:00
gdbadmin
d65a9acaa0
*** empty log message ***
2006-08-26 00:00:35 +00:00
Daniel Jacobowitz
14711c8202
* buildsym.c (finish_block): Don't adjust the boundaries of
...
nested functions.
2006-08-25 16:32:32 +00:00
gdbadmin
ca0ef6cdf0
*** empty log message ***
2006-08-25 00:00:06 +00:00
Andreas Schwab
f414f22f4b
* symfile.c (add_symbol_file_command): Fix off-by-one when
...
extending sect_opts.
2006-08-24 12:43:10 +00:00
gdbadmin
00e96125e7
*** empty log message ***
2006-08-24 00:00:06 +00:00
Nick Roberts
e93364c801
Refer to next release of Emacs as 22.1.
2006-08-23 21:29:06 +00:00
Nick Roberts
461c8a2c97
*** empty log message ***
2006-08-23 21:28:49 +00:00
gdbadmin
9c12d5d39a
*** empty log message ***
2006-08-23 00:00:03 +00:00
Nick Roberts
317531b215
(gdbmi): Remove gdb-force-update, initialize
...
other variables.
(gdbmi-send): Ensure any text properties can be removed.
(gdbmi-prompt1): Update to gdb-ui.el
(gud-gdbmi-marker-filter): Defer setting of gud-running.
Keep gdb-done-regexp for partial-output-buffer.
(gdb-stack-list-frames-handler): Add face to function names.
2006-08-22 21:45:22 +00:00
Nick Roberts
77a458b31a
*** empty log message ***
2006-08-22 21:44:57 +00:00
Mark Kettenis
316703b918
* valprint.c (val_print_type_code_flags): Fix GNU coding standards
...
violation.
2006-08-22 21:36:05 +00:00
Mark Kettenis
2a1ce6ec59
* alpha-tdep.c (alpha_register_to_value, alpha_value_to_register)
...
(alpha_push_dummy_call, alpha_extract_return_value)
(alpha_breakpoint_from_pc, alpha_read_insn)
(alpha_get_longjmp_target, alpha_supply_int_regs)
(alpha_fill_int_regs, alpha_supply_fp_regs, alpha_fill_fp_regs)
(alpha_next_pc): Use gdb_byte instead of (unsigned) char where
appropriate.
2006-08-22 21:31:36 +00:00
Mark Kettenis
fd93680669
* sparc64-tdep.c (sparc64_pstate_type, sparc64_fsr_type)
...
(sparc64_fprs_type): New variables.
(sparc64_init_types): New function.:
(sparc64_register_info): Use appropriate flag types for %fsr and
%fprs.
(sparc64_pseudo_register_info): Use appropriate type for %pstate.
(_initialize_sparc64_tdep): New function.
2006-08-22 20:57:56 +00:00
Mark Kettenis
befae75944
* valprint.c (val_print_type_code_flags): Fix for bitfields larger
...
than 32 bits.
2006-08-22 20:32:39 +00:00
Mark Kettenis
76b7178d0d
* gdbtypes.c (init_flags_type): Set all fields to zero instead of
...
just the first one.
2006-08-22 19:45:12 +00:00
Daniel Jacobowitz
d3f4f91a6f
* Makefile.in (INTERNAL_CPPFLAGS): New.
...
(INTERNAL_CFLAGS_BASE): Use it.
2006-08-22 19:08:31 +00:00
Michael Snyder
a98b27f2d3
2006-08-22 Michael Snyder <Michael.Snyder@PalmSource.com>
...
* MAINTAINERS: Update my email address.
2006-08-22 17:57:41 +00:00
gdbadmin
17ebfa3aa6
*** empty log message ***
2006-08-22 00:00:02 +00:00
gdbadmin
1f01065bba
*** empty log message ***
2006-08-21 00:00:32 +00:00
gdbadmin
21bbd819bf
*** empty log message ***
2006-08-20 00:00:33 +00:00
Daniel Jacobowitz
8695c747d8
gdb/
...
* Makefile.in (amd64_linux_tdep_h): New.
(amd64-linux-nat.o, amd64-linux-tdep.o): Update.
* amd64-linux-nat.c (amd64_linux_gregset64_reg_offset): Add
ORIG_RAX.
(_initialize_amd64_linux_nat): Set amd64_native_gregset64_num_regs.
* amd64-linux-tdep.c (amd64_linux_register_name)
(amd64_linux_register_type, amd64_linux_register_reggroup_p)
(amd64_linux_write_pc): New.
(amd64_linux_init_abi): Use them, and update num_regs.
* amd64-linux-tdep.h: New file.
* amd64-tdep.c (amd64_register_name, amd64_register_type): Make
public.
* amd64-tdep.h (amd64_register_name, amd64_register_type): New
prototypes.
* regformats/reg-x86-64-linux.dat: New file.
gdb/testsuite/
* Makefile.in (clean): Clean reg-x86-64-linux.c.
(reg-x86-64-linux.o, reg-x86-64-linux.c): New.
* configure.srv (x86_64-*-linux*): Use reg-x86-64-linux.o.
* linux-x86-64-low.c (x86_64_regmap): Include ORIG_RAX.
(x86_64_fill_gregset, x86_64_store_gregset): Skip floating
point registers.
2006-08-19 15:15:18 +00:00
Daniel Jacobowitz
c17eaafea7
* infrun.c (handle_inferior_event): Check the current frame ID
...
before unwinding to the previous frame.
2006-08-19 03:19:00 +00:00
gdbadmin
68dcea0dfb
*** empty log message ***
2006-08-19 00:00:02 +00:00
Fred Fish
476308bf9b
Reviewed and approved by Daniel Jacobowitz <dan@codesourcery.com>
...
2006-08-18 Fred Fish <fnf@specifix.com>
* lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
'$' in front of skip_vmx_tests_saved when setting that.
2006-08-18 18:34:18 +00:00
Daniel Jacobowitz
61049d3bcf
* dwarf2read.c (quirk_gcc_member_function_pointer): Add GCC PR
...
number in a comment.
2006-08-18 13:26:31 +00:00
Mark Kettenis
2c9771d330
* sparc-nat.c (sparc_xfer_wcookie): Signal EOF. Tweak comment.
2006-08-18 08:49:04 +00:00
Daniel Jacobowitz
c0dd20ea15
* dwarf2read.c (quirk_gcc_member_function_pointer): New.
...
(read_structure_type): Call it.
2006-08-18 04:10:30 +00:00
gdbadmin
0b999e72de
*** empty log message ***
2006-08-18 00:00:06 +00:00
Jim Blandy
940178d305
* gdb.texinfo (Stop Reply Packets): Note similarity of 'S' and 'T'
...
responses.
2006-08-17 18:47:49 +00:00
gdbadmin
16df07d727
*** empty log message ***
2006-08-17 00:00:33 +00:00
Daniel Jacobowitz
17218d9171
* NEWS: Mention "set trust-readonly-sections" fix.
2006-08-16 20:33:23 +00:00
Daniel Jacobowitz
2bc416ba69
* remote.c, target.c: Strip trailing whitespace.
2006-08-16 18:31:03 +00:00
gdbadmin
370dace982
*** empty log message ***
2006-08-16 00:00:02 +00:00
Daniel Jacobowitz
cf7a04e8fb
PR remote/1966
...
* dcache.c (dcache_write_line): Use target_write.
(dcache_read_line): Use target_read.
* mi/mi-main.c (mi_cmd_data_read_memory): Use target_read.
* symfile.c (struct load_section_data): Add new per-section
members.
(load_progress): New function.
(load_section_callback): Pass load_progress to the new
target_write_with_progress.
* target.c (current_xfer_partial, memory_xfer_partial): New.
(target_xfer_partial): New prototype.
(target_xfer_memory, target_xfer_partial_p, xfer_using_stratum)
(do_xfer_memory, target_xfer_memory_partial)
(target_read_memory_partial, target_write_memory_partial): Delete.
(trust_readonly): Move higher in the file.
(update_current_target): Use current_xer_partial.
(target_xfer_partial): Use memory_xfer_partial. Handle
TARGET_OBJECT_RAW_MEMORY specially.
(target_read_memory): Use target_read.
(target_write_memory): Use target_write.
(default_xfer_partial): Call to_xfer_partial directly.
(target_write_with_progress): New function, based on target_write.
(target_write): Call it.
* target.h (enum target_object): Add TARGET_OBJECT_RAW_MEMORY.
(target_write_with_progress): New prototype.
(do_xfer_memory, target_read_memory_partial)
(target_write_memory_partial): Delete prototypes.
2006-08-15 18:46:25 +00:00
Daniel Jacobowitz
b2182ed226
* remote.c (remote_write_bytes): Take a const buffer argument.
...
Do the checks from remote_xfer_memory.
(remote_read_bytes): Do the checks from remote_xfer_memory.
(remote_xfer_memory): Remove checks pushed into lower level
functions.
(remote_xfer_partial): Call remote_write_bytes and remote_read_bytes
directly.
* remote.h (remote_write_bytes): Update prototype.
2006-08-15 18:17:57 +00:00
gdbadmin
6e3f963ed9
*** empty log message ***
2006-08-15 00:00:04 +00:00
gdbadmin
640dd5395f
*** empty log message ***
2006-08-14 00:00:03 +00:00
gdbadmin
c833036897
*** empty log message ***
2006-08-13 00:00:03 +00:00
gdbadmin
2dc38f2c25
*** empty log message ***
2006-08-12 00:00:03 +00:00
Andrew Stubbs
9fa66fd711
2006-08-11 Andrew Stubbs <andrew.stubbs@st.com>
...
* NEWS: Add 'set trace-commands' command.
2006-08-11 12:46:03 +00:00
gdbadmin
0b580bf56c
*** empty log message ***
2006-08-11 00:00:04 +00:00
Andrew Stubbs
8625200f9f
2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
...
gdb/
* cli/cli-script.c (execute_user_command): Update command_next_depth
on user-command call.
gdb/testsuite
* gdb.base/trace-commands.exp: New file.
2006-08-10 16:06:25 +00:00
Daniel Jacobowitz
089ec8f1ac
* gdb.base/step-bt.exp: Make hexadecimal address optional in
...
expected output of the backtrace commands.
2006-08-10 13:05:18 +00:00
Joel Brobecker
b60f089831
* gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
...
untested followed by return combination.
* gdb.arch/altivec-regs.exp: Likewise.
* gdb.arch/e500-abi.exp: Likewise.
* gdb.arch/e500-regs.exp: Likewise.
* gdb.arch/gdb1291.exp: Likewise.
* gdb.arch/gdb1431.exp: Likewise.
* gdb.arch/gdb1558.exp: Likewise.
* gdb.arch/i386-prologue.exp: Likewise.
* gdb.arch/i386-unwind.exp: Likewise.
* gdb.asm/asm-source.exp: Likewise.
* gdb.base/a2-run.exp: Likewise.
* gdb.base/advance.exp: Likewise.
* gdb.base/all-bin.exp: Likewise.
* gdb.base/annota1.exp: Likewise.
* gdb.base/annota3.exp: Likewise.
* gdb.base/args.exp: Likewise.
* gdb.base/arithmet.exp: Likewise.
* gdb.base/assign.exp: Likewise.
* gdb.base/async.exp: Likewise.
* gdb.base/attach.exp: Likewise.
* gdb.base/bang.exp: Likewise.
* gdb.base/bigcore.exp: Likewise.
* gdb.base/bitfields.exp: Likewise.
* gdb.base/bitfields2.exp: Likewise.
* gdb.base/break.exp: Likewise.
* gdb.base/call-sc.exp: Likewise.
* gdb.base/call-strs.exp: Likewise.
* gdb.base/callfuncs.exp: Likewise.
* gdb.base/checkpoint.exp: Likewise.
* gdb.base/chng-syms.exp: Likewise.
* gdb.base/code-expr.exp: Likewise.
* gdb.base/commands.exp: Likewise.
* gdb.base/completion.exp: Likewise.
* gdb.base/cond-expr.exp: Likewise.
* gdb.base/condbreak.exp: Likewise.
* gdb.base/consecutive.exp: Likewise.
* gdb.base/constvars.exp: Likewise.
* gdb.base/corefile.exp: Likewise.
* gdb.base/cvexpr.exp: Likewise.
* gdb.base/dbx.exp: Likewise.
* gdb.base/define.exp: Likewise.
* gdb.base/detach.exp: Likewise.
* gdb.base/display.exp: Likewise.
* gdb.base/dump.exp: Likewise.
* gdb.base/ena-dis-br.exp: Likewise.
* gdb.base/ending-run.exp: Likewise.
* gdb.base/environ.exp: Likewise.
* gdb.base/eval-skip.exp: Likewise.
* gdb.base/exprs.exp: Likewise.
* gdb.base/fileio.exp: Likewise.
* gdb.base/finish.exp: Likewise.
* gdb.base/float.exp: Likewise.
* gdb.base/foll-exec.exp: Likewise.
* gdb.base/foll-fork.exp: Likewise.
* gdb.base/foll-vfork.exp: Likewise.
* gdb.base/freebpcmd.exp: Likewise.
* gdb.base/funcargs.exp: Likewise.
* gdb.base/gcore.exp: Likewise.
* gdb.base/gdb1090.exp: Likewise.
* gdb.base/gdb1250.exp: Likewise.
* gdb.base/huge.exp: Likewise.
* gdb.base/info-proc.exp: Likewise.
* gdb.base/interrupt.exp: Likewise.
* gdb.base/jump.exp: Likewise.
* gdb.base/langs.exp: Likewise.
* gdb.base/lineinc.exp: Likewise.
* gdb.base/list.exp: Likewise.
* gdb.base/logical.exp: Likewise.
* gdb.base/long_long.exp: Likewise.
* gdb.base/macscp.exp: Likewise.
* gdb.base/maint.exp: Likewise.
* gdb.base/mips_pro.exp: Likewise.
* gdb.base/miscexprs.exp: Likewise.
* gdb.base/multi-forks.exp: Likewise.
* gdb.base/opaque.exp: Likewise.
* gdb.base/overlays.exp: Likewise.
* gdb.base/pc-fp.exp: Likewise.
* gdb.base/pointers.exp: Likewise.
* gdb.base/printcmds.exp: Likewise.
* gdb.base/psymtab.exp: Likewise.
* gdb.base/ptype.exp: Likewise.
* gdb.base/recurse.exp: Likewise.
* gdb.base/relational.exp: Likewise.
* gdb.base/relocate.exp: Likewise.
* gdb.base/remote.exp: Likewise.
* gdb.base/reread.exp: Likewise.
* gdb.base/restore.exp: Likewise.
* gdb.base/return.exp: Likewise.
* gdb.base/return2.exp: Likewise.
* gdb.base/scope.exp: Likewise.
* gdb.base/sect-cmd.exp: Likewise.
* gdb.base/sep.exp: Likewise.
* gdb.base/sepdebug.exp: Likewise.
* gdb.base/setshow.exp: Likewise.
* gdb.base/setvar.exp: Likewise.
* gdb.base/sigall.exp: Likewise.
* gdb.base/sigbpt.exp: Likewise.
* gdb.base/signals.exp: Likewise.
* gdb.base/signull.exp: Likewise.
* gdb.base/sizeof.exp: Likewise.
* gdb.base/solib.exp: Likewise.
* gdb.base/step-line.exp: Likewise.
* gdb.base/step-test.exp: Likewise.
* gdb.base/structs.exp: Likewise.
* gdb.base/structs2.exp: Likewise.
* gdb.base/term.exp: Likewise.
* gdb.base/twice.exp: Likewise.
* gdb.base/until.exp: Likewise.
* gdb.base/varargs.exp: Likewise.
* gdb.base/volatile.exp: Likewise.
* gdb.base/watchpoint.exp: Likewise.
* gdb.base/whatis-exp.exp: Likewise.
* gdb.base/whatis.exp: Likewise.
* gdb.cp/ambiguous.exp: Likewise.
* gdb.cp/annota2.exp: Likewise.
* gdb.cp/annota3.exp: Likewise.
* gdb.cp/bool.exp: Likewise.
* gdb.cp/breakpoint.exp: Likewise.
* gdb.cp/casts.exp: Likewise.
* gdb.cp/class2.exp: Likewise.
* gdb.cp/classes.exp: Likewise.
* gdb.cp/cplusfuncs.exp: Likewise.
* gdb.cp/ctti.exp: Likewise.
* gdb.cp/derivation.exp: Likewise.
* gdb.cp/exception.exp: Likewise.
* gdb.cp/gdb1355.exp: Likewise.
* gdb.cp/hang.exp: Likewise.
* gdb.cp/inherit.exp: Likewise.
* gdb.cp/local.exp: Likewise.
* gdb.cp/m-data.exp: Likewise.
* gdb.cp/m-static.exp: Likewise.
* gdb.cp/member-ptr.exp: Likewise.
* gdb.cp/method.exp: Likewise.
* gdb.cp/misc.exp: Likewise.
* gdb.cp/namespace.exp: Likewise.
* gdb.cp/overload.exp: Likewise.
* gdb.cp/ovldbreak.exp: Likewise.
* gdb.cp/pr-1023.exp: Likewise.
* gdb.cp/pr-1210.exp: Likewise.
* gdb.cp/pr-574.exp: Likewise.
* gdb.cp/printmethod.exp: Likewise.
* gdb.cp/psmang.exp: Likewise.
* gdb.cp/ref-params.exp: Likewise.
* gdb.cp/ref-types.exp: Likewise.
* gdb.cp/rtti.exp: Likewise.
* gdb.cp/templates.exp: Likewise.
* gdb.cp/try_catch.exp: Likewise.
* gdb.cp/userdef.exp: Likewise.
* gdb.cp/virtfunc.exp: Likewise.
* gdb.disasm/am33.exp: Likewise.
* gdb.disasm/h8300s.exp: Likewise.
* gdb.disasm/mn10300.exp: Likewise.
* gdb.disasm/sh3.exp: Likewise.
* gdb.disasm/t01_mov.exp: Likewise.
* gdb.disasm/t02_mova.exp: Likewise.
* gdb.disasm/t03_add.exp: Likewise.
* gdb.disasm/t04_sub.exp: Likewise.
* gdb.disasm/t05_cmp.exp: Likewise.
* gdb.disasm/t06_ari2.exp: Likewise.
* gdb.disasm/t07_ari3.exp: Likewise.
* gdb.disasm/t08_or.exp: Likewise.
* gdb.disasm/t09_xor.exp: Likewise.
* gdb.disasm/t10_and.exp: Likewise.
* gdb.disasm/t11_logs.exp: Likewise.
* gdb.disasm/t12_bit.exp: Likewise.
* gdb.disasm/t13_otr.exp: Likewise.
* gdb.hp/gdb.aCC/optimize.exp: Likewise.
* gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
* gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
* gdb.hp/gdb.base-hp/dollar.exp: Likewise.
* gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
* gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
* gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
* gdb.hp/gdb.base-hp/reg.exp: Likewise.
* gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
* gdb.hp/gdb.compat/xdb1.exp: Likewise.
* gdb.hp/gdb.compat/xdb3.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
* gdb.mi/gdb701.exp: Likewise.
* gdb.mi/gdb792.exp: Likewise.
* gdb.mi/mi-basics.exp: Likewise.
* gdb.mi/mi-break.exp: Likewise.
* gdb.mi/mi-cli.exp: Likewise.
* gdb.mi/mi-console.exp: Likewise.
* gdb.mi/mi-disassemble.exp: Likewise.
* gdb.mi/mi-eval.exp: Likewise.
* gdb.mi/mi-file.exp: Likewise.
* gdb.mi/mi-read-memory.exp: Likewise.
* gdb.mi/mi-regs.exp: Likewise.
* gdb.mi/mi-return.exp: Likewise.
* gdb.mi/mi-simplerun.exp: Likewise.
* gdb.mi/mi-stack.exp: Likewise.
* gdb.mi/mi-stepi.exp: Likewise.
* gdb.mi/mi-syn-frame.exp: Likewise.
* gdb.mi/mi-until.exp: Likewise.
* gdb.mi/mi-var-block.exp: Likewise.
* gdb.mi/mi-var-child.exp: Likewise.
* gdb.mi/mi-var-cmd.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi-watch.exp: Likewise.
* gdb.mi/mi2-basics.exp: Likewise.
* gdb.mi/mi2-break.exp: Likewise.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi2-console.exp: Likewise.
* gdb.mi/mi2-disassemble.exp: Likewise.
* gdb.mi/mi2-eval.exp: Likewise.
* gdb.mi/mi2-file.exp: Likewise.
* gdb.mi/mi2-read-memory.exp: Likewise.
* gdb.mi/mi2-regs.exp: Likewise.
* gdb.mi/mi2-return.exp: Likewise.
* gdb.mi/mi2-simplerun.exp: Likewise.
* gdb.mi/mi2-stack.exp: Likewise.
* gdb.mi/mi2-stepi.exp: Likewise.
* gdb.mi/mi2-syn-frame.exp: Likewise.
* gdb.mi/mi2-until.exp: Likewise.
* gdb.mi/mi2-var-block.exp: Likewise.
* gdb.mi/mi2-var-child.exp: Likewise.
* gdb.mi/mi2-var-cmd.exp: Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
* gdb.mi/mi2-watch.exp: Likewise.
* gdb.stabs/exclfwd.exp: Likewise.
* gdb.stabs/weird.exp: Likewise.
* gdb.threads/gcore-thread.exp: Likewise.
* gdb.trace/actions.exp: Likewise.
* gdb.trace/backtrace.exp: Likewise.
* gdb.trace/circ.exp: Likewise.
* gdb.trace/collection.exp: Likewise.
* gdb.trace/deltrace.exp: Likewise.
* gdb.trace/infotrace.exp: Likewise.
* gdb.trace/limits.exp: Likewise.
* gdb.trace/packetlen.exp: Likewise.
* gdb.trace/passc-dyn.exp: Likewise.
* gdb.trace/passcount.exp: Likewise.
* gdb.trace/report.exp: Likewise.
* gdb.trace/save-trace.exp: Likewise.
* gdb.trace/tfind.exp: Likewise.
* gdb.trace/tracecmd.exp: Likewise.
* gdb.trace/while-dyn.exp: Likewise.
* gdb.trace/while-stepping.exp: Likewise.
2006-08-10 05:27:22 +00:00
gdbadmin
1367124163
*** empty log message ***
2006-08-10 00:00:02 +00:00
Joel Brobecker
4f8253f312
* NEWS: Add entry for new substitute-path commands.
2006-08-09 16:50:04 +00:00
gdbadmin
d7d01e3062
*** empty log message ***
2006-08-09 00:00:03 +00:00
Joel Brobecker
30daae6caf
* gdb.texinfo (Source Path): Add documentation for new
...
substitute-path commands.
2006-08-08 22:18:22 +00:00
Joel Brobecker
2f61ca93c2
* source.c: #include gdb_assert.h.
...
(substitute_path_rule): New struct.
(substitute_path_rules): New static global variable.
(substitute_path_rule_matches): New function.
(get_substitute_path_rule): New function.
(rewrite_source_path): New function.
(find_and_open_source): Add source path rewriting support.
(strip_trailing_directory_separator): New function.
(find_substitute_path_rule): New function.
(add_substitute_path_rule): New function.
(delete_substitute_path_rule): New function.
(show_substitute_path_command): New function.
(unset_substitute_path_command): New function.
(set_substitute_path_command): New function.
(_initialize_source): Add new substitute-path commands.
* Makefile.in (source.o): Add dependency on gdb_assert.h.
2006-08-08 22:06:06 +00:00
Joel Brobecker
f4b618d163
* gdb.base/step-bt.c: New file.
...
* gdb.base/step-bt.exp: New testcase.
2006-08-08 21:50:54 +00:00
Joel Brobecker
24a2a65414
* i386-tdep.c (i386_follow_jump): Use read_memory_nobpt to read
...
instructions.
(i386_analyze_struct_return): Likewise.
(i386_skip_probe): Likewise.
(i386_match_insn): Likewise.
(i386_analyze_frame_setup): Likewise.
(i386_analyze_register_saves): Likewise.
(i386_skip_prologue): Likewise.
2006-08-08 21:36:46 +00:00
Joel Brobecker
359a926234
* gdbcore.h (read_memory_nobpt): New function name instead of
...
deprecated_read_memory_nobpt.
* breakpoint.c (read_memory_nobpt): New function name instead
of deprecated_read_memory_nobpt.
Adjust calls to old deprecated_read_memory_nobpt accordingly.
* alpha-tdep.c: Adjust calls to deprecated_read_memory_nobpt
accordingly.
* alphanbsd-tdep.c: Likewise.
* frame.c: Likewise.
* frv-tdep.c: Likewise.
* hppa-linux-tdep.c: Likewise.
* hppa-tdep.c: Likewise.
* i386-linux-nat.c: Likewise.
* m68klinux-tdep.c: Likewise.
* mips-tdep.c: Likewise.
* s390-tdep.c: Likewise.
2006-08-08 21:32:48 +00:00
Daniel Jacobowitz
3841debee7
Commit missed files from last patch.
2006-08-08 20:32:15 +00:00
Daniel Jacobowitz
7fa2210be8
gdb/
...
* configure.ac: Check for expat.
* acinclude.m4: Include AC_LIB_HAVE_LINKFLAGS dependencies.
* Makefile.in (LIBEXPAT): New.
(CLIBS): Include $(LIBEXPAT).
* README: Mention expat.
* configure, config.in: Regenerated.
gdb/doc/
* gdb.texinfo (Installing GDB): Update menu. Move text to...
(Running Configure): ...here.
(Requirements): New node. Mention expat.
2006-08-08 20:26:23 +00:00
Daniel Jacobowitz
ce928021ab
gdb/
...
* config/sparc/embed.mt: New file.
* configure.tgt (sparc-*-rtems*): Use embed.mt.
sim/
* configure.ac (sparc-*-rtems*|sparc-*-elf*): Enable erc32 simulator.
* Makefile.in (FLAGS_TO_PASS): Include libdir.
* configure: Regenerated.
sim/erc32/
* Makefile.in (func.o, help.o): Correct dependencies.
* Makefile.in (install-sis): Honor DESTDIR.
2006-08-08 18:57:25 +00:00
Daniel Jacobowitz
9bdcbae7fe
* Makefile.in (objfiles.o, symfile.o): Update.
...
* objfiles.c: Include "expression.h" and "parser-defs.h".
(free_objfile): Clear global blocks.
* symfile.c: Include "parser-defs.h".
(clear_symtab_users): Clear global blocks.
2006-08-08 17:39:10 +00:00
Thiemo Seufer
6798554723
* breakpoint.c (update_breakpoints_after_exec): Fix type mismatch.
2006-08-08 16:05:13 +00:00
Richard Sandiford
290fadea96
gdb/gdbserver/
...
* server.c (terminal_fd): New variable.
(old_foreground_pgrp): Likewise.
(restore_old_foreground_pgrp): New function.
(start_inferior): Record the terminal file descriptor in terminal_fd
and its original foreground group in old_foreground_pgrp. Register
restore_old_foreground_pgrp with atexit().
2006-08-08 16:03:29 +00:00
Daniel Jacobowitz
3d00d119d3
gdb/
...
* symfile.c (download_write_size): Remove.
(show_download_write_size): Remove.
(load_section_callback): Don't use download_write_size.
(_initialize_symfile): Don't register download_write_size.
* NEWS: Mention 'download-write-size' removal.
gdb/doc/
* gdb.texinfo (Target Commands): Remove
'set download-write-size' and 'show download-write-size'.
gdb/testsuite/
* config/monitor.exp (gdb_load): Remove support for obsolete
download-write-size.
* gdb.base/remote.exp: Likewise. Update all callers of
gdb_timed_load.
2006-08-08 15:48:08 +00:00
gdbadmin
e23fe066f1
*** empty log message ***
2006-08-08 00:00:35 +00:00
Daniel Jacobowitz
0534816df0
* expprint.c (print_subexp_standard, dump_subexp_body_standard): Add
...
support for member pointers.
2006-08-07 03:30:54 +00:00
gdbadmin
5a2fdac0e2
*** empty log message ***
2006-08-07 00:00:35 +00:00
gdbadmin
5473f9ce1b
*** empty log message ***
2006-08-06 00:00:34 +00:00
gdbadmin
d4d7eac9b6
*** empty log message ***
2006-08-05 00:00:03 +00:00
gdbadmin
9b86ba52c4
*** empty log message ***
2006-08-04 00:00:38 +00:00
gdbadmin
e18850afea
*** empty log message ***
2006-08-03 00:00:02 +00:00
Daniel Jacobowitz
017b5bd423
* cursal.exp: Pass binfile to gdb_load.
2006-08-02 22:30:20 +00:00
Mark Kettenis
47ccd04848
* arm-tdep.h: Add multiple inclusion protection.
...
(struct gdbarch): Add forward declaration.
(armobsd_regset_from_core_section): New prototype.
* armbsd-tdep.c: New file.
* armobsd-tdep.c: Include "gdb_string.h".
(armobsd_init_abi): Set regset_from_core_section.
(armobsd_core_osabi_sniffer): New function.
(_initialize_armobsd_tdep): Register armobsd_core_osabi_sniffer.
* Makefile.in (ALLDEPFILES): Add armbsd-tdep.c.
(armbsd-tdep.o): New dependency.
(armnbsd-tdep.o): Update dependencies.
* config/arm/obsd.mt (TDEPFILES): Add armbsd-tdep.o and corelow.o.
2006-08-02 21:32:37 +00:00
Thiemo Seufer
8717790563
* linux-thread-db.c (thread_db_get_thread_local_address): Fix type
...
mismatch.
* tui/tui-stack.c (tui_show_frame_info): Likewise.
2006-08-02 10:24:00 +00:00
Daniel Jacobowitz
0cbfa4ee32
* stabs.texinfo (Member Type Descriptor): Correct example for
...
pointer to member types.
2006-08-02 03:31:21 +00:00
Daniel Jacobowitz
a22229c4cd
* c-exp.y (type): Remove incorrect pointer to member case.
...
* objc-exp.y (type): Likewise.
* p-exp.y (type): Likewise.
2006-08-02 03:13:20 +00:00
gdbadmin
02c21251a2
*** empty log message ***
2006-08-02 00:00:36 +00:00
Daniel Jacobowitz
837c599de6
* gdb.base/cursal.exp: Add "" to gdb_load call.
2006-08-01 22:57:49 +00:00
Mark Kettenis
7c00367c28
* arm-tdep.h (enum struct_return): New.
...
(struct gdbarch_tdep): Add struct_return member.
* arm-tdep.c (arm_return_value): Return
RETURN_VALUE_STRUCT_CONVENTION for aggregates when the ABI uses
pcc_struct_return.
(arm_gdbarch_init): Default to reg_struct_return.
* armobsd-tdep.c (armobsd_init_abi): Set pcc_struct_return.
2006-08-01 18:27:52 +00:00
gdbadmin
ae55530d3d
*** empty log message ***
2006-08-01 00:00:33 +00:00
Mark Kettenis
4816ec693b
* alpha-tdep.h (ALPHA_S0_REGNUM): New define.
...
* alphabsd-nat.c: Include <sys/types.h>, <sys/signal.h>,
<machine/pcb.h> and "bsd-kvm.h".
(alphabsd_supply_pcb): New function.
(_initialize_alphabsd_nat): Enable libkvm interface.
* Makefile.in (alphabsd-nat.o): Update dependencies.
* config/alpha/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* config/alpha/nbsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
2006-07-31 20:15:50 +00:00
Fred Fish
35d5d4ee3d
Reviewed by Daniel Jacobowitz <drow@false.org>
...
2006-07-31 Fred Fish <fnf@specifix.com>
* arm-tdep.c (arm_make_prologue_cache): Use FRAME_OBSTACK_ZALLOC
instead of calling frame_obstack_zalloc directly.
(arm_make_stub_cache): Ditto.
* frame-unwind.h: Ditto.
* frame.c (create_new_frame): Ditto.
2006-07-31 17:33:30 +00:00
gdbadmin
4b65dc6e93
*** empty log message ***
2006-07-31 00:00:33 +00:00
gdbadmin
0429061277
*** empty log message ***
2006-07-30 00:00:02 +00:00
Mark Kettenis
8dd4540b7d
* gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
...
NetBSD/ELF targets.
2006-07-29 19:15:00 +00:00
gdbadmin
e1eaa37962
*** empty log message ***
2006-07-29 00:00:02 +00:00
gdbadmin
07115db979
*** empty log message ***
2006-07-28 00:00:33 +00:00
Bob Wilson
0f9e5f32ca
* MAINTAINERS (Write After Approval): Add myself.
2006-07-27 23:02:56 +00:00
Daniel Jacobowitz
e896d70e97
* main.c (captured_main): Print a newline after calling
...
print_gdb_version instead of waiting until after the symbol file
has been read. Adjust error_pre_print, quit_pre_print, and
warning_pre_print values.
2006-07-27 21:31:40 +00:00
Daniel Jacobowitz
f58b68aaee
* irix5-nat.c (fetch_core_registers): Simplify and correct logic.
2006-07-27 21:27:12 +00:00
Daniel Jacobowitz
159f81f32f
* target.h (target_read_stralloc): New prototype.
...
* target.c (target_read_alloc_1): Renamed from target_read_alloc.
Take new PADDING argument.
(target_read_alloc): Use it.
(target_read_stralloc): New function.
2006-07-27 21:23:42 +00:00
Daniel Jacobowitz
9f2e1e6389
* server.c (handle_query): Correct qPart to qXfer.
2006-07-27 00:06:12 +00:00
Daniel Jacobowitz
40e57cf227
* remote.c (remote_protocol_features): Correct qPart to qXfer.
2006-07-27 00:06:02 +00:00
gdbadmin
ee5bb91ef1
*** empty log message ***
2006-07-27 00:00:35 +00:00
gdbadmin
5c998c53f5
*** empty log message ***
2006-07-26 00:00:02 +00:00
Daniel Jacobowitz
ab5c9f60b7
gdb/
...
* eval.c (evaluate_subexp_for_address): Don't incorrectly discard
calls to C++ operator*.
gdb/testsuite/
* gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
operator*.
2006-07-25 04:24:50 +00:00
gdbadmin
57d4f53f8b
*** empty log message ***
2006-07-25 00:00:02 +00:00
Daniel Jacobowitz
725a826fe2
* solib-irix.c (gdb_int32_bytes): Use gdb_byte instead of char.
...
(gdb_int64_bytes): Likewise.
(fetch_lm_info): Use .b fields of gdb_int32_bytes and gdb_int64_bytes
as first argument to extract_unsigned_integer to silence compiler
warnings.
2006-07-24 22:04:13 +00:00
Frederic Riss
72dca2f5ad
2006-07-24 Frederic Riss <frederic.riss@st.com>
...
* dwarf2read.c (struct dwarf2_per_objfile): Add
has_section_at_zero
field.
(dwarf2_locate_sections): Initialize
dwarf2_per_objfile->has_section_at_zero.
(dwarf2_get_pc_bounds): Use
dwarf2_per_objfile->has_section_at_zero
instead of HAS_RELOC test.
(read_partial_die): Ditto.
2006-07-24 21:37:04 +00:00
Daniel Jacobowitz
4c42eaff63
gdb/
...
* corefile.c (reopen_exec_file): Only check for an open exec file.
Use exec_file_attach.
* exec.c (exec_open): Make static.
(exec_file_command): Don't use target_preopen. Query directly about
changing the file.
* gdbcore.h (exec_open): Remove prototype.
gdb/testsuite/
* gdb.base/completion.exp: Update for change in "file" behavior.
* gdb.stabs/weird.exp: Likewise.
* lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
* lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
2006-07-24 20:38:08 +00:00
Frederic Riss
b05e64e5fe
2006-07-21 Frederic Riss <frederic.riss@st.com>
...
* regcache.c (struct regcache): Make register_valid_p a signed
char
array.
2006-07-24 20:10:48 +00:00
Daniel Jacobowitz
3f64f7b1c7
* linux-thread-db.c (thread_db_wait): Remove libthread_db
...
after exec events.
2006-07-24 18:57:32 +00:00
Daniel Jacobowitz
6aec2e11e5
* NEWS: Mention Windows cross debugging support.
2006-07-24 18:20:58 +00:00
Nathan Sidwell
0155cc767d
* gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
...
* gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
2006-07-24 14:20:50 +00:00
gdbadmin
2f9c733339
*** empty log message ***
2006-07-24 00:00:33 +00:00
Daniel Jacobowitz
83eba059ff
* linux-nat.c (linux_nat_add_target): Remove extern.
...
* linux-nat.h (thread_db_init): New prototype.
2006-07-23 21:21:01 +00:00
Daniel Jacobowitz
b80864fbe5
gdb/
...
* configure.tgt: Build gdbserver for Cygwin and mingw32.
gdb/gdbserver/
* configure.ac: Check for more headers which are missing on
Windows. Automatically supply -lwsock32 and USE_WIN32API.
* configure.srv: Add Cygwin and mingw32.
* remote-utils.c: Don't include headers unconditionally which
are missing on mingw32. Include <winsock.h> for mingw32.
(remote_open): Adjust for mingw32 support. Flush
standard error after writing to it.
(remote_close, putpkt_binary, input_interrupt, block_async_io)
(unblock_async_io, enable_async_io, disable_async_io)
(readchar, getpkt): Update for Winsock support.
(prepare_resume_reply): Expect a protocol signal number.
* server.c: Disable <sys/wait.h> on mingw32.
(start_inferior): Adjust for mingw32 support. Flush
standard error after writing to it.
(attach_inferior): Likewise. Use protocol signal
numbers.
(main): Skip 'D' packet on mingw32. Use protocol signal numbers
and names.
* win32-i386-low.c: New file.
* Makefile.in (XM_CLIBS): Set.
(gdbserver, gdbreplay): Use $(INTERNAL_CFLAGS).
(win32-i386-low.o): New dependency rule.
* linux-low.c (linux_wait): Use target signal numbers.
* target.h (struct target_ops): Doc fix.
* server.h (target_signal_to_name): New prototype.
* gdbreplay.c: Don't include headers unconditionally which
are missing on mingw32. Include <winsock.h> for mingw32.
(remote_close, remote_open): Adjust for Winsock support.
* configure, config.in: Regenerated.
2006-07-23 03:52:15 +00:00
Daniel Jacobowitz
66a79c16a6
* configure.in: Allow mingw32 and cygwin targets to build cross-gdb.
...
* configure: Regenerated.
gdb/
* config/i386/cygwin.mt (DEPRECATED_TM_FILE): Delete.
* config/i386/nm-cygwin.h: Add contents of tm-cygwin.h.
* config/i386/tm-cygwin.h: Delete file.
2006-07-23 03:47:44 +00:00
gdbadmin
990b869d9b
*** empty log message ***
2006-07-23 00:00:03 +00:00
Mark Kettenis
fc5261f2f3
* infrun.c (handle_inferior_event): Typo.
2006-07-22 14:48:03 +00:00
gdbadmin
f55b8bc24b
*** empty log message ***
2006-07-22 00:00:04 +00:00
Andrew Stubbs
16026cd75d
2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
...
* cli/cli-cmds.c (source_verbose, trace_commands): New variables.
(source_script): New function.
(source_verbose_cleanup): New function.
(source_command): Move old contents to source_script.
Make function static. Parse -v option and call source_script.
(init_cli_cmds): Update source command help.
Add 'set trace-commands' command.
* cli/cli-script.c (command_next_depth): New static variable.
(suppress_next_print_command_trace): New static variable.
(reset_command_nest_depth): New function.
(print_command_trace): New function.
(execute_control_command): Split the continue_control and break_control
cases, add calls to print_command_trace and count the nest depth.
(while_command): Set suppress_next_print_command_trace.
(if_command): Likewise.
* top.c (execute_command): Call print_command_trace.
* cli/cli-cmds.h (source_verbose, trace_commands): New extern variables.
(source_command): Change to source_script.
* main.c (captued_main): Use source_script instead of source_command.
* top.h (source_command): Change to source_script.
* event-top.c (display_gdb_prompt): Call reset_command_nest_depth.
* cli/cli-script.h (print_command_trace): Export.
(reset_command_nest_depth): Likewise.
docs/
* gdb.texinfo (Optional warnings and messages): Add
'set/show trace-commands'.
(Command files): Add '-v' to source command.
testsuite/
* gdb.base/default.exp: Update source command error message.
* gdb.base/help.exp: Update 'help source' message.
2006-07-21 14:46:56 +00:00
gdbadmin
4c6dbf3a9b
*** empty log message ***
2006-07-21 00:00:34 +00:00
Daniel Jacobowitz
16963cb64b
gdb/
...
* eval.c (evaluate_struct_tuple): Skip static fields.
gdb/testsuite/
* gdb.cp/bs15503.exp: Update comment for no longer crashing
test.
2006-07-20 22:50:07 +00:00
gdbadmin
5fa2b1af8c
*** empty log message ***
2006-07-20 00:00:06 +00:00
Mark Kettenis
6ea0ec3fe4
* alphaobsd-tdep.c: Include "obsd-tdep.h".
...
(alphaobsd_init_abi): Set skip_solib_resolver.
* Makefile.in (alphaobsd-tdep.o): Update dependencies.
* config/alpha/obsd.mt (TDEPFILES): Add obsd-tdep.o.
2006-07-19 23:23:35 +00:00
Mark Kettenis
6b26d61a05
* arm-tdep.c (arm_gdbarch_init): Get default floating-point model
...
from ELF flags for binaries produced by the GNU toolchain.
2006-07-19 18:21:36 +00:00
Andrew Stubbs
6d7fd486d7
2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
...
* gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
2006-07-19 13:05:21 +00:00
Nathan Sidwell
86cc68a8de
* remote-fileio.c (remote_fileio_func_rename): Reorder to process
...
input buffer before reading memory.
(remote_fileio_func_stat): Likewise.
2006-07-19 06:21:23 +00:00
Daniel Jacobowitz
29e8a84408
* blockframe.c (find_pc_partial_function): Use the minimal symbol
...
size to control the cache entry, if available.
* minsyms.c (lookup_minimal_symbol_by_pc_section): Handle minimal
symbols with zero and non-zero sizes differently.
* gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
2006-07-19 02:17:23 +00:00
gdbadmin
d6979f386c
*** empty log message ***
2006-07-19 00:00:03 +00:00
Daniel Jacobowitz
28b1733311
* linux-thread-db.c (td_thr_getfpregs_p, td_thr_getgregs_p)
...
(td_thr_setfpregs_p, td_thr_setgregs_p, thread_db_get_info)
(thread_db_fetch_registers, thread_db_store_registers)
(thread_db_thread_alive, thread_db_state_str): Delete.
(thread_db_load): Don't look up regset functions.
(thread_db_pid_to_str): Simplify.
(thread_db_extra_thread_info): New.
(init_thread_db_ops): Do not set to_fetch_registers,
to_store_registers, or to_thread_alive. Set to_extra_thread_info.
* Makefile.in: Remove linux-thread-db.o rule.
2006-07-18 22:53:20 +00:00
Mark Kettenis
e3ac4a1e11
* armobsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h".
...
(armobsd_sigframe_init): New function.
(armobsd_sigframe): New variable.
(armobsd_init_abi): Prepend armobsd_sigframe unwinder.
* Makefile.in (armobsd-tdep.o): Update dependencies.
2006-07-18 21:10:28 +00:00
Daniel Jacobowitz
08ae6d950d
* monitor.c: Remove unused prototypes.
2006-07-18 20:45:01 +00:00
Daniel Jacobowitz
6afcfa399a
* gdb.threads/print-threads.exp: Use gdb_breakpoint.
2006-07-18 19:37:23 +00:00
Vladimir Prus
0152ebd7bc
* defs.h (print_transfer_performance): Improve comments
2006-07-18 12:48:20 +00:00
Vladimir Prus
6962ad99e4
2006-07-18 Vladimir Prus <vladimir@codesourcery.com>
...
* target.c (tcomplain): Mark with ATTR_NORETURN.
2006-07-18 12:45:56 +00:00
Vladimir Prus
4ecb6f279b
2006-07-18 Vladimir Prus <vladimir@codesourcery.com>
...
* target.c (tcomplain): Mark with ATTR_NORETURN.
2006-07-18 12:44:48 +00:00
gdbadmin
8c52373870
*** empty log message ***
2006-07-18 00:00:32 +00:00
Mark Kettenis
675dcf4fc0
* printcmd.c: Coding style fixes: add missing spaces in comments
...
and wrapping long lines.
(delete_display, enable_display_command, disable_display_command)
(printf_command, display_info, undisplay_command, free_display)
(display_command, x_command, address_info, set_command)
(inspect_command, call_command, print_command, print_command_1)
(validate_format, print_formatted, decode_format, sym_format):
Remove prototypes.
(x_command): Make static.
(printf_command): Convert error into internal consistency check.
(address_info): Avoid assignment within function call.
(printf_command): Avoid redundant cast.
* tracepoint.c (x_command): Remove extern prototype.
2006-07-17 22:15:55 +00:00
Mark Kettenis
267a692b80
* gdb.base/long_long.exp (gdb_test_long_long): Exclude
...
*-*-openbsd* from targets for wich we expect ARM FPA floating
point format.
2006-07-17 22:10:03 +00:00
Mark Kettenis
aa88762a70
* armobsd-tdep.c (armobsd_init_abi): Set skip_solib_resolver.
...
* Makefile.in (armobsd-tdep.o): Update dependencies.
* config/arm/obsd.mt (TDEPFILES): Add obsd-tdep.o.
2006-07-17 19:34:57 +00:00
Nick Roberts
616f635db8
Expect frame-begin annotation.
2006-07-17 07:29:47 +00:00