OSDN Git Service
cgf [Thu, 20 Apr 2000 20:42:14 +0000 (20:42 +0000)]
* path.cc (normalize_posix_path): Previous change failed to take root
access into account.
corinna [Thu, 20 Apr 2000 13:52:41 +0000 (13:52 +0000)]
* syscalls.cc (_link): Check new link path for trailing dot.
cagney [Thu, 20 Apr 2000 11:00:34 +0000 (11:00 +0000)]
Append NULL to enum based commands follow-fork and scheduler-locking.
cagney [Thu, 20 Apr 2000 07:26:07 +0000 (07:26 +0000)]
From Alexandre Oliva <aoliva@cygnus.com>
* generic/tclPosixStr.c (Tcl_SignalId, Tcl_SignalMsg): Do not
issue SIGPWR case if it's the same as SIGLOST.
amodra [Thu, 20 Apr 2000 05:37:05 +0000 (05:37 +0000)]
H.J's x86 fix for "nm -l" on shared libraries, applied to ppc too.
cgf [Thu, 20 Apr 2000 04:38:10 +0000 (04:38 +0000)]
* fhandler.h (fhandler_base::hclose): New virtual method.
(fhandler_base::set_inheritance): Make this a method so that we can use the
appropriate close methods.
* fhandler.cc (fhandler_base::set_inheritance): Ditto.
* path.cc (normalize_posix_path): Eliminate /. trailing path component.
cagney [Thu, 20 Apr 2000 04:24:03 +0000 (04:24 +0000)]
* gdbarch.sh: Make multi-arch variable defaults, defaults for non-
multi-arch targets.
(TARGET_BFD_VMA_BIT, IEEE_FLOAT, CALL_DUMMY_WORDS,
SIZEOF_CALL_DUMMY_WORDS): Update.
* inferior.h (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Default
provided by gdbarch.
(CALL_DUMMY_P): Add FIXME. gdbarch should provide default.
* valprint.c (IEEE_FLOAT): Default provided by gdbarch.
amodra [Thu, 20 Apr 2000 02:13:01 +0000 (02:13 +0000)]
Match space at start of file name, not end.
amodra [Thu, 20 Apr 2000 01:43:32 +0000 (01:43 +0000)]
Check for changed section attributes.
cagney [Wed, 19 Apr 2000 23:36:40 +0000 (23:36 +0000)]
Remove generated files.
jimb [Wed, 19 Apr 2000 23:22:26 +0000 (23:22 +0000)]
*** empty log message ***
jimb [Wed, 19 Apr 2000 23:22:14 +0000 (23:22 +0000)]
Bring RETURN_VALUE_ON_STACK under gdbarch's control.
* gdbarch.sh (RETURN_VALUE_ON_STACK): New entry.
* gdbarch.c, gdbarch.h: Regenerated.
* arch-utils.c (default_return_value_on_stack): New function.
* arch-utils.h (default_return_value_on_stack): New declaration.
* values.c (RETURN_VALUE_ON_STACK): Delete default definition.
jimb [Wed, 19 Apr 2000 23:19:04 +0000 (23:19 +0000)]
For real this time.
* i386v-nat.c (i386_insert_nonaligned_watchpoint): Use a
two-dimensional array, instead of faking it with explicit index
arithmetic.
jimb [Wed, 19 Apr 2000 23:17:18 +0000 (23:17 +0000)]
I figured out what was going on.
Since nobody had made any changes to i386v-nat.c on sourceware since
the repository was started, we were still getting the version from the
vendor branch. (If you don't understand how the vendor branch works,
treasure your innocence.) I naively assumed that, to see what changes
had been introduced in version 1.2, one should diff it with 1.1,
as they say in TV Guide, "with hilarious results".
This change simply restores i386v-nat.c to what it used to be before I
started bungling around. The text of this revision should be
identical to that of revision 1.1.1.3, which was the former head of
the trunk. (Yes, 1.1.1.3 was the head of the trunk. As I said,
treasure your innocence.)
jimb [Wed, 19 Apr 2000 23:02:56 +0000 (23:02 +0000)]
My last commit introduced a bunch of mysterious whitespace changes; I
don't know where they came from. They weren't intentional, so this
change reverts them.
jimb [Wed, 19 Apr 2000 22:56:22 +0000 (22:56 +0000)]
*** empty log message ***
jimb [Wed, 19 Apr 2000 22:55:38 +0000 (22:55 +0000)]
* i386v-nat.c (i386_insert_nonaligned_watchpoint): Use a
two-dimensional array, instead of faking it with explicit index
arithmetic.
corinna [Wed, 19 Apr 2000 22:33:20 +0000 (22:33 +0000)]
* syscalls.cc (setuid): Allow switching user context after
successful call to ImpersonateLogedOnUser (NT only).
(setgid): Ditto.
(seteuid): Call setuid.
(setegid): Call setgid.
jimb [Wed, 19 Apr 2000 21:13:09 +0000 (21:13 +0000)]
* minsyms.c (prim_record_minimal_symbol_and_info): Doc fix.
(Thanks to Guy Harris.)
corinna [Wed, 19 Apr 2000 20:03:51 +0000 (20:03 +0000)]
* uinfo.cc (internal_getlogin): Use NetGetDCName() instead
of NetGetAnyDCName().
cgf [Wed, 19 Apr 2000 17:11:59 +0000 (17:11 +0000)]
* configure.in: Change HEADER_SUBDIR to mingw32.
* configure: Regenerate.
twall [Wed, 19 Apr 2000 13:32:19 +0000 (13:32 +0000)]
Properly regenerate bfd-in2.h.
ezannoni [Wed, 19 Apr 2000 13:08:48 +0000 (13:08 +0000)]
2000-04-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* xcoffsolib.c (solib_add): Fix call to vmap_symtab().
amodra [Wed, 19 Apr 2000 10:53:01 +0000 (10:53 +0000)]
K&R compiler fixes
schauer [Wed, 19 Apr 2000 10:33:21 +0000 (10:33 +0000)]
* TODO: Update.
amodra [Wed, 19 Apr 2000 09:28:52 +0000 (09:28 +0000)]
Fix the multi-obj dependency rules.
cagney [Wed, 19 Apr 2000 09:15:32 +0000 (09:15 +0000)]
Document -Wreturn-type problem.
cagney [Wed, 19 Apr 2000 07:59:12 +0000 (07:59 +0000)]
From Peter Schauer: Add `mt i' alias for `mt info'.
cagney [Wed, 19 Apr 2000 07:51:26 +0000 (07:51 +0000)]
From Peter Schauer: Add `info r' alias for `info registers'.
cagney [Wed, 19 Apr 2000 07:08:35 +0000 (07:08 +0000)]
* bcache.c (free_bcache): Do not free NULL.
cagney [Wed, 19 Apr 2000 07:01:07 +0000 (07:01 +0000)]
* TODO: Cleanup.
* NEWS: Update GDB version. Duplicate paragraph explaining obsolete.
cagney [Wed, 19 Apr 2000 06:00:02 +0000 (06:00 +0000)]
Pass MD5PROG to sub-makes when building .tar.bz2 archive.
cagney [Wed, 19 Apr 2000 03:37:07 +0000 (03:37 +0000)]
Document real fix to problem of tui/Makefile not being deleted.
dj [Wed, 19 Apr 2000 03:21:13 +0000 (03:21 +0000)]
* syscalls.cc (_rename): Try MoveFile() at first before
MoveFileEx(..., MOVEFILE_REPLACE_EXISTING).
amodra [Wed, 19 Apr 2000 02:51:55 +0000 (02:51 +0000)]
Get LEX,FLEX from configure.
dj [Wed, 19 Apr 2000 02:35:06 +0000 (02:35 +0000)]
don't put api internals in general tarball
dj [Wed, 19 Apr 2000 02:31:45 +0000 (02:31 +0000)]
add commands for building a doc kitchen-sink-tarball
cagney [Wed, 19 Apr 2000 02:28:55 +0000 (02:28 +0000)]
Add directory example to SUBDIRS.
cagney [Wed, 19 Apr 2000 01:59:39 +0000 (01:59 +0000)]
Remove generated file.
dj [Wed, 19 Apr 2000 00:55:19 +0000 (00:55 +0000)]
clean up SGML for latest version of jade/docbook
jingham [Wed, 19 Apr 2000 00:08:14 +0000 (00:08 +0000)]
2000-04-18 James Ingham <jingham@leda.cygnus.com>
* library/toolbar.tcl (TOOLBAR_button_up): If the pointer is still
in the button, reraise the button after a press.
hjl [Tue, 18 Apr 2000 23:39:02 +0000 (23:39 +0000)]
2000-04-18 H.J. Lu <hjl@gnu.org>
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
lang_leave_output_section_statement () after calling
lang_enter_output_section_statement ().
* emultempl/armelf.em: Likewise.
cgf [Tue, 18 Apr 2000 23:16:56 +0000 (23:16 +0000)]
* dcrt0.cc (globify): Don't use \ quoting when apparently quoting a DOS path
spec, even within a quoted string.
cgf [Tue, 18 Apr 2000 21:28:45 +0000 (21:28 +0000)]
* dcrt0.cc (globify): Don't use \ quoting when apparently quoting a DOS path
spec.
jimb [Tue, 18 Apr 2000 19:10:41 +0000 (19:10 +0000)]
*** empty log message ***
hjl [Tue, 18 Apr 2000 17:46:31 +0000 (17:46 +0000)]
2000-04-18 H.J. Lu (hjl@gnu.org)
* config/tc-i386.c (offset_in_range): Use addressT instead of
bfd_vma for none bfd assemblers.
twall [Tue, 18 Apr 2000 17:16:59 +0000 (17:16 +0000)]
Fix bug disassmbling binary files for non-octet byte targets.
cagney [Tue, 18 Apr 2000 08:04:59 +0000 (08:04 +0000)]
Add full set of cleanup rules.
cagney [Tue, 18 Apr 2000 08:03:40 +0000 (08:03 +0000)]
Do not delete testcmds.
cagney [Tue, 18 Apr 2000 07:55:35 +0000 (07:55 +0000)]
Add support for SIGILL (reserved-instruction-exception).
amodra [Tue, 18 Apr 2000 05:53:41 +0000 (05:53 +0000)]
Yet another set of fixes for orphan sections.
wilson [Tue, 18 Apr 2000 04:03:15 +0000 (04:03 +0000)]
Bfd support for generating IA-64 EFI binaries.
* Makefile.am (BFD64_BACKENDS): Mention coff-ia64.lo.
(BFD64_BACKENDS_CFILES): Mention coff-ia64.c
(coff-ia64.lo): Add dependency.
* Makefile.in: Regenerate.
* coff-ia64.c: New file.
* efi-app-ia32.c: Ditto.
* efi-app-ia64.c: Ditto.
...
twall [Tue, 18 Apr 2000 02:21:27 +0000 (02:21 +0000)]
Clean up load page support for tic54x.
dj [Tue, 18 Apr 2000 00:37:04 +0000 (00:37 +0000)]
* remove dependence on where pwd is
wilson [Mon, 17 Apr 2000 23:45:21 +0000 (23:45 +0000)]
Initial patches for IA-64 EFI (64-bit PE) support.
* pe.h (PEP64AOUTHDR): New header for PE+.
(PEP64AOUTSZ): New macro.
(IMAGE_SUBSYSTEM_UNKNOWN): New macro.
(IMAGE_SUBSYSTEM_NATIVE): Ditto.
(IMAGE_SUBSYSTEM_WINDOWS_GUI): Ditto.
(IMAGE_SUBSYSTEM_WINDOWS_CUI): Ditto.
(IMAGE_SUBSYSTEM_POSIX_CUI): Ditto.
(IMAGE_SUBSYSTEM_WINDOWS_CE_GUI): Ditto.
(IMAGE_SUBSYSTEM_EFI_APPLICATION): Ditto.
(IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER): Ditto.
(IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER): Ditto.
* internal.h (PE_DEF_FILE_ALIGNMENT): Define only if not defined
already.
* ia64.h: New file.
jlarmour [Mon, 17 Apr 2000 20:20:59 +0000 (20:20 +0000)]
* ChangeLog-gdbtk: Renamed to ChangeLog
* ChangeLog: New file
* gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c, gdbtk-varobj.c,
gdbtk-wrapper.h, gdbtk-wrapper.c, gdbtk.h, gdbtk.c: No need for
changelog-default-name hint for Emacs now
jlarmour [Mon, 17 Apr 2000 20:20:20 +0000 (20:20 +0000)]
* ChangeLog-gdbtk: Renamed to ChangeLog
* ChangeLog: New file
* README.GDBTK: No need for changelog-default-name hint for Emacs now
jjohnstn [Mon, 17 Apr 2000 17:10:15 +0000 (17:10 +0000)]
Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
* libc/signal/signal.c (_signal_r) : Removed unused local variable temp. * libc/stdio/findfp.c (std): Added declaration of flags and file.
* libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
return type.
* libc/stdio/putchar.c (putchar): Added return statement.
* libc/stdio/refill.c (lflush): Added correct parentheses.
* libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
* libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
prints long value to use l qualifier.
* libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
messages and initialized local values: ilim, ilim1, and spec_case.
* libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
* libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
* libc/stdlib/mprec.c: Ditto.
* libc/stdlib/setenv_r.c: Ditto.
* libc/stdlib/strtod.c: Ditto.
* libc/stdlib/strtol.c: Ditto.
* libc/stdlib/strtoul.c: Ditto.
* libm/common/sf_expm1.c: Added curly braces to if else clauses.
* libm/common/sf_log1p.c: Ditto.
* libm/common/sf_scalbn.c: Ditto.
* libm/math/ef_log.c: Ditto.
ezannoni [Mon, 17 Apr 2000 16:14:37 +0000 (16:14 +0000)]
2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/help.exp: Update output for add-symbol-file command.
ezannoni [Mon, 17 Apr 2000 16:12:39 +0000 (16:12 +0000)]
2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.texinfo (Files): Update description of add-symbol-file
command.
ezannoni [Mon, 17 Apr 2000 16:09:04 +0000 (16:09 +0000)]
2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* symfile.h (struct section_addr_info ): Remove fields for special
treatment of .text, .data and .bss sections.
* solib.c (symbol_add_stub): The special field text_addr is not
available anymore. Search for the .text field the hard way.
* symfile.c (build_section_addr_info_from_section_table): Don't
fill in {text, data, bss}_addr any more.
(default_symfile_offsets): Don't use {text, data, bss}_addr fields
to fill in section_offsets for objfile.
(syms_from_objfile): Don't deal with {text, data, bss}_addr as a
special case anymore.
(add_symbol_file_command): Ditto.
ezannoni [Mon, 17 Apr 2000 15:59:56 +0000 (15:59 +0000)]
2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
symfile.c: (symbol_file_command): Remove support for rombug, to
simplify code.
ezannoni [Mon, 17 Apr 2000 15:47:17 +0000 (15:47 +0000)]
2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* symfile.c (add_symbol_file_command): Rewrite the arguments
processing part. Simplify syntax of command. Remove support for
rombug.
(_initialize_symfile): Update help message for add-symbol-file
command.
eliz [Mon, 17 Apr 2000 10:56:17 +0000 (10:56 +0000)]
Fixed incorrect date on the previous entry.
eliz [Mon, 17 Apr 2000 10:46:50 +0000 (10:46 +0000)]
* gdb.texinfo (Porting GDB): Don't use @value in the node name, it
prevents the build (and is generally a Bad Idea).
eliz [Mon, 17 Apr 2000 10:42:13 +0000 (10:42 +0000)]
* gdb.texinfo (Protocol): Prevent makeinfo from complaining about
a comma inside @var.
(Command Files): Index markup changes from Dmitry Sivachenko
<dima@Chg.RU>.
amodra [Mon, 17 Apr 2000 07:54:12 +0000 (07:54 +0000)]
Fix typo.
cagney [Mon, 17 Apr 2000 05:59:42 +0000 (05:59 +0000)]
Only dump IEEE_FLOAT when defined.
amodra [Mon, 17 Apr 2000 03:18:36 +0000 (03:18 +0000)]
64 bit bfd fix.
cagney [Mon, 17 Apr 2000 02:27:36 +0000 (02:27 +0000)]
* remote.c (REMOTE_TRANSLATE_XFER_ADDRESS), mem-break.c
(MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT), target.h
(BREAKPOINT_FROM_PC), valops.c (COERCE_FLOAT_TO_DOUBLE),
gdbarch.sh (D10V_MAKE_DADDR, D10V_MAKE_IADDR,
FRAMELESS_FUNCTION_INVOCATION, REGISTER_CONVERTIBLE,
REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
REGISTER_NAME), findvar.c (POINTER_TO_ADDRESS,
ADDRESS_TO_POINTER): Delete default definition. Handled by
gdbarch.
* gdbarch.sh: Make multi-arch defaults, defaults for non-
multi-arch targets.
(REGISTER_NAME, COERCE_FLOAT_TO_DOUBLE, REGISTER_CONVERTIBLE,
REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
D10V_MAKE_DADDR, D10V_MAKE_IADDR, BREAKPOINT_FROM_PC,
MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT,
REMOTE_TRANSLATE_XFER_ADDRESS, FRAMELESS_FUNCTION_INVOCATION):
Provide default/legacy implementation.
(REGISTER_NAMES, CALL_DUMMY): Allow legacy definition.
* gdbarch.h, gdbarch.c: Re-generate.
cgf [Sun, 16 Apr 2000 23:00:38 +0000 (23:00 +0000)]
Remove obsolete setting.
cgf [Sun, 16 Apr 2000 22:57:05 +0000 (22:57 +0000)]
* init.cc (dll_entry): Use better check for determining when to set thread
specific stuff.
* syscalls.cc (_unlink): Continue with chmod'ing file even if DELETE_ON_CLOSE
succeeds, if file still exists.
jimb [Sun, 16 Apr 2000 16:04:59 +0000 (16:04 +0000)]
*** empty log message ***
jimb [Sun, 16 Apr 2000 16:04:53 +0000 (16:04 +0000)]
* findvar.c (store_typed_address, extract_typed_address): Fix
function names in error messages.
corinna [Sun, 16 Apr 2000 10:53:02 +0000 (10:53 +0000)]
* libc/posix/execvp.c (execvp): Check path for
trailing slash.
eliz [Sun, 16 Apr 2000 08:47:41 +0000 (08:47 +0000)]
* Makefile.in (LN_S): Define.
(gdb-cfg.texi, gdb.dvi, links2roff, inc-hist.texinfo): Don't
invoke "ln -s" unless it is known to work.
* configure.in (AC_PROG_LN_S): Add.
eliz [Sun, 16 Apr 2000 08:16:03 +0000 (08:16 +0000)]
* config/djgpp/config.sed: Fix the lines which edit clean: and
uninstall-info: targets.
corinna [Sat, 15 Apr 2000 22:30:49 +0000 (22:30 +0000)]
* mkpasswd.c (main): Use GetDCName instead of GetAnyDCName.
Don't create extra passwd entry for administrators group
if local_groups is set.
(usage): Change usage text slightly.
(enum_users): Loop while ERROR_MORE_DATA is returned.
(enum_local_groups): Ditto.
* mkgroup.c (enum_local_groups): Ditto.
(enum_groups) Ditto.
(usage): Change usage text slightly.
cgf [Sat, 15 Apr 2000 03:52:24 +0000 (03:52 +0000)]
* fhandler_console.cc (keytable): Add support for keypad 5 key, which MS seems
to think is equivalent to VK_CLEAR.
* debug.cc (thread_stub): Eliminate initialization of reent stuff.
* init.cc (dll_entry): Move it here.
geoffk [Fri, 14 Apr 2000 21:18:22 +0000 (21:18 +0000)]
* scripttempl/elfppc.sc: Remove.
* emulparams/elf32ppc.sh: Use elf.sc.
* emulparams/elf32lppc.sh: Use elf.sc.
* emulparams/elf32ppclinux.sh: Use elf.sc.
* emulparams/elf32ppcsim.sh: New file.
* emulparams/elf32lppcsim.sh: New file.
* Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
(ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
* Makefile.in: Regenerate.
* configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
hjl [Fri, 14 Apr 2000 19:32:44 +0000 (19:32 +0000)]
2000-04-14 H.J. Lu <hjl@gnu.org>
* common.h (ELFOSABI_TRUE64): Renamed to ELFOSABI_TRU64.
jimb [Fri, 14 Apr 2000 19:14:19 +0000 (19:14 +0000)]
Bring IEEE_FLOAT under gdbarch's control.
* gdbarch.sh (IEEE_FLOAT): New entry.
* gdbarch.c, gdbarch.h: Regenerated.
* valprint.c (IEEE_FLOAT): Provide a default #definition for this.
(print_floating): Use IEEE_FLOAT as if it were an expression; use
the code specific to IEEE-format numbers whenever the value of
IEEE_FLOAT is non-zero.
* config/a29k/tm-a29k.h, config/alpha/tm-alpha.h,
config/arc/tm-arc.h, config/arm/tm-arm.h, config/fr30/tm-fr30.h,
config/h8300/tm-h8300.h, config/i386/tm-i386.h,
config/i960/tm-i960.h, config/m88k/tm-m88k.h,
config/mips/tm-mips.h, config/pa/tm-hppa.h,
config/sparc/tm-sparc.h, config/delta/tm-delta.h,
config/frv/tm-frv.h (IEEE_FLOAT): For all ports that #define
IEEE_FLOAT, make sure they give it the value (1).
hjl [Fri, 14 Apr 2000 19:14:15 +0000 (19:14 +0000)]
2000-04-14 H.J. Lu <hjl@gnu.org>
* common.h (ELFOSABI_NETBSD): Defined.
(ELFOSABI_HURD): Likewise.
(ELFOSABI_SOLARIS): Likewise.
(ELFOSABI_MONTEREY): Likewise.
(ELFOSABI_IRIX): Likewise.
(ELFOSABI_FREEBSD): Likewise.
(ELFOSABI_TRUE64): Likewise.
jimb [Fri, 14 Apr 2000 19:13:49 +0000 (19:13 +0000)]
Bring IEEE_FLOAT under gdbarch's control.
* gdbarch.sh (IEEE_FLOAT): New entry.
* gdbarch.c, gdbarch.h: Regenerated.
* valprint.c (IEEE_FLOAT): Provide a default #definition for this.
(print_floating): Use IEEE_FLOAT as if it were an expression; use
the code specific to IEEE-format numbers whenever the value of
IEEE_FLOAT is non-zero.
* config/a29k/tm-a29k.h, config/alpha/tm-alpha.h,
config/arc/tm-arc.h, config/arm/tm-arm.h, config/fr30/tm-fr30.h,
config/h8300/tm-h8300.h, config/i386/tm-i386.h,
config/i960/tm-i960.h, config/m88k/tm-m88k.h,
config/mips/tm-mips.h, config/pa/tm-hppa.h,
config/sparc/tm-sparc.h, config/delta/tm-delta.h,
config/frv/tm-frv.h (IEEE_FLOAT): For all ports that #define
IEEE_FLOAT, make sure they give it the value (1).
jimb [Fri, 14 Apr 2000 19:12:27 +0000 (19:12 +0000)]
Bring IEEE_FLOAT under gdbarch's control.
* gdbarch.sh (IEEE_FLOAT): New entry.
* gdbarch.c, gdbarch.h: Regenerated.
* valprint.c (IEEE_FLOAT): Provide a default #definition for this.
(print_floating): Use IEEE_FLOAT as if it were an expression; use
the code specific to IEEE-format numbers whenever the value of
IEEE_FLOAT is non-zero.
* config/a29k/tm-a29k.h, config/alpha/tm-alpha.h,
config/arc/tm-arc.h, config/arm/tm-arm.h, config/fr30/tm-fr30.h,
config/h8300/tm-h8300.h, config/i386/tm-i386.h,
config/i960/tm-i960.h, config/m88k/tm-m88k.h,
config/mips/tm-mips.h, config/pa/tm-hppa.h,
config/sparc/tm-sparc.h, config/delta/tm-delta.h,
config/frv/tm-frv.h (IEEE_FLOAT): For all ports that #define
IEEE_FLOAT, make sure they give it the value (1).
jimb [Fri, 14 Apr 2000 18:46:19 +0000 (18:46 +0000)]
*** empty log message ***
jimb [Fri, 14 Apr 2000 18:46:17 +0000 (18:46 +0000)]
* gdbint.texinfo (Pointers Are Not Always Addresses): New manual
section.
(Target Conditionals): Document ADDRESS_TO_POINTER,
POINTER_TO_ADDRESS.
jimb [Fri, 14 Apr 2000 18:43:44 +0000 (18:43 +0000)]
*** empty log message ***
jimb [Fri, 14 Apr 2000 18:43:41 +0000 (18:43 +0000)]
* gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Two new
functions which architectures can redefine, defaulting to
generic_pointer_to_address and generic_address_to_pointer.
* findvar.c (extract_typed_address, store_typed_address,
generic_pointer_to_address, generic_address_to_pointer): New
functions.
(POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Provide default
definitions.
(extract_address, store_address): Doc fixes.
* values.c (value_as_pointer): Doc fix.
(value_from_pointer): New function.
* defs.h (extract_typed_address, store_typed_address): New
declarations.
* inferior.h (generic_address_to_pointer,
generic_pointer_to_address): New declarations.
* value.h (value_from_pointer): New declaration.
* ax-gdb.c (const_var_ref): Use value_from_pointer, not
value_from_longest.
* blockframe.c (generic_push_dummy_frame): Use read_pc and
read_sp, not read_register.
* c-valprint.c (c_val_print): Use extract_typed_address instead of
extract_address to extract vtable entries and references.
* cp-valprint.c (cp_print_value_fields): Use value_from_pointer
instead of value_from_longest to extract the vtable's address.
* eval.c (evaluate_subexp_standard): Use value_from_pointer
instead of value_from_longest to compute `this', and for doing
pointer-to-member dereferencing.
* findvar.c (read_register): Use extract_unsigned_integer, not
extract_address.
(read_var_value): Use store_typed_address instead of store_address
for building label values.
(locate_var_value): Use value_from_pointer instead of
value_from_longest.
* hppa-tdep.c (find_stub_with_shl_get): Use value_from_pointer,
instead of value_from_longest, to build arguments to __d_shl_get.
* printcmd.c (set_next_address): Use value_from_pointer, not
value_from_longest.
(x_command): Use value_from_pointer, not value_from_longest.
* tracepoint.c (set_traceframe_context): Use value_from_pointer,
not value_from_longest.
* valarith.c (value_add, value_sub): Use value_from_pointer, not
value_from_longest.
* valops.c (find_function_in_inferior, value_coerce_array,
value_coerce_function, value_addr, hand_function_call): Same.
* value.h (COERCE_REF): Use unpack_pointer, not unpack_long.
* values.c (unpack_long): Use extract_typed_address to produce
addresses from pointers and references, not extract_address.
(value_from_longest): Use store_typed_address instead of
store_address to produce pointer and reference values.
tromey [Fri, 14 Apr 2000 14:45:37 +0000 (14:45 +0000)]
* console.itb (Console::_complete): Dequoted first argument to
switch. Window name is `$_twin', not `_twin'.
kettenis [Fri, 14 Apr 2000 10:13:50 +0000 (10:13 +0000)]
2000-04-13 Mark Kettenis <kettenis@gnu.org>
* acconfig.h (HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, HAVE_LWPID_T,
HAVE_PSADDR_T): Add them here instead of in config.in.
* acconfig.h (PRFPREGSET_T_BROKEN): New define.
* configure.in: Add check for broken prfpregset_t type.
* lin-thread.c (gdb_prfpregset): New typedef, depends on
definition of PRFPREGSET_T_BROKEN.
(ps_lgetfpregs, ps_lsetfpregs, p_td_thr_getfpregs,
p_td_thr_setfpregs, thread_db_fetch_registers,
thread_db_store_registers): Use gdb_prfpregset_t instead of
prfpregset_t.
* config.in: Regenerated.
* configure: Regenerated.
jlarmour [Fri, 14 Apr 2000 08:04:46 +0000 (08:04 +0000)]
* gdbtk.c (gdbtk_init): For now, reset gdb_stdtarg to gdb_stdout
when using gdbtk.
amodra [Fri, 14 Apr 2000 04:16:58 +0000 (04:16 +0000)]
More portability patches. Include sysdep.h everywhere.
amodra [Fri, 14 Apr 2000 04:14:24 +0000 (04:14 +0000)]
Portability fixes.
amodra [Fri, 14 Apr 2000 01:58:28 +0000 (01:58 +0000)]
Zero start address of orphan ~(SEC_LOAD | SEC_ALLOC) sections.
tromey [Thu, 13 Apr 2000 23:44:13 +0000 (23:44 +0000)]
2000-04-10 Tom Tromey <tromey@cygnus.com>
* lib/target.exp (default_target_compile): Put sources before
$add_flags unless building an object file.
Thu Dec 16 18:27:47 1999 Anthony Green <green@cygnus.com>
* lib/target.exp: Put the source file after options, for
compatibility with libtool.
geoffk [Thu, 13 Apr 2000 23:38:46 +0000 (23:38 +0000)]
Correct previous misapplied patch.
geoffk [Thu, 13 Apr 2000 23:32:47 +0000 (23:32 +0000)]
* scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
Add new BSS_PLT variable for when .plt need not be contained in
the file. Move _etext so that it is also after .fini, and provide
both etext and _etext with a leading underscore. Mark the start
and end of .sbss.
dj [Thu, 13 Apr 2000 22:58:42 +0000 (22:58 +0000)]
* mips-tdep.c (do_fp_register_row): copy the number of bytes
allocated, not the size of the pointer.
cgf [Thu, 13 Apr 2000 22:43:48 +0000 (22:43 +0000)]
* dcrt0.cc (insert_file): Avoid freeing previously allocated argument list.
* path.cc (symlink_info::check): Rename from symlink_check_one. Use new
symlink_info struct for communication.
(path_conv::path_conv): Use symlink_info structure for communication with
symlink_info::check. Fix typo which resulted in symbolic links always being
resolved.
(readlink): Use stat_suffixes array when resolving a link.
* syscalls.cc (stat_suffixes): Make global.