OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years ago* x86-64-tdep.c (x86_64_init_abi): Add calls to override the i386
kettenis [Sat, 26 Oct 2002 16:56:33 +0000 (16:56 +0000)]
* x86-64-tdep.c (x86_64_init_abi): Add calls to override the i386
target where necessary.  Add more comments and remove the ones
that don't provide any useful information.

21 years ago* i386-tdep.c (i386_frame_saved_pc): Replace call to
kettenis [Sat, 26 Oct 2002 14:58:41 +0000 (14:58 +0000)]
* i386-tdep.c (i386_frame_saved_pc): Replace call to
deprecated_read_register_dummy with
frame_unwind_unsigned_register.

21 years ago* i386-tdep.c (i386_extract_struct_value_address): Use
kettenis [Sat, 26 Oct 2002 14:41:36 +0000 (14:41 +0000)]
* i386-tdep.c (i386_extract_struct_value_address): Use
regcache_raw_read_unsigned instead of
regcache_cooked_read_unsigned since we know that the register
we're reading isn't a pseudo register.  Rename variable 'val' into
the more descriptive 'addr'.

21 years ago * tuiIO.c (tui_prep_terminal): Save the prompt registered in readline.
ciceron [Sat, 26 Oct 2002 10:38:57 +0000 (10:38 +0000)]
* tuiIO.c (tui_prep_terminal): Save the prompt registered in readline.
(tui_redisplay_readline): Use the last saved prompt.
(tui_rl_saved_prompt): New.

21 years ago* x86-64-tdep.c: Fix some formatting problems, mostly in comments.
kettenis [Sat, 26 Oct 2002 10:37:44 +0000 (10:37 +0000)]
* x86-64-tdep.c: Fix some formatting problems, mostly in comments.
(x86_64_push_return_address): Add comment.
(x86_64_pop_frame): Make static.
(examine_argument): Clarify comment.
(x86_64_skip_prologue): Make prolog_expact variable static.

21 years ago* dwarf2cfi.c: Fix some formatting problems.
kettenis [Sat, 26 Oct 2002 10:13:51 +0000 (10:13 +0000)]
* dwarf2cfi.c: Fix some formatting problems.
(context_cpy, read_encoded_pointer): Clarify comments.

21 years ago* x86-64-tdep.c (x86_64_breakpoint_from_pc): Constify.
kettenis [Sat, 26 Oct 2002 09:36:33 +0000 (09:36 +0000)]
* x86-64-tdep.c (x86_64_breakpoint_from_pc): Constify.
(x86_64_init_abi): Move set_gdbarch_* calls that overlap with the
i386 target back into x86_64_gdbarch_init.  Add some comments and
remove meaningless ones.

21 years ago* revert dummy commit.
bje [Sat, 26 Oct 2002 06:50:12 +0000 (06:50 +0000)]
* revert dummy commit.

21 years ago* Makefile.tpl (bootstrap): Add bubblestrap, quickstrap, cleanstrap,
dj [Sat, 26 Oct 2002 03:57:38 +0000 (03:57 +0000)]
* Makefile.tpl (bootstrap):  Add bubblestrap, quickstrap, cleanstrap,
and restrap targets to this rule.
* Makefile.in:  Regenerate.

21 years agodaily update
amodra [Sat, 26 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sat, 26 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-10-25 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 25 Oct 2002 22:25:54 +0000 (22:25 +0000)]
2002-10-25  Andrew Cagney  <cagney@redhat.com>

* complaints.h (struct deprecated_complaint): Rename `struct
complaint'.
* complaints.c (complain): Update.
* remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Delete
incorrect comment indicating that "symfile.h" was being included
for the `struct complaint' definition.
* remote-vx.c: Update.
* objc-lang.c: Update.
* xcoffread.c: Update.
* hpread.c: Update.
* mdebugread.c: Update.
* stabsread.c: Update.
* dwarf2read.c: Update.
* dwarfread.c: Update.
* elfread.c: Update.
* coffread.c: Update.
* stabsread.h: Update.
* dbxread.c: Update.
* buildsym.c: Update.
* gdbtypes.c: Update.
* macrotab.c: Update.

21 years ago* x86-64-tdep.c (x86_64_gdbarch_init): Make a bit more similar to
kettenis [Fri, 25 Oct 2002 21:53:08 +0000 (21:53 +0000)]
* x86-64-tdep.c (x86_64_gdbarch_init): Make a bit more similar to
the version in i386-tdep.c.  Move set_gdbarch_* calls out into...
(x86_64_init_abi): ...new function.

21 years ago* config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Add
thorpej [Fri, 25 Oct 2002 21:48:57 +0000 (21:48 +0000)]
* config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Add
bfd_elf64_bigmips_vec and bfd_elf64_littlemips_vec to
targ_selvecs.

21 years ago* Makefile.in (i386v-nat.o): Add $(i386_tdep_h).
kettenis [Fri, 25 Oct 2002 21:23:56 +0000 (21:23 +0000)]
* Makefile.in (i386v-nat.o): Add $(i386_tdep_h).

21 years ago Fix PR gdb/787
ciceron [Fri, 25 Oct 2002 19:46:04 +0000 (19:46 +0000)]
Fix PR gdb/787
* tuiWin.c (ACS_LRCORNER, ACS_LLCORNER, ACS_ULCORNER, ACS_URCORNER,
ACS_HLINE, ACS_VLINE): Define if they don't exist.

21 years ago Fix PR gdb/478
ciceron [Fri, 25 Oct 2002 19:24:01 +0000 (19:24 +0000)]
Fix PR gdb/478
* tuiIO.c (tui_initialize_io): Use setvbuf since this is portable.

21 years ago2002-10-25 Bernd Schmidt <bernds@redhat.com>
jjohnstn [Fri, 25 Oct 2002 19:18:45 +0000 (19:18 +0000)]
2002-10-25  Bernd Schmidt  <bernds@redhat.com>

        * i386/cygmon.ld: Add entry for .gcc_except_table.

2000-10-25  Mark Salter  <msalter@redhat.com>

        * i386/cygmon-crt0.S: Use __USER_LABEL_PREFIX__ for symbols. Always
        use __start for start symbol.
        * i386/cygmon-salib.c: Don't build __do_global_[cd]tors for AOUT.
        Disable file I/O extensions to make Plum Hall happy.
        * i386/cygmon.ld: Set __start as entry point.
        * i386/Makefile.in: Support IS_AOUT.
        * i386/configure.in: Support IS_AOUT.
        * i386/configure: Regenerated.
        * i386/cygmon-salib.c:
        * i386/cygmon-gmon.c (_mcount): It's _etext.

21 years agoRegenerated with latest autoconf.
jjohnstn [Fri, 25 Oct 2002 19:05:34 +0000 (19:05 +0000)]
Regenerated with latest autoconf.

21 years agoRegenerate to use latest autoconf tools.
jjohnstn [Fri, 25 Oct 2002 19:00:53 +0000 (19:00 +0000)]
Regenerate to use latest autoconf tools.

21 years agoAdd some string section merging support.
wilson [Fri, 25 Oct 2002 18:55:22 +0000 (18:55 +0000)]
Add some string section merging support.
* elf64-sh64.c (sh_elf64_relocate_section): Call
_bfd_elf_rela_local_sym.  Handle relocs against STT_SECTION symbol
of SHF_MERGE section.

21 years ago* i386v-nat.c: Include "i386-tdep.h".
kettenis [Fri, 25 Oct 2002 18:50:22 +0000 (18:50 +0000)]
* i386v-nat.c: Include "i386-tdep.h".

21 years ago2002-10-25 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 25 Oct 2002 18:35:21 +0000 (18:35 +0000)]
2002-10-25  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.in: Clarify some of the triplets so unsupported
        configurations don't pass through.
        * configure: Regenerated.

21 years ago2002-10-25 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 25 Oct 2002 15:59:55 +0000 (15:59 +0000)]
2002-10-25  Andrew Cagney  <cagney@redhat.com>

* gdbtypes.c (address_space_name_to_int): Update.
(address_space_int_to_name): Update.
* gdbarch.sh (address_class_type_flags_to_name): Change to a pure
multi-arch predicate.
(address_class_name_to_type_flags): Ditto.
* gdbarch.h, gdbarch.c: Re-generate.

21 years ago * simple.c: Correct placement of ATTRIBUTE_UNUSED.
hp [Fri, 25 Oct 2002 15:43:03 +0000 (15:43 +0000)]
* simple.c: Correct placement of ATTRIBUTE_UNUSED.

21 years ago2002-10-25 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 25 Oct 2002 14:08:44 +0000 (14:08 +0000)]
2002-10-25  Andrew Cagney  <cagney@redhat.com>

* MAINTAINERS: Check all warnings when h8300hms and alpha-elf.

21 years ago* dummy commit.
bje [Fri, 25 Oct 2002 09:08:23 +0000 (09:08 +0000)]
* dummy commit.

21 years agoFiles missed in previous commit.
danglin [Fri, 25 Oct 2002 03:19:29 +0000 (03:19 +0000)]
Files missed in previous commit.

21 years ago * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to
danglin [Fri, 25 Oct 2002 02:45:52 +0000 (02:45 +0000)]
* aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to
unsigned int.  Cast RELOC_BASE10, RELOC_BASE13 and RELOC_BASE22 to
unsigned int.
(NAME(aout,final_link)): Cast enum used in assignment.
(aout_link_write_symbols): Cast enums in comparisons, int values to
boolean, enums in assignments to int.
(aout_link_input_section_std): Cast rel->r_index to unsigned int.
(aout_link_input_section_ext): Likewise.  Cast enums used in comparisons
with unsigned ints.
(aout_link_reloc_link_order): Cast enum to int in assignment.
* archive.c (_bfd_generic_read_ar_hdr_mag): Cast result of memchr
calls to char *.
* bfd-in.h (bfd_set_section_vma): Cast enum true to unsigned int in
assignment.
* bfd-in2.h (bfd_set_section_vma): Likewise.
* bfd.c (bfd_record_phdr): Cast enums in assignments.
* binary.c (bfd_alloc): Cast enum to long.
* coffgen.c (_bfd_coff_is_local_label_name): Cast return to boolean.
* dwarf2.c (read_abbrevs): Add casts to enum types.
(read_attribute_value): Likewise.
(arange_add): Cast result of bfd_zalloc call.
(comp_unit_contains_address): Return true and false.
(comp_unit_find_nearest_line): Cast return to boolean.
* format.c (bfd_check_format_matches, bfd_set_format): Likewise.
* gen-aout.c: define macro '_' if not defined.
* libbfd.c (bfd_realloc): Cast malloc and realloc to PTR.
(bfd_bwrite): Cast bfd_realloc to bfd_byte *.
(bfd_write_bigendian_4byte_int): Cast return to boolean.
(bfd_seek): Cast bfd_realloc to bfd_byte *.
(bfd_generic_is_local_label_name): Cast return to boolean.
* libcoff.h (_bfd_coff_adjust_symndx): Remove extraneous '\'.
* linker.c (_bfd_link_hash_newfunc): Cast bfd_hash_allocate result to
struct bfd_hash_entry *.
(_bfd_generic_link_hash_newfunc): likewise.
(_bfd_generic_final_link): Cast enum to unsigned int.
* merge.c (sec_merge_emit): Cast return to boolean.
(merge_strings): Add casts to const unsigned char *.
* reloc.c (bfd_get_reloc_code_name): Cast enums in comparison to int.
(bfd_generic_get_relocated_section_content): Cast enum to unsigned int.
* section.c (bfd_section_hash_newfunc): Cast bfd_hash_allocate result to
struct bfd_hash_entry *.
(bfd_set_section_content): Add cast to PTR in comparison.
* simple.c (simple_dummy_warning, simple_dummy_undefined_symbol,
simple_dummy_reloc_overflow, simple_dummy_reloc_dangerous,
simple_dummy_unattached_reloc,
bfd_simple_get_relocated_section_contents): Add K&R declarations and
function definitions.
* srec.c (S3Forced): Initialize to false.
(srec_get_symtab): Cast return value from bfd_alloc to asymbol *.
* stabs.c (_bfd_link_section_stabs): Cast enum to int in comparisons.
(_bfd_discard_section_stabs): Likewise.  Also cast return to boolean.
* syms.c (bfd_is_undefined_symclass): Cast return to boolean.
(_bfd_stab_section_find_nearest_line): Cast enum to bfd_byte in
comparisons.

21 years agomerge from gcc
dj [Fri, 25 Oct 2002 00:01:54 +0000 (00:01 +0000)]
merge from gcc

21 years agodaily update
amodra [Fri, 25 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 25 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-10-24 Martin M. Hunt <hunt@redhat.com>
hunt [Thu, 24 Oct 2002 23:46:07 +0000 (23:46 +0000)]
2002-10-24  Martin M. Hunt  <hunt@redhat.com>

* utils.c (string_to_core_addr): Revert patch from 11 Oct.

21 years ago * configure.in (i[3456]86-*-linux*): Add check to disable
hp [Thu, 24 Oct 2002 23:31:47 +0000 (23:31 +0000)]
* configure.in (i[3456]86-*-linux*): Add check to disable
${libgcj} for glibc1.

21 years ago2002-10-24 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 24 Oct 2002 21:02:53 +0000 (21:02 +0000)]
2002-10-24  Elena Zannoni  <ezannoni@redhat.com>

* symtab.h (INIT_SAL): Delete macro.
(init_sal): Export.
* symtab.c (init_sal): New function.

* ada-lang.c (ada_finish_decode_line_1): Change INIT_SAL macro
to init_sal function call.
(find_sal_from_funcs_and_line): Ditto.
(all_sals_for_line): Ditto.
* breakpoint.c (create_internal_breakpoint): Ditto.
(create_fork_vfork_event_catchpoint): Ditto.
(create_exec_event_catchpoint): Ditto.
(parse_breakpoint_sals): Ditto.
(watch_command_1): Ditto.
(handle_gnu_4_16_catch_command): Ditto.
(clear_command): Ditto.
* hppa-tdep.c (child_enable_exception_callback): Ditto.
* infcmd.c (run_stack_dummy): Ditto.
* infrun.c (process_event_stop_test): Ditto.
(check_sigtramp2): Ditto.
(step_over_function): Ditto.
* linespec.c (decode_line_2): Ditto.
(decode_line_1): Ditto.
* source.c (line_info): Ditto.
* symtab.c (find_pc_sect_line): Ditto.

21 years ago* pwdgrp.h (pwdgrp_read::open): Compare fh to INVALID_HANDLE_VALUE.
cgf [Thu, 24 Oct 2002 14:33:13 +0000 (14:33 +0000)]
* pwdgrp.h (pwdgrp_read::open): Compare fh to INVALID_HANDLE_VALUE.

21 years agoReindented.
mludvig [Thu, 24 Oct 2002 01:37:39 +0000 (01:37 +0000)]
Reindented.

21 years ago2002-10-24 Michal Ludvig <mludvig@suse.cz>
mludvig [Thu, 24 Oct 2002 01:27:43 +0000 (01:27 +0000)]
2002-10-24  Michal Ludvig  <mludvig@suse.cz>

* dwarf2cfi.c (struct context)
(struct context_reg): Moved to dwarf2cfi.h
(context_alloc, frame_state_alloc, context_cpy):
Made extern instead of static, removed prototypes.
* dwarf2cfi.h (struct context)
(struct context_reg): New, moved from dwarf2cfi.c
(context_alloc, frame_state_alloc, context_cpy):
New prototypes.
* x86-64-linux-tdep.c (x86_64_linux_sigtramp_saved_pc):
Changed from static to extern.
(LINUX_SIGINFO_SIZE, LINUX_SIGCONTEXT_PC_OFFSET)
(LINUX_SIGCONTEXT_FP_OFFSET)
(LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Adjusted.
(x86_64_linux_in_sigtramp, x86_64_linux_frame_chain)
(x86_64_init_frame_pc, x86_64_init_extra_frame_info): New.
* x86-64-tdep.c (x86_64_gdbarch_init): Several
set_gdbarch_*() calls now use x86-64 specific functions
instead of DWARF2 CFI ones.
* x86-64-tdep.h (x86_64_linux_in_sigtramp)
(x86_64_linux_frame_chain, x86_64_init_frame_pc)
(x86_64_init_extra_frame_info): New prototypes.

21 years ago2002-10-23 David Carlton <carlton@math.stanford.edu>
carlton [Thu, 24 Oct 2002 00:13:56 +0000 (00:13 +0000)]
2002-10-23  David Carlton  <carlton@math.stanford.edu>

* linespec.c: #include "parser-defs.h".
Delete prototype for find_template_name_end.
* Makefile.in (linespec.o): Depend on $(parser_defs_h).

21 years agodaily update
amodra [Thu, 24 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Thu, 24 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-10-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 23 Oct 2002 23:57:28 +0000 (23:57 +0000)]
2002-10-23  Jeff Johnston  <jjohnstn@redhat.com>

        * mi-var-cmd.exp: Add tests to verify that a -var-assign that changes
        a value shows up in the changelist of a -var-update.  Part of fix
for gdb/702.
        * mi1-var-cmd.exp: Ditto.

21 years ago2002-10-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 23 Oct 2002 23:54:33 +0000 (23:54 +0000)]
2002-10-23  Jeff Johnston  <jjohnstn@redhat.com>

        * NEWS: add recent mi fixes.
        * varobj.c (struct varobj): Add new "updated" flag.
        (new_variable): Default "updated" flag to 0.
        (varobj_set_value): Set "updated" flag to 1 if value
        changes.
        (varobj_update): Check varobj "updated" flag before
        comparing old and refreshed values.  Fix for
        PR gdb/702.

21 years ago2002-10-23 David Carlton <carlton@math.stanford.edu>
carlton [Wed, 23 Oct 2002 23:37:33 +0000 (23:37 +0000)]
2002-10-23  David Carlton  <carlton@math.stanford.edu>

* parse.c (parse_exp_1): Use BLOCK_START.
* x86-64-tdep.c (x86_64_skip_prologue): Use BLOCK_END,
SYMBOL_BLOCK_VALUE.
* objc-lang.c (find_methods): Use BLOCK_START, BLOCK_END.

21 years ago2002-10-23 David Carlton <carlton@math.stanford.edu>
carlton [Wed, 23 Oct 2002 23:36:15 +0000 (23:36 +0000)]
2002-10-23  David Carlton  <carlton@math.stanford.edu>

* symtab.c: Delete cplusplus_hint.
Delete prototype for find_template_name_end.

21 years ago2002-10-23 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Wed, 23 Oct 2002 23:28:16 +0000 (23:28 +0000)]
2002-10-23  Elena Zannoni  <ezannoni@redhat.com>

* symtab.h: Update comment.

21 years ago2002-10-23 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 23 Oct 2002 21:33:07 +0000 (21:33 +0000)]
2002-10-23  Michael Snyder  <msnyder@redhat.com>

* printcmd.c (address_info): Restore quotes in output.
* valops.c (value_of_local): Restore quotes in error message.

21 years ago2002-10-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 23 Oct 2002 21:17:51 +0000 (21:17 +0000)]
2002-10-23  Jeff Johnston  <jjohnstn@redhat.com>

        * mi-cmd-var.c: Change all remaining occurrences of ui_out_tuple_begin
        to make_cleanup_ui_out_tuple_begin_end.  Change all remaining
        occurrences of ui_out_list_begin to make_cleanup_ui_out_list_begin_end.         Use do_cleanups instead of ui_out_list_end or ui_out_tuple_end.  This
        is a fix for PR gdb/680.
        * mi-cmd-stack.c: Ditto.
        * mi-main.c: Ditto.

21 years ago * elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamic
jakub [Wed, 23 Oct 2002 20:21:20 +0000 (20:21 +0000)]
* elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamic
relocs into shared lib non-allocated reloc sections.

21 years ago * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*
jakub [Wed, 23 Oct 2002 20:13:00 +0000 (20:13 +0000)]
* emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*
sections into .rel{,a}.dyn.

21 years ago2002-10-23 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Wed, 23 Oct 2002 20:09:28 +0000 (20:09 +0000)]
2002-10-23  Elena Zannoni  <ezannoni@redhat.com>

* symtab.c (symbol_demangled_name): New function.
* symtab.h (SYMBOL_DEMANGLED_NAME): Simplify macro, by
turning most of it into a function.
(symbol_demangled_name): Export.

21 years ago2002-10-23 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Wed, 23 Oct 2002 20:09:07 +0000 (20:09 +0000)]
2002-10-23  Elena Zannoni  <ezannoni@redhat.com>

* symtab.c (symbol_demangled_name): New function.
* symtab.h (SYMBOL_DEMANGLED_NAME): Simplify macro, by
turning most of it into a function.
(symbol_demangled_name): Export.

21 years ago2002-10-23 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 23 Oct 2002 19:22:28 +0000 (19:22 +0000)]
2002-10-23  Michael Snyder  <msnyder@redhat.com>

* valops.c (value_of_local): Restore quotes in error message.

21 years ago2002-10-23 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Wed, 23 Oct 2002 18:16:43 +0000 (18:16 +0000)]
2002-10-23  Elena Zannoni  <ezannoni@redhat.com>

* symtab.c (symbol_init_language_specific): New function.
* symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC): Simplify macro, by
turning most of it into a function.
(symbol_init_language_specific): Export.

21 years ago2002-10-23 David Carlton <carlton@math.stanford.edu>
carlton [Wed, 23 Oct 2002 16:40:54 +0000 (16:40 +0000)]
2002-10-23  David Carlton  <carlton@math.stanford.edu>

* dwarf2read.c (dwarf_tag_name): Add DWARF 3 names.
(dwarf_attr_name): Ditto.
(dwarf_type_encoding_name): Ditto.
(scan_partial_symbols): Descend into DW_TAG_namespace entries.
(process_die): Handle DW_TAG_namespace,
DW_TAG_imported_declaration, DW_TAG_imported_module.
(read_namespace): New function.

21 years agoAdd conditional/unconditional branch classification.
nickc [Wed, 23 Oct 2002 15:45:48 +0000 (15:45 +0000)]
Add conditional/unconditional branch classification.

21 years agoDefine SKIP_ZEROES as 32 for tic4x target in order to ensure proper
nickc [Wed, 23 Oct 2002 14:49:06 +0000 (14:49 +0000)]
Define SKIP_ZEROES as 32 for tic4x target in order to ensure proper
disassembly of the valid 0-value opcode.

21 years ago * MAINTAINERS: Add Kaz Kojima as SH maintainer.
kkojima [Wed, 23 Oct 2002 13:39:09 +0000 (13:39 +0000)]
* MAINTAINERS: Add Kaz Kojima as SH maintainer.

21 years agoAdd new command line option "--no-omagic" which undoes the effects of -N.
nickc [Wed, 23 Oct 2002 13:24:10 +0000 (13:24 +0000)]
Add new command line option "--no-omagic" which undoes the effects of -N.

21 years ago * dwarf2.c (add_line_info): Ensure that the line_info_table is
amodra [Wed, 23 Oct 2002 12:41:32 +0000 (12:41 +0000)]
* dwarf2.c (add_line_info): Ensure that the line_info_table is
sorted even when given an out-of-order line sequence.
(lookup_address_in_line_info_table): When an exact VMA match is
not found, return line information with the closest VMA.

21 years agoForce DT_FLAGS to always be set. Required by HPUX 11.00 patch PHSS_26559.
nickc [Wed, 23 Oct 2002 12:34:57 +0000 (12:34 +0000)]
Force DT_FLAGS to always be set.  Required by HPUX 11.00 patch PHSS_26559.

21 years ago(__RUNTIME_PSEUDO_RELOC_LIST__, __RUNTIME_PSEUDO_RELOC_LIST_END__): Add
nickc [Wed, 23 Oct 2002 11:21:26 +0000 (11:21 +0000)]
(__RUNTIME_PSEUDO_RELOC_LIST__, __RUNTIME_PSEUDO_RELOC_LIST_END__): Add
only when relocating.

21 years agoAllow an absolute reference to _GLOBAL_TABLE_OFFSET_ to be converted into
nickc [Wed, 23 Oct 2002 10:34:18 +0000 (10:34 +0000)]
Allow an absolute reference to _GLOBAL_TABLE_OFFSET_ to be converted into
a GOT reloc.

21 years agoFix typo in last entry
hp [Wed, 23 Oct 2002 05:23:57 +0000 (05:23 +0000)]
Fix typo in last entry

21 years ago * config/tc-mmix.h (tc_frob_file_before_adjust): Don't declare.
hp [Wed, 23 Oct 2002 05:21:08 +0000 (05:21 +0000)]
* config/tc-mmix.h (tc_frob_file_before_adjust): Don't declare.
(tc_frob_file_before_adjust): Don't define.
* config/tc-mmix.c (mmix_frob_local_reloc): Remove unused
function.
(mmix_frob_file_before_adjust): Remove ineffective function.

21 years ago* ntsec.sgml: Correct some minor grammatical errors.
joshuadfranklin [Wed, 23 Oct 2002 04:29:46 +0000 (04:29 +0000)]
* ntsec.sgml: Correct some minor grammatical errors.

21 years ago* dll.sgml: Simplify dll build instructions.
joshuadfranklin [Wed, 23 Oct 2002 03:55:34 +0000 (03:55 +0000)]
* dll.sgml: Simplify dll build instructions.

21 years ago * gdb.threads/schedlock.c (args): Make unsigned.
drow [Wed, 23 Oct 2002 03:22:56 +0000 (03:22 +0000)]
* gdb.threads/schedlock.c (args): Make unsigned.

21 years ago2002-10-22 H.J. Lu <hjl@gnu.org>
hjl [Wed, 23 Oct 2002 03:11:46 +0000 (03:11 +0000)]
2002-10-22  H.J. Lu <hjl@gnu.org>

* gas/mips/branch-misc-2.d: Updated.

21 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Nevermind. Revert
cgf [Wed, 23 Oct 2002 02:32:34 +0000 (02:32 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Nevermind.  Revert
everything to previous state wrt ntsec and exec bits.

21 years ago* shared.cc (shared_info::initialize): Use correct value for version
cgf [Wed, 23 Oct 2002 02:20:37 +0000 (02:20 +0000)]
* shared.cc (shared_info::initialize): Use correct value for version
comparison.
* include/cygwin/version.h (CYGWIN_VERSION_MAGIC): Use all of a DWORD for magic
calculation.

21 years ago*** empty log message ***
gdbadmin [Wed, 23 Oct 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Wed, 23 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago * config/tc-cris.c (SIMPLE_EXPR): New macro.
hp [Tue, 22 Oct 2002 23:45:38 +0000 (23:45 +0000)]
* config/tc-cris.c (SIMPLE_EXPR): New macro.
(cris_relax_frag): New function.
(md_estimate_size_before_relax) <case ENCODE_RELAX
(STATE_BASE_PLUS_DISP_PREFIX, STATE_UNDF)>: Pass on unresolved
expressions that will become absolute expressions to relaxation.
(md_convert_frag) <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX,
STATE_WORD)>: Expect only absolute expressions.  Use the symbol
value, not distance to symbol.
<case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, STATE_BYTE)>:
Ditto.  Correct placement of fixup.
(md_assemble): Use SIMPLE_EXPR when dissecting expressions.
(gen_bdap): Ditto.
* config/tc-cris.h (cris_relax_frag): Declare.
(md_relax_frag): Define.

21 years ago * gas/cris/rd-pcrel1.d, gas/cris/rd-pcrel1.s,
hp [Tue, 22 Oct 2002 23:15:58 +0000 (23:15 +0000)]
* gas/cris/rd-pcrel1.d, gas/cris/rd-pcrel1.s,
gas/cris/rd-pcrel2.d, gas/cris/rd-pcrel2.s: New tests.

21 years ago* use @itemx, not @item, for --disassemble-zeroes.
bje [Tue, 22 Oct 2002 22:59:02 +0000 (22:59 +0000)]
* use @itemx, not @item, for --disassemble-zeroes.

21 years ago * doc/binutils.texi (objdump): Document -z and move the entry for
bje [Tue, 22 Oct 2002 22:40:46 +0000 (22:40 +0000)]
* doc/binutils.texi (objdump): Document -z and move the entry for
--disassemble-zeroes to the end of the options section (for `z').

21 years ago* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't move
aoliva [Tue, 22 Oct 2002 22:17:10 +0000 (22:17 +0000)]
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't move
the options section into a separate section unless IRIX 6
compatibility is enabled.

21 years ago* emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to
aoliva [Tue, 22 Oct 2002 22:13:25 +0000 (22:13 +0000)]
* emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to
emulation name.  Set LIB_PATH only for native tools, and
search the ABI-specific versions of NATIVE_LIB_DIRS before the
.../lib variants, not instead of them.  Mostly copied from...
* emulparams/elf32ppc.sh: ... here.  Fixed typo.
* emulparams/elf64bmip-defs.sh: Backed out.
* emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again.
* emulparams/elf64btsmip.sh: Likewise.
(DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR,
TEXT_DYNAMIC): Removed.

21 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Oops. Only do the
cgf [Tue, 22 Oct 2002 21:35:20 +0000 (21:35 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Oops.  Only do the
executable thing for #! scripts since .exe files wouldn't be executable in
ntsec case regardless.

21 years ago* elflink.h (struct elf_link_sort_rela): Turn rel and rela
aoliva [Tue, 22 Oct 2002 21:00:10 +0000 (21:00 +0000)]
* elflink.h (struct elf_link_sort_rela): Turn rel and rela
into arrays.
(elf_link_sort_cmp1, elf_link_sort_cmp2): Adjust.
(elf_link_sort_relocs): Likewise.  Take int_rels_per_ext_rel
into account.
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Compose
R_MIPS_REL32 with R_MIPS64 if ABI_64_P.

21 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Always consider
cgf [Tue, 22 Oct 2002 20:41:30 +0000 (20:41 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Always consider
.exe files and '#!' shell scripts to be executable.

21 years ago * configure.in: Define NEW_PROC_API on Interix too.
brobecke [Tue, 22 Oct 2002 20:21:56 +0000 (20:21 +0000)]
   * configure.in: Define NEW_PROC_API on Interix too.
       * configure: Regenerate.

21 years ago* cygthread.cc (cygthread::exiting): New variable.
cgf [Tue, 22 Oct 2002 20:16:31 +0000 (20:16 +0000)]
* cygthread.cc (cygthread::exiting): New variable.
(cygthread::initialized): Delete.
(cygthread::stub): Use exiting variable to determine when to exit.
(cygthread::runner): Delete.
(cygthread_protect): New variable.
(cygthread::init): Don't start runner thread.  Initialize muto for list
protection.
(cygthread::freerange): Return pointer to cygthread.
(cygthread::operator new): Change logic to start threads on an as-needed basis.
(cygthread::detach): Don't zero id.
(cygthread::terminate): Don't kill any executing threads.  Just set exiting
flag.
* cygthread.h (cygthread): Reflect above changes.
* dcrt0.cc (dll_crt0_1): Move cygthread initialization later.
* fork.cc (fork_child): Do fdtab fixup after dll fixup or (apparently) winsock
may allocate memory in dll load address.

21 years ago * mi-main.c (mi_cmd_thread_select): Only return MI_CMD_CAUGHT_ERROR
kseitz [Tue, 22 Oct 2002 17:53:42 +0000 (17:53 +0000)]
    * mi-main.c (mi_cmd_thread_select): Only return MI_CMD_CAUGHT_ERROR
        when we really did catch an error(). If we got GDB_RC_FAIL, return
        MI_CMD_ERROR instead.

21 years ago* sec_helper.cc (cygsid::get_id): If the sid matches a sid stored in
cgf [Tue, 22 Oct 2002 16:22:10 +0000 (16:22 +0000)]
* sec_helper.cc (cygsid::get_id): If the sid matches a sid stored in
cygheap->user, return the uid or gid from myself.
* security.cc (alloc_sd): If gid == myself->gid, return the group sid from
cygheap->user.  Remove the test for uid == original_uid, which is
counter-productive.

21 years ago* cygheap.cc (cygheap_fixup_in_child): Use user_heap element in cygheap.
cgf [Tue, 22 Oct 2002 16:18:55 +0000 (16:18 +0000)]
* cygheap.cc (cygheap_fixup_in_child): Use user_heap element in cygheap.
(init_cheap): Ditto for declaration.
* fork.cc (fork_parent): Use user_heap element in cygheap.
* heap.h (inheap): Ditto.
* heap.cc (sbrk): Ditto.
(heap_init): Ditto.  Reorganize to shrink heap chunk as required and record new
value in cygheap.
* dcrt0.cc (dll_crt0_1): More "move the cygthread init" games.
* shared.cc (open_shared): Rework memory protection to properly deal with
relocated shared segment.
(shared_info::heap_chunk_size): Rename element to 'heap_chunk'.
* shared_info.h (shared_info): Ditto for declaration.
* strace.cc (strace::hello): Report on heap chunk size from cygheap since it
may shrink.

21 years ago * config/obj-elf.c (special_sections): Use correct types for init
amodra [Tue, 22 Oct 2002 10:56:42 +0000 (10:56 +0000)]
* config/obj-elf.c (special_sections): Use correct types for init
array sections.
(obj_elf_change_section): Don't mess with init array section type.

21 years ago * configure: Regenerate using the proper version of autoconf.
brobecke [Tue, 22 Oct 2002 03:54:20 +0000 (03:54 +0000)]
  * configure: Regenerate using the proper version of autoconf.

21 years ago * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
drow [Tue, 22 Oct 2002 01:43:37 +0000 (01:43 +0000)]
    * gdb.asm/asm-source.exp: Add "mips*-*" pattern.  Update line
        numbers.  Allow "foo2|selected stack frame".
        * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
        * gdb.asm/asmsrc2.s: Likewise.
        * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
        comments.
        * gdb.asm/mips.inc: New file.

21 years agodaily update
amodra [Tue, 22 Oct 2002 00:01:04 +0000 (00:01 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Tue, 22 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-10-21 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 21 Oct 2002 20:12:56 +0000 (20:12 +0000)]
2002-10-21  Elena Zannoni  <ezannoni@redhat.com>

* findvar.c (read_var_value): Temporarily disable TLS code, until
complete TLS support is added.

21 years ago2002-10-21 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 21 Oct 2002 20:11:36 +0000 (20:11 +0000)]
2002-10-21  Elena Zannoni  <ezannoni@redhat.com>

* findvar.c (read_var_value): Temporarily disable TLS code, until
complete TLS support is added.

21 years ago2002-10-21 Jim Blandy <jimb@redhat.com>
ezannoni [Mon, 21 Oct 2002 19:11:48 +0000 (19:11 +0000)]
2002-10-21  Jim Blandy  <jimb@redhat.com>
    Elena Zannoni  <ezannoni@redhat.com>

* symtab.h (address_class): Re-add LOC_THREAD_LOCAL_STATIC
for thread local storage locations.
(struct symbol): Add objfile field.
(SYMBOL_OBJFILE): Define.
* dwarf2read.c (is_thread_local): New static variable.
(new_symbol): If variable is in thread local fill in address class
and objfile appropriately.
(decode_locdesc): Recognize and handle DW_OP_GNU_push_tls_address
stack operation.
* printcmd.c (address_info): Print the information for thread
local storage variable.
* findvar.c (read_var_value): In case of thread local variable,
defer to the target vector code to compute address.

21 years ago2002-10-21 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 21 Oct 2002 18:53:38 +0000 (18:53 +0000)]
2002-10-21  Elena Zannoni  <ezannoni@redhat.com>

        * solib-svr4.c (svr4_fetch_objfile_link_map): New function.
        * solib-svr4.h (svr4_fetch_objfile_link_map): Export.

21 years ago2002-10-21 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 21 Oct 2002 18:42:38 +0000 (18:42 +0000)]
2002-10-21  Elena Zannoni  <ezannoni@redhat.com>

        * solib-svr4.c (svr4_fetch_objfile_link_map): New function.
        * solib-svr4.h (svr4_fetch_objfile_link_map): Export.

21 years ago * config/tc-mips.c (mips_need_elf_addend_fixup): Return true
rsandifo [Mon, 21 Oct 2002 14:59:29 +0000 (14:59 +0000)]
* config/tc-mips.c (mips_need_elf_addend_fixup): Return true
for relocs against symbols in a merged section.

testsuite/
* gas/mips/elf-rel7.[sd]: New test.
* gas/mips/mips.exp: Run it.

21 years ago2002-10-21 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 21 Oct 2002 14:55:18 +0000 (14:55 +0000)]
2002-10-21  Elena Zannoni  <ezannoni@redhat.com>

* symtab.h (address_class):  Rename
LOC_THREAD_LOCAL_STATIC to LOC_HP_THREAD_LOCAL_STATIC.
* hpread.c (hpread_process_one_debug_symbol): Ditto.
* printcmd.c (address_info): Ditto.
* findvar.c (symbol_read_needs_frame, read_var_value): Ditto.

21 years ago * targets.c (_bfd_target_vector): Add missing qnx vectors.
amodra [Mon, 21 Oct 2002 11:00:59 +0000 (11:00 +0000)]
* targets.c (_bfd_target_vector): Add missing qnx vectors.