Commit Graph

11150 Commits

Author SHA1 Message Date
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
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
gdbadmin 462f0d6ff3 *** empty log message *** 2002-02-24 00:00:07 +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
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
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
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
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
Andreas Jaeger aaa38bb521 * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o. 2002-02-21 12:48:36 +00:00
Richard Earnshaw b34db5769e * Makefile.in (armnbsd-nat.o): Update dependencies.
* armnbsd-nat.c (supply_gregset): New function.  Common code to
supply the integer register set.
(supply_fparegset): New function.  Similar for FPA registers.
(fetch_regs, fetch_fp_regs): Use them.
(fetch_core_registers): Likewise.
(fetch_elfcore_registers): New function.
(arm_netbsd_elfcore_fns): New core-file type specification.
(_initialize_arm_netbsd_nat): Register it.
2002-02-21 12:19:55 +00:00
Richard Earnshaw 3e56fc4b47 * armnbsd-nat.c: Include gdbcore.h.
(FETCH_INFERIOR_REGISTERS): Just error if this isn't defined.
(fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit
'void' to declaration, to shut up ARI.
(fetch_core_registers): Make static.  Rewrite using supply_register.
(arm_netbsd_core_fns): New core-file type specification.
(_initialize_arm_netbsd_nat): New function.
2002-02-21 11:15:41 +00:00
Christopher Faylor 097f6b0bba * win32-nat.c (register_loaded_dll): Correctly check for invalid handle value. 2002-02-21 06:44:05 +00:00
Christopher Faylor c914e0cc47 * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile fails. 2002-02-21 04:59:36 +00:00
Daniel Jacobowitz 385fa495bf 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
* jv-exp.y (parse_number): Change type of implicit longs
        to builtin_type_uint64.
2002-02-21 02:54:46 +00:00
Andrew Cagney edcc8c754b * gdb.base/sizeof.c (main): Call fill_structs. Print value of
signed, unsigned and straight char.
(padding_char, padding_short, padding_int, padding_long,
padding_long_long, padding_float, padding_double,
padding_long_double): New global variables.
(fill, fill_structs): New functions.

* gdb.base/sizeof.exp: Check for signed and unsigned char.  Check
for correctly sized writes.  Update copyright.
(get_valueof): New procedure.
(get_sizeof): Call get_valueof.
(check_valueof): New procedure.
(check_padding): New procedure.
2002-02-21 01:55:05 +00:00
gdbadmin 73823b989b *** empty log message *** 2002-02-21 00:00:04 +00:00
Michael Chastain ac57ea443e 2002-02-20 Michael Chastain <mec@shout.net>
* gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
	to setup_xfail.  Document some of the remaining calls.
2002-02-20 23:54:01 +00:00
Daniel Jacobowitz e5f1222d6b 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/linux-low.c (mywait): Change argument to waitpid
        to be an integer instead of a `union wait'.
2002-02-20 22:58:57 +00:00
Daniel Jacobowitz 75c9abc620 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
* mips-linux-nat.c: Call the operating system GNU/Linux.
        * mips-linux-tdep.c: Likewise.
        * mips-tdep.c: Likewise.
2002-02-20 22:51:41 +00:00
Daniel Jacobowitz 551792a5ad 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
Fix PR gdb/265.
        * jv-exp.y (parse_number): Handle 64-bit integers.
2002-02-20 22:41:52 +00:00
Jim Blandy 0f5881fada * stabsread.c (error_type_complaint): Improve error message. 2002-02-20 18:40:52 +00:00
Daniel Jacobowitz ee6e2b82d8 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/configure.in: Remove AM_PROC_CC_STDC.  Change
        AC_STDC_HEADERS to AC_HEADER_STDC.
        * gdbserver/configure: Regenerated.
2002-02-20 16:46:36 +00:00
Pierre Muller 78c47bea59 2002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.texinfo: Document Cygwin native specific commands.
2002-02-20 16:09:04 +00:00
Richard Earnshaw a48442a050 * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
is defined.
* sparc-tdep.c (get_longjmp_target): Likewise.
2002-02-20 10:42:59 +00:00
Richard Earnshaw fe419ffc23 * News: Add news about ARM and Multi-arch. Mention the new target
arm*-*-netbsd*.
2002-02-20 10:41:20 +00:00
Jim Blandy 5832ed7e43 * stabsread.c (error_type_complaint): Improve error message. 2002-02-20 00:26:46 +00:00
gdbadmin 077acb315c *** empty log message *** 2002-02-20 00:00:03 +00:00
Daniel Jacobowitz 845630402f 2002-02-19 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/README: Update documentation.
        * gdbserver/configure.in: Update configury to match documentation.
        * gdbserver/Makefile.in: Likewise.
        * gdbserver/configure: Regenerated.
        * gdbserver/aclocal.m4: New file, generated by aclocal.
        * gdbserver/config.in: New file, generated by autoheader.
2002-02-19 23:48:14 +00:00