Commit graph

  • 5e16788678 Don't align sections in I960 coff files. (I know there's a GDB freeze on, but this only affects writing i960 coff files, and Steve needs it ASAP.) Ken Raeburn 1992-06-17 20:06:33 +00:00
  • 323227fefa * partial-stab.h: Convert single rindex use to strrchr. * mipsread.c, dbxread.c: Remove troublesome inclusion of non- standard <strings.h> file, now that the only single use of rindex in the gdb source files is gone. Fred Fish 1992-06-17 18:14:22 +00:00
  • fa0bcaa3a5 * mipsread.c: Undo ill effects from including <strings.h>, which #defines index to be strchr. Unfortunately, index is a member of a symbol table structure that can't be changed. * mipsread.c: tm-mips.h includes coff/symconst.h and coff/sym.h, remove redundant #include's. Fred Fish 1992-06-17 05:23:00 +00:00
  • 0cfe5e69da gratuitous white space changes merged from other prep releases K. Richard Pixley 1992-06-17 04:31:33 +00:00
  • 4358b91151 Keep mh-solaris Stu Grossman 1992-06-17 01:37:46 +00:00
  • be2becc736 Add move-if-change to DEVO_SUPPORT_FILES. Stu Grossman 1992-06-17 00:27:12 +00:00
  • b50a958c14 Add demangle.h to HFILES. Stu Grossman 1992-06-16 23:15:05 +00:00
  • 33cf356ae1 Unscrew this file... (Been up too long I think...) Stu Grossman 1992-06-16 23:14:01 +00:00
  • 6995fe83a5 More cleanup in gdb packaging... Stu Grossman 1992-06-16 22:53:09 +00:00
  • fa33785d13 Keep sun4sol2.m{th}. Stu Grossman 1992-06-16 22:47:40 +00:00
  • 5c0445593a Keep tm-sun4sol2.h and xm-sun4sol2.h. Stu Grossman 1992-06-16 22:46:45 +00:00
  • 933e7c9c8d More 29k crap to remove! Stu Grossman 1992-06-16 22:39:37 +00:00
  • 93c6c6c190 One mo time... Stu Grossman 1992-06-16 22:37:12 +00:00
  • d941d8c341 Fixup install.all target so that install-texinfo can be removed properly by GDB packaging procedures. Stu Grossman 1992-06-16 22:36:08 +00:00
  • 09fc8ec35a Remove 29k/UDI stuff for now. For the time being, the original Makefile is called Makefile.in-29k-UDI. Stu Grossman 1992-06-16 21:58:53 +00:00
  • b98f3e2098 Save Makefile with 29k stuff for later. Stu Grossman 1992-06-16 21:56:24 +00:00
  • 2403c16456 Save scripts. Stu Grossman 1992-06-16 21:49:08 +00:00
  • 09fd6b7778 Remove 29k/UDI for now. Stu Grossman 1992-06-16 21:45:01 +00:00
  • b303297ad8 * mipsread.c: #include <strings.h> for rindex(). Stu Grossman 1992-06-16 21:17:43 +00:00
  • 916330207c typo K. Richard Pixley 1992-06-16 17:44:51 +00:00
  • 833ff6f0f7 hitachi bug gix Steve Chamberlain 1992-06-16 17:12:59 +00:00
  • 305d9b19c8 Bug fixes for Hitachi Steve Chamberlain 1992-06-16 17:12:51 +00:00
  • d1140eb5e3 * xcoffexec.c (map_vmap): Turn comment into a real C comment. Fred Fish 1992-06-16 16:03:54 +00:00
  • 9a51287f1a Changes reflecting recent changes in BFD library sources. Ken Raeburn 1992-06-16 13:35:55 +00:00
  • 458c48278a * hosts/sparc.h (abort, exit): Hide these names if compiling with gcc version 2, to avoid warnings. Ken Raeburn 1992-06-16 12:05:52 +00:00
  • ce07dd7c0c [time to file a PR on cvs...] Ken Raeburn 1992-06-16 12:04:03 +00:00
  • 41729eb4b0 Various changes to get linker working again for a.out: * don't set/adjust section file positions or vmas more than once * use correct page size and segment size when calculating them * deal with some variations in a.out implementations Tested on sun4 and sun4->sun3 so far, will be testing further but needed to get wider exposure&testing. See ChangeLog for details. Ken Raeburn 1992-06-16 11:34:07 +00:00
  • c72af08913 * dbxread.c (process_one_symbol), partial-stab.h: Ignore extraneous SO stabs from busted C++ compilers. Stu Grossman 1992-06-16 01:43:35 +00:00
  • 65f14e33aa * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install, it is broken on ncr 3000's. Fred Fish 1992-06-15 19:32:53 +00:00
  • d962d591ea * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install, it is broken on ncr 3000's. * config/mh-ncr3000 (RANLIB): Use RANLIB=true. Fred Fish 1992-06-15 19:29:02 +00:00
  • 28d2c686f4 * config/ncr3000.mh (INSTALL, RANLIB): Don't use /usr/ucb/install, it's broken on ncr 3000's. Use simple "true" for RANLIB. Fred Fish 1992-06-15 19:27:49 +00:00
  • 4c07f28d77 * Makefile.in (VERSION): Bump to 4.5.5. * symtab.c (decode_line_1): Until C++ support stabilizes, when C++ lookups fail, print possibly helpful hint about completion. * cplus-dem.c (demangle_signature): Fix ARM style demangling for static data members. * dbxread.c (dbx_psymtab_to_symtab_1): Fix prototype. * config/ncr3000.mh (INSTALL): Don't use /usr/ucb/install, it's broken on ncr3000's. Fred Fish 1992-06-15 19:25:13 +00:00
  • 5bdf878ebf Accept m680?0 for wrs as vxworks68. Also deleted an unreachable path to wrs. Michael Tiemann 1992-06-15 15:49:30 +00:00
  • 1c92ca6f3b * dwarfread.c (decode_modified_type): Change type of first arg. Change 'modifier' to char from unsigned char. Cast single use that needs to be unsigned char. * symtab.h (SYMBOL_BASEREG_VALID): Explain disabling. * utils.c (strdup_demangled): Add function. * defs.h (strdup_demangled): Add prototype. * stack.c (return_command): Demangle C++ function names for query. * infcmd.c (jump_command): Demangle C++ function names for query. * cplus-dem.c (consume_count): New function and prototype. * cplus-dem.c (demangle_class, gnu_special, demangle_func_type, do_type): Replace conversion code with consume_count(). * cplus-dem.c (gnu_special): Fix demangled of static members. * source.c (list_command): Print demangled function names when appropriate. Fix supplied by Peter Schauer. Fred Fish 1992-06-15 14:26:57 +00:00
  • 2778e91584 * buildsym.c (define_symbol): Nameless types are now on several platforms; generalize them and un-ifdef them to make Solaris 2 work. John Gilmore 1992-06-15 08:47:56 +00:00
  • d69bba12b8 * infcmd.c: Fix typo (reported by Rob Savoye). * xm-sun4sol2.h (gregset_t): Thinko in register set definition. * symtab.h: Disable SYMBOL_BASEREG_VALID until it works. * dbxread.c (dbx_psymtab_to_symtab_1): Renamed from psymtab_to_symtab_1. Use current psymtab's sym_offset and symbol_size, rather than the one for the first file in the dependency chain. John Gilmore 1992-06-15 08:42:09 +00:00
  • 87afde58f6 * readline.c: Make new SIGNALS_* macros to parameterize the ugly changes in signal blocking macro. Use them throughout, reducing #ifdef HAVE_POSIX_SIGNALS and HAVE_BSD_SIGNALS clutter significantly. Make all such places use POSIX if available, to avoid losing with poor `sigsetmask' emulation from libiberty. John Gilmore 1992-06-15 08:37:50 +00:00
  • 7c88553a91 * readline.c (insert_some_chars): Return void. Stu Grossman 1992-06-14 22:21:18 +00:00
  • bcbf95597c * dbxread.c (end_psymtab): Only reset texthigh if it's not already set. Don't reset our own texthigh, or dependency-only pst's, in scanning all the rest of the psymtabs. (process_one_symbol): Fix comments around N_OBJ, N_OPT, N_UNDF. John Gilmore 1992-06-14 18:10:10 +00:00
  • c3c93fda32 * objdump.c (dump_elf_stabs): Also dump .stab.index and .stab.excl sections. (dump_elf_stabs_1): Split out main body of old dump_elf_stabs. * objdump.1, binutils.texi: Document new sections dumped. John Gilmore 1992-06-14 17:52:53 +00:00
  • 252f6c65f2 * symtab.h (struct symbol): Add aux_value union for preserving an additional per-symbol value. * symtab.h (SYMBOL_BASEREG, SYMBOL_BASEREG_VALID): Add defines. * frame.h (FRAME_GET_BASEREG_VALUE): Provide default definition. * findvar.c (read_var_value): Use SYMBOL_BASEREG if valid. * printcmd.c (address_info): Use SYMBOL_BASEREG if valid. * symmisc.c (print_symbol): Use SYMBOL_BASEREG if valid. Fred Fish 1992-06-13 18:20:44 +00:00
  • b886a6e31f Lint John Gilmore 1992-06-13 17:15:12 +00:00
  • a6b46ad4de Make `clear_symtab_users_once' non-static so objfiles can be linked. Michael Tiemann 1992-06-13 16:20:04 +00:00
  • 346168a2c6 * elfread.c (record_minimal_symbol_and_info): Kludged to put extra info in the minimal symbol. (elf_symtab_read): The extra info is the size of an ELF object, which was kludged to us in the `udata' field of the BFD symbol. Gag me with a crowbar... (elf_symfile_read): Keep track of both the absolute load address, and the offset between load addr and symbols. Handle STABS as well as DWARF sections, passing the absolute load address to elfstab_build_psymtabs. John Gilmore 1992-06-13 07:24:30 +00:00
  • 9342ecb944 * dbxread.c: Add symbol_size to struct dbx_symfile_info. Add symbol_size and file offsets to struct symloc. Add static symbol_table_offset, string_table_offset, file_string_table_offset, next_file_string_table_offset, last_function_name. (add_old_header_file): Convert error() to complain()t. (dbx_symfile_read): Get symbol size via the objfile. Also get symbol_table_offset. (dbx_symfile_init): Record symbol size and count via the objfile. (dbx_next_symbol_text): Always add file_string_table_offset when accessing string table. (read_dbx_symtab): Initialize file_string_table_offset to 0. (SET_NAMESTRING): Use the offset. (end_psymtab): Large kludge to determine addresses where source files start and end (for the psymtab header). (psymtab_to_symtab_1): Set file_string_table_offset before reading. Get this, symbol size, and symbol offset, from psymtab. (read_ofile_symtab): Don't back up one symbol for Solaris2. Patch up last_source_start_addr if zero in N_SO. (process_one_symbol): Add variable function_start_offset. ( "", N_FUN, N_LBRAC, N_RBRAC, N_SLINE): Add ifdef for BLOCK_ADDRESS_FUNCTION_RELATIVE. ( "", N_OBJ, N_OPT): Ignore. (elfstab_build_psymtabs): New function to read stabs out of an ELF file. John Gilmore 1992-06-13 06:39:27 +00:00
  • 609f87d4c9 Remove reg_names decl (now in defs.h). John Gilmore 1992-06-13 06:08:09 +00:00
  • 4ae6ed3a9e Avoid ANSI C "empty translation unit" idiocy. John Gilmore 1992-06-13 06:04:03 +00:00
  • 1e730c4b08 * section.c (STD_SECTION): Remove extra semicolon in declarations. * configure.in: Rewrite target parsing to use simple format. Handle sparc-sun-solaris2 configuration. * aout64.h: Avoid ANSI C brain death warning. * elf.c: Avoid trigraph (???) or /* in comments. John Gilmore 1992-06-13 05:58:49 +00:00
  • 0dce456e8d Lint John Gilmore 1992-06-13 05:56:15 +00:00
  • 770cde303d Lint John Gilmore 1992-06-13 05:24:22 +00:00
  • 18eb7badc4 Add sun4sol2 => sparc-sun-solaris2. John Gilmore 1992-06-13 05:23:04 +00:00
  • 93297ea028 * buildsym.h: Add processing_acc_compilation flag. * buildsym.c (read_sun_builtin_type, read_sun_floating_type): New. (define_symbol): Skip arg types in function entries. Resolve overloaded 'P' which acc uses for prototypes of functions called by this file. (read_type: 'b', 'r'): Handle Solaris2 builtin types. John Gilmore 1992-06-13 02:18:44 +00:00
  • bf2e5f6b82 * configure.in: Solaris config is sparc-sun-solaris2. * config/sun4os5.m[ht]: Rename to config/sun4sol2.m[ht]. John Gilmore 1992-06-13 01:56:41 +00:00
  • a52057f811 change to new solaris naming system, add sysv4 host config David D. Zuhn 1992-06-13 00:43:08 +00:00
  • 6b53bf346d * expprint.c (print_subexp): Add missing ']'. * defs.h (reg_names): Fix declaration to match that in infcmd.c * stack.c (reg_names): Delete redundant (and inconsistent) decl. * WHATS.NEW: Point out improved C++ function name handling. * gdbtypes.c (lookup_fundamental_type): For now, use the same type names for both implicitly and explicitly signed integral types. See comment in the source code. Fred Fish 1992-06-12 20:51:42 +00:00
  • 28de880c48 Two `long long' fixes from Robert R. Henry (rrh@dino.tera.com): * defs.h (longest_to_int): Avoid void arm of ?: in error case. * expprint.c (print_subexp): Fix printing of register names. John Gilmore 1992-06-11 19:34:56 +00:00
  • d1dc824fa9 Latest and greatest, many bug fixes, value annotations, stack frame annotations, etc... Stu Grossman 1992-06-11 17:35:58 +00:00
  • c5f0c9388a * objdump.1, binutils.texi: Update for --stabs. Also fix objdump's doc to use -- rather than + for long options. (FIXME: Not yet fixed everywhere in binutils.texinfo.) John Gilmore 1992-06-11 09:18:44 +00:00
  • 1304f099bc Small changes from Solaris port. The big stuff is not all working yet. John Gilmore 1992-06-11 08:43:29 +00:00
  • bab58134b5 #undef PC, which Solaris2 defines in sys/types.h, clobbering the termcap global variable PC. John Gilmore 1992-06-11 08:29:01 +00:00
  • 73b8f10233 New feature: --stabs prints out a .stab section from an ELF file. Installed under #ifdef ELF_STAB_DISPLAY so it can be easily disabled, since it requires bfd-internals header files and such. John Gilmore 1992-06-11 08:23:11 +00:00
  • 1291085e40 Add N_OBJ and N_OPT from Solaris-2. John Gilmore 1992-06-11 08:15:03 +00:00
  • 3ce7a82414 Regen'd from bfd.c after removing elf_core_tdata_struct. John Gilmore 1992-06-11 08:12:01 +00:00
  • 80bdcb77bd * elf.c (elf_obj_tdata): Merge elf_obj_tdata_struct and elf_core_tdata_struct into a single common struct. Core files wouldn't have worked at all without this. (bfd_elf_find_section): New function for GDB's undercover use to find string sections that BFD hides from it. (elf_get_str_section): Avoid multiple alloc&reads for same data; lint. (elf_object_p, elf_core_file_p): Allocate internal file header storage dynamically. * bfd.c (union {...} tdata): Remove elf_core_tdata_struct. * demo64.c: Prevent "empty translation unit" warnings from idiots. John Gilmore 1992-06-11 08:10:04 +00:00
  • b5adcbd066 * i386.h: a.out magic numbers from mohring@informatik.tu-muenchen.de Steve Chamberlain 1992-06-10 14:59:16 +00:00
  • aa0a709adc Wed Jun 10 07:53:24 1992 Steve Chamberlain (sac@thepub.cygnus.com) Steve Chamberlain 1992-06-10 14:57:25 +00:00
  • bb63f602dd Keep this just in case Steve Chamberlain 1992-06-10 14:44:52 +00:00
  • 3b57ba9008 * Everywhere: Change RANLIB=echo>/dev/null (which confuses some shells - and I don't blame them) to RANLIB=true. * mh-solaris: Use /usr/ucb/install for INSTALL. Per Bothner 1992-06-10 06:32:35 +00:00
  • 08109fdb47 * config/{mh-ncr3000, mh-sysv4}: Add INSTALL. Fred Fish 1992-06-10 02:20:25 +00:00
  • df03b780f4 * config/{i386v4.mh, ncr3000.mh}: Update RANLIB, add INSTALL. Fred Fish 1992-06-10 02:17:08 +00:00
  • 84d6c527c1 * config/{mh-ncr3000, mh-sysv4}: Add definition for INSTALL using /usr/ucb/install. Fred Fish 1992-06-10 02:10:02 +00:00
  • 2d54a9e513 * config/{mh-ncr3000, mh-sysv4}: Change INSTALL to use /usr/ucb/install. Fred Fish 1992-06-10 02:06:30 +00:00
  • 36ce1b6469 * c-exp.y, m2-exp.y: Move remapping defines for malloc and realloc. Add remapping defines for {yyss, yyssp, yyvs, yyvsp}. * config/{amix.mh, i386v4.mh, ncr3000.mh, stratus.mh, sun4os5.mh}: Add definition for INSTALL using /usr/ucb/install. Fred Fish 1992-06-10 02:05:20 +00:00
  • cc0d9de867 Oops, forgot depend! Stu Grossman 1992-06-09 23:33:27 +00:00
  • 55488e9ea6 * depend: rebuild to account for remote-st2000.c. * remote-st2000.c: Almost works now. * tm-st2000.h: Need to turn on HAVE_68881, else things won't compile. Stu Grossman 1992-06-09 23:31:53 +00:00
  • 65bfcf2e61 * subsegs.c (subsegs_begin): create bss0_frchainP in the same was as data0_frchainP Steve Chamberlain 1992-06-09 19:36:49 +00:00
  • a1765cf0fe * subsegs.c (subseg_change): allow and handle a change into SEG_BSS. Steve Chamberlain 1992-06-09 14:57:42 +00:00
  • 90d4945716 * subsegs.c (subseg_change): allow and handle a change into SEG_BSS. Steve Chamberlain 1992-06-09 14:57:23 +00:00
  • dd823a49ca * readline.h (rl_completer_quote_characters): Add declaration. * readline.c (rl_completer_quote_characters): Add global var. * readline.c (strpbrk): Add prototype and function. * readline.c (rl_complete_internal): Add code to handle expansion of quoted strings. Fred Fish 1992-06-09 06:10:54 +00:00
  • d630b6150e * c-exp.y (yylex): Recognize single-quoted strings that specify tokens with embedded whitespace, such as C++ demangled names. * defs.h (demangle_and_match, strcmp_iw, skip_quoted): Prototypes. * main.c (gdb_completer_quote_characters): Add global variable. * main.c (symbol_completion_function): Total rewrite for C++ demangled name handling. * main.c (skip_quoted): New function. * main.c (main): Set rl_completer_quote_characters. * symmisc.c (dump_symtab): Print source language for symtab. * symtab.c (expensive_mangler): Add prototype and function. * symtab.c (completion_list_add_symbol): Total rewrite for new C++ demangled name handling. * symtab.c (lookup_symbol): Check for demangled C++ symbol first, other changes for demangled C++ symbol handling. * symtab.c (lookup_demangled_block_symbol): Use demangle_and_match. * symtab.c (lookup_demangled_partial_symbol): Use demangle_and_match. * symtab.c (decode_line_1): Recognize C++ demangled names on input. * symtab.c (completion_list_add_symbol): Total rewrite for new C++ demangled name handling. * symtab.c (expensive_mangler): New function. * utils.c (strcmp_iw, demangle_and_match): New functions. * xcoffread.c (aixcoff_symfile_read): Fix prototype. Fred Fish 1992-06-09 06:09:33 +00:00
  • d9915ebc47 * Makefile.in: Roll VERSION to 4.5.4. * Makefile.in, config/*.mh, config/*.mt: Rename TM_CFLAGS to MT_CFLAGS, XM_CFLAGS to MH_CFLAGS to match file names. * config/sun4os5.mh: Add MH_CFLAGS=-xs to save debug info. John Gilmore 1992-06-09 05:10:15 +00:00
  • 6b6cc3fd08 Use unsigned chars for fields in object files. John Gilmore 1992-06-09 03:14:50 +00:00
  • 717b47f482 Typo John Gilmore 1992-06-09 02:38:11 +00:00
  • e8a3827836 See gdb/Changelog for details. Stu Grossman 1992-06-08 21:35:27 +00:00
  • 0eafa897a9 * alldeps.mak: Rebuild to account for new files. * config/st2000.mt: Use tm-st2000.h, not tm-68k.h. * tm-st2000.h: New file. Stu Grossman 1992-06-08 21:35:05 +00:00
  • 88cc9a3621 * configure.in: Tandem debug monitor (st2000) support. * remote-st2000.c, config/st2000.mt: ditto. Stu Grossman 1992-06-08 21:21:59 +00:00
  • cb635d8719 See gdb/Changelog for details Stu Grossman 1992-06-08 21:16:44 +00:00
  • e47bfa6305 *** empty log message *** Steve Chamberlain 1992-06-08 17:14:18 +00:00
  • 075d735996 lint Steve Chamberlain 1992-06-08 17:14:10 +00:00
  • b257477fa0 *** empty log message *** Steve Chamberlain 1992-06-08 17:09:57 +00:00
  • ee4af9e839 don't crash when provided empty symbol table Steve Chamberlain 1992-06-08 17:09:40 +00:00
  • 6ba70f641e new file from bothner, fixes sparc cross-disassembly core dumps David D. Zuhn 1992-06-08 07:46:10 +00:00
  • ab37d4f663 * configure.in: Handle Solaris2 as *-sun-sysv4 or as *-sun-sunos5. John Gilmore 1992-06-07 00:03:50 +00:00
  • 6f8db23aef * blockframe.c (inside_entry_file, inside_main_func, inside_entry_func): Return 0 if no symbols; avoid crashing. John Gilmore 1992-06-05 18:52:27 +00:00
  • 6442bb7727 change pathnames from /usr/share/misc to /usr/local/lib. They should *really* get built by configure, someday. Mark Eichin 1992-06-04 19:36:37 +00:00
  • f8701a3ff8 Thu Jun 4 11:59:13 1992 Steve Chamberlain (sac@thepub.cygnus.com) Steve Chamberlain 1992-06-04 19:21:58 +00:00
  • f4a0f42d8a add real install, and some more normal paths. Mark Eichin 1992-06-04 19:10:49 +00:00
  • 9752f9fdcd use byacc instead of bison. Mark Eichin 1992-06-04 19:10:06 +00:00
  • ba79f5fa08 Thu Jun 4 11:34:02 1992 Mark Eichin (eichin at cygnus.com) Mark Eichin 1992-06-04 18:36:56 +00:00
  • f0e9ba1e63 * config.sub: Add support for Linux. * Makefile.in: Use $(FLAGS_TO_PASS) more consistently (at least for libg++). Per Bothner 1992-06-04 07:38:43 +00:00