aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-01-27 * configure.in: Check that -pg works if using --enable-profiling.Daniel Jacobowitz5-439/+458
Check for monstartup and _mcleanup regardless of --enable-profiling. * maint.c: Check for monstartup and _mcleanup before using them. * config.in: Regenerated. * configure: Regenerated.
2003-01-27*** empty log message ***gdbadmin1-1/+1
2003-01-26*** empty log message ***gdbadmin1-1/+1
2003-01-25*** empty log message ***gdbadmin1-1/+1
2003-01-24*** empty log message ***gdbadmin1-1/+1
2003-01-23* symfile.c (syms_from_objfile): Don't print the "(no debuggingJim Blandy2-15/+17
symbols found)" message here; we haven't checked for a separate debug info file yet, so we don't know yet. (symbol_file_add_with_addrs_or_offsets): Print it here, after we've looked everywhere. Also, there's no need to print a special message when we're loading the separate debug info file: the one symbol_file_add prints is fine.
2003-01-23gdb/ChangeLog:Jim Blandy14-508/+1177
2003-01-23 Alexander Larsson <alexl@redhat.com> Jim Blandy <jimb@redhat.com> Add support for executables whose debug info has been separated out into a separate file, leaving only a link behind. * objfiles.h (struct objfile): New fields: separate_debug_objfile and separate_debug_objfile_backlink. (put_objfile_before): New declaration. * symfile.c: #include "filenames.h". (symbol_file_add_with_addrs_or_offsets): If this objfile has its debug info in a separate file, read that, too. Save the addrs argument, so we can use it again to read the separated debug info; syms_from_objfile modifies the table we pass it. (reread_symbols): After re-reading an objfile, call reread_separate_symbols to refresh its separate debug info objfile, if it has one. (reread_separate_symbols, find_separate_debug_file, get_debug_link_info, separate_debug_file_exists): New functions. (debug_file_directory): New global var. (_initialize_symfile): Initialize debug_file_directory, and provide the new `set debug-file-directory' command to let the user change it. * objfiles.c (free_objfile): If this objfile has its debug info in a separate objfile, free that one too. If this is itself a separate debug info objfile, clear our parent's backlink. (put_objfile_before): New function. * utils.c (gnu_debuglink_crc32): New function. * defs.h (gnu_debuglink_crc32): New declaration. * Makefile.in (symfile.o): Note dependency on "filenames.h". * configure.in: Handle --with-separate-debug-dir config option. * acinclude.m4 (AC_DEFINE_DIR): New macro. * acconfig.h (DEBUGDIR): New macro. * configure, aclocal.m4, config.in: Regenerated. gdb/doc/ChangeLog: 2003-01-23 Jim Blandy <jimb@redhat.com> * gdb.texinfo (Separate Debug Files): New section.
2003-01-23* symfile.c (symbol_file_add_with_addrs_or_offsets): New function,Jim Blandy2-9/+38
like the old symbol_file_add, but taking new arguments: you can now pass in either a `struct section_addr_info' list to say where each section is loaded, or a `struct section_offsets' table. Pass these new arguments through to syms_from_objfile as appropriate. (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, with the appropriate quiescent values for the new arguments.
2003-01-23* symfile.c: #include "gdb_assert.h".Jim Blandy5-38/+94
(syms_from_objfile): Add the ability to pass in a section offset table directly, as an alternative to the section_addr_info table. Document arguments better. (symbol_file_add): Pass extra arguments to syms_from_objfile. * symfile.h (syms_from_objfile): Update declaration. * rs6000-nat.c (objfile_symbol_add): Pass new arguments to syms_from_objfile. * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
2003-01-23 * gdb.exp (gdb_test_multiple): New function, cloned fromDaniel Jacobowitz2-41/+145
gdb_test. Accept a list of expect arguments as the third parameter. (gdb_test): Use it.
2003-01-23*** empty log message ***gdbadmin1-1/+1
2003-01-22 Original patch by Tom Tromey <tromey@cygnus.com> andDaniel Jacobowitz6-518/+728
Jason Molenda <jmolenda@apple.com>. * Makefile.in (PROFILE_CFLAGS): Substitute from configure. (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS. * NEWS: Mention profiling. * configure.in (--enable-gdbtk): Fix typo. (--enable-profiling): New. Set PROFILE_CFLAGS. * maint.c (maintenance_set_profile_cmd): Remove NOTYET. Fill in function. (profiling_state): New variable. (mcleanup_wrapper): New function. (_initialize_maint): Remove NOTYET, fix call to add_setshow_boolean_cmd for "maint set profile". * configure: Regenerated.
2003-01-22 * gdb.texinfo (Maintenance Commands): Add "maint set profile"Daniel Jacobowitz2-0/+23
and "maint show profile".
2003-01-22*** empty log message ***gdbadmin1-1/+1
2003-01-212003-01-21 Martin M. Hunt <hunt@redhat.com>Martin Hunt2-1/+5
* Makefile.in (install-gdbtk): Install PNG images too.
2003-01-212003-01-21 Andrew Cagney <ac131313@redhat.com>Andrew Cagney8-74/+20
* exec.c (text_start): Delete global variable. (exec_file_attach): Make text_start local to the function. * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros. * valops.c (hand_function_call): Delete code that handles BEFORE_TEXT_END and AFTER_TEXT_END. * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead of CALL_DUMMY_LOCATION. * gdbarch.c: Regenerate. * inferior.h (deprecated_pc_in_call_dummy_before_text_end) (deprecated_pc_in_call_dummy_after_text_end): Delete declaration. * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) (deprecated_pc_in_call_dummy_after_text_end): Delete functions. (text_end): Delete extern declaration.
2003-01-212003-01-21 Andrew Cagney <ac131313@redhat.com>Andrew Cagney5-106/+230
* frame.h (FRAME_OBSTACK_ZALLOC): Define. * blockframe.c (backtrace_below_main): Move to "frame.c". (frame_chain_valid): Delete check for backtrace_below_main. (_initialize_blockframe): Delete initialization, move ``set backtrace-below-main'' command to "frame.c". (do_flush_frames_sfunc): Delete function. * frame.c: Include "command.h" and "gdbcmd.h". (frame_type_from_pc): New function. (create_new_frame): Use frame_type_from_pc. (legacy_get_prev_frame): New function. (get_prev_frame): Rewrite. When an old style frame, call legacy_get_prev_frame. Otherwize, unwind the PC first. (_initialize_frame): Add ``set backtrace-below-main'' command. * Makefile.in (frame.o): Update dependencies.
2003-01-21*** empty log message ***gdbadmin1-1/+1
2003-01-202003-01-20 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni15-53/+69
* gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to allow for different test tree configurations. Update some tescases accordingly. * gdb.arch/altivec-regs.exp: Ditto. * gdb.asm/asm-source.exp: Ditto. * gdb.base/advance.exp: Ditto. * gdb.base/display.exp: Ditto. * gdb.base/long_long.exp: Ditto. * gdb.base/mips_pro.exp: Ditto. * gdb.base/overlays.exp: Ditto. * gdb.base/relocate.exp: Ditto. * gdb.base/setshow.exp: Ditto. * gdb.base/step-line.exp: Ditto. * gdb.base/step-test.exp: Ditto. * gdb.base/until.exp: Ditto. * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2003-01-202003-01-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-3/+8
* config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename DEPRECATED_REGISTERS_INFO.
2003-01-202003-01-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-2/+7
* MAINTAINERS: Replace `Blanket Write Privs' with `Global Maintainers'. Update `Various Maintainers'.
2003-01-20*** empty log message ***gdbadmin1-1/+1
2003-01-192003-01-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney5-5/+59
* frame.c (frame_saved_regs_pop): Assert POP_FRAME_P. * gdbarch.sh (POP_FRAME): Change to function with predicate. Suppress actual parameters when `-'. * gdbarch.h, gdbarch.c: Regenerate.
2003-01-192003-01-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-2/+14
* d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore code handling dummy frames.
2003-01-192003-01-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney8-14/+118
* frame-unwind.h (frame_unwind_pop_ftype): Declare. (struct frame_unwind): Add field pop. * frame.h (frame_pop): Declare. * frame.c (frame_saved_regs_pop): New function. (trad_frame_unwinder): Add frame_saved_regs_pop. (frame_pop): New function. * dummy-frame.c (dummy_frame_pop): New function. (discard_innermost_dummy): New function. (generic_pop_dummy_frame): Use discard_innermost_dummy. (dummy_frame_unwind): Add dummy_frame_pop. * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME. * valops.c (hand_function_call): Ditto. * stack.c (return_command): Ditto.
2003-01-19*** empty log message ***gdbadmin1-1/+1
2003-01-192003-01-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney23-109/+104
* cris-tdep.c: Fix function declaration indentation. * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. * xcoffread.c, config/pa/tm-hppa.h: Ditto. * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
2003-01-182003-01-16 Michael Chastain <mec@shout.net>Michael Chastain2-1/+19
* README (Unpacking and Installation -- quick overview): Warn against ".../gdb-5.3/gdb/configure".
2003-01-182003-01-16 Michael Chastain <mec@shout.net>Michael Chastain2-13/+22
* gdb.texinfo (Installing GDB): Warn against ".../gdb-VERSION/gdb/configure". (Separate Objdir): Likewise.
2003-01-182003-01-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney8-119/+293
* dummy-frame.h (dummy_frame_id_unwind): Delete declaration. (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. (struct frame_unwind): Declare opaque. (dummy_frame_p): Declare function. * dummy-frame.c (dummy_frame_id_unwind): Make static. (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. * dummy-frame.c: Include "frame-unwind.h". (dummy_frame_p): New function. (dummy_frame_unwind): New variable. * frame.c: Include "frame-unwind.h". (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update to use the new unwind field. (set_unwind_by_pc): Delete function. (create_new_frame, get_prev_frame): Set unwind field using frame_unwind_find_by_pc. (trad_frame_unwind, trad_frame_unwinder): New variables. * frame.h (trad_frame_unwind): Declare variable. (frame_id_unwind_ftype): Delete declaration. (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto. (struct frame_unwind): Declare opaque. (struct frame_info): Replace the fields id_unwind, pc_unwind and register_unwind with a single unwind pointer. * frame-unwind.h, frame-unwind.c: New files. * Makefile.in (SFILES): Add frame-unwind.c. (frame_unwind_h): Define. (COMMON_OBS): Add frame-unwind.o. (frame-unwind.o): Specify dependencies. (frame.o, dummy-frame.o): Update dependencies.
2003-01-182003-01-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney31-106/+117
* ada-valprint.c: Eliminate PTR. * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
2003-01-18*** empty log message ***gdbadmin1-1/+1
2003-01-172003-01-17 David Carlton <carlton@math.stanford.edu>David Carlton2-2/+11
* gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test corresponding to PR c++/945. Update copyright.
2003-01-172003-01-17 David Carlton <carlton@math.stanford.edu>David Carlton2-14/+15
* gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests corresponding to PR c++/68. (and fix date of previous ChangeLog entry; oops.)
2003-01-172003-01-16 David Carlton <carlton@math.stanford.edu>David Carlton2-5/+44
* gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure. (test_paddr_hairy_functions): Call print_addr_2_kfail for hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2003-01-172003-01-17 Andrew Cagney <ac131313@redhat.com>Andrew Cagney6-7/+16
* main.c (captured_main): Don't use PTR. * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. * gdbtypes.c (lookup_primitive_typename): Ditto. (lookup_struct_elt_type): Ditto. * f-valprint.c (info_common_command): Ditto. (list_all_visible_commons): Ditto. * jv-typeprint.c (java_type_print_base): Ditto.
2003-01-172003-01-17 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-1/+29
* config/djgpp/fnchange.lst: Rename mi1-var-block.exp, mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp. Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename i386-interix-nat.c and i386-interix-tdep.c. Rename m68klinux-nat.c and m68klinux-tdep.c. Rename config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename gdb/objc-exp.tab.c and gdb/ada-exp.tab.c * main.c (captured_main): Use xfree, not free.
2003-01-17*** empty log message ***gdbadmin1-1/+1
2003-01-162003-01-16 Andrew Cagney <ac131313@redhat.com>Andrew Cagney5-22/+41
* frame.h (frame_id_unwind_ftype): Change type so that the frame's ID back using a parameter. * frame.c (frame_id_unwind): Update call. (frame_saved_regs_id_unwind): Update. * dummy-frame.c (dummy_frame_id_unwind): Update function. * dummy-frame.h (struct frame_id): Add opaque declaration. (dummy_frame_id_unwind): Update declaration.
2003-01-162003-01-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-2/+14
* gdb.base/break.exp: Fix change of default location, because of removal of until tests. * gdb.base/help.exp: Update test for new 'until' help message. Add test for help on 'advance'.
2003-01-162003-01-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+6
* gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2003-01-16*** empty log message ***gdbadmin1-1/+1
2003-01-15Added a period under at the end of the comment and fixed the date.Stephen P. Smith1-2/+2
2003-01-152003-01-15 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-7/+10
* sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK. Index: doc/ChangeLog 2003-01-15 Andrew Cagney <ac131313@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete definition of PRINT_REGISTER_HOOK.
2003-01-152003-01-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-3/+7
(OpenRISC 1000): Fix formatting of command names.
2003-01-15* gdb.base/default.exp: Adapt "info float" test for recent changesMark Kettenis3-10/+73
to that command. Add test for "info vector". * gdb.base/float.exp: New file. Add test for "info float" that resembles the old test in gdb.base/default.exp.
2003-01-152003-01-15 David Carlton <carlton@math.stanford.edu>David Carlton2-0/+10
* gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2003-01-15Updated the email address for Stephen P. SmithStephen P. Smith2-1/+5
2003-01-152003-01-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-2/+34
* gdb.texinfo (Continuing and Stepping): Add new command 'advance'. Clarify behavior of 'until'.
2003-01-152003-01-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni5-25/+226
* gdb.base/break.exp: Move the tests of until command from here... * gdb.base/until.exp: ... to here. New file. Add other tests. * gdb.base/advance.c: New file. * gdb.base/advance.exp: New file.