Commit Graph

8286 Commits

Author SHA1 Message Date
Eli Zaretskii ae678129eb * top.c (gdb_completer_file_name_break_characters): New variable.
(line_completion_function): When completing on file names, use
	gdb_completer_file_name_break_characters as word break
	characters for the readline library.
2000-04-12 16:43:27 +00:00
Eli Zaretskii f0ca3dcec2 Typos fixed (from Dmitry Sivachenko <dima@Chg.RU>). 2000-04-12 16:35:02 +00:00
Daniel Berlin 1a8237e8c3 Changelog entry for gdbint.texinfo fix 2000-04-12 02:27:39 +00:00
Daniel Berlin 25822942b6 GDB->@value{GDBN} 2000-04-12 02:26:59 +00:00
Mark Kettenis 1d77867f99 2000-04-12 Mark Kettenis <kettenis@gnu.org>
* i387-tdep.c (print_i387_value): Avoid call to
	floatformat_to_doublest if long double type is the same on host
	and target.
2000-04-12 00:22:56 +00:00
Fernando Nasser 287e305808 2000-04-11 Fernando Nasser <fnasser@cygnus.com>
* wrapper.h: Remove definitions of internal functions.
	* wrapper.c: Remove definitions of exported functions (which are
	already in wrapper.h) and make static all internal wrap_* functions.
2000-04-11 19:41:11 +00:00
Andrew Cagney e48f66e46e Cleanup USE_INCLUDED_REGEX. Move -D to acconfig.h. 2000-04-11 01:21:15 +00:00
Scott Bambrough f38e884d67 Move arm_skip_solib_resolver from arm-linux-nat.c to arm-linux-tdep.c.
2000-04-10  Philip Blundell <philb@gnu.org>

	* arm-linux-nat.c (arm_skip_solib_resolver): Remove and move to
	arm-linux-tdep.c.
	* arm-linux-tdep.c (arm_skip_solib_resolver): New.
2000-04-10 21:02:33 +00:00
Jim Blandy ca526f1a3e *** empty log message *** 2000-04-10 15:50:15 +00:00
Jim Blandy 4281a42ed4 Use the three-argument form of @xref to get the references right. 2000-04-10 15:50:02 +00:00
Jim Blandy 0a1a0be203 * gdbint.texinfo (Target Architecture Definition): Fix screwed-up
references to ``Using Different Register and Memory Data
Representations''.
2000-04-10 15:33:19 +00:00
Fernando Nasser 9285ab8042 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
From 2000-04-10 Rodney Brown <rdb@redhat.com>:
	* command.h (enum command_class): Remove trailing "," to placate
	AIX xlc.
2000-04-10 15:07:37 +00:00
Fernando Nasser 7930cc7cdc 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
	* gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
2000-04-10 14:14:54 +00:00
Andrew Cagney bc9e5bbf1b TODO, NEWS: Update. Mention MI. 2000-04-10 10:52:19 +00:00
Andrew Cagney 1ad03bde8a Rename gdbarch-utils.[hc] to arch-utils.[hc] 2000-04-09 14:37:28 +00:00
Andrew Cagney a5ea25581c Rename gdbarch-utils.[hc] to arch-utils.[hc]. 2000-04-09 14:35:35 +00:00
Andrew Cagney f7384f0ffd 2000-04-07 J.T. Conklin <jtc@redback.com>: lynx-nat.c
(fetch_inferior_registers, store_inferior_registers): replace calls to
target_xfer_memory() with target_read_memory() and
target_write_memory().
2000-04-09 13:29:52 +00:00
Andrew Cagney 85c9a9d507 Compare VALUE_ADDRESS() return value with ZERO not NULL. 2000-04-09 13:02:10 +00:00
Jim Blandy 64367e0abc * dwarf2read.c: Revert Andrew Cagney's change of Dec 15, 1997.
Don't include "bfd-elf.h".
(address_significant_size): Delete variable.
(dwarf2_build_psymtabs_hard): Don't set it, or check for
consistency between it and the Dwarf 2 compilation unit header
address size.
(read_address): Don't mask off bits above
address_significant_size.
* Makefile.in (dwarf2read.o): Don't depend on $(elf_bfd_h).
(elf_bfd_h): Remove variable; it's no longer used.
2000-04-08 22:35:35 +00:00
Jim Blandy faaafcb468 *** empty log message *** 2000-04-08 17:49:50 +00:00
Jim Blandy 9fb4dd364d * gdbint.texinfo (Using Different Register and Memory Data
Representations): New section.
(REGISTER_CONVERTIBLE, REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE,
REGISTER_VIRTUAL_TYPE, REGISTER_CONVERT_TO_VIRTUAL,
REGISTER_CONVERT_TO_RAW): Document.
2000-04-08 17:49:31 +00:00
Peter Schauer 3423db8257 * configure.in (NEW_PROC_API): Escape square brackets when testing
for solaris2.[678].
	* configure:  Regenerate.
2000-04-08 11:13:17 +00:00
J.T. Conklin e93c542c45 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters. 2000-04-08 05:10:43 +00:00
J.T. Conklin 23e37ab112 2000-04-07 J.T. Conklin <jtc@redback.com>
* gdb.base/funcargs.exp: Relax patterns matching pointers to char.
2000-04-07 22:26:35 +00:00
Scott Bambrough 134e61c4a7 2000-04-07 Scott Bambrough <scottb@netwinder.org>
* ChangeLog: Correct date on last entry.
	* arm-linux-tdep.c (arm_linux_push_arguments): New function.
	* config/arm/tm-linux: Redefined PUSH_ARGUMENTS for Linux.
	* config/arm/tm-embed: Fix build warning from redefinition of
	LOWEST_PC.
	* config/arm/tm-arm.h: Remove TARGET_BYTE_ORDER_SELECTABLE.
	* config/arm/tm-wince.h: Remove TARGET_BYTE_ORDER_SELECTABLE and
	TARGET_BYTE_ORDER.  Add TARGET_BYTE_ORDER_SELECTABLE_P to
	override default in tm-arm.h.  Use default target byte order
	from tm-arm.h.
2000-04-07 22:26:11 +00:00
Scott Bambrough 03e0fb3a47 2000-04-05 Scott Bambrough <scottb@netwinder.org>
* Makefile.in: Add dependency information for arm-linux-tdep.c.
	* config/djgpp/fnchange.lst: Add arm-linux-tdep.c, arm-linux-nat.c.
2000-04-07 22:04:01 +00:00
Peter Schauer 291dcb3e0d * sol-thread.c (gdb_ps_addr_t): New typedef, depends on definition
of PROC_SERVICE_IS_OLD.
	(ps_pglobal_lookup, ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite,
	rw_common):  Change argument type from psaddr_t to gdb_ps_addr_t.
2000-04-07 17:18:57 +00:00
Andrew Cagney 1decb32380 When GCC always enable certain warnings.
Allow configure to set CFLAGS (-g -O2) when GCC.
2000-04-07 08:57:39 +00:00
Andrew Cagney d311cd50fc From 2000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
* procfs.c (init_procfs_ops):  Set procfs_ops.to_has_memory and
procfs_ops.to_has_all_memory to 1.
2000-04-07 04:33:21 +00:00
Andrew Cagney 1b27397f36 ChangeLog for
/cvs/src/src/gdb/doc/gdb.texinfo,v  <--  gdb.texinfo
new revision: 1.13; previous revision: 1.12
2000-04-07 01:41:06 +00:00
Andrew Cagney 6cf7e47433 Deprecate sequence-id's. 2000-04-07 01:33:18 +00:00
Nicholas Duffek 6abadcf80e * configure.in (_MSE_INT_H): Define on Solaris 7.
(NEW_PROC_API): Define on Solaris 7 and 8 as well as 6.
	* acconfig.h (_MSE_INT_H): Define on Solaris 7.
	* configure: Regenerate.
	* config.in: Regenerate.
2000-04-07 01:16:17 +00:00
Nicholas Duffek 2f09097b73 * sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):
Change to rely on PIDGET etc.
	* config/i386/nm-i386sol2.h (TARGET_HAS_WATCHPOINTS,
	TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT,
	STOPPED_BY_WATCHPOINT, target_[insert/remove]_watchpoint):
	define.  Allow target to use procfs hardware watchpoints.
	* config/sparc/nm-sun4sol2.h: ditto.
	* config/i386/tm-i386sol2.h (PIDGET, TIDGET, MERGEPID): modify
	definitions to use 16 bits for the pid, 15 bits for the tid, and
	1 bit for the flag.
	* config/sparc/tm-sun4sol2.h: ditto.
	(SOFTWARE_SINGLE_STEP, SOFTWARE_SINGLE_STEP_P): undefine.
	* testsuite/gdb.threads/pthreads.exp (all_threads_running): Allow
	for more than 15 thread increments.
2000-04-07 01:14:10 +00:00
Eli Zaretskii bcea15ac19 * top.c (filename_completer): Set subsequent_name to 1 early on,
to prevent an infinite loop if the first file in the directory is
	a backup file.
2000-04-06 15:24:36 +00:00
Jim Blandy c3f432d938 *** empty log message *** 2000-04-05 20:41:57 +00:00
Jim Blandy 105b175f27 * solib.c (update_solib_list): New function.
(solib_add): Call update_solib_list, and then read symbols.
(info_sharedlibrary_command): Call update_solib_list, not
solib_add.
2000-04-05 20:40:22 +00:00
Scott Bambrough c20f6dea13 2000-04-05 Scott Bambrough <scottb@netwinder.org>
* arm-linux-tdep.c: Resolve implicit function declarations by
	including target.h and value.h.  Inclusion of symtab.h is
	no longer needed.
	* ChangeLog: Fix formatting of previous entry.
2000-04-05 17:24:08 +00:00
Scott Bambrough faf5f7ad8a Unable to build x86 hosted debugger for ARM Linux, due to missing target
dependencies.  Created ARM Linux specific arm-linux-tdep.c file and moved
missing code into it from arm-linux-nat.c.

2000-04-05  Scott Bambrough <scottb@netwinder.org>

	* arm-linux-tdep.c: New file.
	* arm-linux-nat.c (fetch_fpregs): Remove unused code.
	  (arm_get_longjmp_target): Moved it and all defines
	  it uses to arm-linux-tdep.c.
	  (arm_linux_extract_return_value): Moved to
	  arm-linux-tdep.c.
	* config/arm/linux.mt: Add arm-linux-tdep.c to TDEPFILES.
2000-04-05 15:38:05 +00:00
Nicholas Duffek c7e79b4bee * infrun.c (handle_inferior_event): Call target_mourn_inferior
instead of kill_target.
2000-04-05 02:26:37 +00:00
Daniel Berlin eb3d1d196c Update todo 2000-04-04 05:13:44 +00:00
Daniel Berlin 070ad9f02e C++ changes for 5.0, finally committed. 2000-04-04 04:53:50 +00:00
Andrew Cagney eb90a51f9d Stop GCC thinking a shift will overflow. 2000-04-04 04:16:48 +00:00
H.J. Lu d66c34e293 2000-04-03 H.J. Lu <hjl@gnu.org>
* TODO: Remove the regex entry.
2000-04-04 02:11:36 +00:00
H.J. Lu 8898755195 2000-04-03 H.J. Lu <hjl@gnu.org>
* gdb_regex.h: New. Include "regex.h" if USE_INCLUDED_REGEX
	is defined and <regex.h> otherwise.

        * irix5-nat.c: Include "gdb_regex.h" instead of "gnu-regex.h".
	* monitor.c: Likewise.
	* osfsolib.c: Likewise.
	* solib.c: Likewise.
	* source.c: Likewise.
	* symtab.c: Likewise.

	* Makefile.in (REGEX): Changed to @REGEX@.
	(REGEX_CFLAGS): New.
	(REGEX1): Removed.
	(ADD_DEPS): Use $(REGEX) instead of $(REGEX1).
	(INTERNAL_WARN_CFLAGS): Add $(REGEX_CFLAGS).

	* configure.in (--with-included-regex): New switch.
	(REGEX): New. Subsstitue @REGEX@ in Makefile.in.
	(REGEX_CFLAGS): New. Subsstitue @REGEX_CFLAGS@ in Makefile.in.
	* configure: Regenerated.
2000-04-04 02:08:52 +00:00
Kevin Buettner afc05dd4fd Mention new PowerPC GNU/Linux native configuration. 2000-04-03 22:10:45 +00:00
J.T. Conklin c1ed99b861 2000-04-03 J.T. Conklin <jtc@redback.com>
* config/i386/xm-nbsd.h (HOST_LONG_DOUBLE_FORMAT): Define.
2000-04-03 21:33:21 +00:00
Kevin Buettner d61e6540a1 IA-64 changes for linux threads 2000-04-03 19:10:50 +00:00
Kevin Buettner 76d689a6e3 IA-64 changes 2000-04-03 18:58:48 +00:00
Jim Blandy 3ace57aafd *** empty log message *** 2000-04-03 17:50:12 +00:00
Jim Blandy f16568948d *** empty log message *** 2000-04-03 17:49:40 +00:00