OSDN Git Service
cgf [Sat, 19 Apr 2003 02:04:55 +0000 (02:04 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::open): Allocate a console whenever a pty
is allocated.
cgf [Sat, 19 Apr 2003 01:03:15 +0000 (01:03 +0000)]
* Makefile.in: Use ${nostdlib} variable.
* fhandler_proc.cc (format_proc_cpuinfo): Change /proc/cpuinfo "vendor id"
string to "vendor_id" to conform with Linux systems.
cgf [Sat, 19 Apr 2003 01:02:51 +0000 (01:02 +0000)]
* Makefile.in: Reorganize to try to allow lack of mingw/w32api to work.
dj [Sat, 19 Apr 2003 00:19:40 +0000 (00:19 +0000)]
* Makefile.tpl (MAKEINFOFLAGS): Default to --split-size=
5000000.
* Makefile.in: Regenerate.
* configure.in (powerpc64*-*-linux*): Remove.
* configure: Rebuilt.
amodra [Sat, 19 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 19 Apr 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
jimb [Fri, 18 Apr 2003 20:20:21 +0000 (20:20 +0000)]
* s390-tdep.c (s390_frame_align): New function.
(s390_gdbarch_init): Register it with the gdbarch object.
hjl [Fri, 18 Apr 2003 15:33:49 +0000 (15:33 +0000)]
2003-04-18 H.J. Lu <hjl@gnu.org>
* ldfile.c (ldfile_add_library_path): Remove the unused
variable.
jakub [Fri, 18 Apr 2003 11:53:12 +0000 (11:53 +0000)]
* ehopt.c (check_eh_frame): For aug_size == 0
in state_seeing_aug_size state skip the state_skipping_aug
state.
nickc [Fri, 18 Apr 2003 08:26:17 +0000 (08:26 +0000)]
Define __data and __rdata
nickc [Fri, 18 Apr 2003 08:25:28 +0000 (08:25 +0000)]
Define __data and __rdata
nickc [Fri, 18 Apr 2003 08:06:00 +0000 (08:06 +0000)]
Only check associated vector if the matching_vector has been created.
cgf [Fri, 18 Apr 2003 00:25:41 +0000 (00:25 +0000)]
* syscalls.cc (setsid): Don't call FreeConsole if ctty is already < 0.
rth [Fri, 18 Apr 2003 00:21:37 +0000 (00:21 +0000)]
* remote.c (minitelnet): Don't redeclare escape_count, echo_check.
amodra [Fri, 18 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 18 Apr 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
dj [Thu, 17 Apr 2003 21:30:51 +0000 (21:30 +0000)]
* Makefile.tpl (GCC_STRAP_TARGETS): New variable containing all the
previous bootstrap targets, plus bubblestrap, quickstrap, cleanstrap,
and restrap.
* Makefile.in: Regenerate.
* configure.in (arm-*-netbsdelf*): Enable building java libraries.
* configure: Regenerated.
ezannoni [Thu, 17 Apr 2003 20:33:09 +0000 (20:33 +0000)]
2003-04-17 Michael Snyder <msnyder@redhat.com>
Karen Bennet <bennet@redhat.com>
Committed by Elena Zannoni <ezannoni@redhat.com>
* gdb_gcore.sh: New script to create a core dump of a process.
ezannoni [Thu, 17 Apr 2003 20:31:43 +0000 (20:31 +0000)]
2003-04-17 Elena Zannoni <ezannoni@redhat.com>
* values.c (value_being_returned): Don't fetch the return
value if the return type is void.
tpfaff [Thu, 17 Apr 2003 20:05:14 +0000 (20:05 +0000)]
* Makefile.in: Add finline-functions optimization to CXXFLAGS.
* autoload.cc (LoadDLLprime): Rename std_dll_init to
_std_dll_init.
(std_dll_init): Remove name mangling prototype. Add attributes
used and noinline.
(wsock_init): Ditto.
Change wsock_init to _wsock_init in wsock32 and ws2_32
LoadDLLprime.
* exceptions.cc (unused_sig_wrapper): Remove prototype. Add
attributes used and noinline.
* pwdgrp.h ((pwdgrp (passwd *&)): Remove inline code.
(pwdgrp (__group32 *&)): Ditto.
* grp.cc (pwdgrp (passwd *&)): Outline constructor.
(pwdgrp (__group32 *&)): Ditto.
tpfaff [Thu, 17 Apr 2003 19:57:00 +0000 (19:57 +0000)]
* thread.h (pthread::equal): New static method.
* thread.cc: Rename pthread_equal to pthread::equal throughout.
(pthread_equal): Use pthread::equal to compare threads ids.
jjohnstn [Thu, 17 Apr 2003 19:41:54 +0000 (19:41 +0000)]
2003-04-17 Inaoka Kazuhiro <inaoka.kazuhiro@renesas.com>
* m32r/Makefile.in: Add multilib support.
* m32r/configure.in: Ditto.
* m32r/configure: Regenerated.
jjohnstn [Thu, 17 Apr 2003 17:30:01 +0000 (17:30 +0000)]
2003-04-17 Jeff Johnston <jjohnstn@redhat.com>
* thread-db.c: Reindented.
jjohnstn [Thu, 17 Apr 2003 17:18:48 +0000 (17:18 +0000)]
2003-04-17 Jeff Johnston <jjohnstn@redhat.com>
* gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t,
td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t
as types.
gdbadmin [Thu, 17 Apr 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 17 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update
dj [Wed, 16 Apr 2003 23:09:21 +0000 (23:09 +0000)]
merge from gcc
brolley [Wed, 16 Apr 2003 22:01:07 +0000 (22:01 +0000)]
2003-04-16 Dave Brolley <brolley@redhat.com>
* commonCfg.cxx (final_insn_count): Set cpu attribute 'final-insn-count'.
kevinb [Wed, 16 Apr 2003 20:44:04 +0000 (20:44 +0000)]
Fix typo.
kevinb [Wed, 16 Apr 2003 20:41:46 +0000 (20:41 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): For the SVR4 ABI, set
the size of ``long double'' to 16, instead of 8.
kevinb [Wed, 16 Apr 2003 20:29:41 +0000 (20:29 +0000)]
* gdb.base/args.exp: Invoke gdb_load for simulator targets.
ezannoni [Wed, 16 Apr 2003 20:07:08 +0000 (20:07 +0000)]
2003-04-16 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/completion.exp: Make 'info func mark' complete on 'info
func marke' instead. Update test name.
brolley [Wed, 16 Apr 2003 18:17:43 +0000 (18:17 +0000)]
2003-04-16 Dave Brolley <brolley@redhat.com>
* doc/rtl.texi (Iiming): Correct example to use 'model-name'.
* utils.scm (copyright-fsf): Update generate copyright years.
(copyright-cygnus): Ditto.
* sid.scm (-op-gen-set-trace): Generate code to fill in bitmask of modified
operands.
(-gen-arch-model-decls): Don't generate unit enum declaration or MAX_UNITS
here.
(<operand>'gen-profile-code): New parameter 'when'.
(<iunit>'gen-profile-code): Ditto.
(<insn>'gen-profile-code): Ditto.
(<unit>'gen-profile-code): Ditto. Only generate 'referenced' and
'insn_reference' for the 'after' function.
* model.scm (unit:enum): Moved to sim-model.scm.
* sim-model.scm (unit:enum): Moved from model.scm.
* sid-decode.scm (-gen-scache-decls): Generate the 'written' field.
* cgen-sid.scm (sim-arguments): Document the generation of model.h.
* sid-model.scm (unit:enum): New version for sid.
(gen-model-class-name): New function.
(gen-model-unit-fn-decl): New function.
(gen-model-fn-decls): Call gen-model-unit-fn-decl.
(gen-model-unit-fn-name): New parameter 'when'.
(-gen-model-insn-fn-name): Ditto.
(-gen-model-insn-qualified-fn-name): New function.
(-gen-model-insn-fn-decl): New function.
(-gen-model-insn-fn-decls): New function.
(-gen-model-insn-fn): New parameter 'when'. Call
-gen-model-insn-qualified-fn-name.
(-gen-model-insn-fns): Generate the constructor for the model. Generate
functions for modelling insn before and after execution.
(-gen-model-class-decls): New function.
(" (gen-model-class-name model) "): New function.
(gen-model-classes): New function.
(-gen-insn-timing): Generate functions for modelling insn before and after
execution.
(-gen-insn-unit-timing): Generate class-qualified names.
(-gen-model-timing-table): Ditto.
(cgen-model.cxx): Generate #include for @cpu@.h. Omit generation of code
not needed (yet) by sid.
(cgen-model.h): New function.
brolley [Wed, 16 Apr 2003 18:15:16 +0000 (18:15 +0000)]
2003-04-16 Dave Brolley <brolley@redhat.com>
* sidcpuutil.h (final_insn_count_p): New member of basic_cpu.
(update_total_latency): New method of basic_cpu.
(stream_state): Output final_insn_count_p.
(destream_state): Input final_insn_count_p.
(basic_cpu): Add attribute final-insn-count.
brolley [Wed, 16 Apr 2003 18:13:51 +0000 (18:13 +0000)]
003-04-16 Dave Brolley <brolley@redhat.com>
* common-xml/interface.xml: Document trace-count? and
final-insn-count?.
* CGEN.sh.in: Implement generation of model.cxx and model.h
* cgen-model.h: New file.
brolley [Wed, 16 Apr 2003 18:13:22 +0000 (18:13 +0000)]
003-04-16 Dave Brolley <brolley@redhat.com>
* common-xml/interface.xml: Document trace-count? and
final-insn-count?.
* CGEN.sh.in: Implement generation of model.cxx and model.h
* cgen-model.h: New file.
brolley [Wed, 16 Apr 2003 18:09:06 +0000 (18:09 +0000)]
2003-04-16 Dave Brolley <brolley@redhat.com>
* doc/rtl.texi (Iiming): Correct example to use 'model-name'.
* utils.scm (copyright-fsf): Update generate copyright years.
(copyright-cygnus): Ditto.
* sid.scm (-op-gen-set-trace): Generate code to fill in bitmask of modified
operands.
(-gen-arch-model-decls): Don't generate unit enum declaration or MAX_UNITS
here.
(<operand>'gen-profile-code): New parameter 'when'.
(<iunit>'gen-profile-code): Ditto.
(<insn>'gen-profile-code): Ditto.
(<unit>'gen-profile-code): Ditto. Only generate 'referenced' and
'insn_reference' for the 'after' function.
* model.scm (unit:enum): Moved to sim-model.scm.
* sim-model.scm (unit:enum): Moved from model.scm.
* sid-decode.scm (-gen-scache-decls): Generate the 'written' field.
* cgen-sid.scm (sim-arguments): Document the generation of model.h.
* sid-model.scm (unit:enum): New version for sid.
(gen-model-class-name): New function.
(gen-model-unit-fn-decl): New function.
(gen-model-fn-decls): Call gen-model-unit-fn-decl.
(gen-model-unit-fn-name): New parameter 'when'.
(-gen-model-insn-fn-name): Ditto.
(-gen-model-insn-qualified-fn-name): New function.
(-gen-model-insn-fn-decl): New function.
(-gen-model-insn-fn-decls): New function.
(-gen-model-insn-fn): New parameter 'when'. Call
-gen-model-insn-qualified-fn-name.
(-gen-model-insn-fns): Generate the constructor for the model. Generate
functions for modelling insn before and after execution.
(-gen-model-class-decls): New function.
(" (gen-model-class-name model) "): New function.
(gen-model-classes): New function.
(-gen-insn-timing): Generate functions for modelling insn before and after
execution.
(-gen-insn-unit-timing): Generate class-qualified names.
(-gen-model-timing-table): Ditto.
(cgen-model.cxx): Generate #include for @cpu@.h. Omit generation of code
not needed (yet) by sid.
(cgen-model.h): New function.
brolley [Wed, 16 Apr 2003 18:08:35 +0000 (18:08 +0000)]
2003-04-16 Dave Brolley <brolley@redhat.com>
* doc/rtl.texi (Iiming): Correct example to use 'model-name'.
jjohnstn [Wed, 16 Apr 2003 15:45:29 +0000 (15:45 +0000)]
2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
* newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
all code with #ifdef __SPE__ test.
* newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
kettenis [Wed, 16 Apr 2003 15:22:02 +0000 (15:22 +0000)]
* i386-linux-nat.c: Add some whitespace to make things more
readable.
(fetch_register, store_register, fetch_inferior_registers,
store_inferior_registers): Get rid of assignment in if-statement.
(store_register): Fix typo in error message.
cagney [Wed, 16 Apr 2003 14:43:03 +0000 (14:43 +0000)]
2003-04-16 Andrew Cagney <cagney@redhat.com>
* utils.c (xmmalloc): Always allocate something, matches
libiberty/xmalloc's semantics.
(xmrealloc, xmcalloc): Ditto.
cagney [Wed, 16 Apr 2003 14:39:47 +0000 (14:39 +0000)]
2003-04-16 Andrew Cagney <cagney@redhat.com>
* frame.c (get_prev_frame): Do not initialize "unwind" or "type",
update comments.
(get_frame_type): Initialize unwind and type when needed.
(get_frame_id, frame_register_unwind): Ditto.
cagney [Wed, 16 Apr 2003 14:32:20 +0000 (14:32 +0000)]
2003-04-16 Andrew Cagney <cagney@redhat.com>
* NEWS: Mention that sparclet-*-* and sparclite-*-* have been made
obsolete.
* sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code.
* sparcl-stub.c: Obsolete file.
* config/sparc/tm-sparclet.h: Obsolete file.
* sparclet-stub.c: Obsolete file.
* sparclet-rom.c: Obsolete file.
* sparcl-tdep.c: Obsolete file.
* config/sparc/tm-sparclite.h: Obsolete file.
* config/sparc/sparclite.mt: Obsolete file.
* config/sparc/sparclet.mt: Obsolete file.
* configure.tgt: Make sparclet-*-*, sparclite-*-*, and
sparc86x-*-* obsolete.
earnie [Wed, 16 Apr 2003 12:19:56 +0000 (12:19 +0000)]
* include/wingdi.h (DM_SPECVERSION): Define.
Thanks to Sinitsyn Valentime <valentine.sinitsyn@usu.ru>
* include/rpcdce.h (UuidCreateSequential): Properly guard with
appropriate _WIN32_WINNT values.
nickc [Wed, 16 Apr 2003 11:53:46 +0000 (11:53 +0000)]
Add .jcr section mapping.
dj [Wed, 16 Apr 2003 04:55:31 +0000 (04:55 +0000)]
merge from gcc
dj [Wed, 16 Apr 2003 03:51:54 +0000 (03:51 +0000)]
merge from gcc
cgf [Wed, 16 Apr 2003 03:03:44 +0000 (03:03 +0000)]
* termios.cc (setspeed): New function.
(cfsetospeed): Use setspeed to set speed.
(cfsetispeed): Use setspeed to set speed.
* autoload.cc: Add load statement for UuidCreate, and UuidCreateSequential.
* cpuid.h: New file.
* cygwin.din: Export gethostid.
* fhandler_proc.cc (cpuid): Move to cpuid.h.
(can_set_flag): Move to cpuid.h.
* syscalls.cc (gethostid): New function.
* version.h: Bump DLL minor version number to 83.
cgf [Wed, 16 Apr 2003 02:57:32 +0000 (02:57 +0000)]
* rpcdce.h: Add declaration for UuidCreateSequential.
* rpcrt4.def: Add entry for UuidCreateSequential.
cagney [Wed, 16 Apr 2003 00:58:40 +0000 (00:58 +0000)]
Fix changelog.
cgd [Wed, 16 Apr 2003 00:52:08 +0000 (00:52 +0000)]
2003-04-15 Richard Sandiford <rsandifo@redhat.com>
* vr.igen (do_vr_mul_op): Zero-extend the low 32 bits of
unsigned operands.
aoliva [Wed, 16 Apr 2003 00:30:24 +0000 (00:30 +0000)]
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo in
2003-04-09's change.
gdbadmin [Wed, 16 Apr 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 16 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update
carlton [Tue, 15 Apr 2003 23:07:10 +0000 (23:07 +0000)]
2003-04-15 David Carlton <carlton@math.stanford.edu>
* Makefile.in (SFILES): Add cp-namespace.c.
(COMMON_OBS): Add cp-namespace.o.
(block.o): Depend on gdb_obstack_h and cp_support_h.
(buildsym.o): Depend on cp_support_h.
(cp-namespace.o): New.
(cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
(dwarf2read.o): Depend on cp_support_h.
* jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
* dwarf2read.c (process_die): Set processing_has_namespace_info,
processing_current_namespace.
(read_namespace): Update processing_current_namespace; check for
anonymous namespaces.
(dwarf2_name): New function.
(dwarf2_extension): Ditto.
* cp-support.h: Update copyright, contributors.
Add inclusion guards.
Add opaque declaration for structs obstack, block, symbol.
(struct using_direct): New struct.
Add declarations for cp_find_first_component,
cp_entire_prefix_len, processing_has_namespace_info,
processing_current_namespace, cp_is_anonymous,
cp_add_using_directive, cp_initialize_namespace,
cp_finalize_namespace, cp_set_block_scope,
cp_scan_for_anonymous_namespaces.
* cp-namespace.c: New file.
* cp-support.c: Update copyright.
Include ctype.h, gdb_assert.h, gdbcmd.h.
New variable maint_cplus_cmd_list.
(cp_find_first_component): New function.
(cp_entire_prefix_len, maint_cplus_command)
(first_component_command, _initialize_cp_support): Ditto.
* buildsym.c: Include cp-support.h.
New variable using_list.
(add_symbol_to_list): Check for anonymous namespaces.
(finish_block): Set block's scope.
(start_symtab): Initialize C++ namespace support.
(end_symtab): Finalize C++ namespace support.
* block.h: Add opaque declarations for structs
block_namespace_info, using_direct, and obstack.
Add declarations for block_set_scope and block_set_using.
(struct block): Add 'language_specific' member.
(BLOCK_NAMESPACE): New macro.
* block.c: Include gdb_obstack.h and cp-support.h.
(struct block_namespace_info): New struct.
(block_set_scope): New function.
(block_set_using, block_initialize_namespace): Ditto.
2003-04-15 David Carlton <carlton@math.stanford.edu>
* gdb.c++/maint.exp: New file.
dj [Tue, 15 Apr 2003 21:36:21 +0000 (21:36 +0000)]
merge from gcc
dj [Tue, 15 Apr 2003 21:29:34 +0000 (21:29 +0000)]
merge from gcc
dj [Tue, 15 Apr 2003 20:15:47 +0000 (20:15 +0000)]
merge from gcc
tpfaff [Tue, 15 Apr 2003 20:14:12 +0000 (20:14 +0000)]
Fix a race in pthread_rwlock caused by simultanoues unlock and cancelation.
* thread.h (pthread_rwlock::release): New method.
* thread.cc (pthread_rwlock::unlock): Use release to signal
waiting threads.
(pthread_rwlock::rdlock_cleanup): Signal waiting threads after a
cancelation.
(pthread_rwlock::wrlock_cleanup): Ditto.
cgf [Tue, 15 Apr 2003 20:13:49 +0000 (20:13 +0000)]
* newlib/libc/include/sys/unistd.h: add declaration for gethostid on Cygwin.
dj [Tue, 15 Apr 2003 15:27:20 +0000 (15:27 +0000)]
merge from gcc
hjl [Tue, 15 Apr 2003 14:56:05 +0000 (14:56 +0000)]
2003-04-15 H.J. Lu <hjl@gnu.org>
* ld-elfcom/elfcom.exp: Fix a typo.
hjl [Tue, 15 Apr 2003 14:50:29 +0000 (14:50 +0000)]
2003-04-15 H.J. Lu <hjl@gnu.org>
From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:
* ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
nickc [Tue, 15 Apr 2003 14:26:05 +0000 (14:26 +0000)]
If a section holds uninitialized data and is from an object file or from an
executable image that has not initialized the s_size field, or if the physical
size is padded, use the virtual size (stored in s_paddr) instead.
nickc [Tue, 15 Apr 2003 09:38:10 +0000 (09:38 +0000)]
Properly report filename for alignment reduction.
Add test for alignment reduction.
nickc [Tue, 15 Apr 2003 08:51:50 +0000 (08:51 +0000)]
Replace occurrances of 'Hitachi' with 'Renesas'.
dj [Tue, 15 Apr 2003 03:53:52 +0000 (03:53 +0000)]
merge from gcc
dj [Tue, 15 Apr 2003 03:02:18 +0000 (03:02 +0000)]
merge from gcc
ezannoni [Tue, 15 Apr 2003 02:23:10 +0000 (02:23 +0000)]
2003-04-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.threads/schedlock.c: Change type of thread function argument
to long, to avoid warnings on 64-bit platforms.
kevinb [Tue, 15 Apr 2003 00:28:23 +0000 (00:28 +0000)]
* solib-svr4.c (svr4_have_link_map_offsets): New function.
(locate_base): Return early if there aren't any link map offsets.
(svr4_solib_create_inferior_hook): Warn if shared library support
is unavailable.
gdbadmin [Tue, 15 Apr 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 15 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update
carlton [Mon, 14 Apr 2003 19:56:31 +0000 (19:56 +0000)]
2003-04-14 David Carlton <carlton@math.stanford.edu>
* symtab.c (symbol_set_names): Add prefix when storing Java names
in hash table. Fix for PR java/1039.
carlton [Mon, 14 Apr 2003 19:55:26 +0000 (19:55 +0000)]
2003-04-14 David Carlton <carlton@math.stanford.edu>
* symtab.c (symbol_set_names): Rename 'name' arg to
'linkage_name', and 'tmpname' variable to 'linkage_name_copy'.
* symtab.h: Change 'name' argument in declaration of
symbol_set_names to 'linkage_name'.
(SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'.
cagney [Mon, 14 Apr 2003 19:16:13 +0000 (19:16 +0000)]
2003-04-14 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE,
return the fully sign-extended register value.
(get_frame_pointer): Ditto.
(mips_pop_frame): Initialize "proc_desc" after checking for a
dummy frame.
cagney [Mon, 14 Apr 2003 19:06:48 +0000 (19:06 +0000)]
2003-04-14 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_push_dummy_frame): Delete function.
(MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros.
(FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro.
(mips_push_register): Delete function.
(mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and
PUSH_FP_REGNUM.
jimb [Mon, 14 Apr 2003 18:42:26 +0000 (18:42 +0000)]
gdb/ChangeLog:
2003-04-10 Jim Blandy <jimb@redhat.com>
* symmisc.c: #include "gdb_regex.h".
(maintenance_list_symtabs, maintenance_list_psymtabs): New
functions.
* maint.c (maintenance_list_command): New function.
(_initialize_maint_cmds): Register the above as commands.
* symtab.h (maintenance_list_symtabs,
maintenance_list_psymtabs): New declarations.
* cli/cli-cmds.c (maintenancelistlist): New variable.
(init_cmd_lists): Initialize it.
* cli/cli-cmds.h (maintenancelistlist): New declaration.
* gdbcmd.h (maintenancelistlist): New declaration.
* Makefile.in (symmisc.o): Update dependencies.
gdb/doc/ChangeLog:
2003-04-09 Jim Blandy <jimb@redhat.com>
* gdb.texinfo (Symbols): Document 'maint list symtabs' and 'maint
list psymtabs'.
dj [Mon, 14 Apr 2003 18:27:58 +0000 (18:27 +0000)]
merge from gcc
ezannoni [Mon, 14 Apr 2003 14:21:06 +0000 (14:21 +0000)]
2003-04-08 Elena Zannoni <ezannoni@redhat.com>
* s390-nat.c: Include asm/types.h for addr_t.
ezannoni [Mon, 14 Apr 2003 14:04:06 +0000 (14:04 +0000)]
2003-04-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/attach.exp: Add new message from ptrace in case of
attaching to nonexistent process.
ezannoni [Mon, 14 Apr 2003 14:02:55 +0000 (14:02 +0000)]
2003-04-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/attach.exp: Add new message from ptrace in case of
attaching to nonexistent process.
amodra [Mon, 14 Apr 2003 13:03:16 +0000 (13:03 +0000)]
* scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
other variants of crtbegin.o, crtend.o.
(DTOR): Likewise.
* scripttempl/crisaout.sc (ctors, dtors): Likewise.
* scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
* scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
* scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
* scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
* scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
* scripttempl/mmo.sc (ctors, dtors): Likewise.
* scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
nickc [Mon, 14 Apr 2003 11:06:24 +0000 (11:06 +0000)]
Maintain maximum alignment for common symbols. Warn reducing alignment for
common symbols. Report old filename when symbol size changes.
corinna [Mon, 14 Apr 2003 08:47:41 +0000 (08:47 +0000)]
* cp-valprint.c (cp_print_class_method): Call unpack_pointer() with
actually incoming type.
dannysmith [Mon, 14 Apr 2003 05:26:34 +0000 (05:26 +0000)]
2003-04-14 Phil Krylov <likewolf@users.sourceforge.net>
* include/winuser.h (VK_*): Add missing defines.
2003-04-14 Vincent BĂ©ron <papineau@users.sourceforge.net>
* include/commctrl.h (NMUPDOWN, LPNMUPDOWN): Use currently
documented typedefs for struct _NM_UPDOWN.
Add defines for backward comapatibility.
* include/commdlg.h (OFN_ENABLESIZING): Add define.
* include/wininet.h (IRF_*): Add issing defines.
2003-04-14 Bang Jun-Young <junyoung@netbsd.org>
* lib/ntdll.def (Csr*, Dbg*, Ki*, Ldr*, Rtl*): Add W2K exports.
cagney [Mon, 14 Apr 2003 02:29:39 +0000 (02:29 +0000)]
2003-04-13 Andrew Cagney <cagney@redhat.com>
* ppc-linux-tdep.c: Use get_frame_base, get_frame_pc,
get_next_frame and get_frame_saved_regs.
cgf [Mon, 14 Apr 2003 02:09:57 +0000 (02:09 +0000)]
* mkvers.sh: Prefix day with 0 in date only when day < 10.
gdbadmin [Mon, 14 Apr 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 14 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update
cagney [Sun, 13 Apr 2003 22:34:26 +0000 (22:34 +0000)]
2003-04-13 Andrew Cagney <cagney@redhat.com>
* reggroups.c (default_register_reggroup_p): Use NUM_REGS instead
of gdbarch_num_regs.
msnyder [Sun, 13 Apr 2003 17:45:11 +0000 (17:45 +0000)]
2003-04-13 Michael Snyder <msnyder@redhat.com>
* Make-common.in (sim-events.o, sim-config.o): Depend on sim-main.h.
msnyder [Sun, 13 Apr 2003 17:06:29 +0000 (17:06 +0000)]
2003-04-13 Michael Snyder <msnyder@redhat.com>
* compile.c (sim_resume): Implement 'daa' and 'das' instructions.
msnyder [Sun, 13 Apr 2003 16:50:31 +0000 (16:50 +0000)]
2003-04-07 Michael Snyder <msnyder@redhat.com>
* h8300.h (ldc/stc): Fix up src/dst swaps.
msnyder [Sun, 13 Apr 2003 16:44:57 +0000 (16:44 +0000)]
2003-04-13 Michael Snyder <msnyder@redhat.com>
* configure.in: Add testsuite to extra_subdirs.
* configure: Regenerate.
2003-04-13 Michael Snyder <msnyder@redhat.com>
* sim/h8300: New directory. Tests for Hitachi h8/300 family.
cagney [Sun, 13 Apr 2003 15:54:58 +0000 (15:54 +0000)]
2003-04-13 Andrew Cagney <cagney@redhat.com>
* frame.h: Mention what replaced what in "struct frame_info".
* hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and
deprecated_update_frame_base_hack and
deprecated_update_frame_pc_hack.
* hppa-tdep.c: Ditto.
drow [Sun, 13 Apr 2003 15:53:43 +0000 (15:53 +0000)]
* dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments
to read_reg and update its comment. Remove regnum member.
* dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval.
Don't call read_reg when setting in_reg. Call read_reg to get
the frame base if it's in a register. Return the register number
on the stack instead of in the context. Remove extra arguments
to read_reg.
* dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments.
(dwarf2_evaluate_loc_desc): Call value_from_register. Expect
the register number on the expression stack.
(needs_frame_read_reg): Remove extra arguments.
drow [Sun, 13 Apr 2003 15:43:35 +0000 (15:43 +0000)]
2003-04-13 Daniel Jacobowitz <drow@mvista.com>
* dwarf2expr.c (dwarf2_read_address): Renamed from read_address;
made non-static.
(execute_stack_op): All callers updated.
* dwarf2expr.h: Add prototype for dwarf2_read_address.
* dwarf2loc.c (find_location_expression): New function.
(dwarf_expr_frame_base): Call it.
(dwarf2_evaluate_loc_desc): Handle 0-length location expressions.
(dwarf2_tracepoint_var_ref): New function, broken out from
locexpr_tracepoint_var_ref.
(locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref.
Make static.
(loclist_read_variable, loclist_read_needs_frame): New functions.
(loclist_describe_location, loclist_tracepoint_var_ref): New
functions.
(dwarf2_loclist_funcs): New struct location_funcs.
* dwarf2loc.h (struct dwarf2_loclist_baton): New type.
(struct dwarf2_locexpr_baton): Add comments.
(dwarf2_loclist_funcs): New extern.
* dwarf2read.c (struct comp_unit_head): Remove DIE member, add
base_address and base_known.
(dwarf_loc_buffer): New variable.
(struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size.
(DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros.
(dwarf2_has_info): Initialize dwarf_loc_offset.
(dwarf2_build_psymtabs): Read in .debug_loc.
(dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and
DWARF_LOC_SIZE.
(psymtab_to_symtab_1): Likewise. Move base address calculation
here, from...
(dwarf2_get_pc_bounds): ... here. Use the base address from
cu_header.
(dwarf2_symbol_mark_computed): Handle location lists.
drow [Sun, 13 Apr 2003 15:25:22 +0000 (15:25 +0000)]
* minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode
if the linkage name demangled successfully.
kettenis [Sun, 13 Apr 2003 14:51:19 +0000 (14:51 +0000)]
* x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours,
disassmbly_flavour): Removed.
drow [Sun, 13 Apr 2003 14:42:21 +0000 (14:42 +0000)]
* ld-discard/extern.s, ld-discard/start.s, ld-discard/static.s,
ld-sh/refdbg.s: Add leading 0 to .debug_info to prevent parsing it
for error messages.