OSDN Git Service
drow [Thu, 17 Jun 2004 02:27:09 +0000 (02:27 +0000)]
* elf32-ppc.c (ppc_elf_create_linker_section): Create symbols in
the pre-existing section.
gdbadmin [Thu, 17 Jun 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 17 Jun 2004 00:00:09 +0000 (00:00 +0000)]
daily update
drow [Wed, 16 Jun 2004 17:16:15 +0000 (17:16 +0000)]
PR gdb/1658
* dwarf2read.c (dwarf_decode_lines): Read the length of the extended
operation as a uleb128. Found by Michael Coulter.
drow [Wed, 16 Jun 2004 17:16:02 +0000 (17:16 +0000)]
PR gdb/1658
* dwarf2read.c (dwarf_decode_lines): Read the length of the extended
operation as a uleb128. Found by Michael Coulter.
cagney [Wed, 16 Jun 2004 16:40:50 +0000 (16:40 +0000)]
2004-06-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/signull.c: Update copyright. Include <string.h>.
(bowler): Replace data_pointer with data_read
and data_write cases. Add code_descriptor case.
(zero, desc): New array and pointer.
(data, code): Change to simple pointers.
* gdb.base/signull.exp: Fix probe pattern matching a function
descriptor SIGSEGV. Replace data_pointer with data_read and
data_write tests.
cagney [Wed, 16 Jun 2004 15:19:40 +0000 (15:19 +0000)]
2004-06-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
dannysmith [Wed, 16 Jun 2004 08:27:03 +0000 (08:27 +0000)]
2004-06-16 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (IMAGE_ORDINAL_FLAG): Map to ...
(IMAGE_ORDINAL_FLAG{32,64}: New defines.
(IMAGE_SNAP_BY_ORDINAL): Map to ...
(IMAGE_SNAP_BY_ORDINAL{32,64}: New defines.
(IMAGE_ORDINAL): Map to ...
(IMAGE_ORDINAL{32,64}: New defines.
(IMAGE_THUNK_DATA): Map to ...
(IMAGE_THUNK_DATA{32,64}: New structures.
(IMAGE_THUNK_DATA): Map to ...
(IMAGE_THUNK_DATA{32,64}: New structures.
(IMAGE_IMPORT_DESCRIPTOR): Map to ...
(IMAGE_IMPORT_DESCRIPTOR{32,64}: New structures.
(IMAGE_IMAGE_TLS_DIRECTORY) Map to ...
(IMAGE_IMAGE_TLS_DIRECTORY{32,64}: New structures.
2004-06-16 Bang Jun-Young <junyoung@NetBSD.org>
* w32api/include/winnt.h (WAITORTIMERCALLBACKFUNC): Protect with
_WIN32_WINNT >= 0x0500.
hilfingr [Wed, 16 Jun 2004 08:18:02 +0000 (08:18 +0000)]
* ada-tasks.c: Rename build_task_list to ada_build_task_list, and
make it non-static.
* ada-lang.h (task_control_block): declaration moved from ada-task.c
to ada-lang.h; this is needed to be able to implement the kill command
in multi-task mode.
(task_ptid): Ditto.
(task_entry): Ditto.
(task_list): Ditto.
(ada_build_task_list): Ditto.
* ada-lang.c: Conditionalize routines and data structures related
to breakpoints, exceptions, completion, and symbol caching on
GNAT_GDB, since these are not yet used in the submitted public sources.
(ada_main_name): Editorial: Move definition out of exception-related
code.
chastain [Wed, 16 Jun 2004 04:27:29 +0000 (04:27 +0000)]
2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/long_long.c: Add copyright notice.
chastain [Wed, 16 Jun 2004 02:15:34 +0000 (02:15 +0000)]
2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/long_long.exp: Remove reference to
bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
to gdb_breakpoint and gdb_continue_to_breakpoint.
gdbadmin [Wed, 16 Jun 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 16 Jun 2004 00:00:07 +0000 (00:00 +0000)]
daily update
jimb [Tue, 15 Jun 2004 18:12:02 +0000 (18:12 +0000)]
* gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
endian case.
jakub [Tue, 15 Jun 2004 16:39:11 +0000 (16:39 +0000)]
* scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
.gcc_except_table output sections lost accidentally with
-z relro patch.
cagney [Tue, 15 Jun 2004 15:06:57 +0000 (15:06 +0000)]
2004-06-15 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (non_heuristic_proc_desc): Delete call to
deprecated_pc_in_call_dummy.
cagney [Tue, 15 Jun 2004 15:06:43 +0000 (15:06 +0000)]
2004-06-15 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (non_heuristic_proc_desc): Delete call to
deprecated_pc_in_call_dummy.
sky [Tue, 15 Jun 2004 12:38:07 +0000 (12:38 +0000)]
* config/tc-s390.c (s390_insn): Avoid incorrect signed/unsigned
comparison in .insn pseudo operation.
bje [Tue, 15 Jun 2004 03:24:57 +0000 (03:24 +0000)]
* configure.in: Run through autoupdate.
* configure: Regenerate with autoconf 2.59.
* Makefile.am (install-local): Rename from this ..
(install-data-local): .. to this.
* Makefile.in: Regenerate with automake 1.8.5.
* aclocal.m4: Regenerate with aclocal 1.8.5.
joshuadfranklin [Tue, 15 Jun 2004 03:23:23 +0000 (03:23 +0000)]
Fix faq-faq0 snafu.
joshuadfranklin [Tue, 15 Jun 2004 03:19:23 +0000 (03:19 +0000)]
* how-programming.texinfo: Add section about Visual Studio linking.
amodra [Tue, 15 Jun 2004 02:18:51 +0000 (02:18 +0000)]
* dumper.cc (dumper::prepare_core_dump): Use bfd_get_section_size
instead of _raw_size.
(dumper::write_core_dump): Likewise.
* parse_pe.cc (select_data_section): Likewise.
amodra [Tue, 15 Jun 2004 01:24:21 +0000 (01:24 +0000)]
* section.c (struct sec): Remove usused flags. Reorganize a little.
(bfd_get_section_size_before_reloc): Delete.
(bfd_get_section_size_after_reloc): Delete.
(STD_SECTION): Update.
(bfd_get_section_size_now): Delete.
(bfd_set_section_contents): Don't referece reloc_done.
(bfd_get_section_contents): Remove reloc_done comment.
* bout.c (b_out_bfd_get_relocated_section_contents): Don't set
reloc_done.
* coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Likewise.
* ecoff.c (bfd_debug_section): Update initializer.
* elfxx-mips.c (_bfd_elf_mips_get_relocated_section_contents): Ditto.
* reloc.c (bfd_generic_get_relocated_section_contents): Likewise.
* bfd-in.h (bfd_section_size): Expand.
(bfd_get_section_size): New macro.
* bfd-in2.h: Regenerate.
* coff64-rs6000.c (xcoff64_write_object_contents): Replace
bfd_get_section_size_before_reloc with bfd_get_section_size.
* coffcode.h (coff_write_object_contents): Likewise.
* coffgen.c (build_debug_section): Likewise.
* dwarf1.c (parse_line_table): Likewise.
(_bfd_dwarf1_find_nearest_line): Likewise.
* ecoff.c (_bfd_ecoff_write_object_contents): Likewise.
* i386msdos.c (msdos_write_object_contents): Likewise.
* pdp11.c (squirt_out_relocs): Likewise.
* elf32-sh64.c (sh64_find_section_for_address): Remove comment.
* elf64-mmix.c (mmix_elf_final_link): Update comment.
amodra [Tue, 15 Jun 2004 01:19:13 +0000 (01:19 +0000)]
* objcopy.c (copy_section): Use bfd_get_section_size instead of
_raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
(compare_section_lma): Likewise.
* addr2line.c (find_address_in_section): Likewise.
* coffgrok.c (do_sections_p1): Likewise.
* dlltool.c (scan_drectve_symbols): Likewise.
* nlmconv.c (main): Likewise.
(copy_sections): Likewise.
(powerpc_mangle_relocs): Likewise.
* objdump.c (disassemble_section): Likewise.
* prdbg.c (find_address_in_section): Likewise.
* size.c (berkeley_sum): Likewise.
* srconv.c (wr_ob): Likewise.
* strings.c (strings_a_section): Likewise.
amodra [Tue, 15 Jun 2004 01:16:35 +0000 (01:16 +0000)]
* config/obj-coff.c (coff_adjust_section_syms): Use
bfd_get_section_size instead of bfd_get_section_size_before_reloc.
(coff_frob_section): Likewise.
* config/tc-mips.c (md_apply_fix3): Likewise.
* config/obj-elf.c (elf_frob_file): Use bfd_set_section_size.
(elf_frob_file_after_relocs): Likewise.
amodra [Tue, 15 Jun 2004 01:14:21 +0000 (01:14 +0000)]
* arc-ext.c (build_ARC_extmap): Use bfd_get_section_size
instead of _raw_size.
amodra [Tue, 15 Jun 2004 01:13:20 +0000 (01:13 +0000)]
* ldwrite.c (build_link_order): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc or _raw_size.
* pe-dll.c (process_def_file): Likewise.
amodra [Tue, 15 Jun 2004 01:11:43 +0000 (01:11 +0000)]
* corefile.c (core_init): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc or _raw_size.
* symtab.c (symtab_finalize): Likewise.
amodra [Tue, 15 Jun 2004 01:08:56 +0000 (01:08 +0000)]
* hw_htab.c (htab_sum_binary(bfd): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc.
(htab_dma_binary(bfd): Likewise.
* hw_init.c (update_for_binary_section(bfd): Likewise.
amodra [Tue, 15 Jun 2004 01:08:34 +0000 (01:08 +0000)]
* interp.c (sim_prepare_for_program): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc.
amodra [Tue, 15 Jun 2004 01:08:00 +0000 (01:08 +0000)]
* sim-load.c (sim_load_file): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc.
amodra [Tue, 15 Jun 2004 01:04:15 +0000 (01:04 +0000)]
* dsrec.c (load_srec, make_srec): Use bfd_get_section_size instead of
bfd_get_section_size_before_reloc or _raw_size.
* dwarf2-frame.c (dwarf2_build_frame_info): Likewise.
* dwarf2read.c (dwarf2_locate_sections): Likewise.
(dwarf2_read_section): Likewise.
* elfread.c (elf_locate_sections): Likewise.
* gcore.c (derive_heap_segment): Likewise.
* mipsread.c (read_alphacoff_dynamic_symtab): Likewise.
* remote-e7000.c (e7000_load): Likewise.
* remote-m32r-sdi.c (m32r_load): Likewise.
* remote-mips.c (mips_load_srec): Likewise.
(pmon_load_fast): Likewise.
* remote.c (compare_sections_command): Likewise.
* symfile.c (add_section_size_callback): Likewise.
(load_section_callback): Likewise.
(pc_in_unmapped_range): Likewise.
(pc_in_mapped_range): Likewise.
(sections_overlap): Likewise.
(list_overlays_command): Likewise.
(simple_overlay_update_1): Likewise.
(simple_overlay_update): Likewise.
* tracepoint.c (remote_set_transparent_ranges): Likewise.
* win32-nat.c (core_section_load_dll_symbols): Likewise.
amodra [Tue, 15 Jun 2004 01:01:43 +0000 (01:01 +0000)]
* generic/gdbtk-cmds.c (gdb_load_info): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc.
cagney [Tue, 15 Jun 2004 00:16:40 +0000 (00:16 +0000)]
2004-06-14 Andrew Cagney <cagney@gnu.org>
* gdb.base/gcore.exp (capture_command_output): Delete the always
passing tests containing inferior values.
* gdb.base/ending-run.exp: Do not include the breakpoint address
in the test message. Update copyright.
* gdb.base/sizeof.exp (check_sizeof): Do not include the type's
size in the test name, use gdb_test_multiple. Update copyright.
amodra [Tue, 15 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 15 Jun 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Mon, 14 Jun 2004 22:52:51 +0000 (22:52 +0000)]
ChangeLog editorial fixes.
cagney [Mon, 14 Jun 2004 22:26:33 +0000 (22:26 +0000)]
2004-06-14 Andrew Cagney <cagney@gnu.org>
Based on changes from Karl Berry.
* gdb.texinfo: Do not use @sc in a direntry.
* stabs.texinfo: Change @dircateogry to "Software development".
* gdbint.texinfo, gdb.texinfo, annotate.texinfo: Ditto.
jjohnstn [Mon, 14 Jun 2004 20:57:06 +0000 (20:57 +0000)]
2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/machine/i386/syscall.h: For now, set up
__syscall_return macro for systems with vsyscall.
tausq [Mon, 14 Jun 2004 20:40:35 +0000 (20:40 +0000)]
2004-06-14 Randolph Chung <tausq@debian.org>
* Makefile.in (hppa-hpux-tdep.o): Update dependency.
* hppa-hpux-tdep.c (hp_cxx_exception_support_initialized): Make
static.
(hppa_hpux_inferior_created): New function.
(hppa_hpux_init_abi): Register observer.
* symfile.c (hp_cxx_exception_support_initialized)
(RESET_HP_UX_GLOBALS): Remove HPUXHPPA specific hacks.
(symbol_file_add_main_1, symbol_file_clear): Likewise.
cgd [Mon, 14 Jun 2004 18:25:05 +0000 (18:25 +0000)]
[ bfd/ChangeLog ]
2004-06-14 Chris Demetriou <cgd@broadcom.com>
* elf32-mips.c (elf_mips_gnu_pcrel32): Add (undoing 2004-04-24
removal) with updated comment.
(bfd_elf32_bfd_reloc_type_lookup): Add back case for
BFD_RELOC_32_PCREL.
(mips_elf32_rtype_to_howto): Add back case for R_MIPS_PC32.
* elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
[ include/elf/ChangeLog ]
2004-06-14 Chris Demetriou <cgd@broadcom.com>
* mips.h (R_MIPS_PC32): Add back (undoing removal on 2004-04-24),
with an updated comment.
tausq [Mon, 14 Jun 2004 17:35:04 +0000 (17:35 +0000)]
2004-06-14 Randolph Chung <tausq@debian.org>
* MAINTAINERS (Write After Approval): Alphabetize my entry correctly.
chastain [Mon, 14 Jun 2004 16:30:15 +0000 (16:30 +0000)]
2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/ref-types.cc: Add copyright notice.
chastain [Mon, 14 Jun 2004 15:29:27 +0000 (15:29 +0000)]
2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
hp_aCC_compiler.
* lib/compiler.cc: Likewise.
* lib/gdb.exp (get_compiler_info): Eval lines only if they are
'set' commands. Log diagnostics for other lines. Set
gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
cagney [Mon, 14 Jun 2004 13:40:34 +0000 (13:40 +0000)]
Index: ChangeLog
2004-06-14 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS (testsuite): List Michael Chastain as the lead
testsuite maintainer.
cagney [Mon, 14 Jun 2004 13:40:24 +0000 (13:40 +0000)]
Index: ChangeLog
2004-06-14 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS (testsuite): List Michael Chastain as the lead
testsuite maintainer.
amodra [Mon, 14 Jun 2004 12:46:42 +0000 (12:46 +0000)]
* ldlang.c (lang_finish): Don't free lang_definedness_table.
joshuadfranklin [Mon, 14 Jun 2004 02:42:05 +0000 (02:42 +0000)]
2004-06-13 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* faq.texinfo: Move outdated calls.texinfo to readme.texinfo.
* how-api.texinfo: Fix typos.
* how-programming.texinfo: Fix typos.
* how-resources.texinfo: Fix typos.
* how-using.texinfo: Fix typos.
* install.texinfo: Fix typos.
* readme.texinfo: Move outdated calls.texinfo to readme.texinfo.
gdbadmin [Mon, 14 Jun 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 14 Jun 2004 00:00:07 +0000 (00:00 +0000)]
daily update
cagney [Sun, 13 Jun 2004 17:05:55 +0000 (17:05 +0000)]
2004-06-13 Andrew Cagney <cagney@gnu.org>
* infcmd.c (print_return_value): Fix logic, allow
DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS when struct_return.
cagney [Sun, 13 Jun 2004 17:04:48 +0000 (17:04 +0000)]
2004-06-13 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh: For predicates, do not check GDB_MULTI_ARCH when
defining any macros.
* gdbarch.h: Re-generate.
cagney [Sun, 13 Jun 2004 16:43:58 +0000 (16:43 +0000)]
2004-06-13 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh: Delete "level" attribute. Only check for a macro
redefinition when multi-arch greater than GDB_MULTI_ARCH_PARTIAL.
* gdbarch.h: Re-generate.
chastain [Sun, 13 Jun 2004 16:07:01 +0000 (16:07 +0000)]
2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/try_catch.cc: Add copyright notice.
cagney [Sun, 13 Jun 2004 15:15:57 +0000 (15:15 +0000)]
2004-06-13 Andrew Cagney <cagney@gnu.org>
* values.c (generic_use_struct_convention): Don't check gcc_p.
cagney [Sun, 13 Jun 2004 13:49:51 +0000 (13:49 +0000)]
2004-06-13 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE)
(DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Delete.
* gdbarch.h, gdbarch.c: Regenerate.
* ns32k-tdep.h (NS32K_MAX_REGISTER_RAW_SIZE)
(NS32K_MAX_REGISTER_VIRTUAL_SIZE): Delete macros.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
deprecated_max_register_raw_size and
deprecated_max_register_virtual_size.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
cagney [Sun, 13 Jun 2004 13:42:30 +0000 (13:42 +0000)]
Index: ChangeLog
2004-06-13 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (RETURN_VALUE_ON_STACK): Delete method.
* gdbarch.h, gdbarch.c: Re-generate.
* m68hc11-tdep.c (m68hc11_return_value_on_stack): Delete function.
(m68hc11_use_struct_convention): Delete function.
(m68hc11_extract_struct_value_address): Delete function.
(m68hc11_return_value): New function.
(m68hc11_gdbarch_init): Instead of store_return_value,
extract_return_value, return_value_on_stack,
deprecated_extract_struct_value_address and use_struct_convention,
set return_value.
* values.c (using_struct_return): Do not call
RETURN_VALUE_ON_STACK.
* arch-utils.h (generic_return_value_on_stack_not): Delete
declaration.
* arch-utils.c (generic_return_value_on_stack_not): Delete
function.
Index: doc/ChangeLog
2004-06-13 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Target Architecture Definition): Delete
description of RETURN_VALUE_ON_STACK.
gdbadmin [Sun, 13 Jun 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 13 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update
cagney [Sat, 12 Jun 2004 18:02:25 +0000 (18:02 +0000)]
2004-06-12 Andrew Cagney <cagney@gnu.org>
* values.c (register_value_being_returned): Delete function.
* infcmd.c (legacy_return_value): Delete function.
* infcall.c (call_function_by_hand): Inline
"register_value_being_returned", simplify.
* values.c (using_struct_return): Update comment, refer to
print_return_value instead of register_value_being_returned.
* infcmd.c (print_return_value): Inline calls to
register_value_being_returned and legacy_return_value. Simplify.
chastain [Sat, 12 Jun 2004 16:45:48 +0000 (16:45 +0000)]
2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/userdef.cc: Add copyright notice.
cgf [Sat, 12 Jun 2004 16:07:16 +0000 (16:07 +0000)]
YA forced checkin to see if I can duplicate the header mismatch problem.
amodra [Sat, 12 Jun 2004 11:30:06 +0000 (11:30 +0000)]
* elf64-x86-64.c (elf64_x86_64_relocate_section): Ignore reloc
overflow on branches to undefweaks.
chastain [Sat, 12 Jun 2004 01:20:50 +0000 (01:20 +0000)]
2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.cc: Add copyright notice.
amodra [Sat, 12 Jun 2004 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 12 Jun 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
tausq [Fri, 11 Jun 2004 23:44:22 +0000 (23:44 +0000)]
2004-06-11 Randolph Chung <tausq@debian.org>
* somread.c (som_symtab_read): Exclude gcc local symbols.
tausq [Fri, 11 Jun 2004 23:42:49 +0000 (23:42 +0000)]
2004-06-11 Randolph Chung <tausq@debian.org>
* gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
problem.
tausq [Fri, 11 Jun 2004 23:39:48 +0000 (23:39 +0000)]
2004-06-11 Randolph Chung <tausq@debian.org>
* infrun.c (handle_inferior_event): Handle the case when a trampoline
ends up in the runtime resolver, and if the trampoline has no name.
Rearrange the code so that all the trampoline processing happens before
other step-out-of-range handling.
jjohnstn [Fri, 11 Jun 2004 20:37:09 +0000 (20:37 +0000)]
2004-06-11 Antony King <antony.king@st.com>
* libc/include/sys/_types.h: Include <sys/lock.h> and change
_flock_t to be of type _LOCK_RECURSIVE_T.
* libc/include/sys/reent.h: (_REENT_INIT): Reformat.
(_REENT_INIT_PTR): Ditto. Use memset where appropriate.
(_global_impure_ptr): New declaration.
(_GLOBAL_REENT): Change to be _global_impure_ptr.
* libc/include/sys/stdio.h: Include <sys/lock.h> and
<sys/reent.h>.
(_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
(_funlockfile)[!SINGLE_THREAD]: Ditto.
* libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
* libc/stdio/fclose.c: Remove casting of fp lock to
_LOCK_RECURSIVE_T.
* libc/stdio/findfp.c: Ditto.
* libc/stdio/fopen.c: Ditto.
* libc/stdio/freopen.c: Ditto.
* libc/stdio/vfprintf.c: Ditto.
* libc/stdio64/fopen64.c: Ditto.
* libc/stdlib/envlock.c: Add default stubs that use generic
locking code.
* libc/stdlib/mlock.c: Ditto.
Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
(_flock_t): Change to be a struct containing a single member
named mutex which is of type __flock_mutex_t.
hunt [Fri, 11 Jun 2004 19:34:28 +0000 (19:34 +0000)]
2004-06-11 Martin Hunt <hunt@redhat.com>
* mips-tdep.c (mips_gdbarch_init): Recognize vr4120
has no fpu.
hunt [Fri, 11 Jun 2004 18:49:37 +0000 (18:49 +0000)]
2004-06-11 Martin Hunt <hunt@redhat.com>
* generic/gdbtk-cmds.c (gdb_find_file_command): Use
symtab_to_fullname() instead of symtab_to_filename().
(gdb_loc): Ditto.
(gdb_loadfile): Ditto.
* generic/gdbtk-bp.c (gdb_get_breakpoint_info): Ditto.
(gdb_get_tracepoint_info): Ditto.
* generic/gdbtk-register.c (get_register): Simplify and remove
references to DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL.
joshuadfranklin [Fri, 11 Jun 2004 18:25:06 +0000 (18:25 +0000)]
Define ps status flags
danglin [Fri, 11 Jun 2004 17:39:17 +0000 (17:39 +0000)]
* config/tc-hppa.c (log2): Rename to exact_log2.
(pa_next_subseg): Delete unused function.
(create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED.
(create_new_subspace): Likewise.
danglin [Fri, 11 Jun 2004 17:36:31 +0000 (17:36 +0000)]
Bug gas/213
* config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake
labels. Fix warning.
macro [Fri, 11 Jun 2004 14:19:27 +0000 (14:19 +0000)]
* coff-alpha.c (alpha_relocate_section): Set used_by_bfd directly
as ecoff_section_data() does not return a valid lvalue.
cgf [Fri, 11 Jun 2004 13:52:50 +0000 (13:52 +0000)]
forced checkin
cgf [Fri, 11 Jun 2004 13:51:28 +0000 (13:51 +0000)]
forced checkin
cgf [Fri, 11 Jun 2004 01:53:38 +0000 (01:53 +0000)]
forced checkin
cagney [Fri, 11 Jun 2004 00:41:54 +0000 (00:41 +0000)]
2004-06-10 Andrew Cagney <cagney@gnu.org>
* blockframe.c (legacy_inside_entry_func): Delete.
(legacy_frame_chain_valid): Inline call to
legacy_inside_entry_func, simplify.
amodra [Fri, 11 Jun 2004 00:00:10 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 11 Jun 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Thu, 10 Jun 2004 21:38:02 +0000 (21:38 +0000)]
2004-06-10 Andrew Cagney <cagney@gnu.org>
* lib/compiler.cc, lib/compiler.c: Append either
__GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
* gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
instead of gcc-3-3.
msnyder [Thu, 10 Jun 2004 20:22:17 +0000 (20:22 +0000)]
2004-06-10 Michael Snyder <msnyder@redhat.com>
Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
* compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.
bobbybrasko [Thu, 10 Jun 2004 20:08:22 +0000 (20:08 +0000)]
Sorry, date was wrong.
bobbybrasko [Thu, 10 Jun 2004 20:05:40 +0000 (20:05 +0000)]
Add the -file-list-exec-source-files command to MI.
cagney [Thu, 10 Jun 2004 18:25:48 +0000 (18:25 +0000)]
2004-06-10 Andrew Cagney <cagney@gnu.org>
* avr-tdep.c (avr_gdbarch_init): Do not set use_struct_convention
to generic_use_struct_convention, the default value.
cagney [Thu, 10 Jun 2004 17:49:47 +0000 (17:49 +0000)]
2004-06-10 Andrew Cagney <cagney@gnu.org>
* mn10300-tdep.c (mn10300_type_align): Call internal_error instead
of abort.
cagney [Thu, 10 Jun 2004 17:39:21 +0000 (17:39 +0000)]
2004-06-10 Andrew Cagney <cagney@gnu.org>
* ns32k-tdep.c (ns32k_push_arguments): New function.
(ns32k_gdbarch_init): Set deprecated_push_arguments.
* infcall.c (call_function_by_hand): Call error instead of
legacy_push_arguments.
* value.h (legacy_push_arguments): Delete declaration.
* valops.c (legacy_push_arguments): Delete function.
(value_push): Delete function.
ford [Thu, 10 Jun 2004 15:52:04 +0000 (15:52 +0000)]
* coffread.c (coff_symfile_read): Prevent mixed debugging formats
from corrupting/reinitializing the psymtab. Support DWARF 2 frame
info.
* dbxread.c (elfstab_build_psymtabs): Remove bogus comment.
cagney [Thu, 10 Jun 2004 13:22:03 +0000 (13:22 +0000)]
2004-06-10 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.h (deprecated_pc_in_call_dummy): Delete "sp" and "fp"
parameters.
* dummy-frame.c (deprecated_pc_in_call_dummy): Update.
* arm-tdep.c (arm_pc_is_thumb_dummy): Call
deprecated_pc_in_call_dummy instead of
DEPRECATED_PC_IN_CALL_DUMMY.
(arm_skip_prologue): Ditto.
* xstormy16-tdep.c (xstormy16_pop_frame, xstormy16_scan_prologue)
(xstormy16_frame_saved_pc, xstormy16_frame_chain): Ditto.
* v850-tdep.c (v850_find_callers_reg, v850_frame_chain)
(v850_pop_frame, v850_frame_saved_pc, v850_frame_init_saved_regs):
Ditto.
* sh64-tdep.c (sh64_frame_chain, sh64_get_saved_pr)
(sh64_init_extra_frame_info, sh64_get_saved_register)
(sh64_pop_frame): Ditto.
* mips-tdep.c (non_heuristic_proc_desc): Ditto.
* mcore-tdep.c (mcore_find_callers_reg, mcore_frame_saved_pc)
(mcore_pop_frame, mcore_init_extra_frame_info): Ditto.
* h8300-tdep.c (h8300_frame_chain, h8300_frame_saved_pc)
(h8300_pop_frame): Ditto.
* blockframe.c (legacy_inside_entry_func)
(legacy_frame_chain_valid): Ditto.
* frame.c (frame_type_from_pc, legacy_get_prev_frame): Update call
to deprecated_pc_in_call_dummy.
gdbadmin [Thu, 10 Jun 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
bje [Wed, 9 Jun 2004 22:48:28 +0000 (22:48 +0000)]
Include Makefile.*, not just Makefile.in, in the top-level policy.
bje [Wed, 9 Jun 2004 22:14:10 +0000 (22:14 +0000)]
Update with respect to DejaGnu and Expect.
cagney [Wed, 9 Jun 2004 21:26:46 +0000 (21:26 +0000)]
2004-06-09 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (:REGISTER_TO_VALUE, VALUE_TO_REGISTER): Do not
provide a default value.
(CONVERT_REGISTER_P): Default to generic_convert_register_p.
* gdbarch.h, gdbarch.c: Re-generate.
* arch-utils.c (generic_convert_register_p): Rename
legacy_convert_register_p
(legacy_register_to_value, legacy_value_to_register): Delete
functions.
* arch-utils.h (generic_convert_register_p): Rename
legacy_convert_register_p.
(legacy_register_to_value, legacy_value_to_register): Delete
declarations.
jjohnstn [Wed, 9 Jun 2004 20:43:42 +0000 (20:43 +0000)]
2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/Makefile.am: Change siglist.inc to be generated
from /usr/include/asm/signal.h instead of kernel sources. Also
default max to 32 if not found in header file.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
systems where __syscall_return is not defined.
* libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
systems to use syscall() function instead of assembler interrupt.
cagney [Wed, 9 Jun 2004 20:42:27 +0000 (20:42 +0000)]
2004-06-09 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (DEPRECATED_REGISTER_CONVERT_TO_RAW)
(DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL)
(DEPRECATED_REGISTER_CONVERTIBLE): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* infcmd.c (default_print_registers_info): Simplify.
* findvar.c (value_of_register): Simplify.
* mi/mi-main.c (get_register): Simplify.
* arch-utils.c (legacy_convert_register_p): Always return 0.
(legacy_register_to_value, legacy_value_to_register): Always call
internal_error.
cagney [Wed, 9 Jun 2004 20:09:38 +0000 (20:09 +0000)]
2004-06-09 Andrew Cagney <cagney@gnu.org>
* infptrace.c (child_xfer_memory) [CLEAR_INSN_CACHE]: Delete
#ifdef CLEAR_INSN_CACHE code.
* target.c (generic_mourn_inferior) [CLEAR_DEFERRED_STORES]:
Delete #ifdef CLEAR_DEFERRED_STORES code.
cagney [Wed, 9 Jun 2004 20:03:28 +0000 (20:03 +0000)]
2004-06-09 Andrew Cagney <cagney@gnu.org>
* solib-svr4.c [HANDLE_SVR4_EXEC_EMULATORS]: Delete #ifdef code.
cagney [Wed, 9 Jun 2004 19:54:11 +0000 (19:54 +0000)]
2004-06-09 Andrew Cagney <cagney@gnu.org>
* config/ia64/tm-linux.h (TARGET_ELF64): Delete macro, Update
copyright.
* config/ia64/tm-aix.h (TARGET_ELF64): Ditto.