aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-02-06whitespace cleanupChristopher Faylor2-10/+10
2003-02-06* win32-nat.c (get_relocated_section_addrs): New function. Find section loadChristopher Faylor3-10/+198
addresses for symbol handling in relocated DLLs. (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
2003-02-062003-02-06 Jason Molenda (jason-cl@molenda.com)Jason Molenda2-0/+9
* gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining why the code is written that way.
2003-02-06Checked in as obvious fixes. Also updated FSF copyright year to 2003Fred Fish4-7/+18
for remote-e7000.c and infttrace.c. 2003-02-05 Fred Fish <fnf@intrinsity.com> * remote-e7000.c (e7000_drain_command): Fix precedence problem with '=' and '!='. * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem with '&' and '=='. (angel_RDI_info): Ditto. * infttrace.c (threads_continue_all_but_one): Fix precedence problem with '&' and '!='. (threads_continue_all_with_signals): Ditto.
2003-02-062003-02-05 Michael Chastain <mec@shout.net>Michael Chastain2-0/+5
* gdb.base/dump.exp: Add missing copyright line.
2003-02-06typeoJason Molenda1-1/+1
2003-02-062003-02-05 Jason Molenda (jason-cl@molenda.com)Jason Molenda2-2/+8
* gdb.mi/mi-syn-frames.c (subroutine): Add an extra statement at the beginning so the breakpoint doesn't get set on the loop.
2003-02-06Add missing files from last commit :-(Andrew Cagney6-1/+1141
2003-02-062003-02-05 Michael Chastain <mec@shout.net>Michael Chastain1-0/+5
* gdb.c++/local.exp: Relax the test for PR gdb/825 to accept output for configurations with gcc 2.95.3.
2003-02-062003-02-05 Michael Chastain <mec@shout.net>Michael Chastain1-1/+1
* gdb.c++/local.exp: Relax the test for PR gdb/825 to accept output for configurations with gcc 2.95.3.
2003-02-062003-02-05 Keith Seitz <keiths@redhat.com>Andrew Cagney2-0/+213
Andrew Cagney <ac131313@redhat.com> * gdb.mi/mi-cli.exp: New file.
2003-02-062003-02-05 Jim Ingham <jingham@apple.com>Andrew Cagney15-196/+248
Keith Seitz <keiths@redhat.com> Elena Zannoni <ezannoni@redhat.com> Andrew Cagney <ac131313@redhat.com> * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o". (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c". (SUBDIR_MI_OBS): Add "mi-interp.o". (SUBDIR_MI_SRCS): Add "mi/mi-interp.c". (SFILES): Add "interps.c". (COMMON_OBS): Add "interps.o". (interps_h, mi_main_h): Define. (interps.o, cli-interp.o, mi-interp.o): Add dependencies. (mi-main.o, main.o, event-top.o): Update dependencies. * cli/cli-interp.c: New file. * interps.h, interps.c: New files. * top.c: (gdb_init): Don't install the default interpreter, handed by captured_main. * main.c: Include "interps.h". (interpreter_p): Note that it should malloc'ed. (captured_command_loop): Call current_interp_command_loop. (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use xfree and xstrdup when updating interpreter_p. Install the default interpreter. Add hack to stop mi1's copyright notice being encoded. * event-top.h (gdb_setup_readline): Declare. (gdb_disable_readline): Declare. * event-top.c: Include "interps.h". (display_gdb_prompt): Call current_interp_display_prompt_p. (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr, gdb_stdlog, and gdb_stdtarg. (_initialize_event_loop): Don't call gdb_setup_readline. * cli-out.c (cli_out_set_stream): New function. * cli-out.h (cli_out_set_stream): Declare.
2003-02-06*** empty log message ***gdbadmin1-1/+1
2003-02-05* configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,Mark Kettenis5-13/+8
i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all handled fine by i[3456]86-*sco* and i[3456]86-sysv*. * config/i386/i386sco5.mt, config/i386/i386v4.mt, config/i386/i386v42mp.mt: Removed.
2003-02-05* configure.tgt (*-*-solaris*): Set gdb_osabi toMark Kettenis2-0/+6
GDB_OSABI_SOLARIS.
2003-02-052003-02-05 Michael Chastain <mec@shout.net>Michael Chastain2-0/+14
* PROBLEMS (i[3456]86-*-linux*): Warn about binutils 2.12.1 and earlier versions.
2003-02-052003-02-05 Andrew Cagney <ac131313@redhat.com>Andrew Cagney20-474/+17
Remove orphaned hosts, targets and files. * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete. * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete. * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete. * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete. * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete. * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete. * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete. * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete. * config/sparc/tm-sp64sim.h: Delete. * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-* hosts. * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and mips*-dec-mach3* targets.
2003-02-052003-02-04 Michael Chastain <mec@shout.net>Michael Chastain2-1/+5
* NEWS: Fix typo: sepcifying -> specifying.
2003-02-052003-02-04 Michael Chastain <mec@shout.net>Michael Chastain2-2/+8
* gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file. Call perror and then continue.
2003-02-052003-02-04 Michael Chastain <mec@shout.net>Michael Chastain2-0/+45
* dwarfread.c: Add documentation on the state of dwarf-1, looking towards obsoletion.
2003-02-052003-02-03 Michael Chastain <mec@shout.net>Michael Chastain2-0/+7
* config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc, gdb/testsuite/gdb.c++/pr-1023.exp.
2003-02-052003-02-03 Michael Chastain <mec@shout.net>Michael Chastain3-0/+104
* gdb.c++/pr-1023.cc: New file. * gdb.c++/pr-1023.exp: New file.
2003-02-05* gdb.c++/local.exp: Don't expect Local to be in scope in main;Jim Blandy3-4/+47
it's local to foobar. Check for it there, and check that it's not present in main. * gdb.c++/local.cc (marker2): New function. (foobar): Call marker1. (main): Call marker2 instead of marker1.
2003-02-05*** empty log message ***gdbadmin1-1/+1
2003-02-042003-02-04 Andrew Cagney <ac131313@redhat.com>Andrew Cagney7-38/+12
* values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR. * TODO: Delete reference to IS_TRAPPED_INTERNALVAR. * utils.c (init_page_info): Delete reference to MPW in comments. * main.c (captured_main): Delete #ifdef MPW. Index: doc/ChangeLog 2003-02-04 Andrew Cagney <ac131313@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete descrption of IS_TRAPPED_INTERNALVAR.
2003-02-042003-02-04 Andrew Cagney <ac131313@redhat.com>Andrew Cagney10-3298/+3311
* NEWS: Note that the m32r-*-elf* is obsolete. * monitor.c (monitor_expect): Obsolete reference to m32r. * configure.tgt: Mark m32r-*-elf* as obsolete. * MAINTAINERS: Mark m32k as obsolete. * m32r-rom.c: Obsolete file. * config/m32r/m32r.mt: Obsolete file. * config/m32r/tm-m32r.h: Obsolete file. * m32r-stub.c: Obsolete file. * m32r-tdep.c: Obsolete file.
2003-02-042003-02-04 Andrew Cagney <ac131313@redhat.com>Andrew Cagney7-839/+845
* NEWS: Mention that the z8k-zilog-none is obsolete. * MAINTAINERS: Mark z8k as obsolete. * configure.tgt: Obsolete the z8k-*-coff* target. * config/z8k/z8k.mt: Obsolete file. * config/z8k/tm-z8k.h: Obsolete file. * z8k-tdep.c: Obsolete file.
2003-02-042003-02-04 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+72
From Keith Seitz <keiths@redhat.com>: * gdb.texinfo (Interpreters): New chapter. Refer the command-line option "-i"/"--interpreter" to this chapter. Include index entries.
2003-02-042003-02-04 Andrew Cagney <ac131313@redhat.com>Andrew Cagney14-1610/+1628
* NEWS: Mention that the mn10200-elf is obsolete. * configure.tgt: Obsolete mn10200-*-* target. * breakpoint.c (update_breakpoints_after_exec): Update comment to mention that the mn10200 is obsolete. * breakpoint.h: Ditto. * MAINTAINERS: Mark the mn10200-elf as obsolete. * config/mn10200/mn10200.mt: Obsolete file. * config/mn10200/tm-mn10200.h: Obsolete file. * mn10200-tdep.c: Obsolete file. Index: testsuite/ChangeLog 2003-02-04 Andrew Cagney <ac131313@redhat.com> * gdb.disasm/mn10200.exp: Obsolete file. * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200. * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200. * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
2003-02-042003-02-04 Andrew Cagney <ac131313@redhat.com>Andrew Cagney8-1116/+1130
* MAINTAINERS: Mark h8500 as obsolete. * configure.tgt (h8500-*-*): Mark h8500 code as obsolete. * findvar.c (value_from_register): Ditto. * h8500-tdep.c: Mark file as obsolete. * config/h8500/h8500.mt: Ditto. * config/h8500/tm-h8500.h: Ditto. * NEWS: Mention that h8500 is obsolete.
2003-02-042003-02-04 David Carlton <carlton@math.stanford.edu>David Carlton3-0/+25
* objfiles.c (allocate_objfile): Always set name. Add comment at start of function. * jv-lang.c (get_dynamics_objfile): Add comment.
2003-02-042003-02-04 David Carlton <carlton@math.stanford.edu>David Carlton3-16/+13
* symtab.h (SYMBOL_LINKAGE_NAME): Delete. * printcmd.c (build_address_symbolic): Replace uses of SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME, SYMBOL_NAME, and asm_demangle. Update copyright.
2003-02-042003-02-04 David Carlton <carlton@math.stanford.edu>David Carlton2-17/+41
* linespec.c (decode_compound): Extract code into lookup_prefix_sym. (lookup_prefix_sym): New function.
2003-02-042003-02-04 David Carlton <carlton@math.stanford.edu>David Carlton6-16/+34
* gdb.texinfo (C@t{++}): Recommend DWARF 2, then stabs+. (Variables): Recommend stabs+ and DWARF 2. (C plus plus expressions): Correct info about compiler versions, debug formats. (Contributors): Change 'DWARF2' to 'DWARF 2'. PR symtab/874. 2003-02-04 David Carlton <carlton@math.stanford.edu> * gdb.c++/overload.exp: Test intToChar(1). * gdb.c++/overload.cc (intToChar): New. (main): Call intToChar.
2003-02-042003-02-04 David Carlton <carlton@math.stanford.edu>David Carlton2-33/+35
* gdb.texinfo (C@t{++}): Recommend DWARF 2, then stabs+. (Variables): Recommend stabs+ and DWARF 2. (C plus plus expressions): Correct info about compiler versions, debug formats. (Contributors): Change 'DWARF2' to 'DWARF 2'. PR symtab/874.
2003-02-04* dwarf2read.c (dwarf2_locate_sections): When we find a macro infoJim Blandy2-1/+7
section, let dwarf_macinfo_section point to it, not dwarf_loc_section.
2003-02-042003-02-04 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+33
From Keith Seitz <keiths@redhat.com>: * gdbmi.texinfo (GDB/MI Miscellaneous Commands): Document the interpreter-exec command.
2003-02-04 Pointed out by Anton Blanchard <anton@samba.org>.Daniel Jacobowitz2-6/+32
* ppc-linux-tdep.c (insn_is_sigreturn): New function. (ppc_linux_at_sigtramp_return_path): Use it.
2003-02-04 * defs.h (streq): Add prototype.Daniel Jacobowitz14-102/+221
* utils.c (streq): New function. * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME. * mdebugread.c (new_symbol): Likewise. * stabsread.c (define_symbol): Likewise. * coffread.c (process_coff_symbol): Likewise. * dwarfread.c (new_symbol): Likewise. * minsyms.c (prim_record_minimal_symbol_and_info): Use SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language here. (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call SYMBOL_INIT_DEMANGLED_NAME. * objfiles.c: Include "hashtab.h". (allocate_objfile): Call htab_set_functions_ex for the demangled_names_hash. (free_objfile): Call htab_delete for the demangled_names_hash. * objfiles.h (struct htab): Add declaration. (struct objfile): Add demangled_names_hash. * symfile.c: Include "hashtab.h". (reread_symbols): Call htab_delete for the demangled_names_hash. (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting SYMBOL_NAME in the bcache. * symtab.c: Include "hashtab.h". Update comments. (create_demangled_names_hash, symbol_set_names): New functions. (symbol_find_demangled_name): New function, broken out from symbol_init_demangled_names. (symbol_init_demangled_names): Use it. * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses. (SYMBOL_SET_NAMES): New macro. (symbol_set_names): Add prototype.
2003-02-042003-02-03 David Carlton <carlton@math.stanford.edu>David Carlton2-13/+31
* gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add 'might_kfail' arg. KFAIL some of the continue_to_bp_overloaded calls, according to PR c++/1025.
2003-02-04*** empty log message ***gdbadmin1-1/+1
2003-02-03Use a single, consistent representation for an empty minimalJim Blandy6-4/+54
symbol table in an objfile. * objfiles.c (terminate_minimal_symbol_table): New function. (allocate_objfile): Call it. * objfiles.h (terminate_minimal_symbol_table): New declaration. (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is non-NULL. * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether objfile has minimal symbols, compare minimal_symbol_count to zero, instead of comparing msymbols with NULL. * objfiles.c (have_minimal_symbols): Same. * solib-sunos.c (solib_add_common_symbols): Call terminate_minimal_symbol_table. * symfile.c (reread_symbols): Same.
2003-02-03 * s390-tdep.c (s390_address_class_type_flags)Kevin Buettner2-0/+45
(s390_address_class_type_flags_to_name) (s390_address_class_name_to_type_flags): New functions. (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
2003-02-032003-02-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* arm-tdep.c: Fix spell-o in comment.
2003-02-032003-02-01 Michael Chastain <mec@shout.net>Michael Chastain4-2/+19
* gdb.base/advance.c (marker1): New marker function. * gdb.base/advance.exp: When the 'advance' command lands on the return breakpoint, it can legitimately stop on either the current line or the next line. Accommodate both outcomes. * gdb.base/until.exp: Likewise.
2003-02-03Add support for SH2E processor.Nick Clifton2-0/+103
2003-02-032003-02-03 Michal Ludvig <mludvig@suse.cz>Michal Ludvig3-50/+82
* dwarf2cfi.c (pointer_encoding): Added new parameter. * dwarf2cfi.c, dwarf2read.c: Changed all warnings and error messages to contain BFD filename.
2003-02-03Forgot to mention PR numbers.Elena Zannoni1-1/+2
2003-02-032003-02-02 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni7-92/+133
Fix PR gdb/742 gdb/743 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end. (do_mixed_source_and_assembly): Use make_cleanup_ui_out_tuple_begin_end and make_cleanup_ui_out_tuple_begin_end. (do_mixed_source_and_assembly): Ditto. * thread.c (do_captured_list_thread_ids): Ditto. * ui-out.h (ui_out_table_begin, ui_out_list_begin, ui_out_tuple_begin, ui_out_table_end, ui_out_list_end, ui_out_tuple_end): Delete prototypes. * ui-out.c (ui_out_list_begin, ui_out_tuple_begin, ui_out_list_end, ui_out_tuple_end): Delete. From Kevin Buettner <kevinb@redhat.com>: * ui-out.h (make_cleanup_ui_out_table_begin_end): New function. * ui-out.c (make_cleanup_ui_out_table_begin_end) (do_cleanup_table_end): New functions. * breakpoint.c (print_it_typical, print_one_breakpoint, mention): Use cleanups to invoke_ui_out_tuple_end(). (breakpoint_1): Use cleanup to invoke ui_out_table_end(). * cli/cli-setshow.c (cmd_show_list): Use make_cleanup_ui_out_tuple_begin_end.
2003-02-03*** empty log message ***gdbadmin1-1/+1