OSDN Git Service
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.
kettenis [Sun, 13 Apr 2003 13:33:49 +0000 (13:33 +0000)]
* x86-64-tdep.c (gdb_print_insn_x86_64): Removed.
kettenis [Sun, 13 Apr 2003 12:32:01 +0000 (12:32 +0000)]
* x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed.
nickc [Sun, 13 Apr 2003 08:54:06 +0000 (08:54 +0000)]
Only call XScale_check_memacc if in XScale mode.
cagney [Sun, 13 Apr 2003 00:10:21 +0000 (00:10 +0000)]
2003-04-12 Andrew Cagney <cagney@redhat.com>
* frame.h (struct frame_info): Move definition from here ...
* frame.c (struct frame_info): ... to here.
gdbadmin [Sun, 13 Apr 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 13 Apr 2003 00:00:04 +0000 (00:00 +0000)]
daily update
cagney [Sat, 12 Apr 2003 17:48:54 +0000 (17:48 +0000)]
2003-04-12 Andrew Cagney <cagney@redhat.com>
* gdbthread.h (save_infrun_state): Delete parameter
"prev_func_start".
(struct thread_info): Delete field "prev_func_start".
(load_infrun_state): Ditto.
* thread.c (load_infrun_state, save_infrun_state): Update.
* infrun.c (prev_func_start): Delete variable.
(context_switch, init_wait_for_inferior): Update.
(stop_stepping, keep_going): Update.
cagney [Sat, 12 Apr 2003 17:41:23 +0000 (17:41 +0000)]
2003-04-12 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh: Add missing opaque declarations.
* gdbarch.h: Regnerate.
* symtab.h: Add missing opaque declarations.
* value.h, target.h, symfile.h, stabsread.h: Ditto.
* x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto.
* srec.h, solib-svr4.h, source.h, inferior.h: Ditto.
* ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto.
* ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto.
* buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto.
* i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto.
* dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto.
* cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto.
* ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto.
* config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto.
* config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto.
* cli/cli-setshow.h, cli/cli-script.h: Ditto.
aoliva [Sat, 12 Apr 2003 08:50:28 +0000 (08:50 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Adjust two other
occurrences of the same test changed in the previous patch.
Optimize.
cagney [Sat, 12 Apr 2003 04:27:28 +0000 (04:27 +0000)]
2003-04-11 Andrew Cagney <cagney@redhat.com>
* frame.c (get_frame_id): Return this frame's "id".
(legacy_get_prev_frame): Set prev's frame ID code_addr to the
function start.
(legacy_saved_regs_this_id): Replace function body with
internal-error.
(deprecated_frame_xmalloc): Mark the frame ID as valid, use
FRAME_OBSTACK_ZALLOC.
(create_new_frame): Mark the frame ID as valid.
aoliva [Sat, 12 Apr 2003 00:31:42 +0000 (00:31 +0000)]
* elfxx-mips.c (mips_elf_get_global_gotsym_index): New.
(mips_elf_calculate_relocation): Decay GOT_PAGE/GOT_OFST to
GOT_DISP/addend only if the symbol got a global GOT entry.
aoliva [Sat, 12 Apr 2003 00:31:28 +0000 (00:31 +0000)]
* Makefile.in (libbfd_h): Added missing setting.
* mips-tdep.c (mips_gdbarch_init): Set disassembler_options
according to the selected ABI.
amodra [Sat, 12 Apr 2003 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 12 Apr 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Fri, 11 Apr 2003 21:48:39 +0000 (21:48 +0000)]
* Makefile.common (w32api_lib): Fix w32api detection.
jjohnstn [Fri, 11 Apr 2003 20:56:39 +0000 (20:56 +0000)]
2003-04-11 Jeff Johnston <jjohnstn@redhat.com>
* gdb_indent.sh: Recognize pid_t and sigset_t as types.
jimb [Fri, 11 Apr 2003 19:57:32 +0000 (19:57 +0000)]
* gdb.c++/derivation.exp, gdb.c++/overload.exp,
gdb.c++/userdef.cc: Place comments on the lines to which the
marker function might return.
* gdb.c++/derivation.exp, gdb.c++/overload.exp,
gdb.c++/userdef.exp: Look for those comments to check that we've
returned to the right place, instead of checking line numbers.
cagney [Fri, 11 Apr 2003 18:15:38 +0000 (18:15 +0000)]
2003-04-11 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate
SAVED_PC_AFTER_CALL.
* gdbarch.h, gdbarch.c: Regenerate.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
(ia64_saved_pc_after_call): Update declaration.
* i386ly-tdep.c (i386lynx_init_abi): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
* ns32knbsd-nat.c (frame_num_args): Update.
* ns32k-tdep.c (umax_frame_num_args): Update.
* mips-tdep.c (mips_init_frame_pc_first): Update.
* infrun.c (step_over_function): Update.
* i386-linux-tdep.c (skip_hurd_resolver): Update.
* i386-interix-tdep.c (i386_interix_back_one_frame): Update.
* config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
(DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
* arm-linux-tdep.c (skip_hurd_resolver): Update.
* arch-utils.c (init_frame_pc_default): Update.
* alpha-tdep.c (alpha_init_frame_pc_first): Update.
* x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update
declaration.
cagney [Fri, 11 Apr 2003 17:40:22 +0000 (17:40 +0000)]
2003-04-11 Andrew Cagney <cagney@redhat.com>
* generic/gdbtk-stack.c (get_frame_name): Use get_frame_pc and
get_next_frame.
cagney [Fri, 11 Apr 2003 14:56:39 +0000 (14:56 +0000)]
2003-04-11 Andrew Cagney <cagney@redhat.com>
* i387-tdep.c: Update copyright.
(i387_to_double): Delete function.
(double_to_i387): Delete function.
ezannoni [Fri, 11 Apr 2003 13:55:31 +0000 (13:55 +0000)]
2003-04-11 Elena Zannoni <ezannoni@redhat.com>
* gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
match on sourcefile name, instead of directory name.
earnie [Fri, 11 Apr 2003 12:35:51 +0000 (12:35 +0000)]
* configure.in (LIBM_A): Define for cygwin target.
* configure (LIBM_A): Ditto.
earnie [Fri, 11 Apr 2003 12:27:39 +0000 (12:27 +0000)]
* include/sspi.h: Add comment for FreeCredentialsHandle.
corinna [Fri, 11 Apr 2003 09:38:05 +0000 (09:38 +0000)]
* security.cc (get_info_from_sd): New function.
(get_nt_attribute): Only call read_sd and get_info_from_sd.
Return void.
(get_file_attribute): Move sd error handling to get_info_from_sd.
and symlink handling to fhandler_disk_file::fstat_helper.
(get_nt_object_attribute): Only call read_sd and get_info_from_sd.
Return void.
(get_object_attribute): Remove symlink handling and simply return -1
when ntsec is off.
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): For
symlinks set the attribute, call get_file_attribute to get the ids
and return. In the normal case call get_file_attribute with the
addresses of the buffer ids and do not recheck if the file is a socket.
aoliva [Fri, 11 Apr 2003 03:58:38 +0000 (03:58 +0000)]
* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*.
* */configure: Rebuilt.
cagney [Fri, 11 Apr 2003 03:12:57 +0000 (03:12 +0000)]
2003-04-10 Andrew Cagney <cagney@redhat.com>
* d10v-tdep.c (d10v_frame_this_id): Set the code addr to the
frame's function's address. Simplify.
(d10v_frame_unwind_cache): Check that the frame's function is
non-zero.
cgf [Fri, 11 Apr 2003 02:16:17 +0000 (02:16 +0000)]
* cygthread.cc (cygthread::stub): Initialize stack pointer earlier.
(cygthread::simplestub): Initialize stack pointer.
(cygthread::terminate_thread): Account for possibility that stack pointer has
not been set. Issue warnings for unusual conditions.
aoliva [Fri, 11 Apr 2003 01:56:51 +0000 (01:56 +0000)]
* gas/mips/elf-rel-got-n32.d, gas/mips/elf-rel-got-n32.s,
gas/mips/elf-rel-got-n64.d, gas/mips/elf-rel-got-n64.s,
gas/mips/elf-rel-xgot-n32.d, gas/mips/elf-rel-xgot-n64.d: New.
* gas/mips/mips.exp: Test them.
aoliva [Fri, 11 Apr 2003 01:56:48 +0000 (01:56 +0000)]
* ld-mips-elf/elf-rel-got-n32.d,
ld-mips-elf/elf-rel-got-n64.d, ld-mips-elf/elf-rel-xgot-n32.d,
ld-mips-elf/elf-rel-xgot-n64.d: New.
* ld-mips-elf/mips-elf.exp (hasn32): Define as condition for
new tests to run.
aoliva [Fri, 11 Apr 2003 01:56:48 +0000 (01:56 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Decay
GOT_PAGE/GOT_OFST referencing overridable symbol to
GOT_DISP/addend.
(_bfd_mips_elf_check_relocs): Handle GOT_PAGE referencing
global symbol as GOT_DISP.
aoliva [Fri, 11 Apr 2003 01:56:48 +0000 (01:56 +0000)]
* config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
* config/tc-mips.c: Use signed add for n32 address arithmetic.
(append_insn): When filling delay slots with instructions
that have fixups that tc_gen_reloc might consider modifyable
in variant frags, start a new frag.
(load_address): Generate GOT_DISP with of without offset
depending on whether symbol is local. For -xgot, use
GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16.
(macro) <M_DLA_AB, M_LA_AB>: Likewise.
<M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got,
CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got.
<ld_st>: In NewABI with small got, always use
GOT_PAGE/GOT_OFST, with the latter in the load/store
instruction. With big got, use GOT_HI16/GOT_LO16 or
GOT_PAGE/GOT_OFST.
(tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI.
Add tc_frag_data.tc_fr_offset to addends. Decay CALL16,
GOT_OFST and GOT_DISP to GOT_DISP in NewABI.
(md_convert_frag): Use memmove for safe copying of overlapping
regions.
amodra [Fri, 11 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 11 Apr 2003 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
joshuadfranklin [Thu, 10 Apr 2003 23:27:13 +0000 (23:27 +0000)]
Pierre's update for mkgroup/mkpasswd
jimb [Thu, 10 Apr 2003 22:40:38 +0000 (22:40 +0000)]
* s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted
call to set_gdbarch_deprecated_push_arguments.
kevinb [Thu, 10 Apr 2003 20:35:54 +0000 (20:35 +0000)]
Add support for the MIPS "fir" register. Fix support for the MIPS "fsr"
register.
davidsb [Thu, 10 Apr 2003 20:09:35 +0000 (20:09 +0000)]
Setup updates. More about installing everything, not using setup to mirror.
jjohnstn [Thu, 10 Apr 2003 20:07:57 +0000 (20:07 +0000)]
2003-04-09 Chris Demetriou <cgd@broadcom.com>
* mips/cfe.c (_flush_cache): New function.
corinna [Thu, 10 Apr 2003 19:49:28 +0000 (19:49 +0000)]
* regex/regex.h: Define regoff_t as _off_t.
* regex/regex2.h: Ditto.
bwilson [Thu, 10 Apr 2003 19:19:01 +0000 (19:19 +0000)]
* elf32-xtensa.c (elf_xtensa_relocate_section): Don't continue to the
next relocation on an undefined symbol.
cagney [Thu, 10 Apr 2003 15:32:26 +0000 (15:32 +0000)]
2003-04-10 Andrew Cagney <cagney@redhat.com>
* frame.c (fprint_frame_id): New function.
(fprint_frame_type, fprint_frame): New function.
(frame_pc_unwind, frame_func_unwind): Add/update trace code.
(create_sentinel_frame, get_frame_id): Ditto.
(frame_id_p, frame_id_eq): Ditto.
(frame_id_inner, create_new_frame): Ditto.
(legacy_get_prev_frame, get_prev_frame): Ditto.
(deprecated_update_frame_pc_hack): Ditto.
(frame_register_unwind): Ditto.
(deprecated_update_frame_base_hack): Ditto.
ezannoni [Thu, 10 Apr 2003 13:38:15 +0000 (13:38 +0000)]
2003-04-10 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/completion.exp: Use string_to_regexp to match the
working directory name.
corinna [Thu, 10 Apr 2003 13:15:49 +0000 (13:15 +0000)]
* i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function.
(i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new
frame_chain function.
* Makefile.in: Add dependencies due to above change.
corinna [Thu, 10 Apr 2003 11:12:29 +0000 (11:12 +0000)]
* blockframe.c (legacy_frame_chain_valid): Move call to
DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and
inside_entry_file.
corinna [Thu, 10 Apr 2003 08:22:40 +0000 (08:22 +0000)]
* cygwin.din: Export wcscoll, wcswidth and wcwidth.
* include/cygwin/version.h: Bump API minor number.
cgf [Thu, 10 Apr 2003 05:27:33 +0000 (05:27 +0000)]
* cygthread.h: Change 'avail' cygthread element to 'inuse' throughout.
* cygthread.cc: Ditto.
(cygthread::stub): Don't initialize already initialized events.
(cygthread::freerange): Don't create thread here.
(cygthread::cygthread): Create thread here. Die if thread not created.
(cygthread::operator new): Simplify. Just grab a thread structure from the
pool. Don't try to start the thread.
(cygthread::terminate_thread): Don't close event handles. Just reuse them.
Call MEM_RELEASE rather than MEM_DECOMMIT (from Joe Buehler).
cagney [Thu, 10 Apr 2003 03:30:35 +0000 (03:30 +0000)]
2003-04-09 Andrew Cagney <cagney@redhat.com>
* frame.h (struct frame_id): Replace "pc" and "base" with
"stack_addr" and "code_addr". Update comments.
(frame_id_build): Update parameter names and comment.
(struct frame_info): Replace "id_p" and "id" with "this_id".
* dummy-frame.c (dummy_frame_this_id): Update.
* breakpoint.c (print_one_breakpoint): Update.
* frame.c (get_frame_id): Update.
(get_frame_base, frame_id_build): Update.
(create_sentinel_frame, legacy_get_prev_frame): Update.
(deprecated_update_frame_base_hack): Update.
(frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID.
(frame_id_inner): Ditto.
cagney [Thu, 10 Apr 2003 02:18:40 +0000 (02:18 +0000)]
2003-04-09 Andrew Cagney <cagney@redhat.com>
* defs.h (gdb_print_host_address): Make "addr" parameter a
pointer constant.
* utils.c (gdb_print_host_address): Update.
phumblet [Thu, 10 Apr 2003 01:14:18 +0000 (01:14 +0000)]
2003-04-10 Pierre Humblet <pierre.humblet@ieee.org>
* mkpasswd.c (current_user): print uid and gid as unsigned.
(enum_users): Ditto. Do not free servername.
(usage): Update to allow several domains and improve -p.
(main): On Win9x limit uids to 1000. Only print specials
when -l is specified. Add a loop to allow several domains
and free servername in the loop.
* mkgroup.c (enum_groups): Do not free servername.
(usage): Update to allow several domains. Change uid to gid.
(main): Only print specials when -l is specified. Add a
loop to allow several domains and free servername in the loop.
gdbadmin [Thu, 10 Apr 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 10 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update
jimb [Wed, 9 Apr 2003 23:21:13 +0000 (23:21 +0000)]
* gdb.c++/derivation.exp, gdb.c++/overload.exp,
gdb.c++/userdef.exp: If GDB fails to restore the selected frame
after an inferior function call, report the failure, but allow the
test to continue.
kevinb [Wed, 9 Apr 2003 22:44:24 +0000 (22:44 +0000)]
* rs6000-tdep.c (frame_get_saved_regs): Don't assume that the
register number for R0 is 0.
brobecke [Wed, 9 Apr 2003 21:53:28 +0000 (21:53 +0000)]
* frame.h (struct gdbarch): Add opaque structure definition
to avoid a compilation warning on LynxOS 4.0.
ciceron [Wed, 9 Apr 2003 21:48:38 +0000 (21:48 +0000)]
* doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
-mlong, -mshort-double and -mlong-double options; use table @code.
(M68HC11-Syntax): Update to document 68HC12 operands.
(M68HC11-Modifiers): New section for operand modifiers.
(M68HC11-Directives): New section for specific assembler directives.
(M68HC11-Branch): Fix Overfull hbox error.
cagney [Wed, 9 Apr 2003 20:49:22 +0000 (20:49 +0000)]
2003-04-09 Andrew Cagney <cagney@redhat.com>
* frame.h (struct frame_info): Delete field "pc". Replace
"pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc"
structure.
* frame.c (frame_pc_unwind): Update.
(create_sentinel_frame): Do not set "pc".
(get_prev_frame): Do not set "pc". Use frame_pc_unwind.
(get_frame_pc): Call frame_pc_unwind.
(deprecated_update_frame_pc_hack): Update.
(create_new_frame): Use "pc" not "->pc".
rth [Wed, 9 Apr 2003 20:08:14 +0000 (20:08 +0000)]
* elf64-alpha.c (elf64_alpha_relocate_section) <R_ALPHA_GPREL32>:
Ignore relocations against r_symndx == 0.
cagney [Wed, 9 Apr 2003 18:24:00 +0000 (18:24 +0000)]
2003-04-09 Andrew Cagney <cagney@redhat.com>
* frame.c (get_frame_id): Eliminate code updating "frame".
(legacy_get_prev_frame): Ditto.
(get_frame_base): Return id.base directly.
(deprecated_update_frame_base_hack): Update "id.base".
* frame.h (struct frame_info): Delete field "frame".
hjl [Wed, 9 Apr 2003 16:19:51 +0000 (16:19 +0000)]
2003-04-09 H.J. Lu <hjl@gnu.org>
* elf64-alpha.c (elf64_alpha_relocate_section): Don't return
FALSE for undefined symbols.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
cagney [Wed, 9 Apr 2003 16:19:50 +0000 (16:19 +0000)]
2003-04-09 Andrew Cagney <cagney@redhat.com>
* NEWS: Mention that the "Sequent family" is obsolete.
* configure.tgt: Obsolete i[3456]86-sequent-bsd*,
i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
* configure.host: Obsolete i[3456]86-sequent-bsd*,
i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
* config/i386/tm-ptx4.h: Obsolete file.
* config/i386/tm-ptx.h: Obsolete file.
* symm-tdep.c: Obsolete file.
* config/i386/symmetry.mt: Obsolete file.
* config/i386/tm-symmetry.h: Obsolete file.
* symm-nat.c: Obsolete file.
* config/i386/nm-symmetry.h: Obsolete file.
* config/i386/xm-symmetry.h: Obsolete file.
* config/i386/symmetry.mh: Obsolete file.
* config/i386/nm-ptx4.h: Obsolete file.
* config/i386/ptx4.mh: Obsolete file.
* config/i386/ptx.mt: Obsolete file.
* config/i386/ptx.mh: Obsolete file.
* config/i386/xm-ptx4.h: Obsolete file.
* config/i386/xm-ptx.h: Obsolete file.
cagney [Wed, 9 Apr 2003 16:10:04 +0000 (16:10 +0000)]
2003-04-09 Andrew Cagney <cagney@redhat.com>
Obsolete mips*-*-mach3*.
* NEWS: Mention that mips*-*-mach3* is obsolete.
* m3-nat.c: Obsolete file.
* config/nm-m3.h: Obsolete file.
* config/mips/tm-mipsm3.h: Obsolete file.
* config/mips/mipsm3.mt: Obsolete file.
* config/mips/mipsm3.mh: Obsolete file.
* config/mips/xm-mipsm3.h: Obsolete file.
* mipsm3-nat.c: Obsolete file.
* configure.host: Obsolete mips-dec-mach3*.
* configure.tgt: Obsolete mips*-*-mach3*.
cagney [Wed, 9 Apr 2003 15:08:25 +0000 (15:08 +0000)]
2003-04-09 Andrew Cagney <cagney@redhat.com>
* doublest.h: Update copyright.
(deprecated_store_floating, deprecated_extract_floating): Rename
store_floating and extract_floating. Update comments.
* doublest.c: Update copyright.
(extract_floating_by_length): Replace extract_floating.
(store_floating_by_length): Replace store_floating.
(deprecated_extract_floating): New function.
(deprecated_store_floating): New function.
(extract_typed_floating): Call extract_floating_by_length.
(store_typed_floating): Call store_floating_by_length.
* x86-64-tdep.c (x86_64_store_return_value): Update.
* sh-tdep.c (sh3e_sh4_extract_return_value): Update.
(sh64_extract_return_value): Update.
(sh_sh4_register_convert_to_virtual): Update.
(sh_sh64_register_convert_to_virtual): Update.
(sh_sh4_register_convert_to_raw): Update.
(sh_sh64_register_convert_to_raw): Update.
* rs6000-tdep.c (rs6000_register_convert_to_virtual): Update.
(rs6000_register_convert_to_raw): Update.
* ia64-tdep.c (ia64_register_convert_to_virtual): Update.
(ia64_register_convert_to_raw): Update.
* config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update.
(REGISTER_CONVERT_TO_VIRTUAL): Update.
* arm-linux-tdep.c (arm_linux_push_arguments): Update.
* alpha-tdep.c (alpha_register_convert_to_virtual): Update.
(alpha_register_convert_to_raw): Update.
nickc [Wed, 9 Apr 2003 11:07:50 +0000 (11:07 +0000)]
Add initX, finiX, ctors, dtors sections to respect C++ constructor/destructor.
Add ctors/dtors start/stop definitions.
amylaar [Wed, 9 Apr 2003 10:48:01 +0000 (10:48 +0000)]
* libc/machine/sh/memset.S: Avoid clobbering volatile
objects following a tiny to-be-set array in the same quadword.
corinna [Wed, 9 Apr 2003 10:42:11 +0000 (10:42 +0000)]
* libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
* libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
* libc/string/Makefile.in: Regenerated.
* libc/string/wcswidth.c: New file.
* libc/string/wcwidth.c: New file.
* libc/string/wcstrings.tex: Add wcswidth and wcwidth.
aoliva [Wed, 9 Apr 2003 09:56:16 +0000 (09:56 +0000)]
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Try DWARF3-standard
and IRIX-specific shift-to-64-bit 4-byte lengths before following
addr_size.
aoliva [Wed, 9 Apr 2003 09:55:09 +0000 (09:55 +0000)]
* doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
for debugging information types not supported by objdump.
amodra [Wed, 9 Apr 2003 05:14:35 +0000 (05:14 +0000)]
* configure.in: Recognize canonical form of i[3-6]86-pe*.
* configure: Regenerate.
aoliva [Wed, 9 Apr 2003 04:07:55 +0000 (04:07 +0000)]
* readelf.c (display_debug_info): Apply RELA relocations on the
entire section.
(byte_put_little_endian, byte_put_big_endian): New functions.
(byte_put): New variable.
(get_file_header): Initialize it.
aoliva [Wed, 9 Apr 2003 03:09:12 +0000 (03:09 +0000)]
* config/tc-mips.c (macro): Add comments explaining the rationale
for Chris' change.
aoliva [Wed, 9 Apr 2003 03:07:48 +0000 (03:07 +0000)]
* config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
constant address that Alexandre took out by accident. Reject
64-bit addresses that are not sign extensions of 32 bits only if
we don't support 64-bit address constants.
aoliva [Wed, 9 Apr 2003 02:55:39 +0000 (02:55 +0000)]
* elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): Detect (ctor)
pointer size from ABI, not arch_bits_per_address.
amodra [Wed, 9 Apr 2003 00:12:24 +0000 (00:12 +0000)]
* mips.h: Correct comment typo.
gdbadmin [Wed, 9 Apr 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 9 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update
amodra [Tue, 8 Apr 2003 23:01:47 +0000 (23:01 +0000)]
* config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
davidsb [Tue, 8 Apr 2003 22:24:27 +0000 (22:24 +0000)]
add lack of '~' to ash missing features
cagney [Tue, 8 Apr 2003 21:56:08 +0000 (21:56 +0000)]
2003-04-08 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate.
* gdbarch.h, gdbarch.c: Re-generate.
* d10v-tdep.c (d10v_saved_pc_after_call): Delete function.
(d10v_gdbarch_init): Do not set saved_pc_after_call.
* infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P
conditionally, use frame_pc_unwind as an alternative. Add
comments.
* arch-utils.c (init_frame_pc_default): Only call
SAVED_PC_AFTER_CALL when available.
cagney [Tue, 8 Apr 2003 21:48:40 +0000 (21:48 +0000)]
2003-04-08 Andrew Cagney <cagney@redhat.com>
* gdb792.exp: Skip when C++.