* configure: Regenerate.
From: Robert Lipe <robertl@dgii.com>
Add support for SCO OpenServer 5 (a.k.a. 3.2v5*) This
target is an SVR3.2 with COFF, ELF, and shared libes, but
no /proc.
* config/i386/i386sco5.mh: New file.
* config/i386/nm-i386sco5.h: New file.
(add_psymbol_to_list): Add an arg for passing CORE_ADDR values and
use it, rather than calling add_psymbol_addr_to_list.
(add_psymbol_addr_to_list): Delete.
(add_psymbol_to_list): Make psymbol static to avoid random data in
gaps due to alignment of structure members.
* symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST,
ADD_PSYMBOL_ADDR_TO_LIST): Remove. Real world tests show no
performance improvements by inlining via complicated macros and
they just make gdb larger and harder to maintain.
* dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST
and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to
add_psymbol_to_list with appropriate long or CORE_ADDR args.
(add_partial_symbol): Ditto.
* partial-stab.h: Ditto.
* os9kread.c (read_os9k_psymtab): Ditto
* mdebugread.c (parse_partial_symbols): Ditto.
(handle_psymbol_enumerators): Ditto.
(demangle.h): Include.
* hpread.c (hpread_build_psymtabs): Ditto.
(hpread_build_psymtabs): Ditto.
(demangle.h): Include
of holding them in "abs". Handle ABS8MEM memory references aka
8-bit area. Replace ABSMOV references with ABS8MEM.
So we've got a chance of simulating something like btst #0,@40:8 correctly.
hmse.
not "abs", which may be needed for the absolute in something
like btst #0,@10:8. Print L_3 immediates separately from other
immediates. Change ABSMOV reference to ABS8MEM.
One day we'll actually disassemble btst #0,@10:8 correctly... But not
yet. hmse.
from all insns.
(ABS8SRC,ABS8DST): Add ABS8MEM.
(add.l): Fix reg+reg variant.
(eepmov.w): Renamed from eepmovw.
(ldc,stc): Fix many cases.
We'll use ABS8MEM for access to the 8-bit area.
Fixes from running the h8300 testsuite.
hmse.
* gas/h8300/{bitops3h.s,bitops4h.s,branchesh.s}: New h8300h tests.
* gas/h8300/{cbranchh.s,compareh.s,decimalh.s}: New h8300h tests.
* gas/h8300/{divmulh.s,incdech.s,logicalh.s}: New h8300h tests.
* gas/h8300/{misch.s,movbh.s,movwh.s}: New h8300h tests.
* gas/h8300/{pushpoph.s,rotshifth.s}: New h8300h tests.
* gas/h8300/h8300.exp: Run them.
More tests.
(gdb_cmd): Test it before executing any command.
(gdbtk_call_command): Set it when inferior is running.
* gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and
disable interaction with command window's text appropriately.
static function, if ${host} = ${target}.
(gld${EMULATION_NAME}_after_open): Call check_ld_so_conf to find a
needed shared library if ${host} = $[target}.
* config/atof-ieee.c: Fix handling of denormalized extended
precision numbers and overflow/underflow detection.
(MAX_PRECISION, X_PRECISION, P_PRECISION): Changed from 6 to 5, to
not include the 16 bit gap in the m68k extended precision format.
* config/tc-mips.c: Allow non-zero offsets from .sdata symbols to
be accessed using the $gp register.
* config/tc-mips.h (MAX_GPREL_OFFSET): Added.
This ensures that the $gp addressing will continued to be used if the
"combine_statics" optimisation is enabled within GCC.
* emulparams/elf32{b,l}4300.sh (MACHINE): Add explicit
architecture number.
* scripttempl/elf.sc: Use $MACHINE definition if present.
* configure.tgt (targ_extra_emuls): Force 4100 build to use same
template as 4300.
* gas/h8300/{bitops3.s,bitops4.s,branches.s}: New h8300 tests.
* gas/h8300/{cbranch.s,compare.s,decimal.s}: New h8300 tests.
* gas/h8300/{divmul.s,incdec.s,logical.s}: New h8300 tests.
* gas/h8300/{misc.s,movb.s,movw.s}: New h8300 tests.
* gas/h8300/{pushpop.s,rotshift.s}: New h8300 tests.
* gas/h8300/h8300.exp: Run them.
To keep me from screwing up the assembler...
to /usr/bin/which when checking if we're using /usr/ccs/bin/cc.
/usr/ucb/which on Solaris barfs out an error if $CC is set to
seomthing like "cc -xcg92" or "gcc -mv8". It is harmless, but it looks
bad.
w/o this, if you use GNU make on a Solaris platform (eg), but you don't
have GNU make at the front of your path, when the make/ subdir cds down
into make/glob and does a make there, you will end up picking up the
first make that is in your path no matter what you do.
No PR, I just noticed this while I was working on something else.
* config.in: Regenerate with autoheader.
* configure: Regenerate with autoconf.
* inflow.c (_initialize_inflow): Only try to use _SC_JOB_CONTROL
if it is actually defined.
(gdb_setpgid): Use HAVE_SETPGID.
* ch-exp.c: Change include of <string.h> to "gdb_string.h".
* c-exp.y: Ditto.
* f-exp.y: Ditto.
* m2-exp.y: Ditto.
* c-exp.y: Include <ctype.h>.
* serial.c: Ditto.
* config/m68k/nm-news.h: Add typedef for pid_t which is
apparently missing from <sys/types.h>. Enclose entire
file in NM_NEWS_H ifndef and define when included.
* config/mips/nm-news-mips.h: Ditto.
* config/m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL,
REGISTER_CONVERT_TO_RAW): Change name of temporary variable.
(AC_CHECK_HEADERS): Check for sys/time.h
(AC_HEADER_TIME): Add macro.
* configure: Rebuild.
* sysdep.h: Use TIME_WITH_SYS_TIME and HAVE_SYS_TIME_H
to control what combination of <time> and <sys/time.h>
get included.