aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-07-17 * archures.c bfd-in2.h: Add bfd_mach_i386_i386 andStu Grossman3-3/+7
bfd_mach_i386_i8086 machine types.
1996-07-17 * command.c (do_setshow_command): Don't segfault when showingStu Grossman3-6/+72
var_string and var_string_noescape vars that are NULL. From the fsf: * solib.c (solib_absolute_prefix, solib_search_path): New variables. (_initialize_solib): Add set/show commands for those variables. (solib_map_sections): Implement searching using them.
1996-07-17Changes from the FSF for Hurd thread support.Stu Grossman10-244/+773
1996-07-16oops!Stu Grossman1-0/+7
1996-07-16 * i386-dis.c (print_insn_i8086): New routine to disassemble usingStu Grossman1-9/+6
the 8086 instruction set. * i386-dis.c: General cleanups. Make most things static. Add prototypes. Get rid of static variables aflags and dflags. Pass them as args (to almost everything).
1996-07-15 * dis-asm.h: Get rid of decls for print_insn_i8086,Stu Grossman2-6/+19
print_insn_sparc64 and print_insn_sparclite. * (INIT_DISASSEMBLE_INFO): Split into two pieces. One, INIT_DISASSEMBLE_INFO_NO_ARCH inits everything except for endian, mach, and arch.
1996-07-15 * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed toDavid Edelsohn2-39/+38
cygwin32_conv_to_posix_path. (child_create_inferior): unix_path_to_dos_path renamed to cygwin32_conv_to_win32_path. Rewrite code to translate PATH.
1996-07-15 * defs.h printcmd.c: Create global disassemble_info structureStu Grossman7-52/+96
tm_print_insn_info. * gdbtk.c (gdb_disassemble): Setup di.mach from tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER. * i386-tdep.c (set_assembly_language_command): set tm_print_insn_info.mach to the appropriate value for 386 or 8086 disassembly. * printcmd.c (print_insn): Move init of disassembler_info to _initialize_printcmd. Set endian for disassembler here. * sparc-tdep.c: Set tm_print_insn_info.mach as appropriate to select sparc/sparclite. * config/sparc/{tm-sparc.h tm-sparclite.h}: Get rid of TM_PRINT_INSN. Set TM_PRINT_INSN_MACH to bfd_mach_sparc/bfd_mach_sparc_sparclite.
1996-07-15 * bfd-in2.h: Add bfd_mach_i386_i386 and bfd_mach_i386_i8086Stu Grossman2-0/+7
machine types.
1996-07-15 * config.guess (HP 9000/811): Recognize this as a PA1.1Jeff Law1-0/+5
machine.
1996-07-15Mon Jul 15 11:49:49 1996 Andreas Schwab ↵Ian Lance Taylor2-9/+34
<schwab@issan.informatik.uni-dortmund.de> * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Round the value of __start_SECNAME to the alignment required by the section to be placed.
1996-07-13Check in an entry that somehow got missed long ago.Fred Fish1-0/+5
1996-07-13 * hpread.c (hpread_lookup_type): Use xmmalloc/xmrealloc ratherFred Fish2-2/+9
than xmalloc/xrealloc.
1996-07-13 * mmap-sup.c (mmalloc_findbase): Change to not require /dev/zeroFred Fish1-0/+5
if MMAP_ANONYMOUS is available.
1996-07-13Fix thinko in previous patchFred Fish1-1/+1
1996-07-13* Makefile.in (do-tar-gz): New target, split out from tail end of taz target.Ken Raeburn2-5/+15
Run each command separately, don't use pipes. (taz): Use it.
1996-07-13 * objfiles.c (map_to_file): Error return from mmalloc_findbase isFred Fish2-1/+6
a NULL pointer, not a -1. Fix oops from a previous checkin.
1996-07-13Recognize and handle -K PICMichael Meissner2-1/+17
1996-07-12 * mpw-configure: Look for g-mpw-make.sed in config/mpw.Stan Shebs1-0/+6
* mpw-build.in: No builds should depend on building byacc or flex, they are assumed to be installed already.
1996-07-12always keep mpw subdirStan Shebs1-0/+1
1996-07-12 * gdb.texinfo: Document `set assembly-language'.Stu Grossman2-0/+20
1996-07-12 * dis-asm.h (print_insn_i8086): Declare.Stu Grossman2-0/+5
1996-07-12 * i386-tdep.c (set_assembly_language_command): New routine toStu Grossman2-12/+70
select between i386 and i8086 instruction sets for disassembly. New command `set assembly-language {i386 i8086}'.
1996-07-12 * i386-dis.c (print_insn_i8086): New routine to disassemble usingStu Grossman2-157/+240
the 8086 instruction set. * i386-dis.c: General cleanups. Make most things static. Add prototypes. Get rid of static variables aflags and dflags. Pass them as args (to almost everything).
1996-07-12Set r environment variable that CC_FOR_TARGET needs in CONFIGURE_TARGET_MODULESMichael Meissner2-0/+6
1996-07-12 * monitor.c (monitor_write_memory, monitor_read_memory_single):Mark Alexander1-0/+8
Disable use of "long long" memory read/write commands; can't use them because we hold the values to read/write in an int variable, and because strtoul fails on values that exceed the size of a long. This fixes breakpoint problems on MON960.
1996-07-12 * config/m68k/xm-hp300hpux.h (HAVE_MMAP): Remove definition.Fred Fish3-12/+5
* config/pa/xm-hppah.h (HAVE_MMAP): Ditto.
1996-07-11Check whether $(TARGET_SUBDIR)/$${dir} exists before trying to output ↵Michael Meissner1-9/+12
--print-multi-lib there
1996-07-11 * remote.texi: Update list of stubs in the GDB distribution.Stan Shebs2-8/+27
Humoring JT :-)
1996-07-11 * h8300-dis.c (bfd_h8_disassemble): Handle macregs in ldmac insns.Jeff Law1-0/+2
More HMSE.
1996-07-11 * h8300-dis.c (bfd_h8_disassemble): Handle "ldm.l" and "stm.l".Jeff Law2-0/+26
More disassembler fixes. HMSE.
1996-07-11 * h8300-dis.c (bfd_h8_disassemble): "abs" is implicitly twoJeff Law2-1/+8
if the next arg is marked with SRC_IN_DST. Gross. Gross hack so that shift-by-two insns are disassembled correctly.
1996-07-11 * h8300-dis.c (bfd_h8_disassemble): Print "exr" whenJeff Law2-1/+7
we're looking for and find EXR. So we disassemble andc/orc/xorc with exr correctly.
1996-07-11 * h8300-dis.c (bfd_h8_disassemble): We don't have a matchJeff Law2-0/+5
if we're looking for KBIT and we don't find it. So we don't disassemble "inc" instructions as "adds" instructions.
1996-07-11 * h8300.h (band, bclr): Force high bit of immediate nibble to zero.Jeff Law2-2/+6
So we don't disassemble "biand" as "band".
1996-07-11 * h8300-dis.c (bfd_h8_disassemble): Mask off unwanted bitsJeff Law2-2/+5
for L_3 and L_2. So we only get values in the right range for L_3 (0..7) and L_2 (0..3).
1996-07-11 * h8300-dis.c (bfd_h8_disassemble): Don't set plen forJeff Law2-1/+5
3bit immediate operands. So we disassemble bXXX #IMM,@ADDRESS insns correctly.
1996-07-11Automagically reconfigure target directories whenever the multilib options ↵Michael Meissner2-0/+21
change
1996-07-11 * Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLEFred Fish24-371/+391
and MMALLOC_CHECK macros, and add comment indicating how host dependent makefile fragment should modify MMALLOC_CFLAGS to not use mmalloc, or to use it but to not do heap corruption checking. * gdbserver/Makefile.in: Ditto. * utils.c (init_malloc): Replace warning() use with direct call of fprintf_unfiltered, since current_target has not yet been set and thus we cannot use warning(). If we try to use mmcheck and it fails, suggest that this configuration needs NO_MMCHECK or MMCHECK_FORCE defined. Other small mmalloc related cleanups. * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1. * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Set to -DNO_MMCHECK. * config/sparc/xm-sun4os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): * config/i386/xm-i386v4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): * config/m68k/xm-hp300hpux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): * config/m68k/xm-m68kv4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT); * config/m68k/xm-sun3os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): * config/sparc/xm-sun4sol2.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): Remove obsolete defines. * config/alpha/alpha-linux.mh (MMALLOC_DISABLE): * config/alpha/alpha-osf1.mh (MMALLOC_DISABLE): * config/rs6000/rs6000.mh (MMALLOC_DISABLE): * config/rs6000/aix4.mh (MMALLOC_DISABLE): * config/powerpc/aix4.mh (MMALLOC_DISABLE): * config/powerpc/aix.mh (MMALLOC_DISABLE): * config/ns32k/ns32km3.mh (MMALLOC_DISABLE): * config/mips/mipsm3.mh (MMALLOC_DISABLE): * config/mips/decstation.mh (MMALLOC_DISABLE): * config/m88k/cxux.mh (MMALLOC_DISABLE): * config/i386/i386mk.mh (MMALLOC_DISABLE): * config/i386/i386m3.mh (MMALLOC_DISABLE): * config/i386/i386gnu.mh (MMALLOC_DISABLE): Use MMALLOC_CFLAGS instead.
1996-07-11 * detach.c (mmalloc_detach): Fix bug in computation of negativeFred Fish3-1/+219
brk value. * mmcheck.c (mmcheckf): Renamed from mmcheck and new FORCE argument added. Replaced hack that always allowed checking routines to be installed and enforce restriction that they have to be installed prior to allocating any memory on the used heap or the FORCE argument has to be non-NULL. (mmcheck): New function that calls mmcheckf with FORCE set to zero, for backwards compatibility. * mmalloc.c (malloc): Store result in local variable before returning it. Makes debugging much easier at negligible cost. * mmalloc.h (mmcheckf): Declare. * attach.c (reuse): Call mmcheckf rather than mmcheck. * mmap-sup.c (__mmalloc_mmap_morecore): Improve to allow mmap to select a base mapping address if none is otherwise given. (mmalloc_findbase): New function that user can call to find an available mapping address of a given size.
1996-07-11 * Makefile.in (ALL_MODULES,CROSS_CHECK_MODULES,INSTALL_MODULES,David Edelsohn2-3/+11
CLEAN_MODULES): Add bash. (all-bash): New target.
1996-07-10 * stabs.c (stab_demangle_fund_type): Return a void * for aIan Lance Taylor1-0/+5
template, rather than simply aborting.
1996-07-10Wed Jul 10 12:39:08 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor2-2219/+2717
* config/tc-alpha.c (alpha_align): Change fill parameter to a pointer. Take NULL as 0 or nop depending on section. Change all callers. (s_alpha_align): Rename local variables. * doc/as.texinfo (.align): Document action of omitted fill parameter.
1996-07-10 * ecoff.c (_bfd_ecoff_new_section_hook): Set SEC_CODE for _INITIan Lance Taylor2-25/+71
and _FINI sections.
1996-07-10Wed Jul 10 11:18:21 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor1-0/+5
* coffcode.h (coff_set_section_contents): A/UX does not require special handling of the _LIB section.
1996-07-10 * h8300-tdep.c: Remove some outdated comments.Jeff Law2-30/+83
(h8300_skip_prologue): Rework to be more correct for the H8/300H. Handle stm.l insns for the H8/S. (examine_prologue): Likewise. HMSE stuff.
1996-07-10 * app.c (do_scrub_chars): Remove not_cpp_line local variable.Ian Lance Taylor1-0/+9
Instead, check state when '#' comment is seen. PR 10073.
1996-07-10 * config/tc-ppc.c (md_apply_fix3): Give a useful error messageIan Lance Taylor1-16/+172
when an unsupported PC relative reloc is seen, rather than calling abort. PR 10073.
1996-07-10 * compile.c (sim_resume): Fix all rotate-by-2-bits insns.Jeff Law2-4/+8
1996-07-10 * ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf.Raymond Jou2-1/+5