Commit Graph

33513 Commits

Author SHA1 Message Date
Andrew Cagney 8605d56e7a * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux''
with either ``GNU/Linux'' or ``Linux kernel''.
Fix PR gdb/378.
2002-02-24 21:53:02 +00:00
Elena Zannoni 2aea96a18e Rename local ChangeLog and ChangeLog.Cygnus files to ChangeLog.gdb. 2002-02-24 20:52:49 +00:00
Michael Chastain 258ad32d2b 2002-02-24 Michael Chastain <mec@shout.net>
* gdb.threads/pthreads.c (thread1): Add a return statement.
	(thread2): Likewise.
	(foo): Likewise.
2002-02-24 20:37:56 +00:00
Andrew Cagney aab4e0ec4b * gdbint.texinfo: Include fdl.texi.
(Top): Add GNU Free Documentation License.
* Makefile.in (SFILES_INCLUDED): Add gpl.texi.
(gdbint.dvi, gdbint.pdf, gdbint.info): Add dependency on fdl.texi.
(gdbint_toc.html): Add dependency on gdb-cfg.texi and fdl.texi.
(gdbint.info): Add srcdir to include path.
* gdb.texinfo: Include gpl.texi.
(Top): Add Copying.
* gpl.texi: New file.
2002-02-24 17:18:25 +00:00
Hans-Peter Nilsson 552eb68225 * gas/mmix/bspec-1.d, gas/mmix/bspec-2.d, gas/mmix/comment-1.d:
Adjust to changes in readelf output.
2002-02-24 17:11:21 +00:00
Hans-Peter Nilsson acbd2de6c6 * ld-sh/ld-r-1.d: Adjust to changes in readelf output.
* ld-sh/shared-1.d, ld-sh/sh64/crangerel1.rd, ld-sh/crangerel2.rd,
	ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Ditto.
2002-02-24 16:44:45 +00:00
Daniel Jacobowitz 3a69669681 ==> dejagnu/ChangeLog <==
2002-02-23  Daniel Jacobowitz  <drow@mvista.com>

        * config.guess: Import from master sources, rev 1.232.
        * config.sub: Import from master sources, rev 1.246.


==> readline/ChangeLog.Cygnus <==
2002-02-24  Daniel Jacobowitz  <drow@mvista.com>

        * support/config.guess: Import from master sources, rev 1.232.
        * support/config.sub: Import from master sources, rev 1.246.
2002-02-24 05:19:07 +00:00
Andrew Cagney a3007b6fd4 Zap lin-thread.c 2002-02-24 04:31:13 +00:00
Andrew Cagney 50a9e2f10c * ocd.c (ocd_open): Do not try to open the "ocd" device.
* serial.c (serial_open): Delete check for "ocd".
Fix PR gdb/349.
2002-02-24 03:59:50 +00:00
Andrew Cagney 8b6e79328f * Makefile.in (linux-thread.o): Delete target.
* linux-thread.c: Delete file.
2002-02-24 03:35:39 +00:00
Andrew Cagney d155c46b60 * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other
renamed SH files to be consistent.
2002-02-24 01:58:23 +00:00
Andrew Cagney 8ed32cc01a s/free/xfree/ 2002-02-24 01:44:00 +00:00
Michael Chastain 04c3b3d429 2002-02-23 Michael Chastain <mec@shout.net>
* gdb.threads/linux-dp.c (philosopher): Add a return statement
	to placate gcc.
2002-02-24 00:42:39 +00:00
Daniel Jacobowitz 3912137081 2002-02-23 Daniel Jacobowitz <drow@mvista.com>
* config.guess: Import from master sources, rev 1.232.
        * config.sub: Import from master sources, rev 1.246.
2002-02-24 00:04:00 +00:00
gdbadmin 462f0d6ff3 *** empty log message *** 2002-02-24 00:00:07 +00:00
Alan Modra b483e0a43f daily update 2002-02-23 23:00:05 +00:00
Richard Earnshaw 0e18d038da * arm-linux-tdep.c (arm_linux_init_abi): Register
IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE
* config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old
definition with undef, since we don't want the sysvr4 definition.
(SKIP_TRAMPOLINE_CODE): Likewise.
2002-02-23 22:17:12 +00:00
Andrew Cagney 27aac7ff48 * configure.in: (AC_CHECK_FUNCS) Added test for
canonicalize_file_name Regenerated.
* config.in, configure: Regenerated.
* utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is
defined use canonicalize_file_name.
2002-02-23 21:54:25 +00:00
Michael Chastain 65a6e0eee5 2002-02-23 Michael Chastain <mec@shout.net>
* MAINTAINERS: Remove Michael Chastain from "paper trail" list.
2002-02-23 21:44:56 +00:00
Jim Blandy 18d5d59095 Doc fix. 2002-02-23 21:30:23 +00:00
Andrew Cagney 47b95330e3 s/cygnus.com/.../ 2002-02-23 20:59:55 +00:00
Michael Chastain 5a2a0a2077 2002-02-23 Michael Chastain <mec@shout.net>
* gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
	test "ptype bint".  The test passes on all my stabs configurations.
2002-02-23 20:57:53 +00:00
Andrew Cagney 696f451b7e From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
* Makefile.in (VER): Change "head -1" to "sed q", since POSIX
1003.1-2001 no longer allows "head -1".
* gdb/Makefile.in (version.c): Likewise.
* gdb/doc/Makefile.in (GDBvn.texi): Likewise.
* gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is
equivalent.  POSIX 1003.1-2001 no longer allows "diff -c3".
2002-02-23 20:36:49 +00:00
Andrew Cagney bbaca940eb * cli/cli-decode.c (cmd_cfunc_eq): New function.
* command.h (cmd_cfunc_eq): Declare.
* cli/cli-decode.h (cmd_cfunc_eq): Ditto.

* cli/cli-cmds.h (is_complete_command): Change parameter to a
``struct cmd_list_element *''.
* cli/cli-cmds.c (is_complete_command): Update.  Use
cmd_cfunc_eq.
* top.c (execute_command): Pass the command to
is_complete_command.
* tracepoint.c: Replace function.cfunc with cmd_cfunc_eq.
2002-02-23 20:12:13 +00:00
Andrew Cagney b8b8b04721 From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>:
* config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed
architecture defines.
* s390-tdep.c (s390_gdbarch_init): Likewise.
2002-02-23 20:00:17 +00:00
Richard Earnshaw 19d3fc80c1 * arm-linux-tdep.c (arm_linux_extract_return_value): Make static.
(arm_linux_push_arguments): Likewise.
(arm_linux_init_abi): Register them.  Also register linux-specific
call_dummy_words.
(find_minsym_and_objfile): Use strcmp, not STREQ.
* config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete.
(arm_linux_call_dummy_words): Delete declaration.
(EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete.
(arm_linux_extract_return_value, arm_linux_push_arguments): Delete
declarations.
(LOWEST_PC): Delete.
2002-02-23 17:07:57 +00:00
Peter Schauer 3ab136500f * maint.c (print_section_info): Do not prepend `0x' to filepos
output, it will be handled by local_hex_string_custom.
2002-02-23 13:18:36 +00:00
Richard Earnshaw 85ae890cdf * arm-linux-nat.c (store_newfpe_single): Use regcache_collect.
(store_newfpe_double, store_newfpe_extended, store_fpregister)
(store_register, store_regs, fill_gregset, fill_fpregset): Likewise.
2002-02-23 12:36:50 +00:00
Alexandre Oliva 081ff160e9 * Makefile.in (MAKEINFO): Don't assume makeinfo will be built just
because its Makefile is there; test for the executable instead.
2002-02-23 10:08:09 +00:00
Jim Blandy d85a5daf25 Indicate that the bcache functions don't change the strings
they're passed.
* bcache.h (bcache, hash): Add `const' keywords to declarations.
* bcache.c (bcache, hash): Add `const' keywords to definitions.
2002-02-23 03:57:26 +00:00
gdbadmin 374983f555 *** empty log message *** 2002-02-23 00:00:04 +00:00
Alan Modra 7e10950aff daily update 2002-02-22 23:00:05 +00:00
David O'Brien 0a6958db0e The "2002-02-05 Alan Modra <amodra@bigpond.net.au>" commit also affected
elf32-i386.c
2002-02-22 20:36:12 +00:00
Pierre Muller eeb25b8ac9 2002-02-22 Pierre Muller <muller@ics.u-strasbg.fr>
* win32-nat.c (child_create_inferior): Fix create flags setting bug.
2002-02-22 17:04:25 +00:00
Nick Clifton 2cb30cd57f Fix another spelling typo! 2002-02-22 12:00:38 +00:00
Nick Clifton c385d228ef Fix spelling typo 2002-02-22 11:59:50 +00:00
Nick Clifton b1c6bf7062 oops - update date on newly created entry 2002-02-22 11:57:10 +00:00
Nick Clifton 6290819df6 Keep track of prologue counts across .label_state/.copy_state directives 2002-02-22 11:56:21 +00:00
Nick Clifton 4bef1a1ca1 Do not complain if gasp does not exist. 2002-02-22 11:37:41 +00:00
Nick Clifton f1e7a2c900 Add missing protoypes.
Remove ANSI style function declarations
2002-02-22 10:49:38 +00:00
Jakub Jelinek 0fb19cbc9a * elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my
last patch.
	* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
2002-02-22 10:03:03 +00:00
Christopher Faylor 6badb179ab * win32-nat.c (register_loaded_dll): Just use raw name when we can't find the
complete path to a loaded DLL.
2002-02-22 01:35:59 +00:00
Fred Fish e8717518fc Approved by Jim Blandy (jimb@redhat.com).
2002-02-21  Fred Fish  <fnf@redhat.com>
	* dbxread.c (process_one_symbol): When finding an N_FUN symbol
	that marks the end of the range of a function, enter a line number
	entry that has a line number of zero and a PC offset that matches
	the end of the function.  This starts a range of PC's for which no
	line number information is known.
	* symtab.c (find_pc_sect_line): If our best fit is in a range of
	PC's for which no line number info is found (line number is zero)
	then we didn't find any valid line information.
	* symtab.h: Document use of zero line number entry.
2002-02-22 00:17:13 +00:00
gdbadmin b78c3c1808 *** empty log message *** 2002-02-22 00:00:05 +00:00
Alan Modra 26144e7f66 daily update 2002-02-21 23:00:05 +00:00
Nick Clifton 25345be504 Fix typo. 2002-02-21 22:39:19 +00:00
Jim Blandy 2bbcdae974 include:
Allow the user to specify functions for allocating memory for
splay tree roots and nodes.
* splay-tree.h (splay_tree_allocate_fn, splay_tree_deallocate_fn):
New types.
(splay_tree): New fields: `allocate', `deallocate', and
`allocate_data'.
(splay_tree_new_with_allocator): New function declaration.

libiberty:

* splay-tree.c (splay_tree_xmalloc_allocate,
splay_tree_xmalloc_deallocate): New functions.
(splay_tree_new): Call splay_tree_new_with_allocator, passing the
above functions and a dummy data pointer.
(splay_tree_new_with_allocator): New function.
(splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
splay_tree_remove): Use the splay tree's allocation and
deallocation functions.
2002-02-21 22:19:14 +00:00
Elena Zannoni 9abe545046 2002-02-21 Elena Zannoni <ezannoni@redhat.com>
* ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define.
	(have_ptrace_getvrregs): Define for run time checks.
	(gdb_vrregset_t): New type for Altivec register handling.
	(fetch_register, store_register): Fetch/store altivec register
	when needed.
	(fetch_altivec_register, store_altivec_register): New functions.
	(supply_vrregset, fill_vrregset): New functions.
	(fetch_altivec_registers, store_altivec_registers): New functions.
	(fetch_ppc_registers, store_ppc_registers): Fetch/store altivec
	registers as well.
2002-02-21 22:04:46 +00:00
Jim Blandy 27924826b5 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
filename at a time, and watch for the ones we want to see.
2002-02-21 20:58:25 +00:00
Jim Blandy a640f7fc6b * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
types of pointers to prototyped functions.
2002-02-21 20:34:16 +00:00