Commit Graph

19887 Commits

Author SHA1 Message Date
Daniel Jacobowitz 01f9e8fab8 * remote-utils.c (remote_escape_output, remote_unescape_input): New.
(putpkt_binary): Renamed from putpkt and adjusted for binary
	data.
	(putpkt): New wrapper for putpkt_binary.
	(readchar): Don't mask off the high bit.
	(decode_X_packet): New function.
	* server.c (main): Call putpkt_binary if a handler sets the packet
	length.  Save the length of the incoming packet.  Handle 'X'.
	* server.h (gdb_byte, remote_escape_output, decode_X_packet): New.
2006-06-22 15:20:47 +00:00
Daniel Jacobowitz a31ea83d26 * remote.c (remote_escape_output): New function.
(remote_write_bytes): Use remote_escape_output.
2006-06-22 14:06:37 +00:00
gdbadmin 47c7e8efbb *** empty log message *** 2006-06-22 00:01:07 +00:00
Daniel Jacobowitz be2a5f717b gdb/
* NEWS: Mention qSupported.
	* remote.c (struct remote_state): Add explicit_packet_size.
	(get_remote_packet_size): Check explicit_packet_size.
	(get_memory_packet_size): Likewise.
	(PACKET_qSupported): New enum value.
	(struct protocol_feature, remote_supported_packet)
	(remote_packet_size, remote_protocol_features)
	(remote_query_supported): New.
	(remote_open_1): Reset explicit_packet_size.  Call
	remote_query_supported.
	(_initialize_remote): Register qSupported.
gdb/doc/
	* gdb.texinfo (Remote configuration): Document set / show
	remote supported-packets.
	(General Query Packets): Document qSupported packet.
gdb/gdbserver/
	* server.c (handle_query): Handle qSupported.
2006-06-21 13:57:21 +00:00
Andrew Stubbs 42b575e545 2006-06-21 Andrew Stubbs <andrew.stubbs@st.com>
* cli/cli-script.c (realloc_body_list): Zero new parts of body_list.
2006-06-21 10:49:16 +00:00
Joel Brobecker 9ae0398634 * GDB 6.5 released from GDB 6.5 branch. 2006-06-21 07:23:04 +00:00
gdbadmin 03b6d2cfd0 *** empty log message *** 2006-06-21 00:00:34 +00:00
gdbadmin dbd9748a98 *** empty log message *** 2006-06-20 00:00:32 +00:00
Michael Snyder 8b07f6d84b 2006-06-19 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (mips_eabi_push_dummy_call): For 32 bit ABI, to
	decide how many registers it takes to pass a floating point
	argument, what matters is the size of a floating point register
	(not the size of a general purpose register).
	(mips_o32_push_dummy_call): Ditto.
2006-06-19 18:50:09 +00:00
Kazuhiro Inaoka ec5a4d7599 2006-06-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* configure.tgt: Add gdbserver support for m32r-linux.
2006-06-19 01:23:26 +00:00
gdbadmin 3db766e999 *** empty log message *** 2006-06-19 00:00:33 +00:00
Mark Kettenis 8d3239d55a * m68klinux-tdep.c (m68k_linux_init_abi): Fix typo in comment. 2006-06-18 05:53:51 +00:00
gdbadmin e3a095253c *** empty log message *** 2006-06-18 00:00:03 +00:00
gdbadmin b284a6567e *** empty log message *** 2006-06-17 00:00:33 +00:00
Daniel Jacobowitz 14e60db5bc * infrun.c (insert_step_resume_breakpoint_at_caller): New function,
based on insert_step_resume_breakpoint_at_frame.
	(handle_inferior_event): Update comments.  Use
	insert_step_resume_breakpoint_at_caller.
	(insert_step_resume_breakpoint_at_frame): Revise comments.
2006-06-16 01:12:58 +00:00
gdbadmin 9026e627ad *** empty log message *** 2006-06-16 00:00:03 +00:00
gdbadmin af8fafa3bf *** empty log message *** 2006-06-15 00:00:04 +00:00
Julian Brown 81a17f794b * dwarf2read.c (read_unspecified_type): New function.
(read_type_die): Handle DW_TAG_unspecified_type.
	(Committed by Julian Brown.)
2006-06-14 15:06:35 +00:00
gdbadmin fb897e0507 *** empty log message *** 2006-06-14 00:00:02 +00:00
Daniel Jacobowitz 6490cafe41 * symfile.c (load_command): Check for a changed executable before
"load".
2006-06-13 20:54:42 +00:00
Fred Fish 22e47e37c4 Approved by Daniel Jacobowitz.
2006-06-13  Fred Fish  <fnf@specifix.com>
	* mips-tdep.c (mips_find_long_section): New function.
	(mips_gdbarch_init): Use it to set long and pointer sizes.
2006-06-13 18:17:20 +00:00
Nathan Sidwell e63b55d15b * lib/gdb.exp (gdb_load_cmd): New. 2006-06-13 13:20:25 +00:00
Nathan Sidwell 5600ea19e0 gdb/
* remote-file.io.c (remote_fileio_func_system): Treat zero length
	string as NULL.  Adjust for NULL pointer argument.
	* doc/gdb.texinfo (system): Document behaviour with zero length
	string.

	gdb/testsuite/
	* gdb.base/fileio.c: Add system(NULL) test.
	* gdb.base/fileio.exp: Check it.
2006-06-13 08:55:22 +00:00
Nathan Sidwell e1c2defab5 * gdb.base/break.c: Add 10a breakpoint at }
* gdb.base/break.exp: Add test for breakpoint at }
	* gdb.cp/anon-union.cc: Add code at end of function.
	* gdb.cp/anon-union.exp: Adjust end of function breakpoint.
	* gdb.mi/var-cmd.c: Add code at end of function.
	* gdb.mi/mi-var-display.exp: Adjust end of next.
	* gdb.mi/mi2-var-display.exp: Likewise.
	* gdb.base/fileio.c: Add stop function and insert calls at
	stopping places.
	* gdb.base/fileio.exp: Breakpoint stop function and remove
	explicit line number references.
2006-06-13 08:46:17 +00:00
gdbadmin 8155f0a095 *** empty log message *** 2006-06-13 00:00:34 +00:00
Daniel Jacobowitz bb572ddd39 * remote.c (set_remote_protocol_packet_cmd)
(show_remote_protocol_packet_cmd): New prototypes.
	(remote_set_cmdlist, remote_show_cmdlist): Move higher.
	(struct packet_config): Make name and title const.
	(add_packet_config_cmd): Remove unnecessary arguments.
	(_initialize_remote): Update calls.
2006-06-12 19:16:19 +00:00
gdbadmin 13dce8ef13 *** empty log message *** 2006-06-12 00:00:32 +00:00
gdbadmin dbed2504e9 *** empty log message *** 2006-06-11 00:00:35 +00:00
Sandra Loosemore fc320d3707 Copy edit File-I/O section of manual 2006-06-10 18:45:26 +00:00
Daniel Jacobowitz 98739726e2 * mingw-hdep.c (gdb_select): Always check for NULL fd sets
before calling FD_ISSET.  Correct check for exceptfds which
	previously tested writefds.
2006-06-10 18:24:32 +00:00
gdbadmin 859a96b293 *** empty log message *** 2006-06-10 00:00:04 +00:00
Nick Roberts ef21caaf00 (GDB/MI): Remove duplicate acknowledgements.
(GDB/MI Simple Examples): Move node up one level.  Use real examples.
(GDB/MI Compatibility with CLI): Update.
(GDB/MI Result Records): Add "connected" and "exit" result classes.
(GDB/MI Stream Records): Clarify target output.
(GDB/MI Command Description Format): Modify example description.
(GDB/MI Breakpoint Table Commands): Rename to...
(GDB/MI Breakpoint Commands): ...this
(GDB/MI Breakpoint Commands): Add optional thread field.
(GDB/MI Program Control): Add an introduction.  Move "Program
termination" examples into exec-run description.
(GDB/MI File Commands): Mention similar CLI commands.
(GDB/MI Miscellaneous Commands): Move to end.  Mention "show version"
is similar to "-gdb-version".
2006-06-09 22:37:47 +00:00
Nick Roberts 158fdf5c1f *** empty log message *** 2006-06-09 22:35:49 +00:00
Eli Zaretskii ddb50cd7c2 (Symbols): Fix "(gdb)"=>"(@value{GDBP})". 2006-06-09 18:52:30 +00:00
Nathan Sidwell 9938344b49 missing commit
* remote-fileio.h (remote_fileio_reset): Prototype.
2006-06-09 06:09:50 +00:00
Daniel Jacobowitz 4a9d57ab54 Typo fix. 2006-06-09 02:33:28 +00:00
Julian Brown 2b949cb6bb * gdb/dwarf2read.c (partial_read_comp_unit_head): Accept version 3. 2006-06-09 00:44:28 +00:00
Julian Brown 5b031165ba * MAINTAINERS (Write After Approval): Add myself. 2006-06-09 00:40:50 +00:00
gdbadmin 81f188e139 *** empty log message *** 2006-06-09 00:00:33 +00:00
Michael Snyder b2d6f210e9 2006-06-08 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (fp_register_arg_p): Recognize floating point typedefs.
2006-06-08 19:22:46 +00:00
Daniel Jacobowitz 719abd5321 Typo fix. 2006-06-08 19:13:35 +00:00
Nathan Sidwell 6dd0fba671 * m68k-tdep.c (m68k_dwarf_reg_to_regnum): New.
(m68k_gdbarch_init): Set it for dwarf & dwarf2 reg number
	conversion. Use M68K_NUM_REGS for number of regs.
2006-06-08 19:11:45 +00:00
Nathan Sidwell ad9a8f3f00 * remote-fileio.c (remote_fileio_reset): New.
* remote-fileio.h (remote_fileio_reset): Prototype.
	* remote.c (extended_remote_restart, remote_open_1): Call it.
2006-06-08 19:08:22 +00:00
Nathan Sidwell 1dd41f16d1 * gdb/remote.c (remote_open_1): Do preopen tasks before
irreversably destroying state.
2006-06-08 19:04:08 +00:00
Daniel Jacobowitz ea9c271d4e * (struct remote_state): New type, only containing
buf and buf_size.
	(remote_state): New variable.
	(get_remote_state): New function.
	(struct remote_arch_state): Renamed from struct remote_state.
	Removed buf and buf_size.
	(get_remote_arch_state): Renamed from get_remote_state.  All
	necessary callers updated to call this function.
	(init_remote_state): Initialize the architecture-specific state.
	Update the target-specific state if necessary.
	(get_remote_packet_size): New function.  All previous references
	changed to use this accessor function.
	(packet_reg_from_regnum, packet_reg_from_pnum): Take a
	remote_arch_state instead of a remote_state.  All callers changed.
	(_initialize_remote): Initialize the packet buffer here.
2006-06-08 18:32:12 +00:00
gdbadmin bf81fac3c9 *** empty log message *** 2006-06-08 00:00:34 +00:00
gdbadmin ecbc8539b0 *** empty log message *** 2006-06-07 00:00:32 +00:00
Nathan Sidwell 5cffb35013 * gdb/remote.c (remote_insert_watchpoint): Return -1, rather than
fatal error if packet is disabled.
	(remote_remove_watchpoint, remote_insert_hw_breakpoint,
	remote_remove_hw_breakpoint): Likewise.
2006-06-06 10:03:06 +00:00
gdbadmin c91cfc5a15 *** empty log message *** 2006-06-06 00:00:03 +00:00
gdbadmin 11567b557b *** empty log message *** 2006-06-05 00:00:32 +00:00
gdbadmin fa1fd311e0 *** empty log message *** 2006-06-04 00:00:03 +00:00
gdbadmin 6f9a6794f6 *** empty log message *** 2006-06-03 00:00:03 +00:00
Nick Roberts 351ff01ac5 (GDB/MI File Commands): New node split from Program Control. 2006-06-02 10:15:41 +00:00
Nick Roberts d5e40d59c5 *** empty log message *** 2006-06-02 10:14:27 +00:00
Nick Roberts 6c27247ca3 *** empty log message *** 2006-06-02 10:12:46 +00:00
Nick Roberts 1fbc2a49cc (print_it_typical): Use EXEC_ASYNC_LOCATION_REACHED. 2006-06-02 03:43:18 +00:00
Nick Roberts 8a786d82c7 *** empty log message *** 2006-06-02 03:42:28 +00:00
gdbadmin 57078fa5d1 *** empty log message *** 2006-06-02 00:00:32 +00:00
Nick Roberts 7a9a6b69e4 (GDB/MI Development and Front Ends): Use sourceware.org for mailing lists. 2006-06-01 23:40:50 +00:00
Nick Roberts 2aef0d6bad *** empty log message *** 2006-06-01 23:39:23 +00:00
gdbadmin 7646157852 *** empty log message *** 2006-06-01 00:00:03 +00:00
Michael Snyder f49e4e6d76 2006-05-31 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c: Comment tweaks.
2006-05-31 23:15:50 +00:00
Nick Roberts af6eff6f33 (GDB/MI Development and Front Ends): New Node. 2006-05-31 21:55:46 +00:00
Nick Roberts 383a5c5284 *** empty log message *** 2006-05-31 21:54:27 +00:00
Daniel Jacobowitz 20e95c23ab Configury changes: update src repository (binutils, gdb, and rda) to use
config/gettext-sister.m4 instead of the old gettext.m4.  Regenerate all
affected autotools files.  Include intl in gdb releases again.
2006-05-31 15:14:46 +00:00
gdbadmin 38365cdd8f *** empty log message *** 2006-05-31 00:00:33 +00:00
Daniel Jacobowitz ea025f5f61 * remote-utils.c (all_symbols_looked_up): New variable.
(look_up_one_symbol): Check it.
	* server.h (look_up_one_symbol): New declaration.
	* thread-db.c (thread_db_init): Set all_symbols_looked_up.
2006-05-30 19:05:33 +00:00
Daniel Jacobowitz 66f338c7b9 Typo fix. 2006-05-30 15:58:47 +00:00
Daniel Jacobowitz 9308fc88e7 gdb/
* Makefile.in (arm-linux-nat.o): Update dependencies.
	* arm-linux-nat.c: Include "gdb_proc_service.h".
	(PTRACE_GET_THREAD_AREA): Define.
	(ps_get_thread_area): New function.
gdb/gdbserver/
	* Makefile.in (linux-arm-low.o): Update dependencies.
	* linux-arm-low.c: Include "../gdb_proc_service.h".
	(PTRACE_GET_THREAD_AREA): Define.
	(ps_get_thread_area): New function.
2006-05-30 15:57:09 +00:00
gdbadmin e06ac427b4 *** empty log message *** 2006-05-30 00:00:33 +00:00
gdbadmin 1a15015e3b *** empty log message *** 2006-05-29 00:00:32 +00:00
Alexandre Oliva 46ea248bcc * dwarf2-frame.h (enum dwarf2_frame_reg_rule): Add
DWARF2_FRAME_REG_SAVED_VAL_OFFSET and
DWARF2_FRAME_REG_SAVED_VAL_EXP.
* dwarf2-frame.c (execute_cfa_program): Handle val_offset,
val_offset_sf and val_expression.
(dwarf2_frame_prev_register): Handle the new reg rules.
(dwarf2_frame_this_id): Use pc instead of function entry point.
2006-05-28 05:56:50 +00:00
Alexandre Oliva 56c987f606 * dwarf2-frame.c (struct dwarf2_cie): Add signal_frame field.
(dwarf2_frame_sniffer): Use it.
(decode_frame_entry_1): Set it according to augmentation "S".
2006-05-28 05:56:20 +00:00
gdbadmin 456c260faf *** empty log message *** 2006-05-28 00:00:06 +00:00
Joel Brobecker 5648af48fb From Peter Schauer <peterschauer@gmx.net>
* m2-typeprint.c (m2_record_fields): Move variable declarations
        to the begining of the block.
2006-05-27 17:39:29 +00:00
gdbadmin 5864669164 *** empty log message *** 2006-05-27 00:00:02 +00:00
gdbadmin 04297bf2b9 *** empty log message *** 2006-05-26 00:00:03 +00:00
gdbadmin 8bbc8175b2 *** empty log message *** 2006-05-25 00:00:32 +00:00
gdbadmin dad5469b96 *** empty log message *** 2006-05-24 00:00:32 +00:00
Mark Mitchell 03a73f77ad * mt-tdep.c (mt_register_name): Correct out-of-range logic to
include additional registers.

	* mt-tdep.c (mt_gdb_regnums): Add ZI2, ZQ2, Ichannel2,
	Iscramb2, Qscramb2, Qchannel2.
	(mt_register_name): Likewise.
	(mt_copro_register_type): Describe ZI2 and ZQ2.

	* mt-tdep.c (mt_gdb_regnums): Define
	MT_COPRO_PSEUDOREG_MAC_REGNUM.
	(mt_register_name): Use it.
	(mt_copro_register_type): Likewise.
	(mt_register_type): Likewise.
	(mt_pseudo_register_read): Likewise.  Read the MAC register, not
	the coprocessor register.
	(mt_pseudo_register_write): Likewise.
2006-05-23 18:01:58 +00:00
gdbadmin c9fe3751af *** empty log message *** 2006-05-23 00:00:33 +00:00
Eli Zaretskii e16b02ee9c (Cygwin Native): Fix last change. 2006-05-22 19:00:41 +00:00
Christopher Faylor be90c084da * gdb.texinfo (Cygwin Native): Document set/show cygwin-exceptions. 2006-05-22 04:17:59 +00:00
gdbadmin ec2273bcc8 *** empty log message *** 2006-05-22 00:00:03 +00:00
Christopher Faylor 09280ddfff (check in missing file)
* win32-nat.c (cygwin_exceptions): New variable.
(handle_exception): Treat a cygwin exception like a normal exception if
cygwin_exceptions is true.
(_initialize_win32_nat): Add "set cygwin-exceptions" handler.
2006-05-21 23:04:39 +00:00
Christopher Faylor 2b3c8945cd * win32-nat.c (cygwin_exceptions): New variable.
(handle_exception): Treat a cygwin exception like a normal exception if
cygwin_exceptions is true.
(_initialize_win32_nat): Add "set cygwin-exceptions" handler.
2006-05-21 22:57:18 +00:00
gdbadmin 51c37cfd4e *** empty log message *** 2006-05-21 00:00:03 +00:00
Gaius Mulley f79daebb66 NEWS: (Improved Modula-2 language support): New section. 2006-05-20 16:30:18 +00:00
Joel Brobecker 6c0112ecf2 * gdb.base/del.exp (test_delete_alias): New function.
Now check that both "del" and "d" work as aliases for "delete".
2006-05-20 01:35:27 +00:00
Joel Brobecker b4e70030cb * configure: Regenerate using proper version of autoconf. 2006-05-20 01:20:40 +00:00
gdbadmin f7d91c12ff *** empty log message *** 2006-05-20 00:00:32 +00:00
Fred Fish a1f5b8454c Checked in under the 'obvious fix rule'
2006-05-19  Fred Fish  <fnf@specifix.com>
	* Makefile.in: Fix spelling of 'explicitly' and 'explicit'.
	* dwarfread.c: Fix spelling of 'unexpected'.
	* mips-tdep.c: Fix spelling of 'possible' and 'Determine'.
	* stack.c: Fix spelling of 'RETURN_VALUE'.
2006-05-19 20:42:47 +00:00
gdbadmin fd5c1a0e91 *** empty log message *** 2006-05-19 00:00:03 +00:00
Paul Gilliam 82d03102e4 2006-05-18 Paul Gilliam <pgilliam@us.ibm.com
* solib-svr4.c (enable_break): Breakup a long line into 3 shorter ones.
2006-05-18 20:38:56 +00:00
Fred Fish 154189a4a5 Reviewed and approved by Daniel Jacobowitz <drow@false.org>
2006-05-18  Fred Fish  <fnf@specifix.com>
	* gdb.base/a2-run.exp: Allow part of test to run when args aren't
	required.  Check for spurious output after program exits normally.
2006-05-18 19:34:01 +00:00
gdbadmin e987a4e233 *** empty log message *** 2006-05-18 00:00:02 +00:00
Fred Fish 582e64c29d Suggested, reviewed, and approved by Daniel Jacobowitz <drow@false.org>
2006-05-17  Fred Fish  <fnf@specifix.com>
	* gdb.base/relocate.exp: Use gdb_file_cmd rather than
	gdb_load, so it works in the simulator.
2006-05-17 23:59:40 +00:00
Daniel Jacobowitz f2da6b3ac3 * dwarf2-frame.c: Include "value.h".
(read_reg): Use unpack_long and register_type.
	* Makefile.in (dwarf2-frame.o): Update.
2006-05-17 14:53:02 +00:00
Daniel Jacobowitz 1f5befc17b * remote-rdp.c: Deleted.
* NEWS: Mention removal of remote-rdp.c.

	* Makefile.in (ALLDEPFILES): Remove remote-rdp.c.
	(remote-rdp.o): Delete.
	* README: Remove description of remote-rdp.c.
	* arm-tdep.c (arm_breakpoint_from_pc): Remove obsolete comment.
	* config/arm/embed.mt (TDEPFILES): Remove remote-rdp.o.
2006-05-17 14:40:39 +00:00
gdbadmin 6a2f788fe6 *** empty log message *** 2006-05-17 00:00:02 +00:00
Daniel Jacobowitz cd96dfc915 * ser-e7kpc.c: Include <time.h> if it is available. 2006-05-16 20:22:02 +00:00
Joel Brobecker e374b60130 * version.in (version.in): Bump version number to 6.5.50 now
that the gdb-6.5 branch has been created.
        * NEWS: Create a new section for changes that are included
        since gdb-6.5. Name the "since gdb-6.4" section as the "in gdb-6.5"
        section.
2006-05-16 19:43:57 +00:00
Jim Blandy 13942a4203 gdb/ChangeLog:
2006-05-16  Jim Blandy  <jimb@codesourcery.com>

	* MAINTAINERS (Authorized Committers): Gaius Mulley has accepted
	the Global Maintainers' invitation to be an authorized committer
	for the Modula-2 support.
2006-05-16 17:55:21 +00:00
gdbadmin b36b7f4f14 *** empty log message *** 2006-05-16 00:00:33 +00:00
Mark Kettenis 8599da2d51 * ppcobsd-nat.c: Include "gdb_assert.h".
[PT_GETFPREGS] (getfpregs_supplies): New function.
(ppcobsd_fetch_registers, ppcobsd_fetch_registers): Hanlde OS
versions that have PT_GETFPREGS.
(_initialize_ppcobsd_nat) [PT_GETFPREGS]: Initialize
ppcobsd_fpreg_offsets.
* ppcobsd-tdep.h (ppcobsd_fpreg_offsets, ppcobsd_fpregset):
Declare.
* ppcobsd-tdep.c (ppcobsd_fpreg_offsets, ppcobsd_fpregset): New
variables.
(_initialize_ppcobsd_tdep): Initialize ppcobsd_fpreg_offsets.
* Makefile.in (ppcobsd-nat.o): Update dependencies.
2006-05-15 21:53:20 +00:00
Daniel Jacobowitz 4e8d927dde * configure.ac: Use GCC_HEADER_STDINT.
* acinclude.m4: Include stdint.m4.
	* Makefile.in (gdb_stdint_h): Define.
	(distclean): Remove gdb_stdint.h.
	(Makefile, stamp-h): Update rules to generate only the correct
	files.
	(gdb_stdint.h, stamp-int): New rules.
	* config.in, configure: Regenerated.
2006-05-15 17:11:59 +00:00
Daniel Jacobowitz 19ca80ba57 * valprint.c: Include "exceptions.h".
(val_print): If something goes wrong while printing, supply an
	error message.
2006-05-15 16:53:38 +00:00
Daniel Jacobowitz 245c7f487f 2006-05-15 Peter O'Gorman <gdb-patches@mlists.thewrittenword.com>
* source.c (get_current_source_symtab_and_line)
	(set_current_source_symtab_and_line): Use { 0 }.
	* cli/cli-cmds.c (list_command): Likewise.
2006-05-15 15:50:14 +00:00
Nick Roberts b247355e2d (Algorithms): Correct spelling and punctuation.
(Releasing GDB, Testsuite): Remove details for including DejaGnu.
2006-05-15 04:39:03 +00:00
Nick Roberts 347ceba596 *** empty log message *** 2006-05-15 04:37:48 +00:00
gdbadmin 8ebe254417 *** empty log message *** 2006-05-15 00:00:02 +00:00
Nick Roberts 2e6d207cdd (gdbmi-send): Correct regexp for repeat commands.
(gdbmi): Use new variable name gdb-pc-address.
(gdbmi-frame-handler):  Use new variable name gdb-pc-address.
Check that a match has been found.
2006-05-14 22:27:26 +00:00
Nick Roberts 53b33aeb32 *** empty log message *** 2006-05-14 22:25:23 +00:00
Daniel Jacobowitz 369af7bd63 * gdb.texinfo (General Query Packets): Recommend not starting
new packets with qC and clarify.
2006-05-14 15:09:51 +00:00
gdbadmin 7e68560d6b *** empty log message *** 2006-05-14 00:00:34 +00:00
Gaius Mulley 2ffdbde8a9 fixed spacing between name and email address. 2006-05-13 19:07:28 +00:00
Gaius Mulley 1c547afb78 removed lengthy descriptions about function modifications. 2006-05-13 18:49:56 +00:00
Gaius Mulley d3d3c7e6d5 tidied up ChangeLog as per GNU Coding Standards. 2006-05-13 18:45:45 +00:00
Gaius Mulley 71ded58471 split up another line in excess of 80 characters 2006-05-13 16:16:13 +00:00
Gaius Mulley 229582b795 tidied up ChangeLogs (80 character line width), added reference
to gaius@glam.ac.uk included into gdb/MAINTAINERS
2006-05-13 16:03:04 +00:00
Gaius Mulley 72019c9cbc 2006-05-13 Gaius Mulley <gaius@glam.ac.uk>
* gdb/m2-lang.h: added function extern prototypes for m2_is_long_set
	and get_long_set_bounds.
	* gm2/m2-typeprint.c: This file has been completely
	replaced to reflect the Modula-2 syntax rather than call the
	c_print_type function.
	(m2_print_type): walk the Modula-2 type tree.
	(m2_type_name): added.
	(m2_range): added.
	(m2_typedef): added.
	(m2_array): added.
	(m2_pointer): added.
	(m2_ref): added.
	(m2_unknown): added.
	(m2_union): added.
	(m2_procedure): added.
	(m2_print_bounds): added.
	(m2_short_set): added.
	(m2_is_long_set): added.
	(m2_get_discrete_bounds): added.
	(m2_is_long_set_of_type): added.
	(m2_long_set): added.
	(m2_record_fields): added.
	(m2_enum): added.
	* gdb/dwarf2read.c: added ability to detect the language Modula-2
	and handle SET and CHAR types.
	(read_set_type): added.
	(process_die): call read_set_type.
	(read_base_type): modifed signed/unsigned char handling for Modula-2.
	(set_cu_language): added Modula-2 case clause.
	* gdb/m2-valprint.c: complete replacement so that Modula-2 values are
	printed rather than call the C language routines.
	(print_function_pointer_address): added.
	(get_long_set_bounds): added.
	(m2_print_long_set): added.
	(print_unpacked_pointer): added.
	(print_variable_at_address): added.
	(m2_val_print): replaced.
2006-05-13 15:46:38 +00:00
gdbadmin 34addd0f72 *** empty log message *** 2006-05-13 00:00:34 +00:00
Mark Kettenis def18405fb * ppcnbsd-tdep.h: Update copyright year. Include <stddef.h>
(ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg)
(ppcnbsd_fill_fpreg): Remove prototypes.
(struct regset): Add forward declaration.
(ppcnbsd_gregset, ppcnbsd_fpregset): Extern declarations.
* ppcnbsd-tdep.c: Update copyright year.  Include "gdbtypes.h",
"regset.h" and "gdb_string.h".  Don't include "breakpoint.h",
"value.h", target.h and nbsd-tdep.h".  Reorder includes.
(REG_FIXREG_OFFSET, REG_LR_OFFSET, REG_CR_OFFSET, REG_XER_OFFSET)
(REG_CTR_OFFSET, REG_PC_OFFSET, SIZEOF_STRUCT_REG)
(FPREG_FPR_OFFSET, FPREG_FPSCR_OFFSET, SIZEOF_STRUCT_FPREG):
Remove macros.
(ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg)
(ppcnbsd_fill_fpreg): Remove functions.
(fetch_core_registers, fetch_elfcore_registers): Remove functions.
(ppcnbsd_core_fns, ppcnbsd_elfcore_fns): Remove variables.
(ppcnbsd_reg_offsets): New variable.
(ppcnbsd_gregset, ppcnbsd_fpregset): New variables.
(ppcnbsd_sigtramp_cache_init): Deal with new signal trampoline
introduced in NetBSD 2.0.
(ppcnbsd_sigtramp): Provide complete signal trampoline.
(ppcnbsd2_sigtramp): New variable.
(ppcnbsd_init_abi): Set svr4_fetch_link_map_offsets to
svr4_ilp32_fetch_link_map_offsets.  Set regset_from_core_section.
Add ppcnbs2_sigtramp unwinder.
(_initialize_ppcnbsd_tdep): Don't use deprecated_add_core_fns.
Initialize ppcnbsd_reg_offsets.
* ppcnbsd-nat.c: Update copyright year.  Reorder includes.
(getregs_supplies): Use regnum instead of regno.
(getfpregs_supplies): Likewise.
(ppcnbsd_fetch_inferior_registers): Likewise.  Call
ppc_supply_gregset and ppc_suppply_fpregset instead of
ppcnbsd_supply_reg and ppcnbsd_supply_fpreg
(ppcnbsd_store_inferior_registers): Likewise.  Call
ppc_collect_gregset and ppc_collect_fpregset instead of
ppcnbsd_fill_reg and ppcnbsd_fill_fpreg.
(ppcnbsd_supply_pcb): Use `gdb_byte *' instead of `char *'.
(_initialize_ppcnbsd_nat): Add some whitespace.
* Makefile.in (ppcnbsd-nat.o, ppcnbsd-tdep.o): Update dependencies.
* config/powerpc/nbsd.mh (NATDEPFILES): Remove infptrace.o.
(NAT_FILE): Remove.
* config/powerpc/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
2006-05-12 20:53:15 +00:00
gdbadmin 582a5d498d *** empty log message *** 2006-05-12 00:00:02 +00:00
Daniel Jacobowitz c4c50d3740 2006-05-11 Alfred M. Szmidt <ams@gnu.org>
* gnu-nat.c (inf_validate_procs): Don't use lvalue in assignments.
2006-05-11 19:37:52 +00:00
Fred Fish 8ef6493a1d Reviewed and approved by Daniel Jacobowitz <drow@false.org>
2006-05-11  Fred Fish  <fnf@specifix.com>
	* gdb.base/bang.exp: Ignore unexpected output between the
	"program exited normally" and the gdb prompt, as many other
	tests do.
2006-05-11 13:09:58 +00:00
Fred Fish 576c202544 Reviewed and approved by Jim Blandy <jimb@codesourcery.com>
2006-05-11  Fred Fish  <fnf@specifix.com>
	* symtab.c (skip_prologue_using_sal): Handle single line functions
	like "foo(){}", which may optimize down to a single return inst.
2006-05-11 09:29:52 +00:00
gdbadmin 64f949df5d *** empty log message *** 2006-05-11 00:00:02 +00:00
Steve Ellcey ba906c0813 * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Remove
message.
2006-05-10 20:30:02 +00:00
Daniel Jacobowitz 16d1a08426 * agentexpr.texi: Add a copyright and license notice.
* observer.texi: Likewise, with GPL clause for function prototypes.
	Remove trailing whitespace.
2006-05-10 18:49:08 +00:00
gdbadmin 835122fc95 *** empty log message *** 2006-05-10 00:00:36 +00:00
Andreas Schwab 4bf8967cb2 * dwarf2-frame.c (struct dwarf2_fde): Add eh_frame_p.
(execute_cfa_program): Add parameter eh_frame_p.  Call
	dwarf2_frame_eh_frame_regnum when true.
	(dwarf2_frame_cache): Pass eh_frame_p from fde to
	execute_cfa_program.
	(decode_frame_entry_1): Call dwarf2_frame_eh_frame_regnum when
	processing .eh_frame.  Copy eh_frame_p to the new fde.
	(struct dwarf2_frame_ops): Add eh_frame_regnum.
	(dwarf2_frame_set_eh_frame_regnum): Define.
	(dwarf2_frame_eh_frame_regnum): Define.

	* dwarf2-frame.h (dwarf2_frame_set_eh_frame_regnum): Declare.
	(dwarf2_frame_eh_frame_regnum): Declare.
2006-05-09 21:14:17 +00:00
Nathan Sidwell 52fb643739 * configure.srv (m68k*-*-uclinux*): New target.
* linux-low.c (linux_create_inferior): Use vfork on mmuless systems.
	(linux_resume_one_process): Remove extraneous cast.
	(linux_read_offsets): New.
	(linux_target_op): Add linux_read_offsets on mmuless systems.
	* server.c (handle_query): Add qOffsets logic.
	* target.h (struct target_ops): Add read_offsets.
2006-05-09 15:21:19 +00:00
gdbadmin a70e338f1a *** empty log message *** 2006-05-09 00:00:03 +00:00
gdbadmin 1c58b8a886 *** empty log message *** 2006-05-08 00:00:03 +00:00
Mark Kettenis 692b141ccb * gdb.base/help.exp: Make "delete checkpoint" part option for
"help d" and "help delete" tests.
2006-05-07 20:50:35 +00:00
gdbadmin febfe8dfee *** empty log message *** 2006-05-07 00:00:02 +00:00
David S. Miller 55e969c159 * linux-nat.c (linux_nat_do_thread_registers): Check for
NULL collect_regset method.
2006-05-06 23:55:36 +00:00
Ulrich Weigand 540b8a309d * gdb.mi/mi-basics.exp: Add missing serial number to
expected output in some mi_gdb_test statements.
	* gdb.mi/mi2-basics.exp: Likewise.
2006-05-06 20:39:15 +00:00
Ulrich Weigand 92f38ec2e1 * s390-tdep.c (s390_collect_regset): New function.
(s390_gregset, s390x_gregset, s390_fpregset): Add it.
2006-05-06 01:12:11 +00:00
Nick Roberts 875dc2fc84 Make LOC_OPTIMIZED_OUT the default value for a symbol. 2006-05-06 00:14:03 +00:00
Nick Roberts 6fed56b401 *** empty log message *** 2006-05-06 00:13:08 +00:00
gdbadmin ec82b8b29c *** empty log message *** 2006-05-06 00:00:06 +00:00
Ulrich Weigand 6fc191037f * linux-nat.c (exit_lwp): Fix NULL pointer access.
(linux_nat_handle_extended): New parameter STOPPING.
	(wait_lwp): Call it with STOPPING equals 1.
	(linux_nat_wait): Call it with STOPPING equals 0.
2006-05-05 23:48:28 +00:00
Ulrich Weigand d539ed7ecd * linux-nat.c (linux_nat_wait): Do not short-cut reporting
of 'uninteresting' signals when single-stepping.
2006-05-05 23:46:58 +00:00
David S. Miller c324242868 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
will get printed without a mi_cmd_data_list_register_values prefix.
	(*-data-list-register-*): Correct regular expressions to expect the new
	pseudo d? floating point registers.
	* gdb.mi/mi2-regs.exp: Likewise.
2006-05-05 23:34:40 +00:00
Daniel Jacobowitz 49101e1c1a * MAINTAINERS: Move NEWS to the documentation entry. 2006-05-05 23:20:04 +00:00
Joel Brobecker 9b6462d950 * gdb.base/del.c: New file.
* gdb.base/del.exp: New testcase.
2006-05-05 22:49:39 +00:00
Jim Blandy aa56d27abe gdb/doc/ChangeLog:
2006-05-05  Jim Blandy  <jimb@codesourcery.com>

	* gdb.texinfo (General Query Packets): Document conventions for
	terminating packet names, and their violations.
2006-05-05 22:48:14 +00:00
David S. Miller 1303f75ea1 * gdb.base/savedregs.exp: Do not require that the dummy
frame location match up to a symbol and source file location.
2006-05-05 22:48:10 +00:00