Commit Graph

17135 Commits

Author SHA1 Message Date
gdbadmin 1bd654d82c *** empty log message *** 2004-08-13 00:00:32 +00:00
Nathanael Nerode 69489883aa 2004-08-09 Robert Millan <robertmh@gnu.org>
Committed by Nathanael Nerode.
	* configure.host: Match kfreebsd*-gnu and knetbsd*-gnu.
	* configure.tgt: Match kfreebsd*-gnu and knetbsd*-gnu.
2004-08-12 22:29:56 +00:00
Andrew Cagney ebb7c577de 2004-08-12 Andrew Cagney <cagney@gnu.org>
* NEWS: Mention fixes in GDB 6.2.1.
	* PROBLEMS: Remove mention of mips-irix.
2004-08-12 21:44:19 +00:00
Jeff Johnston 37fdf8545e 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
* gdb.base/unload.exp: New test for breakpoints in dynamically
        loaded libraries.
        * gdb.base/unload.c: Ditto.
        * gdb.base/unloadshr.c: Ditto.
2004-08-12 20:22:59 +00:00
Michael Chastain 2d3a79861d 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp (test_ptype_class_objects): Call
	cp_test_ptype_class.
	(test_enums): Likewise.
2004-08-12 18:51:41 +00:00
Joel Brobecker 232d697cd0 * config/powerpc/xm-aix.h: Delete.
* config/powerpc/aix.mh (MH_FILE): Remove.
        * config/powerpc/aix432.mh (MH_FILE): Remove.
2004-08-12 06:28:13 +00:00
Joel Brobecker 72f4e82b22 * config/powerpc/aix.mh: Remove obsolete comment.
* config/powerpc/aix432.mh: Likewise.
2004-08-12 05:19:10 +00:00
Joel Brobecker 0687ccb244 * config/powerpc/xm-aix.h (UINT_MAX): Remove undef. 2004-08-12 05:01:17 +00:00
gdbadmin 230d29de81 *** empty log message *** 2004-08-12 00:00:03 +00:00
Joel Brobecker e08e188697 * config/rs6000/xm-aix4.h: Remove "config/xm-aix4.h" include,
this file is now empty.
        * config/xm-aix4.h: Remove, this file is no longer included
        anywhere.
2004-08-11 22:40:45 +00:00
Joel Brobecker dbf3ada764 * config/powerpc/xm-aix.h: Remove "config/xm-aix4.h", that file
is now empty.
        (termdef): Remove prototype, function no longer used.
2004-08-11 22:28:34 +00:00
Joel Brobecker 4c525ef664 * doc/gdbint.texinfo (Host Definition): Remove documentation
for USE_O_NOCTTY, no longer used.
        * config/xm-aix4.h (USE_O_NOCTTY): Remove, no longer used.
        * config/rs6000/xm-rs6000.h (USE_O_NOCTTY): Likewise.
2004-08-11 22:23:05 +00:00
Joel Brobecker 82e0b968b3 * config/xm-aix4.h (FIVE_ARG_PTRACE): Remove, no longer used.
* config/pa/nm-hppah.h (FIVE_ARG_PTRACE): Likewise.
        * config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise.
2004-08-11 21:51:29 +00:00
Mark Kettenis daa9827006 * infptrace.c (call_ptrace): Select code based on PTRACE_TYPE_ARG5
instead of FIVE_ARG_PTRACE.
2004-08-11 09:17:39 +00:00
Mark Kettenis f2acbe1cfb * inflow.c (O_NOCTTY): Define to zero if not already defined.
(new_tty): Use O_NOCTTY unconditionally.
2004-08-11 09:00:57 +00:00
Mark Kettenis cc377e6b36 * procfs.c (procfs_detach): Cleanup. Print process ID, not LWP
ID.  Use comma in output.  Use gdb_flush on gdb_stdout instead of
fflush on stdout.
2004-08-11 06:55:15 +00:00
gdbadmin 32dbff569c *** empty log message *** 2004-08-11 00:00:32 +00:00
Joel Brobecker 3bcc18faa9 * xcoff_symfile_finish: Replace last call to xmfree by call
to xfree.
2004-08-10 23:48:29 +00:00
Andrew Cagney cc503c8aa2 2004-08-10 Andrew Cagney <cagney@gnu.org>
* main.c (captured_main): Delete call to init_malloc.
	* defs.h (init_malloc): Delete declaration.
	* utils.c (mmalloc, mrealloc, mcalloc, mfree)
	(init_malloc): Delete functions.

Index: testsuite/ChangeLog
2004-08-10  Andrew Cagney  <cagney@gnu.org>

	* gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
	init_malloc call.
2004-08-10 22:36:39 +00:00
Andrew Cagney 2dc74dc121 2004-08-10 Andrew Cagney <cagney@gnu.org>
* defs.h (xmfree): Delete.
	* utils.c (xmfree): Delete function.
	(xfree): Inline calls to xmfree and mfree.
	* symmisc.c (free_symtab_block, free_symtab): Use xfree.
	* symfile.c (reread_symbols, init_psymbol_list): Ditto.
	* source.c (forget_cached_source_info, find_and_open_source): Ditto.
	* somread.c (som_symfile_finish): Ditto.
	* objfiles.c (allocate_objfile, free_objfile):
	* nlmread.c (nlm_symfile_finish): Ditto.
	* hpread.c (hpread_symfile_finish): Ditto.
	* elfread.c (free_elfinfo, elf_symfile_finish): Ditto.
	* dbxread.c (dbx_symfile_finish, free_bincl_list): Ditto.
	* coffread.c (coff_symfile_finish): Ditto.
2004-08-10 21:52:05 +00:00
Andrew Cagney aa2ee5f640 2004-08-10 Andrew Cagney <cagney@gnu.org>
* defs.h (xmcalloc): Delete declaration.
	* utils.c (xmcalloc): Delete.
	(xcalloc): Inline calls to xmcalloc and mcalloc.
	* ada-lang.c (_initialize_ada_language): Use htab_create_alloc,
	xcalloc and xfree.
	* symtab.c (create_demangled_names_hash): Ditto.
2004-08-10 21:16:13 +00:00
Andrew Cagney 0efffb96a9 2004-08-10 Andrew Cagney <cagney@gnu.org>
* defs.h (xmrealloc): Delete.
	* utils.c (xmrealloc): Delete.
	(xrealloc): Inline calls to xmrealloc, mmalloc and mrealloc.
	* symmisc.c (extend_psymbol_list): Use xrealloc.
	* source.c (find_source_lines): Ditto.
	* hpread.c (hpread_lookup_type): Ditto.
	* dbxread.c (add_bincl_to_list): Ditto.
2004-08-10 20:03:32 +00:00
Andrew Cagney 7936743b08 2004-08-10 Andrew Cagney <cagney@gnu.org>
* utils.c (xmmalloc): Delete.
	(xmalloc): Inline xmmalloc and mmalloc calls.
	(msavestring): Use xmalloc.
	* defs.h (xmmalloc): Delete declaration.
	* xcoffread.c (xcoff_symfile_init): Use xmalloc instead of
	xmmalloc.
	* symmisc.c (extend_psymbol_list): Ditto.
	* symfile.c (init_psymbol_list): Ditto.
	* source.c (find_source_lines): Ditto.
	* hpread.c (hpread_symfile_init, hpread_lookup_type): Ditto.
	* elfread.c (elf_symtab_read): Ditto.
	* dbxread.c (dbx_symfile_init, init_bincl_list): Ditto.
	* coffread.c (coff_symfile_init): Ditto.
2004-08-10 19:37:47 +00:00
Michael Chastain 902f2ccb3d 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
* ChangeLog: Add copyright notice.  The notice is copied
	from emacs 21.3 top level ChangeLog.
2004-08-10 19:13:35 +00:00
David Carlton 252ab81483 2004-08-10 David Carlton <carlton@bactrian.org>
* MAINTAINERS: Remove David Carlton from c++ testsuite
	maintainers.
2004-08-10 16:36:15 +00:00
Jerome Guitton 8f5ba92b7b * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure to
print a line feed before the prompt.
2004-08-10 16:09:54 +00:00
Mark Kettenis 21749010c8 * procfs.c (procfs_pid_to_str): Use "%ld" to print LWP. 2004-08-10 16:05:38 +00:00
Joel Brobecker 1f011ce276 General cleanup of the AIX xm include file:
* config/xm-aix4.h (fd_set): Remove undefine.
        Remove include of <sys/select.h>.
        (HAVE_TERMIO): Remove define.
        (USG): Likewise.
        (NULL): Remove redefine.
        (alloca): Remove #pragma.
        (vfork): Remove define.
        (termdef): Remove.
        (SIGWINCH_HANDLER): Remove.
        (SIGWINCH_HANDLER_BODY): Remove.
2004-08-10 05:42:22 +00:00
gdbadmin 621df428d7 *** empty log message *** 2004-08-10 00:00:04 +00:00
Michael Chastain 78c9050252 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
* lib/cp-support.exp: New file.
	* lib/cp-support.exp (cp_test_type_class): New function.
	* gdb.cp/derivation.exp: Use cp_test_ptype_class.
	* gdb.cp/virtfunc.exp (test_one_ptype): Removed.
	* gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
	cp_test_ptype_class.
2004-08-09 22:47:50 +00:00
Michael Chastain 88e5ea782b 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
	gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
	gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
	gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
	gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
	gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
	gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
	gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
	gdb.mi/mi2-watch.exp: Update copyright years.
2004-08-09 22:21:54 +00:00
Mark Kettenis cf4e76924c * configure.tgt (x86_64-*-openbsd*): Set gdb_osabi to
GDB_OSABI_OPENBSD_ELF.
2004-08-09 21:20:28 +00:00
Mark Kettenis ac5754fafa * bsd-kvm.c: Check for nlist.h before including it. 2004-08-09 21:10:20 +00:00
Mark Kettenis bbe06c740e * i386bsd-nat.c (_initialize_i386bsd_nat): Remove `struct
sigcontext' offset consistency checks for ancient BSD.
2004-08-09 20:40:14 +00:00
Mark Kettenis 3aa7b3b329 * gdb_curses.h [HAVE_CURSESX_H]: Include <cursesX.h> 2004-08-09 19:29:27 +00:00
Mark Kettenis 086ec9ebe9 * configure.in: Check for <sys/types.h>. Check return and
argument types of ptrace.
* configure, config.in: Regenerate.
2004-08-09 19:20:13 +00:00
Mark Kettenis 6a89fc9c75 * gdb.base/sigaltstack.exp: Provide proper anchoring. 2004-08-09 19:09:30 +00:00
Jim Blandy 09991fa0ee * rs6000-tdep.c (set_sim_regno, init_sim_regno_table,
rs6000_register_sim_regno): Doc fixes.
2004-08-09 18:43:21 +00:00
Michael Chastain 1482e0de82 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
	gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
	gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
	gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
	gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
	gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
	gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
	gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
	gdb.mi/mi-watch.exp: Update copyright years.
2004-08-09 16:32:44 +00:00
Daniel Jacobowitz 1a5ce3f34d PR gdb/1738
* gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
	from a breakpoint with a pending signal.
2004-08-09 13:17:34 +00:00
Daniel Jacobowitz 04f6ecf279 PR gdb/1736
* lib/gdb.exp (gdb_test_multiple): Handle return -code return.
	* gdb.base/sigaltstack.exp (finish_test): Consume output until
	the prompt.
	* gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
2004-08-09 13:16:16 +00:00
Daniel Jacobowitz 54d90d3515 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'. 2004-08-09 13:15:26 +00:00
Joel Brobecker fed7ba43e0 * mips-tdep.c: Include "floatformat.h".
(n32n64_floatformat_always_valid): New function.
        (floatformat_n32n64_long_double_big): New constant.
        (mips_gdbarch_init): Set size and format of long double
        for N32 and N64 ABIs.
        * Makefile.in (mips-tdep.o): Update dependencies.
2004-08-09 05:45:20 +00:00
gdbadmin 1161513d28 *** empty log message *** 2004-08-09 00:00:02 +00:00
Daniel Jacobowitz d2f6abb049 PR gdb/1736
* gdb.base/sigaltstack.exp (finish_test): New procedure.  KFAIL
	for i?86-*-linux*.
2004-08-08 23:14:33 +00:00
Daniel Jacobowitz 5598c03d21 * gdb.arch/i386-prologue.exp: Compile without debug information. 2004-08-08 22:15:08 +00:00
Andrew Cagney 2f9b146ed8 2004-08-08 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh: Delete "fmt" and "attrib" fields.  Always use %s to
	print.  Improve script's error messages.
	* gdbarch.h: Re-generate.
2004-08-08 20:50:57 +00:00
Andrew Cagney 456fcf94f7 2004-08-08 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (pformat): New function.
	(float_format, double_format, long_double_format): List with bit
	members.  Use pformat when printing.
	* gdbarch.c, gdbarch.h: Re-generate.
2004-08-08 19:49:43 +00:00
Nathan J. Williams 69e9e646da * ppcnbsd-nat.c: Include <machine/frame.h>, <machine/pcb.h>,
"gdbcore.h", "regcache.h", and "bsd-kvm.h".
        (ppcnbsd_supply_pcb): New function.
        (_initialize_ppcnbsd_nat): New prototype and function.
        * config/powerpc/nbsd.mh (NATDEPFILES): Add bsd-kvm.o.
        (LOADLIBES): New variable.
        * Makefile.in (ppcnbsd-nat.o): Update dependencies.
2004-08-08 19:27:10 +00:00
Andrew Cagney 5ef2d0aac2 2004-08-08 Andrew Cagney <cagney@gnu.org>
* gdbtypes.c (builtin_type_arm_ext, builtin_type_ieee_single)
	(builtin_type_ieee_double, builtin_type_ia64_quad)
	(builtin_type_ia64_spill, _initialize_gdbtypes): Add tables of
	BE/LE floating-point types.
	* gdbtypes.h (builtin_type_arm_ext, builtin_type_ieee_single)
	(builtin_type_ieee_double, builtin_type_ia64_quad)
	(builtin_type_ia64_spill): Declare.
	* doublest.c (_initialize_doublest, floatformat_ieee_single)
	(floatformat_ieee_double, floatformat_arm_ext)
	(floatformat_ia64_spill, floatformat_ia64_quad): Add tables
	of LE/BE floatformats.
	* doublest.h: (struct floatformat, floatformat_ieee_single)
	(floatformat_ieee_double, floatformat_arm_ext)
	(floatformat_ia64_spill, floatformat_ia64_quad): Declare.
2004-08-08 17:18:16 +00:00