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