OSDN Git Service
schwab [Tue, 7 Jan 2003 13:12:34 +0000 (13:12 +0000)]
* elf32-m68k.c (elf_m68k_check_relocs): Don't set DF_TEXTREL for
PC relative relocations.
(elf_m68k_discard_copies): Set it here instead.
brobecke [Tue, 7 Jan 2003 07:09:24 +0000 (07:09 +0000)]
* mdebugread.c (parse_symbol): Skip stProc entries which storage
class is not scText. These do not define "real" procedures.
(parse_partial_symbols): Likewise.
chastain [Tue, 7 Jan 2003 03:31:27 +0000 (03:31 +0000)]
2003-01-06 Michael Chastain <mec@shout.net>
* gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
When selecting a thread, 'line' and 'file' are optional.
* gdb.mi/mi1-pthreads.exp: Likewise.
chastain [Tue, 7 Jan 2003 03:28:14 +0000 (03:28 +0000)]
2003-01-06 Michael Chastain <mec@shout.net>
* gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
When selecting a thread, 'line' and 'file' are optional.
* gdb.mi/mi1-pthreads.exp: Likewise.
jjohnstn [Tue, 7 Jan 2003 01:45:31 +0000 (01:45 +0000)]
2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
* Makefile.am: Add vasprintf.
* Makefile.in: Regenerated.
gdbadmin [Tue, 7 Jan 2003 00:01:02 +0000 (00:01 +0000)]
*** empty log message ***
msnyder [Mon, 6 Jan 2003 23:12:27 +0000 (23:12 +0000)]
chael Snyder <msnyder@redhat.com>
* lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
\10qCVS: Committing in .
amodra [Mon, 6 Jan 2003 23:00:05 +0000 (23:00 +0000)]
daily update
cagney [Mon, 6 Jan 2003 21:50:23 +0000 (21:50 +0000)]
2003-01-06 Andrew Cagney <
ac131313@redhat.com>
* frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
* frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
* arm-tdep.c (arm_frame_chain): Allocate caller_fi using
deprecated_frame_xmalloc_with_cleanup.
* m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
deprecated_frame_xmalloc.
* mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
* mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
jjohnstn [Mon, 6 Jan 2003 20:51:24 +0000 (20:51 +0000)]
2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
* asprintf.c (_asprintf_r): insure both declarations
are the same.
cagney [Mon, 6 Jan 2003 20:45:29 +0000 (20:45 +0000)]
2003-01-06 Andrew Cagney <cagney@redhat.com>
* x86-64-linux-tdep.c: Include "osabi.h".
* Makefile.in (x86-64-linux-tdep.o): Update dependencies.
cagney [Mon, 6 Jan 2003 20:04:10 +0000 (20:04 +0000)]
2003-01-06 Andrew Cagney <cagney@redhat.com>
* sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
cagney [Mon, 6 Jan 2003 18:49:06 +0000 (18:49 +0000)]
2003-01-06 Andrew Cagney <cagney@redhat.com>
* MAINTAINERS (Target Instruction Set Architectures): Update
arm-elf. Can be built with -Werror, has been multiarched.
* value.h (unpack_long): Make buffer parameter constant.
(unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
* scm-lang.h (scm_parse): Ditto.
* defs.h (extract_typed_address, extract_address): Ditto.
(extract_long_unsigned_integer): Ditto.
* inferior.h (unsigned_pointer_to_address): Ditto.
(signed_pointer_to_address): Ditto.
* gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
* gdbarch.h, gdbarch.c: Regenerate.
* findvar.c (extract_long_unsigned_integer): Update.
(extract_address): Update.
(extract_typed_address): Update.
(unsigned_pointer_to_address): Update.
* values.c (unpack_long): Update.
(unpack_double): Update.
(unpack_pointer): Update.
(unpack_field_as_long): Update.
* d10v-tdep.c (d10v_pointer_to_address): Update.
* avr-tdep.c (avr_pointer_to_address): Update.
* scm-lang.c (scm_unpack): Update.
* findvar.c (signed_pointer_to_address): Update.
cagney [Mon, 6 Jan 2003 18:36:08 +0000 (18:36 +0000)]
2003-01-06 Andrew Cagney <
ac131313@redhat.com>
* configure.in (GDB_TK): Add tcl directories conditional on
gdb/gdbtk directory being present.
* configure: Regenerate.
schwab [Mon, 6 Jan 2003 18:10:30 +0000 (18:10 +0000)]
* lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
failures.
drow [Mon, 6 Jan 2003 16:13:55 +0000 (16:13 +0000)]
* Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.
* Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@.
(GENSCRIPTS): Add @use_sysroot@.
* Makefile.in: Regenerated.
* configure.host: Move setting of NATIVE_LIB_DIRS to...
* configure.tgt: ... here. Use ${target} instead of ${host}
for NATIVE_LIB_DIRS.
* configure.in: Add --with-sysroot.
* configure: Regenerated.
* genscripts.sh: Accept use_sysroot option. Set new variables
NATIVE and USE_LIBPATH. Prepend "=" to directory names if
$use_sysroot. Don't search $tool_lib if $use_sysroot.
* ldfile.c (ldfile_add_library_path): Handle leading '='.
* ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined.
(ld_sysroot): New variable.
(main): Initialize ld_sysroot.
* ldmain.h (ld_sysroot): New extern.
* emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of
searching $EMULATION_LIBPATH.
(gld${EMULATION_NAME}_add_sysroot): New function.
(gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot.
(gld${EMULATION_NAME}_after_open): Likewise. Only search
environment variables if $NATIVE.
* ld.texinfo (Options): Mention "=" prefix in the description of -L.
* NEWS: Mention --with-sysroot.
* emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX
instead of setting LIB_PATH.
* emulparams/elf32ppc.sh: Likewise.
* emulparams/elf64_s390.sh: Likewise.
* emulparams/elf64_sparc.sh: Likewise.
* emulparams/elf64ppc.sh: Likewise.
* emulparams/elf_x86_64.sh: Likewise.
* emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH.
* emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH.
mludvig [Mon, 6 Jan 2003 14:47:36 +0000 (14:47 +0000)]
2003-01-06 Michal Ludvig <mludvig@suse.cz>
* x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
since it is in i386-tdep.c.
brobecke [Mon, 6 Jan 2003 10:28:05 +0000 (10:28 +0000)]
* alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
failure introduced in the previous change.
cgd [Mon, 6 Jan 2003 01:57:40 +0000 (01:57 +0000)]
2003-01-05 Richard Sandiford <rsandifo@redhat.com>
* Makefile.in (tmp-run-multi): Fix mips16 filter.
dannysmith [Mon, 6 Jan 2003 00:22:48 +0000 (00:22 +0000)]
* include/winuser.h (SPI_SETWHEELSCROLLLINES) Add define.
* include/zmouse.h (WHEEL_DELTA): Guard against prior
definition.
(WHEEL_PAGESCROLL): Likewise.
(SPI_SETWHEELSCROLLLINES): Define, if not already done.
dannysmith [Mon, 6 Jan 2003 00:18:45 +0000 (00:18 +0000)]
* include/winuser.h ((SPI_SETWHEELSCROLLLINES) Add define.
* include/zmouse.h (WHEEL_DELTA): Guard against prior
definition.
(WHEEL_PAGESCROLL): Likewise.
(SPI_SETWHEELSCROLLLINES): Define, if not already done.
gdbadmin [Mon, 6 Jan 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 5 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update
chastain [Sun, 5 Jan 2003 17:10:32 +0000 (17:10 +0000)]
2003-01-05 Michael Chastain <mec@shout.net>
* README: Remove references to deleted remote-*.c files:
remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
remote-nrom.c, remote-os9k.c, remote-udi.c.
kettenis [Sun, 5 Jan 2003 14:07:00 +0000 (14:07 +0000)]
* i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
* x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
i386_get_longjmp_target.
cagney [Sun, 5 Jan 2003 13:31:24 +0000 (13:31 +0000)]
2003-01-05 Andrew Cagney <
ac131313@redhat.com>
* arm-tdep.c (prologue_cache): Change to a pointer.
(_initialize_arm_tdep): Allocate prologue_cache.
(check_prologue_cache): Update.
(save_prologue_cache): Update.
(arm_gdbarch_init): Update.
cgd [Sun, 5 Jan 2003 07:56:58 +0000 (07:56 +0000)]
2003-01-04 Richard Sandiford <rsandifo@redhat.com>
Andrew Cagney <
ac131313@redhat.com>
Gavin Romig-Koch <gavin@redhat.com>
Graydon Hoare <graydon@redhat.com>
Aldy Hernandez <aldyh@redhat.com>
Dave Brolley <brolley@redhat.com>
Chris Demetriou <cgd@broadcom.com>
* configure.in (mips64vr*): Define TARGET_ENABLE_FR to 1.
(sim_mach_default): New variable.
(mips64vr-*-*, mips64vrel-*-*): New configurations.
Add a new simulator generator, MULTI.
* configure: Regenerate.
* Makefile.in (SIM_MULTI_OBJ, SIM_EXTRA_DISTCLEAN): New variables.
(multi-run.o): New dependency.
(SIM_MULTI_ALL, SIM_MULTI_IGEN_CONFIGS): New variables.
(tmp-mach-multi, tmp-itable-multi, tmp-run-multi): New rules.
(tmp-multi): Combine them.
(BUILT_SRC_FROM_MULTI): New variable. Depend on tmp-multi.
(clean-extra): Remove sources in BUILT_SRC_FROM_MULTI.
(distclean-extra): New rule.
* sim-main.h: Include bfd.h.
(MIPS_MACH): New macro.
* mips.igen (vr4120, vr5400, vr5500): New models.
(clo, clz, dclo, dclz, madd, maddu, msub, msub, mul): Add *vr5500.
* vr.igen: Replace with new version.
cgf [Sun, 5 Jan 2003 06:36:49 +0000 (06:36 +0000)]
* pinfo.cc (_pinfo::commune_send): Use myself->lock rather than just lock when
leaving.
cgd [Sun, 5 Jan 2003 06:13:51 +0000 (06:13 +0000)]
2003-01-04 Chris Demetriou <cgd@broadcom.com>
* configure.in: Use SIM_AC_OPTION_RESERVED_BITS(1).
* configure: Regenerate.
drow [Sun, 5 Jan 2003 04:59:28 +0000 (04:59 +0000)]
* stabsread.c (update_method_name_from_physname): Call complaint()
instead of error.
drow [Sun, 5 Jan 2003 04:34:39 +0000 (04:34 +0000)]
* gdb.texinfo (Controlling GDB): Add @kindex for
"show osabi".
(Backtraces): Add @kindex's for backtrace-below-main.
cgf [Sun, 5 Jan 2003 03:04:08 +0000 (03:04 +0000)]
* ld/pe-dll.c (autofilter_symbollist): Add cygwin_crt0.
dannysmith [Sun, 5 Jan 2003 02:49:14 +0000 (02:49 +0000)]
* include/winuser.h (SPI_GETWHEELSCROLLLINES) Add define.
(WHEEL_PAGESCROLL): Add define.
drow [Sun, 5 Jan 2003 02:03:57 +0000 (02:03 +0000)]
* gdb.texinfo (Controlling GDB): Document "set osabi".
drow [Sun, 5 Jan 2003 01:39:54 +0000 (01:39 +0000)]
* arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
* d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
* hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
* blockframe.c: Include "gdbcmd.h" and "command.h".
(backtrace_below_main): New variable.
(file_frame_chain_valid, func_frame_chain_valid)
(nonnull_frame_chain_valid, generic_file_frame_chain_valid)
(generic_func_frame_chain_valid): Remove functions.
(frame_chain_valid, do_flush_frames_sfunc): New functions.
(_initialize_blockframe): New function.
* Makefile.in (blockframe.o): Update dependencies.
* frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
comment. Call frame_chain_valid ().
* frame.h: Remove old prototypes. Add prototype for
frame_chain_valid and update comments to match.
* gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
Remove old comment.
* gdbarch.h: Regenerated.
* gdbarch.c: Regenerated.
Plus updates to all other targets not to provide a FRAME_CHAIN_VALID.
drow [Sun, 5 Jan 2003 01:38:40 +0000 (01:38 +0000)]
* gdb.texinfo (Backtraces): Document "set backtrace-below-main".
* gdbint.texinfo (FRAME_CHAIN_VALID): Update documentation.
gdbadmin [Sun, 5 Jan 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
drow [Sat, 4 Jan 2003 23:47:08 +0000 (23:47 +0000)]
* Makefile.in (acconfig_h): Remove incorrect macro.
(config_h): Define.
(osabi.o): Update dependencies.
* configure.tgt: Set gdb_osabi based on target triplet.
* configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
* configure: Regenerated.
* config.in: Regenerated.
* osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
(GDB_OSABI_DEFAULT): Define if not already defined.
(user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
(set_osabi_string): New variables.
(gdbarch_register_osabi): Add new OS ABI to
gdb_osabi_available_names.
(gdbarch_lookup_osabi): Honor specified and default OS ABIs.
(set_osabi, show_osabi): New functions.
(_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
drow [Sat, 4 Jan 2003 23:38:43 +0000 (23:38 +0000)]
* arch-utils.c (gdbarch_info_init): Set osabi to
GDB_OSABI_UNINITIALIZED.
* gdbarch.sh: Add osabi to struct gdbarch and to struct
gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
in gdbarch_list_lookup_by_info and in gdbarch_update_p.
* gdbarch.c: Regenerated.
* gdbarch.h: Regenerated.
* osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
there's no BFD.
(gdbarch_init_osabi): Remove osabi argument; use info.osabi.
* osabi.h (enum gdb_osabi): Move to defs.h.
(gdbarch_init_osabi): Update prototype.
* defs.h (enum gdb_osabi): Moved here.
* Makefile.in: Update dependencies.
Plus updates to alpha, arm, hppa, i386, mips, ns32k, ppc, sh, sparc, and vax
ports to match.
drow [Sat, 4 Jan 2003 23:07:24 +0000 (23:07 +0000)]
* breakpoint.c (insert_breakpoints): Skip disabled breakpoints
entirely.
(breakpoint_re_set_one): Don't fetch the value for a disabled
watchpoint.
drow [Sat, 4 Jan 2003 23:05:04 +0000 (23:05 +0000)]
Fix PR gdb/844
* lib/gdb.exp (gdb_compile): Handle "quiet" option.
(gdb_compile_pthreads): Pass "quiet" to gdb_compile.
* gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
instead of calling gdb_suppress_entire_file.
* gdb.threads/print-threads.exp: Likewise.
* gdb.threads/schedlock.exp: Likewise.
* gdb.threads/killed.exp: Return instead of calling
gdb_suppress_entire_file.
* gdb.threads/linux-dp.exp: Likewise.
* gdb.threads/pthreads.exp: Likewise.
amodra [Sat, 4 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update
drow [Sat, 4 Jan 2003 22:37:46 +0000 (22:37 +0000)]
gdb/
* buildsym.h (processing_hp_compilation): Remove obsolete variable.
* gdbarch.sh Remove include of "value.h" in gdbarch.h.
(COERCE_FLOAT_TO_DOUBLE): Remove.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* Makefile.in: Remove value_h from gdbarch_h.
* valops.c (coerce_float_to_double): New variable.
(default_coerce_float_to_double): Remove.
(standard_coerce_float_to_double): Remove.
(value_arg_coerce): Use coerce_float_to_double.
(_initialize_valops): Add "set coerce-float-to-double".
* value.h (default_coerce_float_to_double): Remove prototype.
(standard_coerce_float_to_double): Remove prototype.
* hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
prototyped.
* mdebugread.c (parse_symbol): Likewise.
* stabsread.c (define_symbol): Mark all functions as prototyped.
* hppa-tdep.c (hppa_coerce_float_to_double): Remove.
* alpha-tdep.c (alpha_gdbarch_init): Remove call to
set_gdbarch_coerce_float_to_double.
* arm-tdep.c (arm_gdbarch_init): Likewise.
* frv-tdep.c (frv_gdbarch_init): Likewise.
* h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
* i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
* mips-tdep.c (mips_gdbarch_init): Likewise.
(mips_coerce_float_to_double): Remove.
* rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
(rs6000_coerce_float_to_double): Remove.
* s390-tdep.c (s390_gdbarch_init): Likewise.
* sh-tdep.c (sh_gdbarch_init): Likewise.
(sh_coerce_float_to_double): Remove.
* sparc-tdep.c (sparc_gdbarch_init): Likewise.
(sparc_coerce_float_to_double): Remove.
* v850-tdep.c (v850_gdbarch_init): Likewise.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
* config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
* config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
(hppa_coerce_float_to_double): Remove prototype.
* config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
doc/
* gdb.texinfo (Controlling GDB): Add ABI section. Document
"set coerce-float-to-double".
* gdbint.texinfo (COERCE_FLOAT_TO_DOUBLE): Remove documentation.
testsuite/
* gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
stabs.
* gdb.base/completion.exp: Allow marker1(void) as well as marker1().
* gdb.base/whatis.exp: Always allow (void) after function names.
danglin [Sat, 4 Jan 2003 22:36:41 +0000 (22:36 +0000)]
* configure.in (LD): Improve test for gcc. Try to set LD to the ld used
by gcc if LD is not defined and we are not doing a Canadian Cross.
* configure: Rebuilt.
drow [Sat, 4 Jan 2003 22:30:20 +0000 (22:30 +0000)]
* gdb.c++/casts.exp: Correct regexp.
drow [Sat, 4 Jan 2003 21:55:53 +0000 (21:55 +0000)]
* regformats/reg-m68k.dat: Remove fpcode and fpflags.
drow [Sat, 4 Jan 2003 21:55:30 +0000 (21:55 +0000)]
* linux-m68k-low.c (m68k_num_regs): Define to 29 instead of 31.
drow [Sat, 4 Jan 2003 21:54:54 +0000 (21:54 +0000)]
Update copyright date with last commit.
drow [Sat, 4 Jan 2003 21:51:53 +0000 (21:51 +0000)]
Suggested by Stewart Brown <sb24@avaya.com>:
* c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
in recursive calls. Handle TYPE_CODE_TYPEDEF.
(c_type_print_varspec_suffix): Likewise.
drow [Sat, 4 Jan 2003 20:40:28 +0000 (20:40 +0000)]
* Makefile.am (ldmain.o): Pass BINDIR.
* Makefile.in: Regenerated.
* ldmain.c (set_scripts_dir): Use make_relative_prefix for the first
search path.
kettenis [Sat, 4 Jan 2003 19:35:14 +0000 (19:35 +0000)]
* configure.in: Don't set and AC_SUBST SUBDIRS.
* configure: Regenerated.
kettenis [Sat, 4 Jan 2003 19:27:18 +0000 (19:27 +0000)]
* configure.in: Remove code dealing with shared libraries.
* Makefile.in: Remove HLDFLAGS and HLDENV.
* configure: Regenerated.
kettenis [Sat, 4 Jan 2003 15:37:35 +0000 (15:37 +0000)]
* configure.in: Call AC_CONFIG_HEADER. Don't call
AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
aforementioned directories in the AC_OUPUT call.
* config.hin: New file.
* gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
gdb.threads/killed.exp, gdb.threads/print-threads.exp,
gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
pass -I$objdir instead of -I$objdir/$subdir in compilation.
* gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
gdb.threads/configure.in, gdb.threads/configure,
gdb.threads/config.in, gdb.trace/configure.in,
gdb.trace/configure: Removed.
cagney [Sat, 4 Jan 2003 13:55:30 +0000 (13:55 +0000)]
2003-01-04 Andrew Cagney <
ac131313@redhat.com>
* frame.c (deprecated_frame_xmalloc): New function.
(deprecated_set_frame_saved_regs_hack): New function.
(deprecated_set_frame_extra_info_hack): New function.
* frame.h (deprecated_frame_xmalloc): Declare.
(deprecated_set_frame_saved_regs_hack): Declare.
(deprecated_set_frame_extra_info_hack): Declare.
dannysmith [Sat, 4 Jan 2003 11:52:05 +0000 (11:52 +0000)]
* include/commctrl.h (tagNMTOOLBAR[AW]): Replace obsolete struct
names tagTBNOTIFY[AW] and typedefs. Add defines for backward
compatability. Add RECT field. Add UNICODE mappings for new
names.
(tagNMREBARCHEVRON): Add struct and typedefs for
_WIN32_IE >= 0x0500.
dannysmith [Sat, 4 Jan 2003 10:58:34 +0000 (10:58 +0000)]
* include/commctrl.h (TOOLINFO[AW]: Update structures.
(LVHITTESTINFO): Likewise.
* include/wingdi.h (GRADIENT_TRIANGLE): Add structure.
(GRADIENT_RECT): Likewise.
chastain [Sat, 4 Jan 2003 04:07:16 +0000 (04:07 +0000)]
2003-01-03 Michael Chastain <mec@shout.net>
* gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
chastain [Sat, 4 Jan 2003 04:06:19 +0000 (04:06 +0000)]
2003-01-03 Michael Chastain <mec@shout.net>
* gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
drow [Sat, 4 Jan 2003 03:59:27 +0000 (03:59 +0000)]
* gdb.base/store.exp: Fix regular expressions.
scox [Sat, 4 Jan 2003 02:13:46 +0000 (02:13 +0000)]
* readelf.c (guess_is_rela): Handle EM_IQ2000.
(get_machine_name): Likewise.
(dump_relocations): Likewise.
* NEWS: Mention IQ2000 support.
scox [Sat, 4 Jan 2003 02:04:42 +0000 (02:04 +0000)]
* Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o.
(eelf32iq2000.c): New target.
* Makefile.in: Regenerate.
* configure.tgt: Handle iq2000-*-elf.
* emulparams/elf32iq10.sh: New file.
* emulparams/elf32iq2000.sh: New file.
* scripttempl/iq2000.sc: New file.
kettenis [Sat, 4 Jan 2003 01:03:41 +0000 (01:03 +0000)]
* configure.in: Move code that provides the --enable-gdbtk option
right after the code that handles the --enable-tui option, and
polish it somewhat.
* configure: Regenerated.
kettenis [Sat, 4 Jan 2003 00:43:24 +0000 (00:43 +0000)]
* configure.in: Rewrite.
* configure: Regenerated.
kettenis [Sat, 4 Jan 2003 00:34:42 +0000 (00:34 +0000)]
* configure.in: Call AC_GNU_SOURCE. Check for pread64 using
AC_CHECK_FUNCS and remove the old check for pread64.
* acinclude.m4 (AC_GNU_SOURCE): New macro.
* acconfig.h (_GNU_SOURCE): Add.
(HAVE_PREAD64): Remove.
* configure, aclocal.m4, config.in: Regenerated.
gdbadmin [Sat, 4 Jan 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Fri, 3 Jan 2003 23:53:46 +0000 (23:53 +0000)]
2003-01-03 Andrew Cagney <
ac131313@redhat.com>
* alpha-tdep.c: Use get_frame_saved_regs.
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
* m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
* ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
* vax-tdep.c, xstormy16-tdep.c: Ditto.
kettenis [Fri, 3 Jan 2003 23:19:25 +0000 (23:19 +0000)]
* configure.in: Remove all use of the SUBDIRS variable; add
directories using the AC_CONFIG_SUBDIRS macro instead. Polish
code providing the --enable-multi-ice option, and move it right in
front of the code that checks whether gdbserver is supported.
Polish that too.
* configure: Regenerated.
* Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
@SUBDIRS@.
amodra [Fri, 3 Jan 2003 23:00:34 +0000 (23:00 +0000)]
daily update
dannysmith [Fri, 3 Jan 2003 22:57:36 +0000 (22:57 +0000)]
2003-01-03 Bang Jun-Young <junyoung@netbsd.org>
* include/winerror.h (ERROR_OPLOCK_NOT_GRANTED,
ERROR_INVALID_OPLOCK_PROTOCOL, ERROR_SOURCE_ELEMENT_EMPTY,
ERROR_DESTINATION_ELEMENT_FULL, ERROR_ILLEGAL_ELEMENT_ADDRESS,
ERROR_MAGAZINE_NOT_PRESENT, ERROR_DEVICE_REINITIALIZATION_NEEDED,
ERROR_DEVICE_REQUIRES_CLEANING, ERROR_DEVICE_DOOR_OPEN,
ERROR_DEVICE_NOT_CONNECTED, ERROR_NOT_FOUND, ERROR_NO_MATCH,
ERROR_SET_NOT_FOUND, ERROR_NO_TRACKING_SERVICE,
ERROR_JOURNAL_DELETE_IN_PROGRESS, ERROR_JOURNAL_NOT_ACTIVE,
ERROR_JOURNAL_ENTRY_DELETED, ERROR_ONLY_IF_CONNECTED,
ERROR_NOT_SUPPORTED_ON_SBS, ERROR_SERVER_SHUTDOWN_IN_PROGRESS,
ERROR_MUTUAL_AUTH_FAILED, ERROR_TIME_SKEW, ERROR_DEVICE_REMOVED,
RPC_S_INVALID_ASYNC_HANDLE, RPC_S_INVALID_ASYNC_CALL,
RPC_X_PIPE_CLOSED, RPC_X_PIPE_DISCIPLINE_ERROR, RPC_X_PIPE_EMPTY,
ERROR_CANT_ACCESS_FILE, ERROR_CANT_RESOLVE_FILENAME,
ERROR_WMI_GUID_NOT_FOUND, ERROR_WMI_INSTANCE_NOT_FOUND,
ERROR_WMI_ITEMID_NOT_FOUND, ERROR_WMI_TRY_AGAIN, ERROR_WMI_READ_ONLY,
ERROR_WMI_SET_FAILURE, ERROR_TRANSPORT_FULL, ERROR_FILE_OFFLINE,
ERROR_REMOTE_STORAGE_NOT_ACTIVE, ERROR_REMOTE_STORAGE_MEDIA_ERROR,
ERROR_NOT_A_REPARSE_POINT, ERROR_REPARSE_ATTRIBUTE_CONFLICT,
ERROR_INVALID_REPARSE_DATA, ERROR_REPARSE_TAG_INVALID,
ERROR_REPARSE_TAG_MISMATCH, ERROR_FILE_ENCRYPTED,
ERROR_FILE_NOT_ENCRYPTED, ERROR_NOT_EXPORT_FORMAT,
ERROR_CTX_WINSTATION_NAME_INVALID, ERROR_CTX_INVALID_PD,
ERROR_CTX_PD_NOT_FOUND, ERROR_CTX_WD_NOT_FOUND,
ERROR_CTX_CLOSE_PENDING, ERROR_CTX_NO_OUTBUF,
ERROR_CTX_MODEM_INF_NOT_FOUND, ERROR_CTX_INVALID_MODEMNAME,
ERROR_CTX_MODEM_RESPONSE_ERROR, ERROR_CTX_MODEM_RESPONSE_TIMEOUT,
ERROR_CTX_MODEM_RESPONSE_NO_CARRIER,
ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE, ERROR_CTX_MODEM_RESPONSE_BUSY,
ERROR_CTX_MODEM_RESPONSE_VOICE, ERROR_CTX_TD_ERROR,
ERROR_CTX_WINSTATION_NOT_FOUND, ERROR_CTX_WINSTATION_ALREADY_EXISTS,
ERROR_CTX_WINSTATION_BUSY, ERROR_CTX_BAD_VIDEO_MODE,
ERROR_CTX_GRAPHICS_INVALID, ERROR_CTX_NOT_CONSOLE,
ERROR_CTX_CLIENT_QUERY_TIMEOUT, ERROR_CTX_CONSOLE_DISCONNECT,
ERROR_CTX_CONSOLE_CONNECT, ERROR_CTX_SHADOW_DENIED,
ERROR_CTX_WINSTATION_ACCESS_DENIED, ERROR_CTX_INVALID_WD,
ERROR_CTX_SHADOW_INVALID, ERROR_CTX_SHADOW_DISABLED,
ERROR_CTX_CLIENT_LICENSE_IN_USE, ERROR_CTX_CLIENT_LICENSE_NOT_SET,
ERROR_CTX_LICENSE_NOT_AVAILABLE, ERROR_CTX_LICENSE_CLIENT_INVALID,
ERROR_CTX_LICENSE_EXPIRED, ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY,
ERROR_DS_NO_ATTRIBUTE_OR_VALUE, ERROR_DS_INVALID_ATTRIBUTE_SYNTAX,
ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED, ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS,
ERROR_DS_BUSY, ERROR_DS_UNAVAILABLE, ERROR_DS_NO_RIDS_ALLOCATED,
ERROR_DS_NO_MORE_RIDS, ERROR_DS_INCORRECT_ROLE_OWNER,
ERROR_DS_RIDMGR_INIT_ERROR, ERROR_DS_OBJ_CLASS_VIOLATION,
ERROR_DS_CANT_ON_NON_LEAF, ERROR_DS_CANT_ON_RDN,
ERROR_DS_CANT_MOD_OBJ_CLASS, ERROR_DS_CROSS_DOM_MOVE_ERROR,
ERROR_DS_GC_NOT_AVAILABLE, ERROR_SHARED_POLICY,
ERROR_POLICY_OBJECT_NOT_FOUND, ERROR_POLICY_ONLY_IN_DS,
ERROR_DS_ADMIN_LIMIT_EXCEEDED, ERROR_DS_DS_REQUIRED,
ERROR_DS_SAM_INIT_FAILURE, ERROR_DS_SENSITIVE_GROUP_VIOLATION,
ERROR_DS_CANT_MOD_PRIMARYGROUPID, ERROR_DS_INVALID_GROUP_TYPE,
ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN,
ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN,
ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER,
ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER,
ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER,
ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER,
ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER,
ERROR_DS_HAVE_PRIMARY_MEMBERS, ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD,
ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY, ERROR_DS_CANT_START,
ERROR_DS_INIT_FAILURE, ERROR_SAM_INIT_FAILURE, ERROR_DS_GC_REQUIRED,
ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY,
ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS,
ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED):
Add missing error codes.
scox [Fri, 3 Jan 2003 21:47:19 +0000 (21:47 +0000)]
* configure.in: Add iq2000-elf target.
* configure: Regenerate.
* config/tc-iq2000.c: New file.
* config/tc-iq2000.h: Likewise.
scox [Fri, 3 Jan 2003 21:38:49 +0000 (21:38 +0000)]
* gas/iq2000: New testsuite.
scox [Fri, 3 Jan 2003 21:12:21 +0000 (21:12 +0000)]
* Makefile.am (ALL_MACHINES): Add cpu-iq2000.lo.
(ALL_MACHINES_CFILES): Add cpu-iq2000.c.
(BFD32_BACKENDS): Add elf32-iq2000.lo.
(BFD32_BACKENDS_CFILES): Add elf32-iq2000.c.
(cpu-iq2000.lo): New target.
* Makefile.in: Regenerate.
* config.bfd: Handle iq2000-*-elf.
* archures.c (bfd_architecture): Add bfd_{arch,mach}_iq2000.
(bfd_archures_list): Add bfd_iq2000_arch.
* configure.in: Handle bfd_elf32_iq2000_vec.
* configure: Regenerate.
* reloc.c: Add BFD_RELOC_IQ2000_OFFSET_16, BFD_RELOC_IQ2000_OFFSET_21,
and BFD_RELOC_IQ2000_UHI16.
* targets.c (bfd_elf32_iq2000_vec): Declare.
(bfd_target_vector): Add bfd_elf32_iq2000_vec.
* elf.c (prep_headers): Set e_machine to EM_IQ2000.
* cpu-iq2000.c: New file.
* elf32-iq2000.c: Likewise.
* libbfd.h: Regenerate.
* bfd-in2.h: Likewise.
carlton [Fri, 3 Jan 2003 20:55:45 +0000 (20:55 +0000)]
2003-01-03 David Carlton <carlton@math.stanford.edu>
* gdb.base/psymtab.exp: New file.
* gdb.base/psymtab1.c: Ditto.
* gdb.base/psymtab2.c: Ditto.
scox [Fri, 3 Jan 2003 19:52:22 +0000 (19:52 +0000)]
* iq2000-asm.c: New file.
* iq2000-desc.c: Likewise.
* iq2000-desc.h: Likewise.
* iq2000-dis.c: Likewise.
* iq2000-ibld.c: Likewise.
* iq2000-opc.c: Likewise.
* iq2000-opc.h: Likewise.
* Makefile.am (HFILES): Add iq2000-desc.h, iq2000-opc.h.
(CFILES): Add iq2000-asm.c, iq2000-desc.c, iq2000-dis.c,
iq2000-ibld.c, iq2000-opc.c.
(ALL_MACHINES): Add iq2000-asm.lo, iq2000-desc.lo, iq2000-dis.lo,
iq2000-ibld.lo, iq2000-opc.lo.
(CLEANFILES): Add stamp-iq2000.
(IQ2000_DEPS): New macro.
(stamp-iq2000): New target.
* Makefile.in: Regenerate.
* configure.in: Handle bfd_iq2000_arch.
* configure: Regenerate.
cagney [Fri, 3 Jan 2003 18:22:57 +0000 (18:22 +0000)]
2003-01-03 Andrew Cagney <cagney@redhat.com>
* alpha-tdep.c: Use deprecated_update_frame_base_hack.
* avr-tdep.c, cris-tdep.c: Ditto.
* mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
* sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
scox [Fri, 3 Jan 2003 18:03:17 +0000 (18:03 +0000)]
* dis-asm.h (print_insn_iq2000): Declare.
* common.h (EM_IQ2000): Define.
* iq2000.h: New file.
brobecke [Fri, 3 Jan 2003 15:34:59 +0000 (15:34 +0000)]
Revert the previous change, as it was checked in by mistake.
brobecke [Fri, 3 Jan 2003 15:29:29 +0000 (15:29 +0000)]
(parse_symbol): Skip stProc entries which storage class is not scText.
These do not define "real" procedures.
(parse_partial_symbols): Likewise.
Fixes [C102-001].
kettenis [Fri, 3 Jan 2003 14:45:45 +0000 (14:45 +0000)]
* configure.in: Remove --enable-netrom option.
* configure: Regenerated.
kettenis [Fri, 3 Jan 2003 14:10:06 +0000 (14:10 +0000)]
* cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
declaration for `struct re_pattern_buffer' instead.
* Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
brobecke [Fri, 3 Jan 2003 14:01:46 +0000 (14:01 +0000)]
* mdebugread.c (parse_symbol): Count until the stEnd matching
the structure name.
rsandifo [Fri, 3 Jan 2003 11:04:25 +0000 (11:04 +0000)]
* ld-mips-elf/mips-elf-flags.exp: Add -mips4 to a -mgp64 test.
nickc [Fri, 3 Jan 2003 08:21:43 +0000 (08:21 +0000)]
oops - omitted from previous delta - a reworking of the linker relaxation code.
cgf [Fri, 3 Jan 2003 06:20:22 +0000 (06:20 +0000)]
* dtable.h (dtable::in_vfork_cleanup): New function. True if vfork cleanup
needed.
* dtable.cc (dtable::vfork_parent_restore): Remove assertion.
* pipe.cc (fhandler_pipe::close): Don't close read_state during fork_fixup
since it wasn't inherited.
bje [Fri, 3 Jan 2003 06:17:31 +0000 (06:17 +0000)]
* merge with Red Hat internal tree
dannysmith [Fri, 3 Jan 2003 05:02:18 +0000 (05:02 +0000)]
* include/stdlib.h (_osver, _winver, _winmajor,
_winminor): Declare as direct imports from dll if
__DECLSPEC_SUPPORTED.
dannysmith [Fri, 3 Jan 2003 00:04:21 +0000 (00:04 +0000)]
* lib/kernel32.c (GetCurrentFiber): Remove blank input field in
asm code.
(GetFiberData): Likewise.
gdbadmin [Fri, 3 Jan 2003 00:01:32 +0000 (00:01 +0000)]
*** empty log message ***
dannysmith [Thu, 2 Jan 2003 23:30:26 +0000 (23:30 +0000)]
* include/winnt.h (GetCurrentFiber): Remove blank input field
in asm code.
(GetFiberData): Likewise.
amodra [Thu, 2 Jan 2003 23:00:03 +0000 (23:00 +0000)]
daily update
kettenis [Thu, 2 Jan 2003 22:58:58 +0000 (22:58 +0000)]
* configure.in: Remove --with-cpu option.
subscripts. Remove evil changequotes here.
* acconfig.h (TARGET_CPU_DEFAULT): Remove.
* config.in, configure: Regenerated.
kettenis [Thu, 2 Jan 2003 22:49:27 +0000 (22:49 +0000)]
* acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
* configure.in: Cleanup section that sources GDB and BFD configure
subscripts. Remove evil changequotes here.
* config.in, configure: Regenerated.
cagney [Thu, 2 Jan 2003 22:20:45 +0000 (22:20 +0000)]
2003-01-02 Andrew Cagney <
ac131313@redhat.com>
* arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
frame accessor methods.
* alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
* mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
* s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
* vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
* z8k-tdep.c: Ditto.
cgd [Thu, 2 Jan 2003 22:04:54 +0000 (22:04 +0000)]
2003-01-02 Chris Demetriou <cgd@broadcom.com>
* mips-dis.c (print_insn_args): Use position extracted by "+A"
to calculate size for "+B". Redo code for "+C" so it shares
the same style as "+A" and "+B" now do.
rsandifo [Thu, 2 Jan 2003 21:31:28 +0000 (21:31 +0000)]
bfd/
* elfxx-mips.c: Include libiberty.h.
(elf_mips_isa, _bfd_mips_elf_mach_extends_p): Remove.
(mips_set_isa_flags): New function, split out from...
(_bfd_mips_elf_final_write_processing): ...here. Only call
mips_set_isa_flags if the EF_MIPS_MACH bits are clear.
(mips_mach_extensions): New array.
(mips_32bit_flags_p): New function.
(_bfd_mips_elf_merge_private_bfd_data): Rework architecture checks.
Use mips_32bit_flags_p to check if one binary is 32-bit and the
other is 64-bit. When adopting IBFD's architecture, adopt the
bfd_mach as well as the flags.
ld/testsuite/
* ld-mips-elf/jr.s: New file.
* ld-mips-elf/mips-elf-flags.exp: New test.
rsandifo [Thu, 2 Jan 2003 21:17:59 +0000 (21:17 +0000)]
* readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
cgd [Thu, 2 Jan 2003 21:06:59 +0000 (21:06 +0000)]
2003-01-02 Chris Demetriou <cgd@broadcom.com>
* mips-dis.c: Update copyright years.
(print_insn_arg): Rename to...
(print_insn_args): This, returning void. Process the whole
string of args rather than a single one. Reindent.
(print_insn_mips): Update to match the above.
hjl [Thu, 2 Jan 2003 20:51:02 +0000 (20:51 +0000)]
2003-01-02 H.J. Lu <hjl@gnu.org>
* Makefile.in (DESTDIR): New.
(install-info): Use it.
kettenis [Thu, 2 Jan 2003 20:29:14 +0000 (20:29 +0000)]
* configure.in: Remove UI_OUT configuration code.
* ada-lang.c: Update assuming UI_OUT is always true.
* Makefile.in (UIOUT_CFLAGS): Remove.
* configure: Regenerated.
* TODO: Remove blurb about elimination of -DUI_OUT.
kettenis [Thu, 2 Jan 2003 20:12:29 +0000 (20:12 +0000)]
* configure.in: Move code that provides the --enable-gdbcli,
--enable-gdbmi options right before the code that handles the
--enable-tui option. Polish a bit.
* configure: Regenerated.