OSDN Git Service
nickc [Tue, 12 Nov 2002 10:08:22 +0000 (10:08 +0000)]
Add new/updated Danish translations
amodra [Tue, 12 Nov 2002 07:56:38 +0000 (07:56 +0000)]
* emultempl/ppc64elf.em (ppc_before_allocation): New function.
(LDEMUL_BEFORE_ALLOCATION): Define.
(gld${EMULATION_NAME}_finish): Run discard_info for relocatable
linking.
* emultemp/hppaelf.em ((gld${EMULATION_NAME}_finish): Likewise.
amodra [Tue, 12 Nov 2002 07:55:43 +0000 (07:55 +0000)]
* elflink.h (elf_link_add_object_symbols): Optimize stabs for
relocatable link too.
(elf_link_input_bfd): When emitting relocs, adjust offsets for
eh_frame and stab sections. Zap deleted relocs.
(elf_reloc_symbol_deleted_p): Return true for zero r_symndx.
(elf_bfd_discard_info): Run for relocatable link too.
* elf64-ppc.c (ppc64_elf_edit_opd): Rename from edit_opd. Make global.
Handle ld -r case.
(ppc64_elf_size_dynamic_sections): Don't call edit_opd from here.
* elf64-ppc.h (ppc64_elf_edit_opd): Declare.
amodra [Tue, 12 Nov 2002 07:35:25 +0000 (07:35 +0000)]
* elf-bfd.h (struct cie_header): Move from elf_eh-frame.c.
(struct cie, struct eh_cie_fde, struct eh_frame_sec_info): Likewise.
(struct eh_frame_array_ent, struct eh_frame_hdr_info): Likewise.
(enum elf_link_info_type): Remove ELF_INFO_TYPE_EH_FRAME_HDR.
(struct eh_frame_hdr_info): Add "hdr_sec", remove "split".
(struct elf_link_hash_table): Add eh_info.
(struct elf_obj_tdata): Change eh_frame_hdr to an asection *.
(_bfd_elf_discard_section_eh_frame): Update prototype.
(_bfd_elf_discard_section_eh_frame_hdr): Likewise.
(_bfd_elf_write_section_eh_frame): Likewise.
(_bfd_elf_write_section_eh_frame_hdr): Likewise.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Remove "ehdrsec"
param. Get "hdr_info" from link hash table.
(_bfd_elf_discard_section_eh_frame_hdr): Remove "sec" param. Get
header section from link hash table. Save header section to elf_tdata.
(_bfd_elf_maybe_strip_eh_frame_hdr): Remove local "sec". Use
header section from link hash table. Don't alloc hdr_info. Clear
hdr_sec instead of setting "strip".
(_bfd_elf_eh_frame_section_offset): Formatting.
(_bfd_elf_write_section_eh_frame): Remove "ehdrsec", add "info" param.
Get header section from link hash table.
(_bfd_elf_write_section_eh_frame_hdr): Remove "sec", add "info" param.
Get header section from link hash table.
* elf.c (map_sections_to_segments): Use cached eh_frame_hdr.
(get_program_header_size): Likewise.
(_bfd_elf_section_offset): Formatting.
* elflink.h (elf_link_create_dynamic_sections): Stash eh frame header
section pointer in link hash table.
(elf_bfd_final_link): Adjust _bfd_elf_write_section_eh_frame_hdr
and _bfd_elf_write_section_eh_frame calls. Update comment about
eh_frame entries.
(elf_bfd_discard_info): Adjust _bfd_elf_discard_section_eh_frame and
_bfd_elf_discard_section_eh_frame_hdr calls. Remove "ehdr".
* po/SRC-POTFILES.in: Regenerate.
amodra [Tue, 12 Nov 2002 06:21:05 +0000 (06:21 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't zero
relocs for discarded FDEs. Remove dead code.
(_bfd_elf_write_section_eh_frame_hdr): Remove dead code.
* elflink.h (elf_bfd_discard_info): Don't save edited relocs.
Tidy conditions under which stabs are edited. Formatting.
* elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows
from discarded relocs.
* elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Add reloc output
section adjustments after testing magic values.
amodra [Tue, 12 Nov 2002 04:04:13 +0000 (04:04 +0000)]
* gas/ppc/booke.d: Adjust output for corrected condition reg.
amodra [Tue, 12 Nov 2002 04:03:30 +0000 (04:03 +0000)]
* ppc-dis.c (print_insn_powerpc): Correct condition register display.
cgf [Tue, 12 Nov 2002 03:48:43 +0000 (03:48 +0000)]
* configure.tgt (LIB_PATH): Default to searching w32api directory under cygwin.
ezannoni [Tue, 12 Nov 2002 02:39:39 +0000 (02:39 +0000)]
2002-11-11 Elena Zannoni <ezannoni@redhat.com>
* findvar.c (read_var_value): Reenable TLS code.
2002-11-11 Elena Zannoni <ezannoni@redhat.com>
Jim Blandy <jimb@redhat.com>
* gdb_thread_db.h (enum): Add TD_NOTALLOC.
* target.c (update_current_target): Add
to_get_thread_local_address.
* target.h (to_get_thread_local_address): Export.
(target_get_thread_local_address): Define.
(target_get_thread_local_address_p): Define.
* thread-db.c: Include solib-svr4.h.
(td_thr_tls_get_addr_p): Define.
(thread_db_load): Get a pointer to td_thr_tls_get_addr.
(thread_db_get_thread_local_address): New function.
(init_thread_db_ops): Initialize to_get_thread_local_address.
* configure.in: Add test for TD_NOTALLOC in thread_db.h.
* configure: Regenerate.
* config.in: Regenerate.
gdbadmin [Tue, 12 Nov 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 11 Nov 2002 23:42:29 +0000 (23:42 +0000)]
* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Correct
references to large plt symbols.
hunt [Mon, 11 Nov 2002 23:22:21 +0000 (23:22 +0000)]
2002-11-11 Martin M. Hunt <hunt@redhat.com>
* library/srctextwin.itb (do_key): Add arg to
print call.
carlton [Mon, 11 Nov 2002 23:20:06 +0000 (23:20 +0000)]
2002-11-11 David Carlton <carlton@math.stanford.edu>
* linespec.c (set_flags): New function.
(decode_line_1): Move code into set_flags.
amodra [Mon, 11 Nov 2002 23:19:03 +0000 (23:19 +0000)]
* mach-o.c (bfd_mach_o_scan_read_thread): Don't re-use 'i' when
looking for an unused section name.
amodra [Mon, 11 Nov 2002 23:15:37 +0000 (23:15 +0000)]
* rddbg.c (read_section_stabs_debugging_info): Also recognize
LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
hunt [Mon, 11 Nov 2002 23:09:30 +0000 (23:09 +0000)]
Updated
hunt [Mon, 11 Nov 2002 23:09:05 +0000 (23:09 +0000)]
2002-11-11 Martin M. Hunt <hunt@redhat.com>
* library/data.ith: Deleted.
* library/data.itb: Deleted.
amodra [Mon, 11 Nov 2002 23:01:15 +0000 (23:01 +0000)]
daily update
hunt [Mon, 11 Nov 2002 22:42:04 +0000 (22:42 +0000)]
2002-11-11 Martin M. Hunt <hunt@redhat.com>
* library/toolbar.tcl: Deleted this obsolete file.
* library/tclIndex: Rebuilt.
hunt [Mon, 11 Nov 2002 22:39:37 +0000 (22:39 +0000)]
2002-11-11 Martin M. Hunt <hunt@redhat.com>
* library/srcbar.itcl (create_help_menu): For unix systems,
if compatibility is set to KDE or GNOME, put the help menu
in the right place. Otherwise put it on the far right, like
Motif does.
hunt [Mon, 11 Nov 2002 22:29:49 +0000 (22:29 +0000)]
Updated
hunt [Mon, 11 Nov 2002 22:29:23 +0000 (22:29 +0000)]
2002-11-11 Martin M. Hunt <hunt@redhat.com>
* library/helpviewer.tcl: New file. Finds
an appropriate help browser and displays the help files.
* library/vartree.itb: Fix open_help calls.
* library/helpviewer.ith: Deleted.
* library/helpviewer.itb: Deleted.
* library/prefs.tcl (pref_set_defaults): Remove
pref gdb/help/browser. Add pref gdb/help/browsername.
We couldn't simply rename because it would break older
versions of Insight that expect gdb/help/browser to be
a number.
fche [Mon, 11 Nov 2002 22:28:26 +0000 (22:28 +0000)]
* better c++ standard compliance
[e.g.]
[include/ChangeLog]
2002-11-11 Frank Ch. Eigler <fche@redhat.com>
* sidcpuutil.h (cpu_trace_stream): Add some std:: qualifiers.
[component/glue/ChangeLog]
2002-11-11 Frank Ch. Eigler <fche@redhat.com>
* glue.cxx (bus_prober): Dtor throw() fixes.
carlton [Mon, 11 Nov 2002 21:18:54 +0000 (21:18 +0000)]
2002-11-11 David Carlton <carlton@math.stanford.edu>
* linespec.c (decode_line_1): Move chunks of code to separate
functions.
(initialize_defaults): New function.
(decode_indirect): New function.
cgf [Mon, 11 Nov 2002 21:16:28 +0000 (21:16 +0000)]
* pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list of
restricted auto-export libs.
cgf [Mon, 11 Nov 2002 17:42:36 +0000 (17:42 +0000)]
* pe-dll.c (autofilter_liblist): Generalize library names to catch more
creative library naming instances like, e.g., libstdc++-2.a.
cgf [Mon, 11 Nov 2002 17:21:33 +0000 (17:21 +0000)]
* configure.in: Use .gdbinit under Cygwin.
* configure: Regenerate.
cgf [Mon, 11 Nov 2002 17:11:52 +0000 (17:11 +0000)]
* config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if STRICT_PE_FORMAT.
jjohnstn [Mon, 11 Nov 2002 17:09:50 +0000 (17:09 +0000)]
2002-11-11 Jeff Johnston <jjohnstn@redhat.com>
* gdbmi.texinfo (-var-assign): Add comments about interaction
with -var-update and add an example. Part of fix for gdb/702.
cgf [Mon, 11 Nov 2002 16:53:18 +0000 (16:53 +0000)]
* MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from cgf
maintainership.
cagney [Mon, 11 Nov 2002 16:23:57 +0000 (16:23 +0000)]
2002-11-11 Andrew Cagney <
ac131313@redhat.com>
* blockframe.c (sigtramp_saved_pc): Fix tipo. void_func_ptr
instead of void_code_ptr.
(sigtramp_saved_pc): Ditto.
cgf [Mon, 11 Nov 2002 16:06:50 +0000 (16:06 +0000)]
* MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
cagney [Mon, 11 Nov 2002 16:00:56 +0000 (16:00 +0000)]
2002-11-11 Andrew Cagney <
ac131313@redhat.com>
* x86-64-tdep.c (i386_fp_regnum_p): Copy i386-tdep.c's
i386_fp_regnum_p.
sveinse [Mon, 11 Nov 2002 14:58:49 +0000 (14:58 +0000)]
* Makefile.am: Added tic4x dependecy
* Makefile.in: Regenerate
sveinse [Mon, 11 Nov 2002 14:28:59 +0000 (14:28 +0000)]
gas tic4x target enhancements (long list - see gas/ChangeLog and
include/ChangeLog)
hp [Mon, 11 Nov 2002 10:16:56 +0000 (10:16 +0000)]
* ld-elf/sec64k.exp: New test.
* lib/ld-lib.exp (run_dump_test): Don't prepend "$srcdir/$subdir/"
to a source file starting with "/".
hp [Mon, 11 Nov 2002 08:42:51 +0000 (08:42 +0000)]
* macro.c (get_any_string): Correct logic for not going beyond end
of in->ptr[].
shebs [Mon, 11 Nov 2002 05:38:51 +0000 (05:38 +0000)]
Retire common MPW configury bits.
* mpw-mh-mpw: Remove.
* mpw: Remove directory along with all of its files.
kazu [Mon, 11 Nov 2002 05:05:22 +0000 (05:05 +0000)]
* coff-h8300.c: Fix formatting.
* elf32-h8300.c: Likewise.
* reloc16.c: Likewise.
drow [Mon, 11 Nov 2002 00:55:33 +0000 (00:55 +0000)]
* gdbtypes.h (struct main_type): Move artificial flag out of
loc. New member of ``struct field'' named static_kind. Reduce
overloaded meaning of bitsize.
(FIELD_ARTIFICIAL, SET_FIELD_PHYSNAME, SET_FIELD_PHYSADDR)
(TYPE_FIELD_STATIC, TYPE_FIELD_STATIC_HAS_ADDR): Likewise.
(FIELD_STATIC_KIND, TYPE_FIELD_STATIC_KIND): New macros.
* ada-lang.c (fill_in_ada_prototype): Initialize static_kind for
new fields.
(template_to_fixed_record_type, template_to_static_fixed_type)
(to_record_with_fixed_variant_part): Likewise.
* coffread.c (coff_read_struct_type, coff_read_enum_type): Likewise.
* dwarf2read.c (dwarf2_add_field, read_enumeration): Likewise.
* dwarfread.c (struct_type, enum_type): Likewise.
* hpread.c (hpread_read_enum_type)
(hpread_read_function_type, hpread_read_doc_function_type)
(hpread_read_struct_type): Likewise.
* mdebugread.c (parse_symbol): Likewise.
gdbadmin [Mon, 11 Nov 2002 00:01:02 +0000 (00:01 +0000)]
*** empty log message ***
amodra [Sun, 10 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update
cgf [Sun, 10 Nov 2002 19:38:26 +0000 (19:38 +0000)]
* how-programming.texinfo: Document _WIN32 more fully.
hp [Sun, 10 Nov 2002 18:35:50 +0000 (18:35 +0000)]
* config/tc-mmix.c (get_putget_operands): Mark both possible
operands as invalid at beginning.
cagney [Sun, 10 Nov 2002 15:36:25 +0000 (15:36 +0000)]
2002-11-10 Andrew Cagney <
ac131313@redhat.com>
* breakpoint.h (deprecated_frame_in_dummy): Rename frame_in_dummy.
* stack.c (print_frame_info_base): Update.
(print_frame_info_base, frame_info): Update.
* sparc-tdep.c (sparc_init_extra_frame_info): Update.
(sparc_frame_saved_pc): Update.
* ada-lang.c (find_printable_frame): Update.
* breakpoint.c (deprecated_frame_in_dummy): Update.
corinna [Sun, 10 Nov 2002 13:43:26 +0000 (13:43 +0000)]
* net.cc: Run indent.
* autoload.cc (GetIfEntry): Add symbol.
* net.cc (get_2k_ifconf): Get the interface entries with the GetIfEntry
call intead of the GetIfTable call. Clean-up multiple IP address naming.
hp [Sun, 10 Nov 2002 13:09:11 +0000 (13:09 +0000)]
* config/tc-mmix.c (md_convert_frag) <case STATE_GREG_DEF>:
Initialize target of fixup to zero.
hp [Sun, 10 Nov 2002 09:29:06 +0000 (09:29 +0000)]
* ld-mmix/local1.d, ld-mmix/local3.d, ld-mmix/local5.d,
ld-mmix/local7.d: Tweak for change in readelf output.
dannysmith [Sun, 10 Nov 2002 04:14:31 +0000 (04:14 +0000)]
2002-11-09 Weiqi Gao <weiqigao@users.sourceforge.net>
* lib/uuid.c (IID_ICatInformation): Correct definition.
cgf [Sun, 10 Nov 2002 00:51:25 +0000 (00:51 +0000)]
correct date
gdbadmin [Sun, 10 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 9 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update
kettenis [Sat, 9 Nov 2002 21:31:11 +0000 (21:31 +0000)]
* i386-linux-nat.c (ORIG_EAX): Define to -1 if not already
defined.
(regmap): Extend to cover all registers.
(PT_READ_U, PT_WRITE_U, PTRACE_XFER_TYPE,
OLD_CANNOT_FETCH_REGISTERS, OLD_CANNOT_STORE_REGISTERS): Remove
definitions.
(fetch_register, sore_register): Simplify.
(old_fetch_inferior_registers, old_store_inferior_registers):
Remove functions.
(cannot_fetch_register, cannot_store_register): Change
implementation to use regmap array to decide which registers
cannot be fetched/stored. This removes $orig_eax from the
registers that cannot be fetched/stored.
(fetch_inferior_registers): Call fetch_register directly instead
of calling old_fetch_inferior_registers.
(store_inferior_registers): Call store_register directly instead
of calling old_store_inferior_registers.
(i386_linux_dr_get): Replace PT_READ_U with PTRACE_PEEKUSER.
(i386_linux_dr_set): Replace PT_WRITE_U with PTRACE_POKEUSER.
* config/i386/nm-linux.h (U_REGS_OFFSET): Remove definition.
kdienes [Sat, 9 Nov 2002 19:34:35 +0000 (19:34 +0000)]
2002-11-09 Klee Dienes <kdienes@apple.com>
* i387-tdep.c (i387_supply_register): When called with NULL as a
buffer, mark the register as not provided (to mirror the behavior
of supply_register).
(i387_supply_fxsave): Ditto.
(i387_supply_fsave): Ditto (inherits the behavior from
i387_supply_register).
kdienes [Sat, 9 Nov 2002 19:28:20 +0000 (19:28 +0000)]
2002-11-09 Klee Dienes <kdienes@apple.com>
* blockframe.c (sigtramp_saved_pc): Use
builtin_type_void_code_ptr, not builtin_type_void_data_ptr (we are
extracting the PC). Use TYPE_LENGTH (builtin_type_void_code_ptr)
instead of (TARGET_PTR_BIT / TARGET_CHAR_BIT).
kdienes [Sat, 9 Nov 2002 19:15:23 +0000 (19:15 +0000)]
2002-11-09 Klee Dienes <kdienes@apple.com>
* chexp.exp: Mark as obsolete.
* pr-5016.exp: Remove stray trailing newline.
cagney [Sat, 9 Nov 2002 18:14:09 +0000 (18:14 +0000)]
2002-11-09 Andrew Cagney <
ac131313@redhat.com>
* frame.c (get_prev_frame): Test prev_p to identify a previously
unwound frame. Initialize prev_p.
* frame.h (struct frame_info): Add field prev_p. Expand prev/next
comment.
cagney [Sat, 9 Nov 2002 17:45:16 +0000 (17:45 +0000)]
2002-11-09 Andrew Cagney <
ac131313@redhat.com>
* frame.c (get_prev_frame): Cleanups. Eliminate redundant tests
for a NULL NEXT_FRAME. Simplify fromleaf initialization. Add
more comments. Zap dead code.
kettenis [Sat, 9 Nov 2002 12:44:23 +0000 (12:44 +0000)]
* infcmd.c (print_vector_info, print_float_info): Move code that
checks whether the target has any registers and whether there is a
selected frame up, such that it is also used if a target provides
multi-arch definitions of these functions.
amodra [Sat, 9 Nov 2002 12:27:50 +0000 (12:27 +0000)]
* ld-elfvsb/define.s: Avoid use of @ in .type directive.
dannysmith [Sat, 9 Nov 2002 10:44:01 +0000 (10:44 +0000)]
* include/math.h (sqrt): Remove inline definition.
(sqrtf): Replace inline definition with prototype.
(sqrtl): Likewise.
* mingwex/math/sqrtf.c (sqrtf): Set domain error if
argument less than zero.
* mingwex/math/sqrtf.c (sqrtl): Likewise.
Correct typo in 2002-10-30 ChangeLog entry.
cgf [Sat, 9 Nov 2002 03:17:39 +0000 (03:17 +0000)]
* fhandler.h (class fhandler_pipe): New ioctl() method.
* pipe.cc (fhandler_pipe::ioctl): New.
cagney [Sat, 9 Nov 2002 03:14:11 +0000 (03:14 +0000)]
2002-11-08 Andrew Cagney <
ac131313@redhat.com>
* Makefile.in (DESTDIR): Define.
(install-only, install-gdbtk, uninstall-gdbtk): Add $(DESTDIR)
prefix.
cagney [Sat, 9 Nov 2002 02:53:24 +0000 (02:53 +0000)]
2002-11-08 Andrew Cagney <
ac131313@redhat.com>
* config/djgpp/fnchange.lst: 8.3 proof i386obsd-nat.c and
i386obsd-tdep.c. Rename paths containing "gdb.c++" to "gdb.cxx".
amodra [Sat, 9 Nov 2002 00:52:26 +0000 (00:52 +0000)]
* elf32-arm.h (elf32_arm_size_dynamic_sections): Don't strip output
section when dynamic section unused; _bfd_strip_section_from_output
instead.
gdbadmin [Sat, 9 Nov 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Fri, 8 Nov 2002 23:59:57 +0000 (23:59 +0000)]
2002-11-08 Andrew Cagney <
ac131313@redhat.com>
* i386-linux-tdep.c: Include "reggroups.h".
(i386_linux_register_reggroup_p): New function.
(i386_linux_init_abi): Set register_reggroup_p to
i386_linux_register_reggroup_p.
* i386-tdep.h (i386_register_reggroup_p): Declare.
* i386-tdep.c: Include "reggroups.h".
(i386_init_reggroups): New function.
(i386_add_reggroups): New function.
(i386_register_reggroup_p): New function.
(i386_sse_reggroup, i386_mmx_reggroup): New variables.
(_initialize_i386_tdep): Call i386_init_reggroups.
(i386_gdbarch_init): Set register_reggroup_p and add in the i386
specific reggroups.
kettenis [Fri, 8 Nov 2002 23:48:38 +0000 (23:48 +0000)]
* infptrace.c (child_xfer_memory): Make use of the new PT_IO
request that's available in *BSD.
kettenis [Fri, 8 Nov 2002 23:35:14 +0000 (23:35 +0000)]
* i386-tdep.h (IS_FPU_CTRL_REGNUM): Remove.
kettenis [Fri, 8 Nov 2002 23:31:09 +0000 (23:31 +0000)]
* i387-tdep.c (i387_fill_fxsave): Use FOOFF_REGNUM instead of
FDOFF_REGNUM.
cagney [Fri, 8 Nov 2002 23:12:52 +0000 (23:12 +0000)]
2002-11-08 Andrew Cagney <
ac131313@redhat.com>
* frame.c (set_unwind_by_pc): Use dummy_frame_register_unwind.
* dummy-frame.c (find_dummy_frame): Rename
generic_find_dummy_frame, make static. Return the dummy frame
instead of the regcache.
(generic_find_dummy_frame): Re-implement using find_dummy_frame,
(cached_find_dummy_frame): New function. Use find_dummy_frame.
(dummy_frame_register_unwind): Rename
generic_call_dummy_register_unwind. Use cached_find_dummy_frame.
* dummy-frame.h (dummy_frame_register_unwind): Rename
generic_call_dummy_register_unwind.
amodra [Fri, 8 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update
kettenis [Fri, 8 Nov 2002 21:00:44 +0000 (21:00 +0000)]
* config/i386/tm-i386v42mp.h: Remove file. Move its contents,
except the inclusion of "i386/tm-i386.h", to...
* config/i386/nm-i386v42mp.h: ...here.
* config/i386/i386v42mp.mt (TM_FILE): Set to tm-i386.h.
hunt [Fri, 8 Nov 2002 20:56:43 +0000 (20:56 +0000)]
2002-11-08 Martin M. Hunt <hunt@redhat.com>
* library/prefs.tcl (pref_save): Fix GDBtkInitVersion.
(pref_save): Check that value is not null before writing.
cagney [Fri, 8 Nov 2002 20:48:53 +0000 (20:48 +0000)]
2002-11-08 Andrew Cagney <
ac131313@redhat.com>
* Makefile.in (frame.o): Update dependencies.
* blockframe.c (current_frame, frame_obstack_alloc)
(frame_saved_regs_zalloc, get_current_frame)
(set_current_frame, create_new_frame)
(set_unwind_by_pc, get_next_frame)
(flush_cached_frames, reinit_frame_cache)
(frame_saved_regs_register_unwind)
(deprecated_generic_get_saved_register)
(get_prev_frame, get_frame_pc, get_frame_saved_regs)
(_initialize_blockframe): Move frame code from
here...
* frame.c: ...to here. Include "gdb_obstack.h", "gdbcore.h",
"annotate.h" and "dummy-frame.h".
(_initialize_frame): New function.
jjohnstn [Fri, 8 Nov 2002 20:39:06 +0000 (20:39 +0000)]
2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
* mi-main.c (mi_command_loop): Initialize raw_stdout and gdb_stdout
only if mi version is <= 1.
(mi_init_ui): Initialize raw_stdout and gdb_stdout if mi version
is > 1 so startup message is treated as console output. This is
part of fix for PR gdb/604.
jjohnstn [Fri, 8 Nov 2002 20:37:49 +0000 (20:37 +0000)]
2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
* lib/mi-support.exp (mi_gdb_start): Verify the startup message
for mi1 and current mi is in correct format. New mi startup message
should be in mi console format. This is part of fix for PR gdb/604.
jimb [Fri, 8 Nov 2002 20:05:10 +0000 (20:05 +0000)]
* dwarf2read.c (read_func_scope): Restore list_in_scope properly
when we finish a function a context.
* buildsym.h (outermost_context_p): New macro.
(Bug analyzed by David Edelsohn.)
cagney [Fri, 8 Nov 2002 19:41:59 +0000 (19:41 +0000)]
2002-11-08 Andrew Cagney <
ac131313@redhat.com>
* blockframe.c: Include "dummy-frame.h".
(struct dummy_frame, dummy_frame_stack)
(generic_find_dummy_frame, deprecated_generic_find_dummy_frame)
(generic_pc_in_call_dummy, deprecated_read_register_dummy)
(generic_push_dummy_frame, generic_save_dummy_frame_tos)
(generic_save_call_dummy_addr, generic_pop_current_frame)
(generic_pop_dummy_frame, generic_fix_call_dummy)
(generic_fix_call_dummy, generic_call_dummy_register_unwind): Move
dummy frame code from here...
* dummy-frame.c: ...to here. New file.
* dummy-frame.h: New file.
(generic_call_dummy_register_unwind): Declare.
(generic_find_dummy_frame): Declare.
* Makefile.in (SFILES): Add dummy-frame.c.
(dummy-frame.o): Specify dependencies.
(dummy_frame_h): Define.
(COMMON_OBS): Add dummy-frame.o.
(blockframe.o): Update dependencies.
jimb [Fri, 8 Nov 2002 19:33:36 +0000 (19:33 +0000)]
* dwarf2read.c (read_func_scope): Restore local_symbols and
param_symbols after we finish the function context. (Based on a
patch from David Edelsohn.)
carlton [Fri, 8 Nov 2002 19:16:16 +0000 (19:16 +0000)]
2002-11-08 David Carlton <carlton@math.stanford.edu>
* linespec.c (symbol_found): New function.
(minsym_found): New function.
(decode_line_1): Separate out some code into separate functions.
brobecke [Fri, 8 Nov 2002 17:34:31 +0000 (17:34 +0000)]
* i386-tdep.c (i386_frameless_signal_p): Make non static for
the benefit of the interix target.
* i386-tdep.h (i386_frameless_signal_p): Declare.
cagney [Fri, 8 Nov 2002 17:03:26 +0000 (17:03 +0000)]
2002-11-08 Andrew Cagney <
ac131313@redhat.com>
* i386-tdep.h (i386_linux_orig_eax_regnum_p): Delete stray
declaration that snuck in from change below.
cagney [Fri, 8 Nov 2002 16:52:35 +0000 (16:52 +0000)]
2002-11-06 Andrew Cagney <cagney@redhat.com>
* i386-tdep.c (i386_mmx_regnum_p): Rename mmx_regnum_p. Update
all callers.
(i386_fp_regnum_p): New function. Use instead of FP_REGNUM_P.
(i386_fpc_regnum_p): New function. Use instead of FPC_REGNUM_P.
(i386_sse_regnum_p): New function. Use instead of SSE_REGNUM_P.
(i386_mxcsr_regnum_p): new function. Use instead of
MXCSR_REGNUM_P.
* i386-tdep.h (SSE_REGNUM_P): Delete macro.
(i386_sse_regnum_p): Declare.
(i386_mxcsr_regnum_p): Declare.
(FP_REGNUM_P, FPC_REGNUM_P): Delete macros.
(i386_fp_regnum_p, i386_fpc_regnum_p): Declare.
(IS_FP_REGNUM): Update definition.
(IS_FPU_CTRL_REGNUM): Update definition..
(IS_SSE_REGNUM): Update definition..
* i386v-nat.c (register_u_addr): Update.
* go32-nat.c (fetch_register): Update.
(store_register): Update.
corinna [Fri, 8 Nov 2002 10:22:58 +0000 (10:22 +0000)]
* setfacl.c (usage): Add missing LF.
hunt [Fri, 8 Nov 2002 05:25:19 +0000 (05:25 +0000)]
2002-11-07 Martin M. Hunt <hunt@redhat.com>
* library/util.tcl (CygScrolledListbox): Delete.
* library/srctextwin.itb: Change from CygScrolledListbox
to iwidgets::scrolledlistbox. Set foreground and background.
Center popup over source window.
brobecke [Fri, 8 Nov 2002 03:35:47 +0000 (03:35 +0000)]
Preparation work to convert the hppa targets to multiarch partial.
* hppa-tdep.c: Add new functions replacing macro bodies from
config/pa/tm-hppa.h. These function will be used to initialize
the gdbarch structure. Import some comments from tm-hppa.h,
and place them where appropriate, to avoid loosing them when
we cleanup this file.
(hppa_reg_struct_has_addr): New function.
(hppa_inner_than): New function.
(hppa_stack_align): New function.
(hppa_pc_requires_run_before_use): New function.
(hppa_instruction_nullified): New function.
(hppa_register_byte): New function.
(hppa_register_virtual_type): New function.
(hppa_store_struct_return): New function.
(hppa_cannot_store_register): New function.
(hppa_frame_args_address): New function.
(hppa_frame_locals_address): New function.
(hppa_smash_text_address): New function.
(hppa_coerce_float_to_double): New function. Requires the inclusion
of "language.h".
* Makefile.in (hppa-tdep.o): Add dependency on language.h.
* tm-hppa.h (REG_STRUCT_HAS_ADDR): Change the definition of this
gdbarch-eligible macro to a call to the new associated function
created in hppa-tdep.c.
(INNER_THAN): Likewise.
(STACK_ALIGN): Likewise.
(PC_REQUIRES_RUN_BEFORE_USE): Likewise.
(INSTRUCTION_NULLIFIED): Likewise.
(REGISTER_BYTE): Likewise.
(REGISTER_VIRTUAL_TYPE): Likewise.
(STORE_STRUCT_RETURN): Likewise.
(CANNOT_STORE_REGISTER): Likewise.
(FRAME_ARGS_ADDRESS): Likewise.
(FRAME_LOCALS_ADDRESS): Likewise.
(SMASH_TEXT_ADDRESS): Likewise.
(COERCE_FLOAT_TO_DOUBLE): Likewise.
(ABOUT_TO_RETURN): Delete, as no longer used.
brobecke [Fri, 8 Nov 2002 03:35:13 +0000 (03:35 +0000)]
Preparation work to convert the hppa targets to multiarch partial.
* hppa-tdep.c: Add new functions replacing macro bodies from
config/pa/tm-hppa.h. These function will be used to initialize
the gdbarch structure. Import some comments from tm-hppa.h,
and place them where appropriate, to avoid loosing them when
we cleanup this file.
(hppa_reg_struct_has_addr): New function.
(hppa_inner_than): New function.
(hppa_stack_align): New function.
(hppa_pc_requires_run_before_use): New function.
(hppa_instruction_nullified): New function.
(hppa_register_byte): New function.
(hppa_register_virtual_type): New function.
(hppa_store_struct_return): New function.
(hppa_cannot_store_register): New function.
(hppa_frame_args_address): New function.
(hppa_frame_locals_address): New function.
(hppa_smash_text_address): New function.
(hppa_coerce_float_to_double): New function. Requires the inclusion
of "language.h".
* Makefile.in (hppa-tdep.o): Add dependency on language.h.
* tm-hppa.h (REG_STRUCT_HAS_ADDR): Change the definition of this
gdbarch-eligible macro to a call to the new associated function
created in hppa-tdep.c.
(INNER_THAN): Likewise.
(STACK_ALIGN): Likewise.
(PC_REQUIRES_RUN_BEFORE_USE): Likewise.
(INSTRUCTION_NULLIFIED): Likewise.
(REGISTER_BYTE): Likewise.
(REGISTER_VIRTUAL_TYPE): Likewise.
(STORE_STRUCT_RETURN): Likewise.
(CANNOT_STORE_REGISTER): Likewise.
(FRAME_ARGS_ADDRESS): Likewise.
(FRAME_LOCALS_ADDRESS): Likewise.
(SMASH_TEXT_ADDRESS): Likewise.
(COERCE_FLOAT_TO_DOUBLE): Likewise.
(ABOUT_TO_RETURN): Delete, as no longer used.
fnasser [Fri, 8 Nov 2002 03:21:33 +0000 (03:21 +0000)]
* printcmd.c (disassemble_command): Remove obsolete function.
(_initialize_printcmd): Do not create disassemble command here.
* cli/cli-cmds.c (disassemble_command): New function. Implements
disassemble command.
(init_cli_cmds): Create disassemble command here instead.
* gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
which explicitly prints the zero offset as "+0".
aldyh [Fri, 8 Nov 2002 00:46:21 +0000 (00:46 +0000)]
2002-11-07 Aldy Hernandez <aldyh@redhat.com>
* ppc-opc.c (EVUIMM_4): Change bit size to 32.
(EVUIMM_2): Same.
(EVUIMM_8): Same.
gdbadmin [Fri, 8 Nov 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
dannysmith [Thu, 7 Nov 2002 23:59:59 +0000 (23:59 +0000)]
* include/oleauto.h (DeregisterTypeLib): Remove.
(UnRegisterTypeLib): Add prototype.
aldyh [Thu, 7 Nov 2002 23:43:50 +0000 (23:43 +0000)]
2002-11-07 Aldy Hernandez <aldyh@redhat.com>
* ppc-opc.c (EVUIMM_4): Change bit size to 32.
(EVUIMM_2): Same.
cagney [Thu, 7 Nov 2002 23:28:53 +0000 (23:28 +0000)]
2002-11-07 Andrew Cagney <
ac131313@redhat.com>
* MAINTAINERS: Add Daniel Jacobowitz to global maintainers list.
amodra [Thu, 7 Nov 2002 23:26:51 +0000 (23:26 +0000)]
Disable sym_vec too.
amodra [Thu, 7 Nov 2002 23:13:29 +0000 (23:13 +0000)]
* targets.c (_bfd_target_vector): Disable pef_vec and pef_xlib_vec.
amodra [Thu, 7 Nov 2002 23:00:09 +0000 (23:00 +0000)]
daily update
amodra [Thu, 7 Nov 2002 22:19:58 +0000 (22:19 +0000)]
* dwarf2.c: Revert last change.
cagney [Thu, 7 Nov 2002 21:43:23 +0000 (21:43 +0000)]
2002-11-07 Andrew Cagney <
ac131313@redhat.com>
* regcache.h (regcache_cooked_read_using_offset_hack)
(regcache_cooked_write_using_offset_hack): Delete declarations.
(register_changed): Delete declaration.
* regcache.c (regcache_cooked_read_using_offset_hack)
(regcache_cooked_write_using_offset_hack): Delete functions.
(cooked_xfer_using_offset_hack): Delete function.
(register_changed): Delete function.
jimb [Thu, 7 Nov 2002 20:43:22 +0000 (20:43 +0000)]
* macroscope.c: #include "complaints.h".
(sal_macro_scope): Cope with filenames that appear in the symtabs,
but not in the macro table.
* Makefile.in (macroscope.o): Record dependency.