OSDN Git Service
cagney [Thu, 27 Feb 2003 17:48:45 +0000 (17:48 +0000)]
2003-02-27 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
predicate. Replaces PUSH_DUMMY_FRAME.
* gdbarch.h, gdbarch.c: Regnerate.
* valops.c (hand_function_call): Update. Call
generic_push_dummy_frame directly.
* vax-tdep.c (vax_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
* config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
* config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
* inferior.h (PUSH_DUMMY_FRAME): Delete definition.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
push_dummy_frame to generic_push_dummy_frame.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Ditto.
corinna [Thu, 27 Feb 2003 17:41:15 +0000 (17:41 +0000)]
* uinfo.cc (internal_getlogin): Only update user.groups.pgsid
if the call to set the primary group succeeds.
dj [Thu, 27 Feb 2003 15:17:29 +0000 (15:17 +0000)]
merge from gcc
cgf [Thu, 27 Feb 2003 15:09:31 +0000 (15:09 +0000)]
* cygthread::detach: Improve error message.
bje [Thu, 27 Feb 2003 07:26:35 +0000 (07:26 +0000)]
* sid man page support, belatedly contributed
[ChangeLog]
2002-11-21 Ben Elliston <bje@redhat.com>
* configure.in: Output doc/Makefile.
[doc/ChangeLog]
2002-11-21 Ben Elliston <bje@redhat.com>
* Makefile.am: New file.
* sid.1: Likewise.
kevinb [Thu, 27 Feb 2003 01:14:53 +0000 (01:14 +0000)]
Make ``show mips abi'' actually show the abi in use.
gdbadmin [Thu, 27 Feb 2003 00:01:02 +0000 (00:01 +0000)]
*** empty log message ***
cagney [Wed, 26 Feb 2003 23:27:09 +0000 (23:27 +0000)]
Index: common/ChangeLog
2003-02-26 Andrew Cagney <cagney@redhat.com>
* sim-engine.h (sim_engine_abort): Add noreturn attribute.
(sim_engine_vabort): Ditto.
(sim_engine_halt, sim_engine_restart): Ditto.
Index: mn10300/ChangeLog
2003-02-26 Andrew Cagney <cagney@redhat.com>
* am33.igen: Call sim_engine_abort instead of abort.
amodra [Wed, 26 Feb 2003 23:00:15 +0000 (23:00 +0000)]
daily update
jjohnstn [Wed, 26 Feb 2003 21:41:18 +0000 (21:41 +0000)]
2003-02-26 Jeff Johnston <jjohnstn@redhat.com>
From Elena Zannoni <ezannoni@redhat.com>
* dbxread.c (process_one_symbol): Only record line 0 if one or
more sline entries have been seen for the function.
chastain [Wed, 26 Feb 2003 20:30:26 +0000 (20:30 +0000)]
2003-02-26 Michael Chastain <mec@shout.net>
* configure: Regenerate with autoconf 000227.
carlton [Wed, 26 Feb 2003 20:30:05 +0000 (20:30 +0000)]
2003-02-26 David Carlton <carlton@math.stanford.edu>
* gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
char *>::foo" test with respect to PR c++/33. Create a new test
which is identical to that one except that it doesn't put the
space between the "char" and the "*"; KFAIL it, too.
carlton [Wed, 26 Feb 2003 20:23:13 +0000 (20:23 +0000)]
2003-02-26 David Carlton <carlton@math.stanford.edu>
* gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
template types into either PASSes or KFAILs (corresponding to PR
c++/57). Tweak indentation. Update copyright.
chastain [Wed, 26 Feb 2003 17:24:12 +0000 (17:24 +0000)]
2003-02-26 Michael Chastain <mec@shout.net>
Close PR build/660.
* PROBLEMS (i[3456]86-*-linux*): Note explicit error message
for old libc5/glibc.
* gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
carlton [Wed, 26 Feb 2003 17:04:19 +0000 (17:04 +0000)]
2003-02-26 David Carlton <carlton@math.stanford.edu>
* dv-mn103tim.c (read_special_timer6_reg): Add break after
empty default: label.
(write_special_timer6_reg): Ditto.
Update copyright.
kewarken [Wed, 26 Feb 2003 16:34:53 +0000 (16:34 +0000)]
Added GDB_OSABI_QNXNTO.
kewarken [Wed, 26 Feb 2003 15:13:07 +0000 (15:13 +0000)]
Added GDB_OSABI_QNXNTO.
chastain [Wed, 26 Feb 2003 15:10:46 +0000 (15:10 +0000)]
2003-02-26 Michael Chastain <mec@shout.net>
* configure.in: New variable HAVE_UINTPTR_T.
* configure, config.in: Regenerated.
drow [Wed, 26 Feb 2003 14:35:17 +0000 (14:35 +0000)]
Fix PR build/1097.
* utils.c (gdb_realpath): Move closing brace outwards one #endif.
corinna [Wed, 26 Feb 2003 08:34:34 +0000 (08:34 +0000)]
* sec_helper.cc (get_sids_info): debug_print owner_sid and group_sid.
aoliva [Wed, 26 Feb 2003 00:56:14 +0000 (00:56 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix
memory allocation error.
gdbadmin [Wed, 26 Feb 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Tue, 25 Feb 2003 23:52:16 +0000 (23:52 +0000)]
2003-02-25 Andrew Cagney <cagney@redhat.com>
* frame.c (get_prev_frame): Add comment on check for
inside_entry_func. Only check for inside_entry_file when not a
dummy and not a sentinel. Check that the new frame is not inner
to the old frame.
cagney [Tue, 25 Feb 2003 23:12:22 +0000 (23:12 +0000)]
2003-02-25 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_debug): New variable.
(_initialize_frame): Add "set/show debug frame" command.
(get_prev_frame): When frame_debug, print reason why unwind
failed.
amodra [Tue, 25 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update
chastain [Tue, 25 Feb 2003 21:58:20 +0000 (21:58 +0000)]
2003-02-25 Michael Chastain <mec@shout.net>
* PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
to avoid uintptr_t definition problems.
carlton [Tue, 25 Feb 2003 21:36:15 +0000 (21:36 +0000)]
2003-02-25 David Carlton <carlton@math.stanford.edu>
* symtab.h (SYMBOL_NATURAL_NAME): New macro.
(SYMBOL_LINKAGE_NAME): Ditto.
(SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
SYMBOL_LINKAGE_NAME.
(struct general_symbol_info): Expand comment.
(DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
(SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
(SYMBOL_MATCHES_REGEXP): Ditto.
* symtab.c (symbol_natural_name): New function.
* objfiles.h: Replace all uses of SYMBOL_NAME by
DEPRECATED_SYMBOL_NAME.
* xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
* symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
* somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
* printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
* minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
* i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
* gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
* dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
* cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
* blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
* ada-exp.y: Ditto.
* ada-exp.y: Update copyright.
* sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
* cp-valprint.c: Ditto.
2003-02-25 David Carlton <carlton@math.stanford.edu>
* generic/gdbtk.h: Replace all instances of SYMBOL_NAME by
DEPRECATED_SYMBOL_NAME.
* generic/gdbtk-stack.c, generic/gdbtk-cmds.c: Ditto.
* generic/gdbtk-stack.c, generic/gdbtk-cmds.c: Update copyright.
2003-02-25 David Carlton <carlton@math.stanford.edu>
* mi-cmd-stack.c: Replace all instances of SYMBOL_NAME with
DEPRECATED_SYMBOL_NAME. Update copyright.
jjohnstn [Tue, 25 Feb 2003 20:36:29 +0000 (20:36 +0000)]
2002-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
* libc/sys/h8300hms/Makefile.am: Add support for new files.
* libc/sys/h8300hms/Makefile.in: Regenerated.
* libc/sys/h8300hms/close.S: New file.
* libc/sys/h8300hms/fstat.S: Ditto.
* libc/sys/h8300hms/lseek.S: Ditto.
* libc/sys/h8300hms/open.S: Ditto.
* libc/sys/h8300hms/stat.S: Ditto.
* libc/sys/h8300hms/read.S: New file to replace read.c.
* libc/sys/h8300hms/read.c: Removed.
* libc/sys/h8300hms/syscalls.c: Removed functions _open,
_lseek, _close, _stat, _fstat.
* libc/sys/h8300hms/write.S: New file to replace write.c.
* libc/sys/h8300hms/write.c: Removed.
jjohnstn [Tue, 25 Feb 2003 19:38:21 +0000 (19:38 +0000)]
2003-02-25 Jeff Johnston <jjohnstn@redhat.com>
* infptrace.c (detach): Do not flag error if ptrace detach fails
and errno is set to ESRCH.
earnie [Tue, 25 Feb 2003 13:07:46 +0000 (13:07 +0000)]
* Makefile.in (libmsvcrt20.a): Remove target and dependencies.
(libmsvcrt40.a): Ditto.
corinna [Tue, 25 Feb 2003 12:46:38 +0000 (12:46 +0000)]
* mmap.cc (mmap64): Fix returned address by taking the granularity
into account.
nickc [Tue, 25 Feb 2003 10:47:07 +0000 (10:47 +0000)]
Remove site-file support - it is obsolete.
nickc [Tue, 25 Feb 2003 10:32:33 +0000 (10:32 +0000)]
(ld_sysroot): Try to set from TOOLBINDIR too.
amodra [Tue, 25 Feb 2003 04:39:32 +0000 (04:39 +0000)]
* elflink.h (elf_link_read_relocs_from_section): Don't abort with
wrong reloc sizes.
amodra [Tue, 25 Feb 2003 04:14:37 +0000 (04:14 +0000)]
* elflink.h (elf_bfd_final_link): Apportion reloc counts to rel_hdr
and rel_hdr2 when initially counting input relocs rather than after
creating output reloc sections.
amodra [Tue, 25 Feb 2003 03:44:46 +0000 (03:44 +0000)]
Regenerate dependencies.
amodra [Tue, 25 Feb 2003 03:22:06 +0000 (03:22 +0000)]
* hppa-dis.c: Formatting.
* hppa-dis.c (print_insn_hppa): Implement fcnv instruction modifiers.
kseitz [Tue, 25 Feb 2003 00:42:12 +0000 (00:42 +0000)]
* Makefile.in (distclean): Remove pkgIndex.tcl and iwidgets.tcl, too.
amodra [Tue, 25 Feb 2003 00:20:28 +0000 (00:20 +0000)]
* hppa-dis.c (print_insn_hppa <2 bit space register>): Do not print
the space register when the value is zero.
gdbadmin [Tue, 25 Feb 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Mon, 24 Feb 2003 23:58:31 +0000 (23:58 +0000)]
2003-02-24 Andrew Cagney <cagney@redhat.com>
* infptrace.c (udot_info): Change type of udot_off to long. Use
paddr when printing udot_off's value.
carlton [Mon, 24 Feb 2003 23:40:50 +0000 (23:40 +0000)]
2003-02-24 David Carlton <carlton@math.stanford.edu>
* symtab.c (make_symbol_overload_list): Only read in partial
symtabs containing a matching partial symbol.
carlton [Mon, 24 Feb 2003 23:37:01 +0000 (23:37 +0000)]
2003-02-24 David Carlton <carlton@math.stanford.edu>
* symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
do the comparison, not strcmp.
* symfile.c (compare_psymbols): Ditto.
* defs.h: Declare strcmp_iw_ordered.
* utils.c (strcmp_iw_ordered): New function.
amodra [Mon, 24 Feb 2003 23:00:06 +0000 (23:00 +0000)]
daily update
jimb [Mon, 24 Feb 2003 22:21:12 +0000 (22:21 +0000)]
* MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
support, shared libs): Remove my name from here, to better reflect
reality.
kewarken [Mon, 24 Feb 2003 21:56:49 +0000 (21:56 +0000)]
add HAVE_CONTINUABLE_WATCHPOINT to target_ops
kewarken [Mon, 24 Feb 2003 21:40:48 +0000 (21:40 +0000)]
Fixed grammar
ezannoni [Mon, 24 Feb 2003 20:35:25 +0000 (20:35 +0000)]
2003-02-24 Elena Zannoni <ezannoni@redhat.com>
* MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
maintainership.
dj [Mon, 24 Feb 2003 20:26:14 +0000 (20:26 +0000)]
merge from gcc
ciceron [Mon, 24 Feb 2003 20:15:47 +0000 (20:15 +0000)]
* mi-syn-frame.exp: Don't run this test when gdb,nosignals is set.
kewarken [Mon, 24 Feb 2003 19:11:04 +0000 (19:11 +0000)]
added target specific solib find hook
nickc [Mon, 24 Feb 2003 18:07:22 +0000 (18:07 +0000)]
Add support for QNX style core files.
kewarken [Mon, 24 Feb 2003 17:58:20 +0000 (17:58 +0000)]
added myself to Write After list in MAINTAINERS
nickc [Mon, 24 Feb 2003 16:47:02 +0000 (16:47 +0000)]
Add support for kaOS as cross build target system.
nickc [Mon, 24 Feb 2003 16:37:13 +0000 (16:37 +0000)]
Add paragraph about using --disable-nls
nickc [Mon, 24 Feb 2003 16:20:28 +0000 (16:20 +0000)]
(nm --size-sort): Update description.
amodra [Mon, 24 Feb 2003 04:50:04 +0000 (04:50 +0000)]
* elflink.c (_bfd_elf_create_got_section): Check existing .got
section flags before concluding that we've already been called.
Don't use register keyword.
(_bfd_elf_create_dynamic_sections): Don't use register keyword.
(_bfd_elf_create_linker_section): Formatting.
gdbadmin [Mon, 24 Feb 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 23 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update
cgf [Sun, 23 Feb 2003 22:19:48 +0000 (22:19 +0000)]
* gdb.texinfo (Cygwin Native): Links to Non-debug DLL symbols.
(Non-debug DLL symbols): New node, describing the minimal symbols loaded from
DLLs without real debugging symbols.
ciceron [Sun, 23 Feb 2003 22:11:07 +0000 (22:11 +0000)]
* lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
ciceron [Sun, 23 Feb 2003 20:24:16 +0000 (20:24 +0000)]
* m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
cgd [Sun, 23 Feb 2003 19:52:49 +0000 (19:52 +0000)]
2003-02-23 Elias Athanasopoulos <elathan@phys.uoa.gr>
* mips-dis.c (print_mips_disassembler_options): Make 'i' unsigned,
use ARRAY_SIZE in loops.
phumblet [Sun, 23 Feb 2003 19:12:55 +0000 (19:12 +0000)]
2003-02-23 Pierre Humblet <pierre.humblet@ieee.org>
* syslog.cc (syslog): Do not unlock the file before closing it
and remove debug_printf about stream errors.
dannysmith [Sun, 23 Feb 2003 08:31:37 +0000 (08:31 +0000)]
2003-02-23 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (EVENTLOG_SUCCESS): Add define.
Thanks to: Thomas Weber <thomasweber@sourceforge.net>
gdbadmin [Sun, 23 Feb 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Sat, 22 Feb 2003 23:03:26 +0000 (23:03 +0000)]
whitespace
cgf [Sat, 22 Feb 2003 23:02:15 +0000 (23:02 +0000)]
* cygmalloc.h: Remove MORECORE_CANNOT_TRIM. It's not true. # cygwin.din:
Export mallinfo. # malloc_wrapper.cc (mallinfo): New function.
amodra [Sat, 22 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update
cgf [Sat, 22 Feb 2003 19:35:03 +0000 (19:35 +0000)]
* syslog.cc (syslog): Do not print the Windows pid. Print the Cygwin pid as an
unsigned decimal. On Win95 print a timestamp and attempt to lock the file up
to four times in 3 ms.
dj [Sat, 22 Feb 2003 17:08:33 +0000 (17:08 +0000)]
merge from gcc
ciceron [Sat, 22 Feb 2003 15:59:48 +0000 (15:59 +0000)]
* m68hc11-tdep.c (m68hc11_init_reggroups): New function.
(m68hc11_add_reggroups): New function.
(m68hc11_register_reggroup_p): New to register hard/soft reggroups.
(m68hc11_gdbarch_init): Install the reggroups.
(_initialize_m68hc11_tdep): Initialize them.
dannysmith [Sat, 22 Feb 2003 11:32:29 +0000 (11:32 +0000)]
2003-02-22 Roland Schwingel <roland.schwingel@onevision.de>
* include/wingdi.h (AddFontMemResourceEx[AW]): Add.
(RemoveFontMemResourceEx[AW]): Ditto
* lib/gdi32.def (AddFontMemResourceEx[AW]): Add.
(RemoveFontMemResourceEx[AW]): Ditto.
dannysmith [Sat, 22 Feb 2003 10:43:45 +0000 (10:43 +0000)]
2003-02-22 Bang Jun-Young <junyoung@netbsd.org>
* lib/ntdll.def (NT*, RTL*, ZW*): Add missing exports.
(NtCurrentTeb): Remove.
dannysmith [Sat, 22 Feb 2003 10:21:39 +0000 (10:21 +0000)]
* include/wsahelp.h: Remove ';' after closing
#ifdef __cplusplus brace.
* include/ws2spi.h: Likewise.
dannysmith [Sat, 22 Feb 2003 10:16:22 +0000 (10:16 +0000)]
* include/winbase.h (MEMORYSTATUSEX): Add structure.
(GlobalMemoryStatusEx): Add prototype.
* lib/kernel32.def (GlobalMemoryStatusEx): Add stub.
wilson [Sat, 22 Feb 2003 00:24:11 +0000 (00:24 +0000)]
Update my email address.
wilson [Sat, 22 Feb 2003 00:16:29 +0000 (00:16 +0000)]
Update my address.
gdbadmin [Sat, 22 Feb 2003 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 21 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update
dj [Fri, 21 Feb 2003 22:12:50 +0000 (22:12 +0000)]
merge from gcc
earnie [Fri, 21 Feb 2003 21:12:29 +0000 (21:12 +0000)]
Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
this patch.
* Makefile.in (libmsvcrtd.a): Add target library.
(libmoldnamed.a): Ditto.
(msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
template to create.
($(srcdir)): Remove explicit reference for depencies of object targets.
* moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
msvcrt20.def, msvcrt40.def: Remove.
* msvcrt.def.in: New file (Copy of previous msvcrt.def).
davidsb [Fri, 21 Feb 2003 20:37:47 +0000 (20:37 +0000)]
various updates to setup entries. Stronger emphasis to use setup, and only setup.
(no more "work in progres ... ")
davidsb [Fri, 21 Feb 2003 20:13:55 +0000 (20:13 +0000)]
new link to "How To Ask Questions The Smart Way" by Eric S. Raymond, added to Posting Guidelines entry
amylaar [Fri, 21 Feb 2003 20:05:41 +0000 (20:05 +0000)]
cgen:
* cpu/sh64-media.cpu (make-mextr): Fix setting of count.
sim/sh64:
* sem-media-switch.c, sem-media.c: Regenerate.
davidsb [Fri, 21 Feb 2003 20:00:54 +0000 (20:00 +0000)]
remove tired subtitle "(Not completely updated for the latest net release, but still useful!)"
nickc [Fri, 21 Feb 2003 19:05:01 +0000 (19:05 +0000)]
Update Maverick tests.
Contribute test generator.
dj [Fri, 21 Feb 2003 17:33:57 +0000 (17:33 +0000)]
merge from gcc
tromey [Fri, 21 Feb 2003 17:26:28 +0000 (17:26 +0000)]
* generic/gdbtk-interp.c (gdbtk_interpreter_init): Declare locals
before code.
carlton [Fri, 21 Feb 2003 17:17:31 +0000 (17:17 +0000)]
2003-02-21 David Carlton <carlton@math.stanford.edu>
* arm-tdep.c (arm_gdbarch_init): Add break after default label.
drow [Fri, 21 Feb 2003 15:24:16 +0000 (15:24 +0000)]
Based on a patch from Daniel Berlin (dberlin@dberlin.org).
* symtab.h: Add opaque declarations of struct axs_value and
struct agent_expr.
(enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
(struct location_funcs): New type.
(struct symbol): Add "loc" to aux_value.
(SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
* dwarf2read.c: Include "dwarf2expr.h".
(dwarf2_symbol_mark_computed): New function.
(read_func_scope): Use it.
(var_decode_location): New function.
(new_symbol): Use it.
* dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
* Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
(dwarf2expr_h, dwarf2loc_h): New variables.
(COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
(dwarf2expr.o, dwarf2loc.o): New rules.
(dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
* buildsym.c (finish_block): Handle LOC_COMPUTED and
LOC_COMPUTED_ARG.
* findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
* m2-exp.y (yylex): Likewise.
* printcmd.c (address_info, print_frame_args): Likewise.
* stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
* symmisc.c (print_symbol, print_partial_symbols): Likewise.
* ada-lang.c (ada_resolve_subexp, symtab_for_sym)
(ada_add_block_symbols, fill_in_ada_prototype): Likewise.
* symtab.c (lookup_block_symbol): Likewise.
drow [Fri, 21 Feb 2003 15:23:51 +0000 (15:23 +0000)]
* generic/gdbtk-stack.c (gdb_get_blocks, gdb_block_vars)
(gdb_get_vars_command): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
drow [Fri, 21 Feb 2003 15:23:35 +0000 (15:23 +0000)]
* mi-cmd-stack.c (list_args_or_locals): Handle LOC_COMPUTED and
LOC_COMPUTED_ARG.
corinna [Fri, 21 Feb 2003 14:59:35 +0000 (14:59 +0000)]
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Fix compiler
warning.
(fhandler_socket::fstat): Simplify. Set st_uid/st_gid to effective
uid/gid of current process in case of open sockets.
corinna [Fri, 21 Feb 2003 14:29:17 +0000 (14:29 +0000)]
* dtable.cc (dtable::build_fhandler_from_name): Set some fhandler
data on sockets to evaluate AF_LOCAL sockets correctly.
(dtable::build_fhandler): Set unit number on sockets.
* fhandler.h (fhandler_socket): Add unit number.
(fhandler_socket::get_unit): New method.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Set unit
number.
(fhandler_socket::fstat): Reorganize to return more Linux-like
values.
* net.cc: include ctype.h.
(fdsock): Set unit number when building fhandler.
* path.cc (path_conv::check): Set device type to FH_SOCKET if file
is a AF_UNIX socket.
(get_devn): Evaluate unit for virtual socket devices.
(win32_device_name): Set windows path for sockets to unix_path with
just backslashes to keep the different names.
* syscalls.cc (fstat64): Don't override st_ino, st_dev and st_rdev
for sockets.
(stat_worker): Ditto.
From Pierre Humblet:
* autoload.cc (AccessCheck): Add.
(DuplicateToken): Add.
* security.h (check_file_access): Declare.
* syscalls.cc (access): Convert path to Windows, check existence
and readonly attribute. Call check_file_access instead of acl_access.
* security.cc (check_file_access): Create.
* sec_acl (acl_access): Delete.
nickc [Fri, 21 Feb 2003 12:42:56 +0000 (12:42 +0000)]
Check for a NULL sentinel value before using it.
nickc [Fri, 21 Feb 2003 12:33:33 +0000 (12:33 +0000)]
Add v850e debug registers.
nickc [Fri, 21 Feb 2003 12:17:51 +0000 (12:17 +0000)]
Add SHT_IA_64_LOPSREG, SHT_IA_64_HIPSREG and SHT_IA_64_PRIORITY_INIT.
Add code to display these values in readelf.
nickc [Fri, 21 Feb 2003 11:36:59 +0000 (11:36 +0000)]
(ldmac, stmac): Replace MACREG with MS32 and MD32.
nickc [Fri, 21 Feb 2003 10:51:24 +0000 (10:51 +0000)]
Disable region size checking whilst relaxing sections.