binutils-gdb.git
28 years ago * stabs.c (parse_stab_type): Add new typename parameter. Change
Ian Lance Taylor [Mon, 8 Jan 1996 23:19:17 +0000 (23:19 +0000)]
* stabs.c (parse_stab_type): Add new typename parameter.  Change
all callers.
(parse_stab_range_type): Add new typename parameter.  Change all
callers.

28 years ago * debug.h (struct debug_write_fns): Add tag parameter to
Ian Lance Taylor [Mon, 8 Jan 1996 23:18:51 +0000 (23:18 +0000)]
* debug.h (struct debug_write_fns): Add tag parameter to
enum_type, start_struct_type, and start_class_type.
* debug.c (debug_write_type): Pass any tag name to
start_struct_type, debug_write_class_type, and enum_type.  If
DEBUG_KIND_TAGGED, pass the name in the recursive call.
(debug_write_class_type): Accept a new tag parameter, and pass it
to start_class_type.
* prdbg.c (pop_type): Don't remove '+' character.
(pr_enum_type): Accept and use tag parameter.
(pr_start_struct_type): Likewise.
(pr_start_class_type): Likewise.
(pr_class_baseclass): Adjust algorithm used to find where to put
the baseclass name.
(pr_tag): Don't bother to insert the tag name.

28 years ago * objcopy.c: Include budbg.h.
Ian Lance Taylor [Mon, 8 Jan 1996 23:18:29 +0000 (23:18 +0000)]
* objcopy.c: Include budbg.h.
(convert_debugging): New static variable.
(OPTION_DEBUGGING): Define.
(copy_options): Add "debugging".
(copy_usage): Mention --debugging.
(is_strip_section): Skip debugging sections if convert_debugging.
(setup_section, copy_section): Likewise.
(filter_symbols): Skip debugging symbols if convert_debugging.
(copy_object): If convert_debugging, read and write debugging
information.
(write_debugging_info): New static function.
(copy_main): Handle --debugging.
* Makefile.in (DEBUG_OBJS): New variable.
($(OBJCOPY_PROG)): Depend upon and link against $(DEBUG_OBJS).
($(STRIP_PROG)): Likewise.
(OBJDUMP_OBJS): Remove variable.
($(OBJDUMP_PROG)): Use objdump.o $(DEBUG_OBJS) rather than
$(OBJDUMP_OBJS).
* binutils.texi, objcopy.1: Document --debugging.

28 years agoupdate copyright
Ian Lance Taylor [Mon, 8 Jan 1996 23:14:40 +0000 (23:14 +0000)]
update copyright

28 years ago * ieee.c (ieee_write_debug_part): Change return type to boolean.
Ian Lance Taylor [Mon, 8 Jan 1996 22:02:36 +0000 (22:02 +0000)]
* ieee.c (ieee_write_debug_part): Change return type to boolean.
If there is a SEC_DEBUGGING section, get the contents of the debug
information part from it.
(ieee_set_section_contents): Store the contents of a SEC_DEBUGGING
section in memory.
(ieee_write_object_contents): Check ieee_write_debug_part return.

28 years ago * infptrace.c (initialize_infptrace): Move function out of
Jeff Law [Mon, 8 Jan 1996 19:02:08 +0000 (19:02 +0000)]
    * infptrace.c (initialize_infptrace): Move function out of
        #ifdef conditional; put code within the function inside an
        #ifdef conditional.

28 years agoLatest cagney update
Michael Meissner [Mon, 8 Jan 1996 18:01:17 +0000 (18:01 +0000)]
Latest cagney update

28 years ago * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
Jeff Law [Mon, 8 Jan 1996 17:55:25 +0000 (17:55 +0000)]
    * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
        arguments.  Sorting is now dependent on OBJF_REORDERED.  All
        callers/references changed.
        * dbxread.c (read_ofile_symtab): Correctly determine value for
        last_source_start_addr for reordered executables.
        (process_one_symbol): Handle N_FUN with no name as an end of
        function marker.
        * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
        is the high text address for a psymtab.
        (case N_SO): Likewise.
        (case N_FUN): Handle N_FUN with no name as an end of function
        marker.
        * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
        at the same address rather than a random subset of them.
        * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
        * elfread.c (elf_symfile_init): Similarly.
        * somread.c (som_symfile_init): Similarly.
        * xcoffread.c (xcoff_symfile_init): Similarly.

Support for debugging reordered executables.  Remaining mentor vm
changes.

28 years agoMake all-gdb include all-tcl/all-tk unless gdbtk is not built.
Michael Meissner [Sat, 6 Jan 1996 12:33:59 +0000 (12:33 +0000)]
Make all-gdb include all-tcl/all-tk unless gdbtk is not built.

28 years agoChange guile directory structure.
Gordon Irlam [Sat, 6 Jan 1996 03:43:59 +0000 (03:43 +0000)]
Change guile directory structure.

28 years ago * stack.c (print_stack_frame print_frame_info) symmisc.c
Stu Grossman [Sat, 6 Jan 1996 01:58:07 +0000 (01:58 +0000)]
* stack.c (print_stack_frame print_frame_info) symmisc.c
(dump_symtab):  Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
that catch_errors doesn't get blindsided by QUIT and lose the
cleanup chain.  This fixes a problem where ^C while in a
user-defined command sometimes leaves instream NULL and causes a
segfault in command_loop.

28 years ago * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation):
Steve Chamberlain [Fri, 5 Jan 1996 22:09:43 +0000 (22:09 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation):
sort using right pointer.

28 years ago * configure.in, configure: Add `-ldl -lw' for Solaris linking.
Brendan Kehoe [Fri, 5 Jan 1996 22:00:32 +0000 (22:00 +0000)]
* configure.in, configure: Add `-ldl -lw' for Solaris linking.

28 years ago * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
Steve Chamberlain [Fri, 5 Jan 1996 20:05:36 +0000 (20:05 +0000)]
* config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
srec.o renamed to dsrec.o.

28 years agoFix tlb for PowerPC
Michael Meissner [Fri, 5 Jan 1996 17:46:25 +0000 (17:46 +0000)]
Fix tlb for PowerPC

28 years agoMove creating section begin/end labels to compiler crt{i,n}.o
Michael Meissner [Fri, 5 Jan 1996 17:27:39 +0000 (17:27 +0000)]
Move creating section begin/end labels to compiler crt{i,n}.o

28 years agoUpdate copyrights. Add copyright notice to configure.in.
Stu Grossman [Fri, 5 Jan 1996 17:11:45 +0000 (17:11 +0000)]
Update copyrights.  Add copyright notice to configure.in.

28 years agoRemove the pile of "Update copyright to ..." that I'd put in, and
Fred Fish [Fri, 5 Jan 1996 15:20:05 +0000 (15:20 +0000)]
Remove the pile of "Update copyright to ..." that I'd put in, and
the one from sac.

28 years ago * config.bfd (i[345]86-*-freebsd*): Add target.
Fred Fish [Fri, 5 Jan 1996 05:44:27 +0000 (05:44 +0000)]
* config.bfd (i[345]86-*-freebsd*): Add target.
* configure.in (i386freebsd_vec): Add vec.
* configure: Regenerate.
* Makefile.in (BFD32_BACKENDS): Add i386freebsd.o.
(BFD32_BACKENDS_CFILES): Add i386freebsd.c.
Rebuild dependencies..
* freebsd.h: New file.
* i386freebsd.c: New file.
* targets.c (i386freebsd_vec): Declare.
(bfd_target_vector): Add i386freebsd_vec.
* i386linux.c (SEGMENT_SIZE): Define as TARGET_PAGE_SIZE
* i386netbsd.c (SEGMENT_SIZE):  Define as TARGET_PAGE_SIZE

28 years ago * ieee.h (enum ieee_record): Add ieee_asn_record_enum,
Ian Lance Taylor [Fri, 5 Jan 1996 05:02:15 +0000 (05:02 +0000)]
* ieee.h (enum ieee_record): Add ieee_asn_record_enum,
ieee_at_record_enum, ieee_ty_record_enum, ieee_atn_record_enum,
ieee_bb_record_enum, and ieee_be_record_enum.

28 years agoOops, forgot to sanitize the gdbtk enabling comment...
Stu Grossman [Fri, 5 Jan 1996 01:11:44 +0000 (01:11 +0000)]
Oops, forgot to sanitize the gdbtk enabling comment...

28 years ago * breakpoint.c (remove_breakpoint): Change error to warning so
Stu Grossman [Fri, 5 Jan 1996 00:42:36 +0000 (00:42 +0000)]
* breakpoint.c (remove_breakpoint):  Change error to warning so
that hardware watchpoint removal problems won't leave breakpoint
traps in the target.
* configure configure.in:  Make --enable-gdbtk be the default.
* remote-e7000.c (e7000_insert_breakpoint,
e7000_remove_breakpoint):  Use e7000 based breakpoints, not memory
breakpoints.
* (e7000_wait):  Adjust PC back by two when we see a breakpoint to
compensate for e7000 maladjustment.
* sparcl-tdep.c (sparclite_check_watch_resources):  Fix logic bug
which prevented hardware watchpoints from working.

28 years ago * configure.host: Change existing Linux HOSTING_CRT0 to be used
Ian Lance Taylor [Thu, 4 Jan 1996 22:10:00 +0000 (22:10 +0000)]
* configure.host: Change existing Linux HOSTING_CRT0 to be used
for a.out only, and put in appropriate HOSTING_CRT0 and
HOSTING_LIBS values for Linux ELF.

28 years ago * ieee.c: New file with code to read IEEE debugging information.
Ian Lance Taylor [Thu, 4 Jan 1996 21:35:04 +0000 (21:35 +0000)]
* ieee.c: New file with code to read IEEE debugging information.
* budbg.h (parse_ieee): Declare.
* rddbg.c (read_debugging_info): Handle IEEE flavour files.
(read_ieee_debugging_info): New static function.
* Makefile.in: Rebuild dependencies.
(CFILES): Add ieee.c.
(OBJDUMP_OBJS): Add ieee.o.

28 years ago * ieee.c (ieee_slurp_debug): New static function.
Ian Lance Taylor [Thu, 4 Jan 1996 21:30:09 +0000 (21:30 +0000)]
* ieee.c (ieee_slurp_debug): New static function.
(ieee_object_p): Call it.
(ieee_slurp_section_data): Skip debugging sections.
(ieee_get_reloc_upper_bound): Likewise.
(ieee_get_section_contents): Likewise.
(ieee_canonicalize_reloc): Likewise.
(ieee_write_section_part): Likewise.
(ieee_write_debug_part): Likewise.
(ieee_write_data_part): Likewise.
(init_for_output): Likewise.

28 years ago * gdb.base/corefile.exp: When generating a core, discard any
Fred Fish [Thu, 4 Jan 1996 21:12:12 +0000 (21:12 +0000)]
* gdb.base/corefile.exp: When generating a core, discard any
error messages about ulimit not found and the "core dumped"
message from the shell that runs the coredumper.

28 years agoChanges to hexdump "struct user" for child process on some configurations
Fred Fish [Thu, 4 Jan 1996 21:09:59 +0000 (21:09 +0000)]
Changes to hexdump "struct user" for child process on some configurations
that use ptrace().  This is not as useful as doing a full dump in a
human readable format, but is better than nothing when you are trying
to verify what is actually in the user struct.

* infptrace.c (udot_info): New function.
(PT_*): Define each individually if that one is not defined.
Update copyright to 1996.
* rs6000-nat.c (kernel_u_size): New function
Include <sys/user.h> for "struct user"
Update copyright to 1996.
* alpha-nat.c (kernel_u_size): New function.
Include <sys/user.h> for "struct user"
Update copyright to 1996.
* sparc-nat.c (kernel_u_size): New function.
Include <sys/user.h> for "struct user"
Update copyright to 1996.
* i386b-nat.c (kernel_u_size): New function.
Update copyright to 1996.
* i386v-nat.c (kernel_u_size): New function.
Update copyright to 1996.
* config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
(kernel_u_size): Declare.
Update copyright to 1996.
* config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
(kernel_u_size): Declare.
Update copyright to 1996.
* config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
(kernel_u_size): Declare.
Update copyright to 1996.
* config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
(kernel_u_size): Declare.
Update copyright to 1996.
* config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
(kernel_u_size): Declare.
Update copyright to 1996.

28 years ago * scripttempl/h8300.sc: Use all 64K for ram.
David Edelsohn [Thu, 4 Jan 1996 20:03:03 +0000 (20:03 +0000)]
* scripttempl/h8300.sc: Use all 64K for ram.
* scripttempl/h8300h.sc: Define 256K ram size.

28 years ago * mdebugread.c (mylookup_symbol): enum namespace becomes
Steve Chamberlain [Thu, 4 Jan 1996 19:07:28 +0000 (19:07 +0000)]
* mdebugread.c (mylookup_symbol): enum namespace becomes
enum_namespace  type.
* symfile.c (add_psymbol_to_list)
(add_psymbol_addr_to_list): Ditto.
* symtab.c (lookup_partial_symbol): Ditto.
(lookup_symbol): Ditto.
(lookup_block_symbol): Ditto.
* win32-nat.c (handle_load_dll): Use incoming dll base.
(child_wait): Catch DLL load errors.
(create_child_inferior): Translated between paths correctly.

28 years agoPentium Pro changes from John Hassey
Michael Meissner [Thu, 4 Jan 1996 18:37:42 +0000 (18:37 +0000)]
Pentium Pro changes from John Hassey

28 years ago * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
Fred Fish [Thu, 4 Jan 1996 07:23:24 +0000 (07:23 +0000)]
* i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
  from NUM_REGS to get number of general registers that we care about.
Update copyright to 1996.
* config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
of number of general regs and number of floating point regs.
Update copyright to 1996.

28 years agosrec.c->dsrec.c
Steve Chamberlain [Thu, 4 Jan 1996 05:44:58 +0000 (05:44 +0000)]
srec.c->dsrec.c

28 years ago * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
Steve Chamberlain [Thu, 4 Jan 1996 04:30:38 +0000 (04:30 +0000)]
* config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
(SKIP_TRAMPOLINE_CODE): New.
* config/i386/xm-win32.h (CANT_FORK): Deleted.
(SLASH*) Changed to use unix style slash.

28 years ago * symtab.h (namespace enum): becomes typedef to avoid namespace
Steve Chamberlain [Thu, 4 Jan 1996 04:21:57 +0000 (04:21 +0000)]
* symtab.h (namespace enum): becomes typedef to avoid namespace
collision in C++.
* infcmd.c (path_command): Use empty string if PATH name not set.
* i386-tdep.c (skip_trampoline_code): New function.
* srec.c: Renamed dsrec.c to avoid filename collision.
* Makefile.in: Cope with renaming.
Update copyrights to 1996.

28 years ago * gas/mips/ulh-svr4pic.d: Update for tc-mips.c load_address
Ian Lance Taylor [Thu, 4 Jan 1996 03:57:43 +0000 (03:57 +0000)]
* gas/mips/ulh-svr4pic.d: Update for tc-mips.c load_address
  change.

28 years ago * readline.c, display.c, complete.c: Add _MSC_VER to list of
Steve Chamberlain [Thu, 4 Jan 1996 02:48:20 +0000 (02:48 +0000)]
* readline.c, display.c, complete.c: Add _MSC_VER to list of
things which can't do most things.

28 years ago * Makefile.in (newlib.tar.gz): Delete building of newlib's info files.
David Edelsohn [Thu, 4 Jan 1996 01:56:05 +0000 (01:56 +0000)]
* Makefile.in (newlib.tar.gz): Delete building of newlib's info files.

28 years agoMake @GOT relocations work
Michael Meissner [Thu, 4 Jan 1996 00:44:32 +0000 (00:44 +0000)]
Make @GOT relocations work

28 years ago * symmisc.c (print_objfile_statistics): Print memory use statistics
Fred Fish [Wed, 3 Jan 1996 22:00:45 +0000 (22:00 +0000)]
* symmisc.c (print_objfile_statistics): Print memory use statistics
for objfile psymbol, symbol, and type obstacks.
Update copyright to 1996.

28 years ago * obstack.h: Update copyright to 1996.
Fred Fish [Wed, 3 Jan 1996 21:58:13 +0000 (21:58 +0000)]
* obstack.h: Update copyright to 1996.
(_obstack_memory_used): Declare.
(obstack_memory_used): Define macro.

28 years ago * coffcode.h (coff_write_object_contents): If we don't know the
Ian Lance Taylor [Wed, 3 Jan 1996 20:07:39 +0000 (20:07 +0000)]
* coffcode.h (coff_write_object_contents): If we don't know the
section of the entry point for an XCOFF executable, always set the
entry address to -1.

28 years agoAdd Pentium Pro support
Michael Meissner [Wed, 3 Jan 1996 16:51:46 +0000 (16:51 +0000)]
Add Pentium Pro support

28 years ago * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
Jeff Law [Wed, 3 Jan 1996 08:33:24 +0000 (08:33 +0000)]
    * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
I hate skipping tests, but these seem pretty broken on the PA...

28 years ago * gdb.stabs/weird.exp: Use ${target_triplet} to determine
Jeff Law [Wed, 3 Jan 1996 08:28:42 +0000 (08:28 +0000)]
    * gdb.stabs/weird.exp: Use ${target_triplet} to determine
        which sed script to run.  Expect failure for v_comb test
        on PA targets too.
Should get weird-stabs tests running on supported targets again.

I'd also expect most (if not all) stabs targets to fail v_comb...

28 years agoAdd a "\n" to the "go" command so it'll start right away.
Rob Savoye [Tue, 2 Jan 1996 23:59:48 +0000 (23:59 +0000)]
Add a "\n" to the "go" command so it'll start right away.

28 years ago Implement generic debugging support. Implement a stabs reader and
Ian Lance Taylor [Tue, 2 Jan 1996 22:48:58 +0000 (22:48 +0000)]
Implement generic debugging support.  Implement a stabs reader and
a generic printer.
* budbg.h, debug.c, debug.h, prdbg.c, rddbg.c, stabs.c: New files.
* objdump.c: Include "debug.h" and "budbg.h".
(dump_debugging): New global variable.
(usage): Mention --debugging.
(long_options): Add "debugging".
(display_bfd): Handle --debugging.
* Makefile.in (OBJDUMP_OBJS): New variable.
($(OBJDUMP_PROG)): Use $(OBJDUMP_OBJS).
* binutils.texi, objdump.1: Document --debugging.

28 years ago * Makefile.in: Add targets to automatically rebuild dependencies.
Ian Lance Taylor [Tue, 2 Jan 1996 22:48:13 +0000 (22:48 +0000)]
* Makefile.in: Add targets to automatically rebuild dependencies.
Remove targets which just listed dependencies of .o files.
(DEP): New variable.
(HFILES, GENERATED_HFILES): New variables.
(CFILES, GENERATED_CFILES): New variables.
(underscore.c): Don't do anything, just depend upon stamp-under.
(stamp-under): New target; do what underscore.c used to do.
(nlmconv.o): Depend upon sym.h and ecoff.h.
(.dep, .dep1, dep.sed, dep, dep-in): New targets.
(stage1, stage2, stage3, against, comparison): Remove.
(de-stage1, de-stage2, de-stage3): Remove.
(clean, distclean): Remove stamp-under and dep.sed.
* dep-in.sed: New file.

* Makefile.in (OBJDUMP_OBJS): New variable.
($(OBJDUMP_PROG)): Use $(OBJDUMP_OBJS).

28 years agokeep nm-irix5.h
Stan Shebs [Tue, 2 Jan 1996 21:59:11 +0000 (21:59 +0000)]
keep nm-irix5.h

28 years agoKeep 1995 ChangeLog
Stan Shebs [Tue, 2 Jan 1996 21:57:59 +0000 (21:57 +0000)]
Keep 1995 ChangeLog

28 years agoLast year's changes to its own file.
Stan Shebs [Tue, 2 Jan 1996 21:56:00 +0000 (21:56 +0000)]
Last year's changes to its own file.

28 years ago * config/mips/nm-irix5.h: Restore.
Stan Shebs [Tue, 2 Jan 1996 21:55:10 +0000 (21:55 +0000)]
* config/mips/nm-irix5.h: Restore.
(TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
from Lee Iverson <leei@ai.sri.com>.
* config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
* config/mips/irix[345].mh (MUNCH_DEFINE): Remove.

28 years agoFor SH port, make relocation overflow an error instead of a warning.
Jim Wilson [Tue, 2 Jan 1996 20:45:49 +0000 (20:45 +0000)]
For SH port, make relocation overflow an error instead of a warning.

28 years agoAdd support for .note sections
Michael Meissner [Tue, 2 Jan 1996 19:17:17 +0000 (19:17 +0000)]
Add support for .note sections

28 years ago * elf32-ppc.c: Remove trailing newline from calls to
Ian Lance Taylor [Tue, 2 Jan 1996 18:06:55 +0000 (18:06 +0000)]
* elf32-ppc.c: Remove trailing newline from calls to
        _bfd_error_handler.
(ppc_elf_merge_private_bfd_data): Only warn about endianness
difference if target endianness is known.

28 years ago * configure.in (noconfigdirs): Put ld or gas in this early, if the
Brendan Kehoe [Tue, 2 Jan 1996 03:06:56 +0000 (03:06 +0000)]
    * configure.in (noconfigdirs): Put ld or gas in this early, if the
        user specifically used --with-gnu-ld=no or --with-gnu-as=no.

28 years ago * ecoff.c (ecoff_stab): Simplify. Correctly handle sym + offset
Jeff Law [Sun, 31 Dec 1995 06:41:24 +0000 (06:41 +0000)]
    * ecoff.c (ecoff_stab): Simplify.  Correctly handle sym + offset
        addresses for static variables.
So we can access statics in the static block on mips/alpha when using
gas.

28 years ago * gprof.c (long_options): Add "--function-ordering" and
Jeff Law [Sun, 31 Dec 1995 06:36:30 +0000 (06:36 +0000)]
* gprof.c (long_options): Add "--function-ordering" and
"--file-ordering" options.
(usage): Add new options to usage message.
(main): Handle new options.
* gprof.h (STYLE_FUNCTION_ORDER): Define.
(STYLE_FILE_ORDER): Define.
(function_mapping_file): Declare.
* cg_arcs.c (arcs, numarcs): New globals.
(arc_add): Put new arcs into the arc array so the function/file
ordering code can examine them.
* cg_arcs.h (struct arc): New field "has_been_placed".
(arcs, numarcs): Declare new globals.
* core.c (symbol_map, symbol_map_count): New globals.
(read_function_mappings): New function to read in a function
to object map file.
(core_init): Call read_function_mappings if a function mapping
file exists.
(core_create_function_syms): Handle function to object file
mappings.
* symtab.h (struct sym): New fields "mapped", "has_been_placed",
"nuses", "prev".
* cg_print.c (cmp_arc_count): New function for sorting arcs.
(cmp_fun_nuses): Likewise for functions.
(cg_print_function_ordering): New function to print a suggested
function ordering.
(cg_print_file_ordering): Likewise for ordering .o files.
(order_and_dump_functions_by_arcs): Helper function for function
and object file ordering code.
Gprof changes for mentor vm work.

28 years agoJust so we have them checked in somewhere; they're sanitized away as we
Jeff Law [Sun, 31 Dec 1995 06:28:22 +0000 (06:28 +0000)]
Just so we have them checked in somewhere; they're sanitized away as we
really don't want to distribute them as part of gprof (not without major
work).

28 years ago * config-ml.in: Add support for
David Edelsohn [Sun, 31 Dec 1995 00:13:13 +0000 (00:13 +0000)]
* config-ml.in: Add support for
--disable-{softfloat,m68881,m68000,m68020} on m68*-*-*.
Simplify setting of multidirs from --disable-foo.

28 years ago * tests2.exp: Setup_xfail "i*86-*-linux" and
Fred Fish [Sun, 31 Dec 1995 00:03:54 +0000 (00:03 +0000)]
* tests2.exp: Setup_xfail "i*86-*-linux" and
"mips-sgi-irix*" for "real write 4" and "real write 8".
Conditionalize both tests for system specific value
of "infinity" string.

28 years agoForgot a few things...
Fred Fish [Sat, 30 Dec 1995 22:35:57 +0000 (22:35 +0000)]
Forgot a few things...

28 years ago * builtins.exp (test_size): Alpha seems to have long builtins.
Fred Fish [Sat, 30 Dec 1995 22:31:31 +0000 (22:31 +0000)]
* builtins.exp (test_size):  Alpha seems to have long builtins.
* tests1.exp: Setup xfail "*-*-*" for "ptype r2".
* tests2.exp: Add check to skip chill tests.

28 years ago * lib/gdb.exp (default_gdb_start): Fix typo.
Fred Fish [Sat, 30 Dec 1995 22:27:24 +0000 (22:27 +0000)]
* lib/gdb.exp (default_gdb_start): Fix typo.
* gdb.base/corefile.exp: Allow "Core was generated by ..."
messages to not include the full program name that caused
the core dump since some systems (such as solaris) apparently
truncate this path to about 80 characters.
When generating a core file first try increasing the core file
size limit to unlimited since some systems may default it to
zero, and it is harmless to try it.  Move the test for failing
to generate a core file to where it will actually get executed.
* gdb.c++/templates.exp (test_ptype_of_templates): Accept
new gdb result from g++ debug info improvements and make old
pattern obsolescent.  Also account for size_t differences
(may be int or long).
* gdb.base/a1-selftest.exp (test_with_self): Check for case where
initialization before function call is placed in the delay slot
and thus appears to be skipped over by commands such as "next".

28 years ago * nm.c ( long_options): Add "--defined-only" option.
Jeff Law [Sat, 30 Dec 1995 17:02:06 +0000 (17:02 +0000)]
    * nm.c ( long_options): Add "--defined-only" option.
        (usage): Update for new "--defined-only" option.
        (filter_symbols): Handle "--defined-only".
Part of mentor vm work.

28 years ago * symfile.c (find_sym_fns): Add PowerMac to xcoff file recognition
Stan Shebs [Sat, 30 Dec 1995 01:33:40 +0000 (01:33 +0000)]
* symfile.c (find_sym_fns): Add PowerMac to xcoff file recognition
kludge.

28 years ago * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
Stan Shebs [Sat, 30 Dec 1995 00:23:40 +0000 (00:23 +0000)]
* gdb.base/a1-selftest.exp (test_with_self): Run without windows.

28 years ago * arparse.y: Include "bucomm.h", not <sysdep.h>.
Ian Lance Taylor [Fri, 29 Dec 1995 21:02:02 +0000 (21:02 +0000)]
* arparse.y: Include "bucomm.h", not <sysdep.h>.
* nlmheader.y: Don't include "sysdep.h".

28 years agoAllow toplevel make to over certain GCC variables; add all-bootstrap target
Michael Meissner [Fri, 29 Dec 1995 13:43:06 +0000 (13:43 +0000)]
Allow toplevel make to over certain GCC variables; add all-bootstrap target

28 years ago * README.GDBTK: Polish introductory paragraph.
Stan Shebs [Thu, 28 Dec 1995 23:16:41 +0000 (23:16 +0000)]
* README.GDBTK: Polish introductory paragraph.

28 years ago * config-ml.in (ml_realsrcdir): New, to account for ${subdir}.
David Edelsohn [Wed, 27 Dec 1995 23:52:53 +0000 (23:52 +0000)]
* config-ml.in (ml_realsrcdir): New, to account for ${subdir}.

28 years agoAdding perl to devo (perl5.002beta1).
Gordon Irlam [Wed, 27 Dec 1995 22:51:42 +0000 (22:51 +0000)]
Adding perl to devo (perl5.002beta1).

28 years ago * nm.c (print_symdef_entry): Check return value of
Ian Lance Taylor [Tue, 26 Dec 1995 23:20:35 +0000 (23:20 +0000)]
* nm.c (print_symdef_entry): Check return value of
bfd_get_elt_at_index.

28 years ago * ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define
Ian Lance Taylor [Tue, 26 Dec 1995 22:35:31 +0000 (22:35 +0000)]
* ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define
__eabi.

28 years agoAdd Pentium DG/UX support
Michael Meissner [Tue, 26 Dec 1995 16:43:40 +0000 (16:43 +0000)]
Add Pentium DG/UX support

28 years ago * core.c (core_sym_class): Ignore symbols without BSF_FUNCTION
Jeff Law [Mon, 25 Dec 1995 04:32:29 +0000 (04:32 +0000)]
    * core.c (core_sym_class): Ignore symbols without BSF_FUNCTION
        set if ignore_non_function is set.
        * gprof.h (ignore_non_functions): Declare.
        * gprof.c (ignore_non_functions): Define.
        (long_options): Add "ignore-non-functions".
        (usage): Add new options.
        (main): Recognize "-D" and "--ignore-non-functions" option.
So we can get more accurate information on Solaris, HPUX and other
systems that can uniquely identify function symbols.

28 years agoBuild dlltool if config is powerpc*-*-win*
Michael Meissner [Sat, 23 Dec 1995 16:05:03 +0000 (16:05 +0000)]
Build dlltool if config is powerpc*-*-win*

28 years agokeep configure
Jason Molenda [Sat, 23 Dec 1995 01:07:12 +0000 (01:07 +0000)]
keep configure

28 years agocorrectly name file
Michael Meissner [Fri, 22 Dec 1995 16:42:06 +0000 (16:42 +0000)]
correctly name file

28 years agoAdd DG/UX x86 host
Michael Meissner [Fri, 22 Dec 1995 16:10:46 +0000 (16:10 +0000)]
Add DG/UX x86 host

28 years ago * remote-array.c (array_wait): Poll the keyboard along with the
Rob Savoye [Fri, 22 Dec 1995 02:09:38 +0000 (02:09 +0000)]
* remote-array.c (array_wait): Poll the keyboard along with the
serial port so users can tpye at the target while their
application is running.

28 years agoAdd PentiumPro support
Michael Meissner [Thu, 21 Dec 1995 21:09:43 +0000 (21:09 +0000)]
Add PentiumPro support

28 years agoAdd ppcbug-rom.o, srec.o dependencies
Michael Meissner [Thu, 21 Dec 1995 20:01:22 +0000 (20:01 +0000)]
Add ppcbug-rom.o, srec.o dependencies

28 years agoAdd ifndef wrappers
Michael Meissner [Thu, 21 Dec 1995 19:51:55 +0000 (19:51 +0000)]
Add ifndef wrappers

28 years agoMake @got be real GOT reloc; make @xgot be old TOC16 reloc
Michael Meissner [Thu, 21 Dec 1995 17:54:31 +0000 (17:54 +0000)]
Make @got be real GOT reloc; make @xgot be old TOC16 reloc

28 years agoWork in progress to add real GOT support
Michael Meissner [Thu, 21 Dec 1995 17:50:22 +0000 (17:50 +0000)]
Work in progress to add real GOT support

28 years agoMake ppcbug work
Michael Meissner [Thu, 21 Dec 1995 17:06:04 +0000 (17:06 +0000)]
Make ppcbug work

28 years ago * defs.h: Delete extraneous whitespace at end of file.
Fred Fish [Thu, 21 Dec 1995 04:08:27 +0000 (04:08 +0000)]
* defs.h: Delete extraneous whitespace at end of file.
* symfile.h: Move #include of demangle.h outside conditional.
* objfiles.h (struct objstats, OBJSTAT, OBJSTATS): New struct
and macros to hold per-objfile statistics for internal instrumentation.
(struct objfile): Add OBJSTATS member, which is optional.
* buildsym.h (next_symbol_text_func): Now takes objfile argument.
Also update copyright to 1995.
* dbxread.c (dbx_next_symbol_text): Now takes objfile argument.
(dbx_symfile_init, coffstab_build_psymtabs, elfstab_build_psymtabs,
stabsect_build_psymtabs): Accumulate string table size.
(dbx_next_symbol_text, read_dbx_symtab, read_ofile_symtab):
Accumulate number of stabs symbols read.
* dwarfread.c (new_symbol, symthesize_typedef):
Accumulate number of full symbols created.
* gdbtypes.c (alloc_type): Accumulate number of types.
* maint.c (maintenance_print_statistics): New function.
* mdebugread.c (mdebug_next_symbol_text): Now takes objfile argument.
* minsyms.c (prim_record_minimal_symbol_and_info): Accumulate
number of minimal symbols read.
* os9kread.c (read_os9k_psymtab): next_symbol_text takes objfile arg.
* partial-stab.h: next_symbol_text takes objfile arg.
* stabsread.c (error_type, STABS_CONTINUE): Now takes objfile arg and
  uses it to call next_symbol_text.
* symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
Accumulate number of partial symbols created.
* symfile.h (ADD_PSYMBOL_VT_TO_LIST): Accumulate number of partial
symbols created.
* symmisc.c (print_objfile_statistics): Print the per-objfile
internal instrumentation statistics gathered.
* xcoffread.c (xcoff_next_symbol_text): Now takes objfile argument.

28 years ago * configure.in (noconfigdirs): Add gas or ld if --with-gnu-as=no or
Brendan Kehoe [Thu, 21 Dec 1995 01:42:59 +0000 (01:42 +0000)]
* configure.in (noconfigdirs): Add gas or ld if --with-gnu-as=no or
--with-gnu-ld=no.

Don't build/configure gas or ld if we said we don't want them.

28 years ago* elf.c (copy_private_bfd_data): When attaching sections to segments ignore
Ken Raeburn [Thu, 21 Dec 1995 00:41:20 +0000 (00:41 +0000)]
* elf.c (copy_private_bfd_data): When attaching sections to segments ignore
sections that won't be allocated.  Patch from Andreas Schwab.

28 years agoAdd switches to control AIX multlibs
Michael Meissner [Wed, 20 Dec 1995 20:17:24 +0000 (20:17 +0000)]
Add switches to control AIX multlibs

28 years ago * config/tc-mips.c (load_address): Correctly handle a constant in
Ian Lance Taylor [Wed, 20 Dec 1995 19:56:41 +0000 (19:56 +0000)]
* config/tc-mips.c (load_address): Correctly handle a constant in
SVR4_PIC case.  From Richard Kenner <kenner@vlsi1.ultra.nyu.edu>.

28 years agoconfigure m68k-cbm non-sysv4 correctly
Ken Raeburn [Wed, 20 Dec 1995 01:13:05 +0000 (01:13 +0000)]
configure m68k-cbm non-sysv4 correctly

28 years ago * ld-srec/srec.exp: Add setup_xfails for XCOFF targets.
Ian Lance Taylor [Tue, 19 Dec 1995 23:00:26 +0000 (23:00 +0000)]
* ld-srec/srec.exp: Add setup_xfails for XCOFF targets.

28 years ago * emultempl/aix.em (gld${EMULATION_NAME}_after_open): Only set
Ian Lance Taylor [Tue, 19 Dec 1995 22:36:03 +0000 (22:36 +0000)]
* emultempl/aix.em (gld${EMULATION_NAME}_after_open): Only set
relocateable before calling ldctor_build_sets if the output file
is in an XCOFF format.

28 years ago * coff-i960.c (CALC_ADDEND): Define.
Ian Lance Taylor [Tue, 19 Dec 1995 21:38:51 +0000 (21:38 +0000)]
* coff-i960.c (CALC_ADDEND): Define.
(coff_i960_relocate_section): Add the input section VMA to the
addend for PC relative relocs.
PR 8697.

28 years ago12/19 release from Andrew that fixes Netbsd break problem
Michael Meissner [Tue, 19 Dec 1995 16:41:06 +0000 (16:41 +0000)]
12/19 release from Andrew that fixes Netbsd break problem

28 years ago * configure.in (i386-win32): Don't build expect if we're not
Jason Molenda [Tue, 19 Dec 1995 01:56:18 +0000 (01:56 +0000)]
    * configure.in (i386-win32): Don't build expect if we're not
        building the tcl subdir.

28 years ago * Makefile.in: (configure-target-examples, all-target-examples):
Stan Shebs [Mon, 18 Dec 1995 19:50:07 +0000 (19:50 +0000)]
* Makefile.in: (configure-target-examples, all-target-examples):
New targets, configure and build example programs.

28 years agoWork with new and old BFDs; Do not inline model externs functions by default
Michael Meissner [Sat, 16 Dec 1995 15:02:48 +0000 (15:02 +0000)]
Work with new and old BFDs; Do not inline model externs functions by default

28 years ago * mpw-configure: If an mpw-config.in generated a file mk.sed,
Stan Shebs [Sat, 16 Dec 1995 00:20:14 +0000 (00:20 +0000)]
* mpw-configure: If an mpw-config.in generated a file mk.sed,
use it as input to sedit the generated MPW makefile.
* mpw-README: Add a suggestion about Gestalt.h.