aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1992-10-09Eckhard Rueggeberg throught gprof didn't work because the man page was wrong.Mark Eichin2-4/+17
The SYNOPSIS now matches the rest of the man page.
1992-10-09Fri Oct 9 08:41:11 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-0/+12
* xm-hppah.h: if __STDC__ is not defined, define HPPA_COMPILER_BUG. symtab.c (decode_line_1): avoid a bug in the HP9000/700 native compiler; see the comment in the file. Here's the comment from the file: /* FIXME: The native HP 9000/700 compiler has a bug which appears when optimizing this file with target i960-vxworks. I haven't been able to construct a simple test case. The problem is that in the second call to SKIP_PROLOGUE below, the compiler somehow does not realize that the statement val = find_pc_line (...) will change the values of the fields of val. It extracts the elements into registers at the top of the block, and does not update the registers after the call to find_pc_line. You can check this by inserting a printf at the end of find_pc_line to show what values it is returning for val.pc and val.end and another printf after the call to see what values the function actually got (remember, this is compiling with cc -O, with this patch removed). You can also examine the assembly listing: search for the second call to skip_prologue; the LDO statement before the next call to find_pc_line loads the address of the structure which find_pc_line will return; if there is a LDW just before the LDO, which fetches an element of the structure, then the compiler still has the bug. */
1992-10-09First cut at support for all BSD variants on 386.John Gilmore2-0/+12
1992-10-09First cut at support for all BSD variants on 386.John Gilmore3-0/+11
1992-10-09First cut at support for all BSD variants on 386.John Gilmore4-0/+139
* tm-i386bsd.h, xm-i386bsd.h: New config files. * i386b-nat.c: New native support file. * configure.in: Add host and target for i[34]86-*-bsd*. * config/i386bsd.mh, config/i386bsd.mt: New config files.
1992-10-09* configure.host: New file, contains mapping of host configsJohn Gilmore3-63/+11
to host support file names for bfd, binutils, opcodes. * configure.in: Use it. * i386aout.c: Cleanup, dump TARGET_IS_LITTLE_ENDIAN_P. * i386bsd.c: Cleanup, reformat. * config/i386-bsd.mt: Comment changes. * config/i386bsd.mh: New file for core file support. * hosts/i386bsd.h: Merge changes from Peter Schauer. * bout.c (ALIGN): Rename to ALIGNER, since system header files on BSD 4.4 define ALIGN (sigh!).
1992-10-09* bout.c (ALIGN): Rename to ALIGNER, since system header filesJohn Gilmore2-6/+11
on BSD 4.4 define ALIGN (sigh!).
1992-10-09Remove space from blank line, avoid Make complaints.John Gilmore2-1/+5
1992-10-09Sun2 native support (untested).K. Richard Pixley6-16/+49
* xm-sun2.h (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS, REGISTER_U_ADDR): removed to nm-sun2.h. * nm-sun2.h: new file. * config/sun2os[34].mh (XDEPFILES): infptrace.o inftarg.o fork-child.o sun3-xdep.o removed. (NAT_FILE, NATDEPFILES): new macros.
1992-10-09Mips native support. Decstation and iris4 have been tested.K. Richard Pixley15-149/+461
Iris3 has not. * mips-tdep.c (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): removed to irix4-nat.c * mips-xdep.c: removed. * irix4-nat.c, mips-nat.c, nm-irix3.h, nm-irix4.h, nm-mips.h: new files. * procfs.c: include nm.h. * xm-irix3.h (U_REGS_OFFSET, FETCH_INFERIOR_REGISTERS): removed. * xm-irix4.h: bump copyright. (U_REGS_OFFSET, FETCH_INFERIOR_REGISTERS, USE_PROC_FS, PROC_NAME_FMT): removed. * xm-mips.h (FETCH_INFERIOR_REGISTERS): removed. * config/irix4.mh (XDEPFILES): removed procfs.o fork-child.o. (NAT_FILE, NATDEPFILES): new macros for native support. (CC): supply default compiler switches. * config/irix3.mh (XDEPFILES): removed infptrace.o inftarg.o fork-child.o coredep.o. (NAT_FILE, NATDEPFILES): new macros for native support. Note that irix3 is untested. * config/decstation.mh (XDEPFILES): removed infptrace.o inftarg.o fork-child.o mips-xdep.o coredep.o. (NAT_FILE, NATDEPFILES): new macros for native support.
1992-10-09* config/rs6000.mh (XDEPFILES): removed fork-child.o.K. Richard Pixley4-6/+15
(NATDEPFILES): added fork-child.o * config/sun3os3.mh (XDEPFILES): removed fork-child.o. (NATDEPFILES): added fork-child.o * config/sun3os4.mh (XDEPFILES): removed fork-child.o. (NATDEPFILES): added fork-child.o
1992-10-09* infcmd.c (path_info): Avoid 250-char limit on printf_filtered,John Gilmore1-0/+5
by using puts_filtered instead.
1992-10-09* remote-nindy.c (nindy_load): Replacement version from SteveKen Raeburn2-34/+39
Chamberlain, doesn't require forking to run "strip" or "sx".
1992-10-09* configure.in: Reformat the target section, test many configs.John Gilmore2-72/+54
1992-10-09Linker now works for go32; other changes keep it from breaking the otherMark Eichin5-130/+68
platforms (new backend_data "exec_header_not_counted") (from p3.)
1992-10-09* config.sub: Complain if no argument is given. Added support for 386bsd as OSKen Raeburn2-0/+21
and target alias.
1992-10-09* aout-target.h (callback): Don't define this function if it won't be used.Ken Raeburn8-137/+260
* aoutx.h (some_aout_object_p): Restore old aout_data value if this type doesn't match. Don't lose if file sections have already been created. (set_arch_mach): Set reloc_entry_size. (slurp_symbol_table): Use bfd_h_get_{16,8} for reaeding symbol data. * hosts/i386bsd.h: New file. * configure.in: Recognize i[34]86-*-bsd host. * aout-target.h (callback, write_object_contents): Delete unused variables. * aoutx.h (reloc_type_lookup): New function. * aout-target.h (MY_reloc_howto_type_lookup): Use it as default. * aoutf1.h (sunos4_reloc_type_lookup): Deleted. (MY_reloc_howto_type_lookup): Don't define it. * aoutx.h (adjust_sizes_and_vmas): Don't bother with padding for OMAGIC files. (slurp_symbol_table): Use header byte order, not target byte order, for reading symbol data.
1992-10-09 * configure.in: Undo some brain damage in the host section.John Gilmore3-43/+72
* Makefile.in (make): Remove obsolete `make make'. * aoutx.h (some_aout_object_p): Make defines line up.
1992-10-09* Makefile.in (HFILES): Add nm-*.h files.Stu Grossman2-1/+6
1992-10-09Remove stratus.mt and stratus.mh until we can get copyright assignment from theStu Grossman1-2/+0
real author of the i860 stuff.
1992-10-09Remove duplicate core.c entry from SFILES_MAINDIR.Stu Grossman1-1/+1
1992-10-09Remove a29k-udi.c till we straighten out AMD copyright stuff.Stu Grossman1-1/+0
1992-10-09Fix up HPPA file names.John Gilmore1-10/+9
1992-10-09* config/sun4os4.mh (XDEPFILES): fork-child.o removed.K. Richard Pixley2-2/+5
(NATDEPFILES): added fork-child.o.
1992-10-08* doc/gdbint.texinfo: document a few more macros, create newK. Richard Pixley2-55/+117
section for native macros.
1992-10-08Thu Oct 8 15:07:22 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-3/+8
* Makefile.in (XTRAFLAGS): include newlib directories if newlib/Makefile exists, rather than if host != target.
1992-10-08* Makefile.in alldeps.mak depend: Rip out 29k/udi pendingStu Grossman4-68/+30
resolution of copyright issues.
1992-10-08keep sun3-nat.c, rs6000-nat.c, nm-sun3.h, nm-rs6000.h. ForgetK. Richard Pixley1-3/+4
sun3-xdep.c, sparc-xdep.c, rs6000-xdep.c
1992-10-08Save i386bsd.c since it is now required to build bfd.Fred Fish1-0/+1
(Am I the *only* one that regularly builds sanitized trees and thus gets to clean up these things?)
1992-10-08 Now a bfd knows whether underscores are normally prependedSteve Chamberlain2-1/+8
to symbols in its file format.
1992-10-08Some of these are guesses, if you know different, just yell.Steve Chamberlain18-539/+965
Thu Oct 8 08:52:48 1992 Steve Chamberlain (sac@thepub.cygnus.com) Now a bfd knows whether underscores are normally prepended to symbols in its file format. Helps with error messages. * aout-adobe.c, aout-target.h, bout.c, coff-a29k.c, coff-h8300.c, coff-z8k.c: targets set so they have leading underscore * coff-i386.c, coff-i960.c, coff-m68k.c, coff-mips.c, coff-m88k.c, coff-rs6000.c, coff-we32k.c, elf.c, ieee.c, srec.c: targets set without leading underscore flag * targets.c: add symbol leading char to xvec description * bfd-in.h (bfd_get_symbol_leading_char): new macro.
1992-10-08* Makefile.in (setup-to-dist): Remove -norecursion so that docStu Grossman2-1/+6
subdir gets configured. Bad John, bad...
1992-10-08Going back to old remote method for now.Sean Eric Fagan2-5/+1
1992-10-08* Makefile.in (nindy.o): Define "STRIP" as pathname of strip program.Ken Raeburn4-6/+24
* nindy-share/nindy.c (coffstrip): Use that pathname, instead of searching for a "bfd_strip" program. Also, fixed up arguments passed to that program. * tm-nindy960.h (ADDITIONAL_OPTIONS): Use "-ser" rather than "-r", which is now used for something else. Rewrite description of associated parameters to match how gdb does it now. (ADDITIONAL_OPTION_HELP): Fix message accordingly. * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
1992-10-08renamed hp9000 to hp300David D. Zuhn1-1/+1
1992-10-08* copy.c (main): Even if is_strip, accept -d argument indicating alternateKen Raeburn3-0/+13
output format. Needed by gdb for Nindy. * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
1992-10-06added copy documentation per RolandJeffrey Osier2-15/+71
1992-10-06Set REMOTE to remote-ser.o.Sean Eric Fagan1-0/+3
1992-10-06Added remote-ser.c, which is a version of remote.c that uses the routinesSean Eric Fagan2-1/+797
in the ser-*.c files. Needed for some systems, such as GO32, which don't have stuff like <termios.h>. Makefile.in now uses $(REMOTE), which defaults to remote.o, instead of remote.o.
1992-10-06NOTICE_SIGNAL_HANDLING_CHANGE macro added to the target vector asK. Richard Pixley16-39/+91
to_notice_signals. * inferior.h (proc_signal_handling_change): prototype removed. * infrun.c (NOTICE_SIGNAL_HANDLING_CHANGE): default removed. (handle_command): now calls target_notice_signals. * procfs.c (proc_signal_handling_change): renamed to procfs_notice_signals. Now static. Add prototype. All callers changed. * target.h (struct target_ops): new field, to_notice_signals. (target_notice_signals): new macro to cover new field. * target.c (cleanup_target): default to_notice_signals to ignore. * corelow.c (core_ops), exec.c (exec_ops), inftarg.c (child_ops), procfs.c (procfs_ops), remote-adapt.c (adapt-ops), remote-eb.c (eb_ops), remote-es1800.c (es1800_ops, es1800_child_ops), remote-hms.c (hms_ops), remote-mm.c (mm_ops), remote-nindy.c (nindy_ops), remote-st2000.c (st2000_ops), remote-udi.c (udi_ops), remote-vx.c (vx_ops, vx_run_ops), remote.c (remote_ops), target.c (dummy_target), xcoffexec.c (exec_ops): added static initializer for to_notice_signals. * xm-irix4.h, xm-sysv4.h (NOTICE_SIGNAL_HANDLING_CHANGE): removed.
1992-10-06 * Makefile.in (*clean rules): Some cleaning up.Per Bothner1-0/+13
* Makefile.in (dist): Make diststuff in gprof for a dist. * ar.c (do_show_version): New function. * ar.c (main): Fix so "ar -V" works.
1992-10-06Tue Oct 6 13:08:54 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-1/+19
* ldlang.c (lang_finish): don't warn if -e start symbol does not exist when linking with -r.
1992-10-06* main.c (define_command): Add forgotten initializer.John Gilmore1-0/+4
1992-10-06* language.c, language.h: Move saved_language out to globalJohn Gilmore4-35/+104
expected_language. Set expected_language when user expectation changes. * language.c (language_info): Don't print type/range checking gub. * main.c (main): Set expected language. (execute_command): Check against expected language. * symfile.c (set_initial_language): Set expected language.
1992-10-06Solaris-x86 early trialJohn Gilmore1-0/+4
1992-10-06* configure.in, config/i386sol2.{mh,mt}: Preliminary Solaris-x86 conf.John Gilmore4-0/+38
1992-10-06 A bunch of changes mostly to improve debugging of C++ programs.John Gilmore3-16/+142
Specifically, the calling of inferiors methods is improved. * value.h: New macros METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET, METHOD_PTR_TO_VOFFSET to partially hide the implementation details of pointer-to-method objects. How to tell if the pointer points to a virtual method is still very dependent on the particular compiler, but this should make it easier to find the places to change. * eval.c (evaluate_subexp [case OP_FUNCALL]), valprint.c (val_print [case TYPE_CODE_PTR]): Use the new METHOD_PTR_* macros, instead of a hard-wired-in code that incorrectly assumed a no-longerused representation of pointer-to-method values. And otherwise fix the relevant bit-rotted code. * valprint.c (type_print_base [case TYPE_CODE_STRUCT]): If there are both fields and methods, put a space between. * stabsread.c (read_struct_type): Fix bug in handling of GNU C++ anonymous type (indicated by CPLUS_MARKER followed by '_'). (It used to prematurely exit the loop reading in the fields, so it would think it should start reading methods while still in the fields. This could crash gdb given a gcc that can emit nested type information.) * valops.c (search_struct_method): Pass 'this' value by reference instead of by value. This provides a more consistent interface through a recursive search where the "bottom" functions may need to adjust offsets (due to multiple inheritance). * valops.c, value.h, values.c: Pass extra parameters to value_fn_field and value_virtual_fn_field so we can correctly adjust offset for multiple inheritance. * eval.c (evaluate_subexp [case OP_FUNCALL]): Simplify virtual function calls by using value_virtual_fn_field(). * values.c: New function baseclass_offset, derived from baseclass_addr (which perhaps can be made obsolete?). It returns an offset rather than an address. This is a cleaner interface since it doesn't mess around allocating new values. * valops.c (search_struct_method): Use baseclass_offset rather than baseclass_addr.
1992-10-06 * gen-c-prog.awk: New awk script, lightly changed fromPer Bothner8-9/+293
previously deleted make-c-prog.awk. Converts a text file to a c function that prints that text. * flat_bl.m, fsf_callg_bl.m, bsd_callg_bl.m: New files. Inputs to gen-c-prog.awk, containing text describing gprof output. * blurbs.c: Removed. Use *_bl.c instead. * Makefile.in: Use gen-cprog.awk to generate *_bl.c files from *_bl.m files. Also, improve *clean rules. * printgprof.c (printgprof): Usw new function names from *_bl.c.
1992-10-06 fix i960+non-bfd coff bit rot.Steve Chamberlain1-0/+5
* obj-coff.c (c_dot_file_symbol, obj_coff_ln, obj_coff_line): support for C source listings. (obj_coff_endef): look in the right part of the symbol for the symbol name
1992-10-05* Makefile.in: Re-install 29K/UDI stuff.Stu Grossman4-128/+226
* remote-udi.c (udi_resume): Clean up. * (udi_wait): Rewrite, leave out bugs. * Add debugging code to print out all register fetches and stores. * Straighten out target_ops. * tm-29k.h (DUMMY_FRAME_RSIZE): Pad out to doubleword.