OSDN Git Service
drow [Wed, 11 Dec 2002 02:04:43 +0000 (02:04 +0000)]
* config/pa/nm-hppah.h (CHILD_POST_FOLLOW_VFORK): Change to
CHILD_FOLLOW_FORK.
* hppah-nat.c (saved_vfork_pid): Add.
(child_post_follow_vfork): Remove.
(child_follow_fork): New function.
(child_wait): Call detach_breakpoints after receiving the child vfork.
Call child_resume directly instead of going through resume ().
Make sure we have the exec before reporting the vfork.
* inferior.h (follow_inferior_reset_breakpoints): Add prototype.
* infrun.c (follow_fork, follow_vfork, follow_inferior_fork): Remove.
(follow_fork): New function. Call target_follow_fork.
(follow_inferior_reset_breakpoints): New function broken out from
old follow_inferior_fork.
(resume): Remove hack to follow exec after vfork.
* inftarg.c (child_post_follow_vfork): Remove.
(child_follow_fork): New function.
(init_child_ops): Replace to_post_follow_vfork with to_follow_fork.
* target.c (cleanup_target): Replace to_post_follow_vfork with
to_follow_fork.
(update_current_target): Likewise.
(setup_target_debug): Likewise.
(debug_to_post_follow_vfork): Remove.
(debug_to_follow_fork): New function.
* target.h (struct target_ops): Replace to_post_folow_vfork with
to_follow_fork.
(child_post_follow_vfork): Remove prototype.
(child_follow_fork): Add prototype.
(target_post_follow_vfork): Remove macro.
(target_follow_fork): Add macro.
testsuite/
* gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
drow [Wed, 11 Dec 2002 02:02:02 +0000 (02:02 +0000)]
* hppah-nat.c (saved_child_execd_pathname, saved_vfork_state): New.
(child_post_follow_vfork): Cancel pending exec event if we follow
the parent.
(child_wait): Only return TARGET_WAITKIND_VFORKED when all necessary
events have been processed. Return a fake TARGET_WAITKIND_EXECD
event at the following wait call if necessary.
* infrun.c (follow_vfork): Don't follow_exec here.
(handle_inferior_event): Add comment to TARGET_WAITKIND_EXECD
case about HP/UX 10.20. Remove code pushed down to
hppah-nat.c:child_wait.
* infttrace.c (child_resume): Use TT_PROC_CONTINUE if
vfork_in_flight is set.
drow [Wed, 11 Dec 2002 01:25:19 +0000 (01:25 +0000)]
* hppah-nat.c (child_wait): Return TARGET_WAITKIND_IGNORE
for the parent's fork event.
* infrun.c (handle_inferior_event): Only expect one fork event.
Call prepare_to_wait for TARGET_WAITKIND_IGNORE. Update comment.
* target.h: Update comment for TARGET_WAITKIND_IGNORE.
gdbadmin [Wed, 11 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 10 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update
cagney [Tue, 10 Dec 2002 21:24:46 +0000 (21:24 +0000)]
2002-12-10 Andrew Cagney <
ac131313@redhat.com>
* PROBLEMS: Delete reference to PR gdb/725.
cagney [Tue, 10 Dec 2002 21:19:03 +0000 (21:19 +0000)]
2002-12-10 Andrew Cagney <
ac131313@redhat.com>
* MAINTAINERS (gdb.c++): Add David Carlton.
jjohnstn [Tue, 10 Dec 2002 19:46:46 +0000 (19:46 +0000)]
2002-12-10 Joel Sherrill <joel@OARcorp.com>
* libc/include/machine/setjmp.h: Make sure _JBLEN is defined
for i386-rtems targets.
nickc [Tue, 10 Dec 2002 17:55:00 +0000 (17:55 +0000)]
fix spelling typo
nickc [Tue, 10 Dec 2002 17:48:25 +0000 (17:48 +0000)]
Add support for displaying extension to DWARF2 used by Unified Parallel C
compiler.
corinna [Tue, 10 Dec 2002 16:36:36 +0000 (16:36 +0000)]
* net.cc (free_protoent_ptr): Add missing free() for base structure.
(free_servent_pt): Ditto.
(free_hostent_pt): Ditto.
nickc [Tue, 10 Dec 2002 16:15:25 +0000 (16:15 +0000)]
Allow an otherwise unrepresentable read-only section that lies after .text
and before .data to be written into the output file and included in a_text.
thorpej [Tue, 10 Dec 2002 15:54:22 +0000 (15:54 +0000)]
* lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets.
corinna [Tue, 10 Dec 2002 13:27:15 +0000 (13:27 +0000)]
* netdb.cc (parse_alias_list, parse_services_line)
(parse_protocol_line): Change strtok calls to strtok_r.
corinna [Tue, 10 Dec 2002 12:43:49 +0000 (12:43 +0000)]
2002-12-10 Pierre Humblet <pierre.humblet@ieee.org>
* pwdgrp.h (pwdgrp_check::pwdgrp_state): Replace by
pwdgrp_check::isinitializing ().
(pwdgrp_check::isinitializing): Create.
* passwd.cc (grab_int): Change type to unsigned, use strtoul and
set the pointer content to 0 if the field is invalid.
(parse_pwd): Move validity test after getting pw_gid.
(read_etc_passwd): Replace "passwd_state <= " by
passwd_state::isinitializing ().
(internal_getpwuid): Ditto.
(internal_getpwnam): Ditto.
(getpwent): Ditto.
(getpass): Ditto.
* grp.cc (parse_grp): Use strtoul for gr_gid and verify the validity.
(read_etc_group): Replace "group_state <= " by
group_state::isinitializing ().
(internal_getgrgid): Ditto.
(getgrent32): Ditto.
(internal_getgrent): Ditto.
2002-12-10 Pierre Humblet <pierre.humblet@ieee.org>
* security.h: Move declarations of internal_getgrent,
internal_getpwsid and internal_getgrsid to pwdgrp.h.
* pwdgrp.h: Declare internal_getpwsid, internal_getpwnam,
internal_getpwuid, internal_getgrsid, internal_getgrgid,
internal_getgrnam, internal_getgrent and internal_getgroups.
Delete "emulated" from enum pwdgrp_state.
(pwdgrp_check::isuninitialized): Create.
(pwdgrp_check::pwdgrp_state): Change state to initializing
rather than to uninitialized.
(pwdgrp_read::gets): Remove trailing CRs.
* passwd.cc (grab_string): Don't look for NLs.
(grab_int): Ditto.
(parse_pwd): Don't look for CRs. Return 0 if entry is too short.
(search_for): Delete.
(read_etc_passwd): Simplify tests to actually read the file.
Set state to loaded before making internal_getpwXX calls.
Replace search_for calls by equivalent internal_pwgetXX calls.
(internal_getpwsid): Use passwd_state.isuninitialized to decide
to call read_etc_passwd.
(internal_getpwuid): Create.
(internal_getpwnam): Create.
(getpwuid32): Simply call internal_getpwuid.
(getpwuid_r32): Call internal_getpwuid.
(getpwnam): Simply call internal_getpwnam.
(getpwnam_r): Call internal_getpwnam.
* grp.cc (parse_grp): Don't look for CRs. Adjust blank space.
(add_grp_line): Adjust blank space.
(class group_lock): Ditto.
(read_etc_group): Simplify tests to actually read the file.
Set state to loaded before making internal_getgrXX calls.
Replace getgrXX calls by equivalent internal calls.
(internal_getgrsid): Use group_state.isuninitialized to decide
to call read_etc_group.
(internal_getgrgid): Create.
(internal_getgrnam): Create.
(getgroups32): Simply call internal_getgrgid.
(getgrnam32): Simply call internal_getgrnam.
(internal_getgrent): Call group_state.isuninitialized.
(internal_getgroups): Create from the former getgroups32, using
two of the four arguments. Set gid to myself->gid and username
to cygheap->user.name ().
(getgroups32): Simply call internal_getgroup.
(getgroups): Call internal_getgroup instead of getgroups32.
(setgroups32): Call internal versions of get{pw,gr}XX.
* sec_helper.cc: Include pwdgrp.h.
(is_grp_member): Call internal versions of get{pw,gr}XX.
* security.cc: Include pwdgrp.h.
(alloc_sd): Call internal versions of get{pw,gr}XX.
* syscalls.cc: Include pwdgrp.h.
(seteuid32): Call internal versions of get{pw,gr}XX.
(setegid32): Ditto.
* uinfo.cc: Include pwdgrp.h.
(internal_getlogin): Call internal versions of get{pw,gr}XX.
(cygheap_user::ontherange): Ditto.
* sec_acl.cc: Include pwdgrp.h.
(setacl): Call internal versions of get{pw,gr}XX.
(acl_access): Ditto and simplify logic.
(aclfromtext): Ditto.
amodra [Tue, 10 Dec 2002 03:34:42 +0000 (03:34 +0000)]
* emultempl/elf32.em (struct orphan_save): Add os_tail field.
(gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement
list too.
aldyh [Tue, 10 Dec 2002 00:42:52 +0000 (00:42 +0000)]
2002-12-09 Aldy Hernandez <aldyh@redhat.com>
* gas/ppc/booke.d: Fix msync and mbar to reflect reality.
* gas/ppc/e500.d: Fix m[tf]pmr to reflect reality.
carlton [Tue, 10 Dec 2002 00:30:42 +0000 (00:30 +0000)]
2002-12-09 David Carlton <carlton@math.stanford.edu>
* cli/cli-setshow.c: #include <readline/tilde.h> after defs.h.
* cli/cli-cmds.c: Ditto.
gdbadmin [Tue, 10 Dec 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 9 Dec 2002 23:46:37 +0000 (23:46 +0000)]
daily update
cgf [Mon, 9 Dec 2002 23:08:59 +0000 (23:08 +0000)]
correct date
cgf [Mon, 9 Dec 2002 22:49:11 +0000 (22:49 +0000)]
* lib/pseudo-reloc.c: New file.
* lib/_cygwin_crt0_common.cc: Perform pseudo-relocs during initialization of
cygwin binary (.exe or .dll).
cagney [Mon, 9 Dec 2002 22:46:29 +0000 (22:46 +0000)]
* gdbarch.sh (gdbarch_dump): Wrap function addresses in <>.
cagney [Mon, 9 Dec 2002 22:22:39 +0000 (22:22 +0000)]
2002-12-09 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (gdbarch_dump): Print NAME_OF_MALLOC using %s.
* gdbarch.c: Re-generate.
carlton [Mon, 9 Dec 2002 20:48:07 +0000 (20:48 +0000)]
2002-12-09 David Carlton <carlton@math.stanford.edu>
* p-exp.y: Rename TRUE and FALSE to TRUEKEYWORD and FALSEKEYWORD.
carlton [Mon, 9 Dec 2002 19:48:59 +0000 (19:48 +0000)]
2002-12-09 David Carlton <carlton@math.stanford.edu>
* linespec.c (symtab_from_filename): New function.
(decode_line_1): Move code into symtab_from_filename.
kevinb [Mon, 9 Dec 2002 18:41:42 +0000 (18:41 +0000)]
* lin-lwp.c (strsignal): Make extern declaration match that of glibc.
cagney [Mon, 9 Dec 2002 03:30:43 +0000 (03:30 +0000)]
2002-12-07 Andrew Cagney <
ac131313@redhat.com>
* f-valprint.c (info_common_command): Use get_frame_pc.
* std-regs.c (value_of_builtin_frame_pc_reg): Ditto.
* ax-gdb.c (agent_command): Ditto.
* rs6000-tdep.c (rs6000_init_extra_frame_info): Ditto.
(rs6000_pop_frame): Ditto.
(rs6000_frameless_function_invocation): Ditto.
(rs6000_frame_saved_pc, frame_get_saved_regs): Ditto.
(frame_initial_stack_address, rs6000_frame_chain): Ditto.
* macroscope.c (default_macro_scope): Ditto.
* stack.c (print_frame_info_base): Ditto.
(print_frame, frame_info, print_frame_label_vars): Ditto.
(return_command, func_command, get_frame_language): Ditto.
* infcmd.c (finish_command): Ditto.
* dummy-frame.c (cached_find_dummy_frame): Ditto.
* breakpoint.c (deprecated_frame_in_dummy): Ditto.
(break_at_finish_at_depth_command_1): Ditto.
(break_at_finish_command_1): Ditto.
(until_break_command, get_catch_sals): Ditto.
* blockframe.c (func_frame_chain_valid): Ditto.
(frameless_look_for_prologue): Ditto.
(frame_address_in_block, generic_func_frame_chain_valid): Ditto.
cagney [Mon, 9 Dec 2002 02:44:51 +0000 (02:44 +0000)]
2002-12-08 Andrew Cagney <
ac131313@redhat.com>
* config/rs6000/tm-rs6000.h (init_frame_pc_noop): Add declaration.
* dwarf2cfi.c (cfi_init_frame_pc): Cast the PC to a pointer.
cagney [Mon, 9 Dec 2002 02:04:15 +0000 (02:04 +0000)]
2002-12-08 Andrew Cagney <
ac131313@redhat.com>
* gdbarch.sh (INIT_FRAME_PC_FIRST, INIT_FRAME_PC_DEFAULT): Convert
to pure functions.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.c (get_prev_frame): Explictly assign prev's pc with value
returned by INIT_FRAME_PC_FIRST and INIT_EXTRA_FRAME_INFO.
* arch-utils.h (init_frame_pc_default, init_frame_pc_noop): Change
declaration to a function returning a CORE_ADDR.
* x86-64-tdep.h (x86_64_init_frame_pc): Ditto.
* arch-utils.c (init_frame_pc_noop): Return the PC value.
(init_frame_pc_default): Ditto.
* x86-64-linux-tdep.c (x86_64_init_frame_pc): Ditto.
* s390-tdep.c (s390_init_frame_pc_first): Ditto.
* mips-tdep.c (mips_init_frame_pc_first): Ditto.
* dwarf2cfi.h (cfi_init_frame_pc): Ditto.
* dwarf2cfi.c (cfi_init_frame_pc): Ditto.
* alpha-tdep.c (alpha_init_frame_pc_first): Ditto.
* i386-interix-tdep.c (i386_interix_init_abi): Set init_frame_pc
to init_frame_pc_noop.
(i386_interix_init_frame_pc): Delete function.
* z8k-tdep.c (init_frame_pc): Delete function.
* config/z8k/tm-z8k.h (INIT_FRAME_PC): Define as init_frame_pc_noop.
(INIT_FRAME_PC_FIRST): Ditto.
* config/mn10200/tm-mn10200.h (INIT_FRAME_PC): Ditto.
(INIT_FRAME_PC_FIRST): Ditto.
* config/sparc/tm-sparc.h (INIT_FRAME_PC): Ditto.
* config/rs6000/tm-rs6000.h (INIT_FRAME_PC): Redefine as
init_frame_pc_noop.
(INIT_FRAME_PC_FIRST): Convert to an expression.
* config/sparc/tm-sparc.h (INIT_FRAME_PC_FIRST): Ditto.
dannysmith [Mon, 9 Dec 2002 01:51:27 +0000 (01:51 +0000)]
* include/shellapi.h (ExtractIconEx[AW]): Correct return type
to UINT.
cagney [Mon, 9 Dec 2002 01:40:24 +0000 (01:40 +0000)]
2002-12-08 Andrew Cagney <
ac131313@redhat.com>
* blockframe.c: Use get_frame_base instead of directly accessing
the `struct frame_info' member frame.
* f-valprint.c, std-regs.c, rs6000-tdep.c: Ditto.
* stack.c, dummy-frame.c, breakpoint.c: Ditto.
ezannoni [Mon, 9 Dec 2002 01:28:10 +0000 (01:28 +0000)]
2002-12-08 Elena Zannoni <ezannoni@redhat.com>
* Makefile.in (readline_h): Define.
(completer.o): Depend on readline_h.
(corelow.o): Ditto.
(event-top.o): Ditto.
(exec.o): Ditto.
(solib.o): Ditto.
(source.o): Ditto.
(symfile.o): Ditto.
(symmisc.o): Ditto.
(top.o): Ditto.
(tracepoint.o): Ditto.
(utils.o): Ditto.
(cli-dump.o): Ditto.
(tui-hooks.o): Ditto.
(tuiWin.o): Ditto.
ezannoni [Mon, 9 Dec 2002 00:59:26 +0000 (00:59 +0000)]
2002-12-08 Elena Zannoni <ezannoni@redhat.com>
More cleanup from import of readline 4.3.
* completer.h (complete_line, readline_line_completion_function):
Update prototypes.
(line_completion_function): Removed, not used outside of completer.c.
* completer.c (readline_line_completion_function,
complete_function, line_completion_function): Use const for first
parameter.
(line_completion_function): Make static.
(filename_completer): filename_completion_function is now called
rl_filename_completion_function
* corelow.c: Include <readline/readline.h>.
* exec.c: Ditto.
* solib.c: Ditto.
* source.c: Ditto.
* symfile.c: Ditto.
* symmisc.c: Ditto.
* top.c (init_main): No need to coerce
readline_line_completion_function anymore.
* cli/cli-dump.c: Include <readline/readline.h>.
cagney [Mon, 9 Dec 2002 00:32:08 +0000 (00:32 +0000)]
2002-12-08 Andrew Cagney <
ac131313@redhat.com>
* stack.c (frame_info): Use get_prev_frame.
* blockframe.c (frame_address_in_block): Ditto.
* rs6000-tdep.c (rs6000_init_extra_frame_info): Ditto.
(rs6000_frameless_function_invocation): Ditto.
(rs6000_frame_saved_pc): Ditto.
(rs6000_frame_chain): Ditto.
* arch-utils.c (init_frame_pc_default): Ditto.
gdbadmin [Mon, 9 Dec 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 8 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update
dj [Sun, 8 Dec 2002 22:39:43 +0000 (22:39 +0000)]
* Makefile.tpl (all-sim): Depend on maybe-configure-gdb.
* Makefile.in (all-sim): Ditto.
cagney [Sun, 8 Dec 2002 22:39:08 +0000 (22:39 +0000)]
2002-12-08 Andrew Cagney <
ac131313@redhat.com>
* config/mn10200/tm-mn10200.h (DEPRECATED_PC_IN_CALL_DUMMY):
Delete redundant definition.
ezannoni [Sun, 8 Dec 2002 22:31:36 +0000 (22:31 +0000)]
Import of readline 4.3.
Non-readline modified files:
src/gdb/ChangeLog src/gdb/defs.h src/gdb/cli/cli-cmds.c
src/gdb/cli/cli-setshow.c src/gdb/tui/ChangeLog
src/gdb/tui/tuiWin.c
In readline directory:
* compat.c, mbutil.c, misc.c, rlmbutil.h, rltypedefs.h,
text.c, doc/history.0, doc/history.3, support/wcwidth.c,
examples/readlinebuf.h, examples/rlcat.c: New files.
* CHANGELOG, CHANGES, INSTALL, MANIFEST, Makefile.in, README,
aclocal.m4, ansi_stdlib.h, bind.c, callback.c, chardefs.h,
complete.c, config.h.in, configure, configure.in, display.c,
emacs_keymap.c, funmap.c, histexpand.c, histfile.c, histlib.h,
history.c, history.h, histsearch.c, input.c, isearch.c,
keymaps.c, keymaps.h, kill.c, macro.c, nls.c, parens.c,
posixdir.h, readline.c, readline.h, rlconf.h, rldefs.h,
rlprivate.h, rlshell.h, rlstdc.h, rltty.c, savestring.c,
search.c, shell.c, signals.c, terminal.c, tilde.c, tilde.h,
undo.c, util.c, vi_keymap.c, vi_mode.c, xmalloc.c, xmalloc.h,
doc/Makefile.in, doc/hist.texinfo, doc/hstech.texinfo,
doc/hsuser.texinfo, doc/manvers.texinfo, doc/readline.3,
doc/rlman.texinfo, doc/rltech.texinfo, doc/rluser.texinfo
doc/rluserman.texinfo, doc/texi2dvi, doc/texi2html,
shlib/Makefile.in, support/install.sh, support/mkdirs,
support/mkdist, support/shlib-install, support/shobj-conf,
examples/Inputrc, examples/Makefile.in, examples/fileman.c,
examples/histexamp.c, examples/manexamp.c, examples/rl.c,
examples/rlfe.c, examples/rltest.c, examples/rlversion.c:
Modified files.
hjl [Sun, 8 Dec 2002 21:25:38 +0000 (21:25 +0000)]
2002-12-08 H.J. Lu <hjl@gnu.org>
* config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack
copied from tc-i386.c.
ciceron [Sun, 8 Dec 2002 21:23:42 +0000 (21:23 +0000)]
* gas/m68hc11/m68hc11.exp (gas_m68hc11_error): New function;
(gas_m68hc11_warning): New function.
(gas_m68hc11_message): New function.
(top): New tests for assembler errors.
(gas_m68hc11_opcode_list): New function.
(top): New tests for opcode list.
ezannoni [Sun, 8 Dec 2002 21:11:19 +0000 (21:11 +0000)]
Fix date...
ezannoni [Sun, 8 Dec 2002 21:10:28 +0000 (21:10 +0000)]
2002-12-06 Elena Zannoni <ezannoni@redhat.com>
* Makefile.in (thread-db.o): Add explicit rule to ignore the use of
-Werror on this file.
ciceron [Sun, 8 Dec 2002 21:08:07 +0000 (21:08 +0000)]
* gas/m68hc11/bug-1825.s: Add some tests.
* gas/m68hc11/bug-1825.d: Update.
* gas/m68hc11/opers12.d: Update.
* gas/m68hc11/opers12-dwarf2.d: Update.
ciceron [Sun, 8 Dec 2002 20:53:19 +0000 (20:53 +0000)]
* m68hc11-dis.c (print_indexed_operand): Fix PC-relative address
for 9 and 16-bit PC-relative addressing mode.
cagney [Sun, 8 Dec 2002 20:48:15 +0000 (20:48 +0000)]
2002-12-07 Andrew Cagney <
ac131313@redhat.com>
* gdbarch.sh (TARGET_FLOAT_FORMAT): Use the macro when printing
the format name.
(TARGET_DOUBLE_FORMAT, TARGET_LONG_DOUBLE_FORMAT): Ditto.
* gdbarch.c: Regenerate.
ciceron [Sun, 8 Dec 2002 20:47:20 +0000 (20:47 +0000)]
* config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code.
(md_relax_table): Define specific relax for PC-rel offsets.
(build_indexed_byte): Use a STATE_INDEXED_PCREL relax code.
(m68hc11_relax_frag): Handle the new relax code.
(md_convert_frag): Likewise.
(md_estimate_size_before_relax): Likewise.
amodra [Sun, 8 Dec 2002 03:56:04 +0000 (03:56 +0000)]
* ldlang.h: Formatting.
amodra [Sun, 8 Dec 2002 03:47:56 +0000 (03:47 +0000)]
* subsegs.c (section_symbol): Use the symbol, not the section, name.
amodra [Sun, 8 Dec 2002 03:38:03 +0000 (03:38 +0000)]
* NEWS: Mention that bfd no longer declares a "boolean" type.
amodra [Sun, 8 Dec 2002 03:34:37 +0000 (03:34 +0000)]
* bfd-in.h: Comment typo fix. Formatting.
* bfd-in2.h: Regenerate.
* coff64-rs6000.c (xcoff64_openr_next_archived_file): Warning fix.
* elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): Prototype.
* elf64-mmix.c (mmix_dump_bpo_gregs): Warning fix.
dannysmith [Sun, 8 Dec 2002 01:46:41 +0000 (01:46 +0000)]
* mingwex/math/s_erf.c: New file.
* mingwex/math/sf_erf.c: New file.
* mingwex/Makefile.in (MATH_DISTFILES): Add new files.
(MATH_OBJS): Add new objects.
* include/math.h (erf[f]): Add prototypes.
(erfc[f]): Add prototypes.
gdbadmin [Sun, 8 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 7 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update
amodra [Sat, 7 Dec 2002 12:49:54 +0000 (12:49 +0000)]
* readelf.c (process_program_headers): When setting loadaddr, don't
assume segment size is 4k. Use p_align instead.
(loadaddr): Change from int to long.
(dynamic_addr, dynamic_info, version_info): Likewise.
(process_dynamic_segment <syminsz>): Likewise.
(process_dynamic_segment): Adjust print format string.
(rela_addr, rela_size): Delete.
(process_relocs): Formatting.
dannysmith [Sat, 7 Dec 2002 08:58:49 +0000 (08:58 +0000)]
* include/math.h: Add traditional/XOPEN math constants.
Add missing ChangeLog entry for 2002-11-27
dannysmith [Sat, 7 Dec 2002 07:23:40 +0000 (07:23 +0000)]
* include/winuser.h (AllowSetForegroundWindow,
LockSetForegroundWindow) Add prototypes.
(ASFW_ANY, LSFW_LOCK, LSFW_UNLOCK) Add defines.
Thanks to: Pat Thoyts <patthoyts@users.sourceforge.net>
* lib/winuser.def (AllowSetForegroundWindow,
LockSetForegroundWindow): Add stubs.
cgf [Sat, 7 Dec 2002 04:49:59 +0000 (04:49 +0000)]
fix date
ezannoni [Sat, 7 Dec 2002 03:36:46 +0000 (03:36 +0000)]
2002-12-06 Elena Zannoni <ezannoni@redhat.com>
* tuiStack.c (tuiShowFrameInfo): Fix typo.
gdbadmin [Sat, 7 Dec 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 6 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update
amodra [Fri, 6 Dec 2002 22:33:18 +0000 (22:33 +0000)]
* ldlang.c (init_os): Ensure sections mentioned in load_base
are initialized.
dj [Fri, 6 Dec 2002 20:11:59 +0000 (20:11 +0000)]
* Makefile.tpl: Change configure dependencies to not have real
targets depend on phony targets.
cgf [Fri, 6 Dec 2002 19:48:02 +0000 (19:48 +0000)]
* cygwin.din: Reflect name change from strtodf to strtof. Export strtof.
* include/cygwin/version.h: Bump API minor number.
cagney [Fri, 6 Dec 2002 19:26:02 +0000 (19:26 +0000)]
2002-12-06 Andrew Cagney <
ac131313@redhat.com>
* gdbarch.sh (DEPRECATED_INIT_FRAME_PC_FIRST): Rename
INIT_FRAME_PC_FIRST. Change to a function with predicate. Do not
provide a default value.
* gdbarch.h, gdbarch.c: Regenerate.
* frame.c (get_prev_frame): Update. Check
DEPRECATED_INIT_FRAME_PC_FIRST_P.
* s390-tdep.c (s390_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* config/sparc/tm-sparc.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
carlton [Fri, 6 Dec 2002 19:21:50 +0000 (19:21 +0000)]
2002-12-06 David Carlton <carlton@math.stanford.edu>
* gdb.base/store.c: Don't declare functions static.
jjohnstn [Fri, 6 Dec 2002 18:58:50 +0000 (18:58 +0000)]
2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdlib.h (strtof): New prototype (from C99).
(strtodf): Changed from prototype to macro which redefines
to strtof.
* libc/stdlib/atof.c: Change documentation to refer to strtof
instead of strtodf.
* libc/stdlib/atoff.c (atoff): Change to call strtof instead of
strtodf.
* libc/stdlib/strtod.c (strtodf): Renamed to strtof.
(strtof): New function.
* libm/test/convert.c (test_strtodf): Renamed to test_strtof which
calls strtof.
ezannoni [Fri, 6 Dec 2002 18:38:43 +0000 (18:38 +0000)]
2002-12-06 Elena Zannoni <ezannoni@redhat.com>
* ia64-linux-nat.c: Include gdb_string.h.
* alpha-nat.c: Ditto.
* ppc-linux-nat.c: Ditto.
* Makefile.in (ia64-linux-nat.o, alpha-nat.o, ppc-linux-nat.o):
Update dependencies.
ezannoni [Fri, 6 Dec 2002 16:59:05 +0000 (16:59 +0000)]
2002-12-06 Elena Zannoni <ezannoni@redhat.com>
* ia64-linux-nat.c: Include gdb_string.h.
* alpha-nat.c: Ditto.
* ia64-linux-nat.c: Ditto.
cagney [Fri, 6 Dec 2002 16:26:39 +0000 (16:26 +0000)]
2002-12-06 Andrew Cagney <
ac131313@redhat.com>
* generic/gdbtk-cmds.c (gdb_update_mem): Don't add a 0x prefix.
cagney [Fri, 6 Dec 2002 07:35:54 +0000 (07:35 +0000)]
2002-12-05 Andrew Cagney <
ac131313@redhat.com>
* gdbthread.h: Include "frame.h".
(struct thread_info): Replace step_frame_address with
step_frame_id.
* inferior.h: Include "frame.h".
(step_frame_id): Replace external variable step_frame_address.
* gdbthread.h (save_infrun_state): Replace step_frame_address
parameter with step_frame_id parameter.
(load_infrun_state): Ditto.
* Makefile.in (gdbthread_h, inferior_h): Add $(frame_h).
* infcmd.c (step_frame_id, step_1, step_once): Update.
* thread.c (load_infrun_state, save_infrun_state): Update.
* infrun.c (clear_proceed_status, save_inferior_status): Update.
(handle_inferior_event, step_over_function): Update.
(normal_stop, context_switch, restore_inferior_status): Update.
(struct inferior_status): Replace step_frame_address with
step_frame_id.
dannysmith [Fri, 6 Dec 2002 04:13:31 +0000 (04:13 +0000)]
2002-12-06 Ken Fitlike <kenfitlike@users.sourceforge.net>
* include/commctrl.h (TN_GETDISPINFO[AW]): Add defines and
UNICODE mappings.
(tagNMTTDISPINFO[AW]): Replace obsolete struct names
tagTOOLTIPTEXT[AW] and typedefs. Add defines for backward
compatability. Add lParam field. Add UNICODE mappings for new
names.
rth [Fri, 6 Dec 2002 01:48:24 +0000 (01:48 +0000)]
* elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21BI.
Only send PCREL21B though the plt. Fix installed reloc type.
(elfNN_ia64_relocate_section): Give error for dynamic reloc
against PCREL22 or PCREL64I; clean up error messages for
branch relocs.
gdbadmin [Fri, 6 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
aldyh [Thu, 5 Dec 2002 23:48:23 +0000 (23:48 +0000)]
2002-12-05 Aldy Hernandez <aldyh@redhat.com>
* ppc-opc.c: Delete evsabs, evsnabs, evsneg, evsadd, evssub,
evsmul, evsdiv, evscmpgt, evsgmplt, evststgt, evtstlt, evststeq,
evscfui, evscfsi, evscfuf, evscfsf, evsctui, evsctuiz, evsctsi,
evsctsiz, evsctuf, evsctsf, evmwhssfaa, evmwhssmaa, evmwhsmfaa,
evmwhsmiaa, evmwhusiaa, evmwhumiaa, evmwhssfan, evmwhssian,
evmwhsmfan, evmwhsmian, evmwhusian, evmwhumian, evmwhgssfaa,
evmwhgsmfaa, evmwhgsmiaa, evmwhgumiaa, evmwhgssfan, evmwhgsmfan,
evmwhgsmian, evmwhgumian.
(mftb): Add to opcode table.
(mtspefscr): Change RT to RS in opcode table.
rth [Thu, 5 Dec 2002 23:20:38 +0000 (23:20 +0000)]
* config/ia64.c (enum reloc_func): Add FUNC_LT_RELATIVE_X.
(ia64_gen_real_reloc_type): Handle it.
(pseudo_func): Add @ltoffx.
(md_begin): Build .<ltoffx>.
(ia64_force_relocation): True for LTOFF22X and LDXMOV.
* gas/ia64/ltoff22x-1.[ds]: New.
* gas/ia64/ia64.exp: Run it.
carlton [Thu, 5 Dec 2002 23:13:46 +0000 (23:13 +0000)]
2002-12-05 David Carlton <carlton@math.stanford.edu>
* dwarf2read.c (dwarf2_add_field): Treat a field that is a
DW_TAG_member as well as a declaration as being a C++ static data
member.
(read_structure_scope): Combine tests for DW_TAG_member and
DW_TAG_variable.
aldyh [Thu, 5 Dec 2002 23:06:48 +0000 (23:06 +0000)]
* ppc-opc.c: Move mbar and msync up. Change mask for mbar and
msync.
amodra [Thu, 5 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update
neroden [Thu, 5 Dec 2002 22:45:33 +0000 (22:45 +0000)]
* configure.in: Revert unintentional change.
neroden [Thu, 5 Dec 2002 22:43:12 +0000 (22:43 +0000)]
* src-release: Configure host subdirs.
carlton [Thu, 5 Dec 2002 22:25:48 +0000 (22:25 +0000)]
2002-12-05 David Carlton <carlton@math.stanford.edu>
* linespec.c (decode_compound): New function.
(decode_line_1): Move code into decode_compound.
carlton [Thu, 5 Dec 2002 21:26:56 +0000 (21:26 +0000)]
2002-12-05 David Carlton <carlton@math.stanford.edu>
* symtab.c (lookup_symbol_aux_local): Add 'static_block'
argument.
(lookup_symbol_aux): Do the 'field_of_this' check before checking
the static block. See PR gdb/804.
carlton [Thu, 5 Dec 2002 21:07:48 +0000 (21:07 +0000)]
2002-12-05 David Carlton <carlton@math.stanford.edu>
* symtab.c (lookup_symbol_aux_block): New function.
(lookup_symbol_aux_local): Move code into lookup_symbol_aux_block.
neroden [Thu, 5 Dec 2002 18:34:48 +0000 (18:34 +0000)]
2002-12-05 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Change dependency for */multilib.out so that
it works when gcc isn't in the tree.
* configure.in: Substitute more.
* configure: Run subconfigures from the Makefile.
* Makefile.tpl: Run subconfigures from the Makefile; add a few
convenience targets. Make sure gcc isn't rebuilt after bootstrap.
wilson [Thu, 5 Dec 2002 18:33:26 +0000 (18:33 +0000)]
Fix IA-64 opc-d.x gas testsuite failure.
binutils/ChangeLog
* configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
* configure: Regenerate.
gas/testsuite/ChangeLog
* gas/ia64/opc-x.d: Regenerate.
hunt [Thu, 5 Dec 2002 18:32:09 +0000 (18:32 +0000)]
2002-12-05 Martin M. Hunt <hunt@redhat.com>
* library/regwin.itb (update): Revert previous patch to this
function. But also don't tag blank cells.
(_but3): Fix help call.
cgf [Thu, 5 Dec 2002 16:24:52 +0000 (16:24 +0000)]
* fhandler.h (fhandler_termios::line_edit): Change return from an int to an
enum to allow the function to return an error.
* fhandler_console.cc (fhandler_console::read): Update the line_edit call to
use the new enum.
* fhandler_termios.cc (fhandler_termios::line_edit): Change return from an int
to an enum to allow the function to return an error. Put put_readahead call
before doecho for future patch.
* fhandler_tty.cc (fhandler_pty_master::write): Change to call line_edit one
character at a time, and stop if an error occurs.
cagney [Thu, 5 Dec 2002 15:19:45 +0000 (15:19 +0000)]
2002-12-05 Andrew Cagney <
ac131313@redhat.com>
* gdbarch.sh: Dump the predicate function and macro values.
(read): Print error on standard error.
* gdbarch.c: Regenerate.
amodra [Thu, 5 Dec 2002 11:47:15 +0000 (11:47 +0000)]
* gas/arm/adrl.s: Pad end of .text.
* gas/arm/adrl.d: Adjust to suit.
amodra [Thu, 5 Dec 2002 11:46:48 +0000 (11:46 +0000)]
* config/tc-arm.c (arm_force_relocation): Move out of #if OBJ_ELF.
Move OBJ_COFF TC_FORCE_RELOCATION code here so that COFF handles
ARM_IMMEDIATE and ARM_ADRL_IMMEDIATE relocs as for ELF.
* config/tc-arm.h (TC_FORCE_RELOCATION): Define for both ELF and
COFF to call arm_force_relocation.
kevinb [Thu, 5 Dec 2002 05:17:38 +0000 (05:17 +0000)]
Create new file mips-tdep.h.
kevinb [Thu, 5 Dec 2002 05:03:59 +0000 (05:03 +0000)]
Add n64 core file support for Linux/MIPS.
wilson [Thu, 5 Dec 2002 02:08:00 +0000 (02:08 +0000)]
Patch to update IA-64 port to SDM 2.1.
bfd/ChangeLog
* cpu-ia64-opc.c: Add operand constant "ar.csd".
gas/ChangeLog
* config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint"
instruction.
(emit_one_bundle): Handle "hint" instruction.
(operand_match): Match IA64_OPND_AR_CSD.
gas/testsuite/ChangeLog
* gas/ia64/opc-b.d: Update for instructions added by SDM2.1.
* gas/ia64/opc-b.s: Ditto.
* gas/ia64/opc-f.d: Ditto.
* gas/ia64/opc-f.s: Ditto.
* gas/ia64/opc-i.d: Ditto.
* gas/ia64/opc-i.s: Ditto.
* gas/ia64/opc-m.d: Ditto.
* gas/ia64/opc-m.s: Ditto.
* gas/ia64/opc-x.d: Ditto.
* gas/ia64/opc-x.s: Ditto.
include/opcode/ChangeLog
* ia64.h: Fix copyright message.
(IA64_OPND_AR_CSD): New operand kind.
opcodes/ChangeLog
* ia64-opc-d.c (ia64_opcodes_d): Add "hint" instruction.
* ia64-opc-b.c: Add "hint.b" instruction.
* ia64-opc-f.c: Add "hint.f" instruction.
* ia64-opc-i.c: Add "hint.i" instruction.
* ia64-opc-m.c: Add "hint.m", "fc.i", "ld16", "st16", and
"cmp8xchg16" instructions.
* ia64-opc-x.c: Add "hint.x" instruction.
* ia64-opc.h (AR_CSD): New macro.
* ia64-ic.tbl: Update according to SDM2.1.
* ia64-raw.tbl: Ditto.
* ia64-waw.tbl: Ditto.
* ia64-gen.c (in_iclass): Handle "hint" like "nop".
(lookup_regindex): Recognize AR[FCR], AR[EFLAG], AR[CSD],
AR[SSD], AR[CFLG], AR[FSR], AR[FIR], and AR[FDR].
* ia64-asmtab.c: Regenerate.
cagney [Thu, 5 Dec 2002 01:48:18 +0000 (01:48 +0000)]
2002-12-04 Andrew Cagney <
ac131313@redhat.com>
* gdb.base/store.exp, gdb.base/store.c: New files.
gdbadmin [Thu, 5 Dec 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
hjl [Wed, 4 Dec 2002 23:59:27 +0000 (23:59 +0000)]
2002-12-04 H.J. Lu <hjl@gnu.org>
* elfxx-ia64.c (get_local_sym_hash): Use section ID instead of
BFD address when constructing local name.
amodra [Wed, 4 Dec 2002 23:56:13 +0000 (23:56 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set
load_base for orphans that follow a section with load_base set.
amodra [Wed, 4 Dec 2002 23:00:33 +0000 (23:00 +0000)]
daily update