aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-01-022003-01-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney25-241/+253
* arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack frame accessor methods. * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto. * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. * z8k-tdep.c: Ditto.
2003-01-02* configure.in: Remove UI_OUT configuration code.Mark Kettenis6-562/+503
* ada-lang.c: Update assuming UI_OUT is always true. * Makefile.in (UIOUT_CFLAGS): Remove. * configure: Regenerated. * TODO: Remove blurb about elimination of -DUI_OUT.
2003-01-02* configure.in: Move code that provides the --enable-gdbcli,Mark Kettenis3-519/+505
--enable-gdbmi options right before the code that handles the --enable-tui option. Polish a bit. * configure: Regenerated.
2003-01-02* configure.in: Rewrite check for GNU regex and theMark Kettenis6-873/+839
--without-included regex option, and move it into the "Checks for library functions" section. This makes us use the system regex again by default on systems with version 2 of the GNU C library. This was apparently broken. * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define. * acconfig.h (USE_INCLUDED_REGEX): Remove. * config.in, configure: Regenerated.
2003-01-02* configure.in: Move code that provides the --enable-tui optionMark Kettenis4-59/+80
before the "Checks for libraries" section. Polish the code somewhat and set need_curses to yes if we build the TUI. Rewrite code that looks for a library providing termcap functionality to match more closely what's done in the Readline library, and move it into to the "Checks for libraries" section. * configure: Regenerated. * Makefile.in (TERMCAP): Remove variable. * config/i386/go32.mh (TERMCAP): Remove variable.
2003-01-022003-01-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-134/+250
* MAINTAINERS: Mention gdb_mbuild.sh. * gdb_mbuild.sh: Rewrite.
2003-01-02* configure.in: Fix typo in last change.Mark Kettenis4-9/+8
* config.in, configure: Regenerated.
2003-01-022003-01-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-5/+4
* Makefile.in: Remove obsolete code.
2003-01-022003-01-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-534/+11
* stabs.texinfo: Remove obsolete text. * gdbint.texinfo: Ditto. * gdb.texinfo: Ditto.
2003-01-022003-01-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney28-496/+123
* valarith.c (value_binop): Delete obsolete code and comments. * configure.host: Ditto. * buildsym.h (make_blockvector): Ditto. * buildsym.c (make_blockvector): Ditto. * defs.h (enum language): Ditto. (chill_demangle): Ditto. * elfread.c (elf_symtab_read): Ditto. * dwarfread.c (CHILL_PRODUCER): Ditto. (set_cu_language): Ditto. (handle_producer): Ditto. * expprint.c (print_subexp): Ditto. * gdbtypes.c (chill_varying_type): Ditto. * gdbtypes.h (builtin_type_chill_bool): Ditto. (builtin_type_chill_char, builtin_type_chill_long): Ditto. (builtin_type_chill_ulong, builtin_type_chill_real): Ditto. (chill_varying_type): Ditto. * language.h (_LANG_chill): Ditto. * language.c (binop_result_type, integral_type): Ditto. (character_type, string_type, structured_type): Ditto. (lang_bool_type, binop_type_check): Ditto. * stabsread.h (os9k_stabs): Ditto. * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto. (define_symbol, read_type, read_struct_fields): Ditto. (read_array_type, read_enum_type, read_huge_number): Ditto. (read_range_type, start_stabs): Ditto. * symfile.c (init_filename_language_table): Ditto. (add_psymbol_with_dem_name_to_list): Ditto. * symtab.c (symbol_init_language_specific): Ditto. (symbol_init_demangled_name, symbol_demangled_name): Ditto. * symtab.h (struct general_symbol_info): Ditto. (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. * typeprint.c (typedef_print): Ditto. * utils.c (fprintf_symbol_filtered): Ditto. * valops.c (value_cast, search_struct_field, value_slice): Delete obsolete code. (varying_to_slice): Delete function. * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents. (varying_to_slice): Delete declaration. * MAINTAINERS: Update.
2003-01-02* configure.in: Reorganize "Checks for library functions section"Mark Kettenis3-622/+844
a bit. Remove check for `btowc' and `isascii' functions. * configure: Regenerated.
2003-01-02* acconfig.h (_MSE_INT_H): Remove.Mark Kettenis5-403/+1411
* configure.in: Create "Checks for header files" section, and move appropriate tests there. Don't check for objlist.h, wchar.h, wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h> misdetection fix. Also add "Checks for types", "Checks for compiler characteristics" and "Checks for library functions" sections. * config.in, configure: Regenerated.
2003-01-02* configure.in: Create "Checks for programs" section, and moveMark Kettenis3-512/+571
appropriate tests there.
2003-01-02*** empty log message ***gdbadmin1-1/+1
2003-01-01* configure.in: Create "Checks for libraries" section, and moveMark Kettenis3-472/+519
appropriate tests there. Cleanup check for wctype in libw. Use AC_SEARCH_LIBS to see whether we need libsocket. * configure: Regenerated.
2003-01-01*** empty log message ***gdbadmin1-1/+1
2002-12-31* configure.in: Remove bzero and bcopy from call to AC_CHECK_FUNCS.Mark Kettenis4-8/+7
* config.in, configure: Regenerated.
2002-12-31* gdb_dirent.h: Cleanup and update code to match the example inMark Kettenis4-291/+427
the Autoconf manual. * configure.in: Call AC_HEADER_DIRENT. Remove dirent.h, sys/ndir.h, sys/dir.h and ndir.h from call to AC_CHECK_HEADERS. * configure: Regenerated.
2002-12-31objc-exp.y (parse_number): Cast sscanf arguments to proper type.Adam Fedor2-2/+8
(yylex): Initialize c to avoid uninitialized warning.
2002-12-31*** empty log message ***gdbadmin1-1/+1
2002-12-30 * doc/fdl.texi: Revert the last change.Kazu Hirata2-3/+7
2002-12-30*** empty log message ***gdbadmin1-1/+1
2002-12-29*** empty log message ***gdbadmin1-1/+1
2002-12-28* tracepoint.c (ISATTY): Removed.Mark Kettenis2-6/+4
2002-12-28*** empty log message ***gdbadmin1-1/+1
2002-12-27*** empty log message ***gdbadmin1-1/+1
2002-12-26 Continuing work to convert the hppa targets to multiarch partil.Joel Brobecker3-60/+308
* hppa-tdep.c: Add some missing forward declarations. (frameless_function_invocation): Prefix the function name by "hppa_" to avoid polluting the namespace. Update all calls to use the new function name. (saved_pc_after_call): Ditto. (init_extra_frame_info): Ditto. (frame_chain): Ditto. (push_dummy_frame): Ditto. (target_read_pc): Ditto. (target_write_pc): Ditto. (in_solib_call_trampoline): Ditto. (in_solib_return_trampoline): Ditto. (skip_trampoline_code): Ditto. (hppa_read_fp): New function, renamed from target_read_fp. (hppa_target_read_fp): New function, using hppa_read_fp. This function conforms to the function profile for the READ_FP gdbarch method. (hppa_extract_struct_value_address): New function, extracted from the definition of the DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS macro. (hppa_frame_num_args): New function. (hppa_gdbarch_init): Setup the gdbarch vector for the hppa target. * config/pa/tm-hppa.h: Wrap around all gdbarch-eligible macros inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation for the switch to multiarch partial. Update some of the macros definitions to match some changes described above in the name of the function they are calling. (PUSH_DUMMY_FRAME): Add a FIXME explaining why this macro will not be straightforward to convert. Do now wrap it inside "#if !... #endif" to remember that this macro has still not been taken care of. (FIX_CALL_DUMMY): Likewise.
2002-12-26 Continuing work to convert the hppa targets to multiarch partial.Joel Brobecker6-40/+116
* hppa-tdep.c: (hppa_register_raw_size): New function replacing the body of macro REGISTER_RAW_SIZE. * hppa-hpux-tdep.c: Add new functions replacing macro bodies from config/pa/tm-hppah.h. These functions will be used to initialize the gdbarch structure. (hppa_hpux_pc_in_sigtramp): New function. (hppa_hpux_frame_saved_pc_in_sigtramp): New function. (hppa_hpux_frame_base_before_sigtramp): New function. (hppa_hpux_frame_find_saved_regs_in_sigtramp): New function. Add gdbcore.h #include. * config/pa/tm-hppa.h (REGISTER_RAW_SIZE): Change the definition of this gdbarch-eligible macro to a call to the new associated function. * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Likewise. (FRAME_SAVED_PC_IN_SIGTRAMP): Change the definition of this macro into a call to the new associated function. (FRAME_BASE_BEFORE_SIGTRAMP): Likewise. (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Likewise. * Makefile.in (hppa-hpux-tdep.o): Add dependency on gdbcore.h.
2002-12-26*** empty log message ***gdbadmin1-1/+1
2002-12-25*** empty log message ***gdbadmin1-1/+1
2002-12-242002-12-24 David Carlton <carlton@math.stanford.edu>David Carlton2-1/+5
* config/sparc/tm-sparc.h: Delete duplicate definition of DEPRECATED_PC_IN_CALL_DUMMY.
2002-12-24Add GNU/Linux specific support for the n32 and n64 MIPS ABIs.Kevin Buettner6-41/+478
2002-12-24gdb.base/maint.exp: Update expect output to include 'ObjC'.Adam Fedor2-3/+7
2002-12-24maint.c (maintenance_demangle): Add switch to demangleAdam Fedor2-3/+18
ObjC language symbols as well.
2002-12-24(lookup_objc_class, lookup_child_selector): RemoveAdam Fedor2-4/+7
last argument from complaint function call.
2002-12-24*** empty log message ***gdbadmin1-1/+1
2002-12-23 * exec.c (print_section_info): Add FIXME comments regarding formatKevin Buettner2-0/+12
string choices.
2002-12-23* gdbint.texinfo (Target Architecture Definition): UpdateMark Kettenis2-2/+10
description of gdbarch_register_osabi.
2002-12-23 * config/pa/nm-hppab.h: Delete duplicate CANNOT_STORE_REGISTER decl.Daniel Jacobowitz4-45/+12
* config/pa/nm-hppao.h: Delete duplicate CANNOT_STORE_REGISTER decl. * config/pa/nm-hppah.h: Delete duplicate CANNOT_STORE_REGISTER decl.
2002-12-232002-12-23 David Carlton <carlton@math.stanford.edu>David Carlton2-0/+17
* gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace and current_directory initialization.
2002-12-232002-12-23 David Carlton <carlton@math.stanford.edu>David Carlton2-28/+46
* symtab.c (lookup_symbol_aux): Delete 'force_return' variable. (lookup_symbol_aux_minsyms): Delete 'force_return' argument. (search_symbols): Call lookup_symbol_aux_minsyms to find debugging information associated to a minsym, not lookup_symbol.
2002-12-23* gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,Jim Blandy2-2/+10
rather than as part of the output file name.
2002-12-23*** empty log message ***gdbadmin1-1/+1
2002-12-22* gdb.base/attach.exp: There's no need to copy the test program toJim Blandy2-31/+6
/tmp; that was only ever necessary on HP/UX, and this test is entirely disabled there anyway.
2002-12-22* gdb.c++/psmang.exp: Doc fix.Jim Blandy2-0/+12
2002-12-22*** empty log message ***gdbadmin1-1/+1
2002-12-21* gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: NewJim Blandy4-0/+532
test.
2002-12-21* x86-64-tdep.h (x86_64_init_abi): New prototype.Mark Kettenis5-96/+36
* x86-64-tdep.c (i386_fp_regnum_p): Remove function. (x86_64_init_abi): Make non-static. Set number of pseudo registers to 0. (x86_64_gdbarch_init): Remove function. (_initialize_x86_64_tdep): Renove register_gdbarch_init call. Remove code dealing with dissambly. * x86-64-linux-tdep.c (x86_64_linux_init_abi): New function. (_initialize_x86_64_linux_tdep): New function. * config/i386/x86-64linux.mt (TDEPFILES): Add i386-tdep.o and i386-tdep.o.
2002-12-21* osabi.c: Include "gdb_assert.h" and "gdb_string.h".Mark Kettenis28-49/+111
(struct gdb_osabi_handler): Remove member `arch'. Add member `arch_info'. (gdbarch_register_osabi): Add new argument `machine'. Use ot to construct a `struct bfd_arch_info' and store it in the `struct gdb_osabi_handler' that is created. (gdbarch_init_osabi): Check for compatibility based on machine type and architecture. * osabi.h (gdbarch_register_osabi): Adjust prototype and update comment. * alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Add 0 as second argument in call to gdbarch_register_osabi. * alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise. * alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise. * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise. * arm-linux-tdep.c (_initialize_arm_linux_tdep): Likewise. * arm-tdep.c (_initialize_arm_tdep): Likewise. * armnbsd-tdep.c (_initialize_armnbsd_tdep): Likewise. * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Likewise. * i386-interix-tdep.c (_initialize_i386_interix_tdep): Likewise. * i386-linux-tdep.c (_initialize_i386_linux_tdep): Likewise. * i386-sol2-tdep.c (_initialize_i386_sol2_tdep): Likewise. * i386-tdep.c (_initialize_i386_tdep): Likewise. * i386bsd-tdep.c (_initialize_i386bsd_tdep): Likewise. * i386gnu-tdep.c (_initialize_i386gnu_tdep): Likewise. * i386ly-tdep.c (_initialize_i386lynx_tdep): Renamed from _initialize_i386bsd_tdep and updated likewise. * i386nbsd-tdep.c (_initialize_i386nbsd_tdep): Likewise. * i386obsd-tdep.c (_initialize_i386obsd_tdep): Likewise. * mips-irix-tdep.c (_initialize_mips_irix_tdep): Likewise. * mips-linux-tdep.c (_initialize_mips_linux_tdep): Likewise. * mipsnbsd-tdep.c (_initialize_mipsnbsd__tdep): Likewise. * ns32knbsd-tdep.c (_initialize_ns32kmnsd_tdep): Likewise. * ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Likewise. * ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Likewise. * shnbsd-tdep.c (_initialize_shnbsd_tdep): Likewise. * sparcnbsd-tdep.c (_initialize_sparcnbsd_tdep): Likewise.
2002-12-21Add DT_MIPS_RLD_MAP case for 64-bit targets.Kevin Buettner2-3/+23