aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2004-08-102004-08-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney6-45/+10
* 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-102004-08-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney13-41/+45
* 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-102004-08-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-26/+26
* 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-102004-08-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney7-34/+33
* 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-102004-08-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney11-51/+45
* 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-102004-08-10 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain1-0/+10
* ChangeLog: Add copyright notice. The notice is copied from emacs 21.3 top level ChangeLog.
2004-08-102004-08-10 David Carlton <carlton@bactrian.org>David Carlton2-1/+5
* MAINTAINERS: Remove David Carlton from c++ testsuite maintainers.
2004-08-10 * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure toJerome Guitton2-1/+10
print a line feed before the prompt.
2004-08-10* procfs.c (procfs_pid_to_str): Use "%ld" to print LWP.Mark Kettenis2-1/+5
2004-08-10 General cleanup of the AIX xm include file:Joel Brobecker2-62/+14
* 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*** empty log message ***gdbadmin1-1/+1
2004-08-092004-08-09 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain4-483/+632
* 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-092004-08-09 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain20-19/+32
* 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* configure.tgt (x86_64-*-openbsd*): Set gdb_osabi toMark Kettenis2-1/+8
GDB_OSABI_OPENBSD_ELF.
2004-08-09* bsd-kvm.c: Check for nlist.h before including it.Mark Kettenis2-0/+6
2004-08-09* i386bsd-nat.c (_initialize_i386bsd_nat): Remove `structMark Kettenis2-2/+7
sigcontext' offset consistency checks for ancient BSD.
2004-08-09* gdb_curses.h [HAVE_CURSESX_H]: Include <cursesX.h>Mark Kettenis2-0/+4
2004-08-09* configure.in: Check for <sys/types.h>. Check return andMark Kettenis4-288/+594
argument types of ptrace. * configure, config.in: Regenerate.
2004-08-09* gdb.base/sigaltstack.exp: Provide proper anchoring.Mark Kettenis2-1/+5
2004-08-09* rs6000-tdep.c (set_sim_regno, init_sim_regno_table,Jim Blandy2-0/+20
rs6000_register_sim_regno): Doc fixes.
2004-08-092004-08-09 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain21-20/+32
* 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 PR gdb/1738Daniel Jacobowitz2-0/+21
* gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing from a breakpoint with a pending signal.
2004-08-09 PR gdb/1736Daniel Jacobowitz4-2/+30
* 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 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.Daniel Jacobowitz2-1/+5
2004-08-09 * mips-tdep.c: Include "floatformat.h".Joel Brobecker2-0/+42
(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*** empty log message ***gdbadmin1-1/+1
2004-08-08 PR gdb/1736Daniel Jacobowitz2-7/+28
* gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL for i?86-*-linux*.
2004-08-08 * gdb.arch/i386-prologue.exp: Compile without debug information.Daniel Jacobowitz2-1/+7
2004-08-082004-08-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-99/+90
* gdbarch.sh: Delete "fmt" and "attrib" fields. Always use %s to print. Improve script's error messages. * gdbarch.h: Re-generate.
2004-08-082004-08-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-99/+125
* 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 * ppcnbsd-nat.c: Include <machine/frame.h>, <machine/pcb.h>,Nathan J. Williams4-3/+62
"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-082004-08-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-0/+98
* 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-082004-08-08 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-56/+102
* lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl rather than asking gdb to search.
2004-08-08* i386gnu-nat.c (gnu_store_registers): Fix typo.Mark Kettenis2-1/+3
2004-08-08* i386gnu-nat.c (gnu_store_registers): Use regcache_raw_collectMark Kettenis2-2/+5
instead of regcache_raw_supply when storing the registers.
2004-08-08* i386gnu-nat.c: Update copyright year.Mark Kettenis2-12/+13
(gnu_store_registers): Don't use deprecated_registers and deprecated_registers_valid. Use regcache_valid_p and regcache_raw_supply instead.
2004-08-08* vax-tdep.c (vax_frame_this_id): Use frame_func_unwind instead ofMark Kettenis2-1/+4
frame_pc_unwind.
2004-08-08* procfs.c (procfs_pid_to_str): Remove redundant and unusedMark Kettenis2-16/+9
variables. Incapitalized "process".
2004-08-08*** empty log message ***gdbadmin1-1/+1
2004-08-07* configure.in: Add cursesX to the list of possible curses libs.Mark Kettenis4-192/+239
Add cursesX.h to the list of possible curses headers. * configure, config.in: Regenerate.
2004-08-07 * configure.in: Test for struct lwp in <sys/lwp.h>Nathan J. Williams3-0/+20
* bsd-kvm.c (bsd_kvm_proc_cmd): If HAVE_STRUCT_LWP is defined, use the offset of l_addr in struct lwp.
2004-08-07 * bsd-kvm.c: Include "gdbcore.h"Nathan J. Williams2-0/+7
(bsd_kvm_open): Use get_exec_file() to set 'execfile'.
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-25/+49
* gdbtypes.c (build_flt, build_complex): New functions. (gdbtypes_post_init): Use.
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-1/+3
* doublest.c (floatformat_from_length): Fix tipo, "*" not "&".
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-10/+3
* gdbtypes.c (_initialize_gdbtypes): Do not swap builtin_type_int8 through to builtin_type_uint128.
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-53/+55
* c-exp.y: Use builtin_type function to obtain builtin types.
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-109/+56
* gdbtypes.h (struct builtin_type): Delete builtin_int0 through to builtin_uint128. * gdbtypes.c (gdbtypes_post_init): Update. (build_gdbtypes): Move initialization of builtin_type_int0 through to builtin_type_uint128 from here ... (_initialize_gdbtypes): ... to here. * d10v-tdep.c (d10v_register_type): Update.
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-23/+22
* doublest.c: Update copyright. (floatformat_from_length): Call error when floatformat is NULL. (extract_floating_by_length): Remove NULL fmt check. (store_floating_by_length): Ditto.
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-0/+13
* regcache.c (regcache_raw_read): For the moment, #ifdef assert that the register is valid.
2004-08-07*** empty log message ***gdbadmin1-1/+1