deliverable/binutils-gdb.git
21 years ago2002-11-05 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 5 Nov 2002 22:31:00 +0000 (22:31 +0000)] 
2002-11-05  Jeff Johnston  <jjohnstn@redhat.com>

        * varobj.c (child_exists, cplus_number_of_children): Change
        STREQ macro references to strcmp.
        (cplus_name_of_child): Change code to handle the fact that
        fields are not necessarily contiguous with regards to their
        access control. This is a fix for PR gdb/792.

21 years ago2002-11-05 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 5 Nov 2002 21:53:13 +0000 (21:53 +0000)] 
2002-11-05  H.J. Lu <hjl@gnu.org>

* config/tc-mips.c (support_64bit_objects): Check *l before it
is freed.

21 years ago2002-11-05 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 5 Nov 2002 21:44:05 +0000 (21:44 +0000)] 
2002-11-05  Andrew Cagney  <ac131313@redhat.com>

* gdbarch.sh (GET_SAVED_REGISTER): Change to a predicate function.
* gdbarch.h, gdbarch.c: Regnerate.
* frame.h (frame_register): Declare.
* frame.c (frame_register): New function.
(get_saved_register): Test GET_SAVED_REGISTER_P before calling
GET_SAVED_REGISTER, otherwize call
generic_unwind_get_saved_register.
(frame_register_read): Use frame_register instead of
get_saved_register.

21 years ago2002-11-05 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 5 Nov 2002 21:17:33 +0000 (21:17 +0000)] 
2002-11-05  Elena Zannoni  <ezannoni@redhat.com>

* event-loop.c (start_event_loop): Add comment.
Update copyright.

21 years ago2002-11-05 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 5 Nov 2002 20:52:44 +0000 (20:52 +0000)] 
2002-11-05  Andrew Cagney  <ac131313@redhat.com>

       * infcmd.c (default_print_registers_info): Do not call
       PRINT_REGISTER_HOOK.

21 years ago2002-11-05 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 5 Nov 2002 20:43:36 +0000 (20:43 +0000)] 
2002-11-05  Andrew Cagney  <ac131313@redhat.com>

* sparc-tdep.c (sparc_print_register_hook): Make static.
(sparc_print_registers_info): New function.
(sparc_do_registers_info): New function.
(sparclet_print_registers_info): New function.
(sparclet_do_registers_info): New function.
(do_sparc_print_registers_info): New function.
(sparc_print_registers): New static function, clone of infcmd.c's
default_print_registers_info.
* config/sparc/tm-sparclet.h (PRINT_REGISTER_HOOK): Delete macro.
(sparclet_do_registers_info): Declare.
(DEPRECATED_DO_REGISTERS_INFO): Re-define.
* config/sparc/tm-sparc.h (DEPRECATED_DO_REGISTERS_INFO):
Re-define.
(sparc_do_registers_info): Declare.
(PRINT_REGISTER_HOOK): Delete macro.
(sparc_print_register_hook): Delete declaration.

21 years ago2002-11-05 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 5 Nov 2002 20:33:01 +0000 (20:33 +0000)] 
2002-11-05  David Carlton  <carlton@math.stanford.edu>

* symtab.c (lookup_symbol_aux): Move chunks of code into separate
functions.
(lookup_symbol_aux_local): New function.
(lookup_symbol_aux_symtabs): New function.
(lookup_symbol_aux_psymtabs): New function.

21 years ago2002-11-05 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 5 Nov 2002 16:59:57 +0000 (16:59 +0000)] 
2002-11-05  David Carlton  <carlton@math.stanford.edu>

* symtab.c (lookup_symbol_aux): In minsym sections, don't use the
previous values of 'objfile' and 'block'.

21 years ago2002-11-04 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 5 Nov 2002 15:43:18 +0000 (15:43 +0000)] 
2002-11-04  Elena Zannoni  <ezannoni@redhat.com>

        * mi-console.exp: Use mi_runto, mi_run_to_main, mi_next_to,
mi_step_to wherever possible.  Update copyright notices.
* mi-disassemble.exp: Ditto.
* mi-eval.exp: Ditto.
* mi-read-memory.exp: Ditto.
* mi-regs.exp: Ditto.
* mi-return.exp: Ditto.
* mi-stack.exp: Ditto.
* mi-stepi.exp: Ditto.
* mi-var-block.exp: Ditto.
* mi-var-cmd.exp: Ditto.
* mi-watch.exp: Ditto.
* mi1-console.exp: Ditto.
* mi1-disassemble.exp: Ditto.
* mi1-eval.exp: Ditto.
* mi1-read-memory.exp: Ditto.
* mi1-regs.exp: Ditto.
* mi1-return.exp: Ditto.
* mi1-stack.exp: Ditto.
* mi1-stepi.exp: Ditto.
* mi1-var-block.exp: Ditto.
* mi1-var-cmd.exp: Ditto.
        * mi1-watch.exp: Ditto.

21 years agoCorrect the ChangeLog entry for 2002-10-11 from:
Klee Dienes [Tue, 5 Nov 2002 09:20:13 +0000 (09:20 +0000)] 
Correct the ChangeLog entry for 2002-10-11 from:
        * findvar.c (read_memory_typed_address): New function.
to
        * corefile.c (read_memory_typed_address): New function.

21 years ago2002-10-07 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Tue, 5 Nov 2002 08:25:13 +0000 (08:25 +0000)] 
2002-10-07  Pierre Muller  <muller@ics.u-strasbg.fr>

* values.c (value_change_enclosing_type): Set
enclosing_type field correctly also for the case where
more memory needs to be allocated.

21 years ago * elf32-arm.h (t2a1_push_insn, t2a2_ldr_insn, t2a3_mov_insn,
Alan Modra [Tue, 5 Nov 2002 05:01:11 +0000 (05:01 +0000)] 
* elf32-arm.h (t2a1_push_insn, t2a2_ldr_insn, t2a3_mov_insn,
t2a4_bx_insn, t2a5_pop_insn, t2a6_bx_insn): Remove.

21 years ago * config.bfd (sh-*-linux*): Use bfd_elf*_sh64*lin_vec as sh64
Alan Modra [Tue, 5 Nov 2002 01:18:56 +0000 (01:18 +0000)] 
* config.bfd (sh-*-linux*): Use bfd_elf*_sh64*lin_vec as sh64
vectors in target_selvecs.
(shle-*-netbsdelf*): Use bfd_elf*_sh64*nbsd_vec as sh64 vectors
in target_selvecs.
(sh-*-netbsdelf*): Likewise.
* configure.in (assocvecs): New variable.  Handle assocvecs like
selvecs.
* configure: Regenerate.
* format.c (bfd_check_format_matches): Store bfd_target pointers
in matching_vector instead of target names.  Select first target
from bfd_associated_vector that matches a list of ambiguous targets.
* targets.c (_bfd_associated_vector): New array.
(bfd_associated_vector): New variable.
(_bfd_target_vector): Add bfd_elf*_sh64*lin_vec.
* libbfd-in.h (bfd_associated_vector): Declare.
* libbfd.h: Regenerate.

21 years ago * vms-gsd.c (_bfd_vms_write_gsd): Check that symbol->udata.p is
Alan Modra [Tue, 5 Nov 2002 01:08:18 +0000 (01:08 +0000)] 
* vms-gsd.c (_bfd_vms_write_gsd): Check that symbol->udata.p is
non-NULL before dereferencing.

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

21 years agodaily update
Alan Modra [Mon, 4 Nov 2002 23:00:04 +0000 (23:00 +0000)] 
daily update

21 years ago * vms.c (vms_object_p): Restore the start address when returning
Kaz Kojima [Mon, 4 Nov 2002 21:44:36 +0000 (21:44 +0000)] 
* vms.c (vms_object_p): Restore the start address when returning
NULL.

21 years agoTop level configury changes for RDA.
Kevin Buettner [Mon, 4 Nov 2002 18:41:14 +0000 (18:41 +0000)] 
Top level configury changes for RDA.

21 years agoSet SEC_DATA and SEC_LOAD flags for sections marked as 's'.
Nick Clifton [Mon, 4 Nov 2002 16:10:56 +0000 (16:10 +0000)] 
Set SEC_DATA and SEC_LOAD flags for sections marked as 's'.

21 years ago * elflink.h (struct elf_final_link_info): Add shndxbuf_size.
Alan Modra [Mon, 4 Nov 2002 13:20:56 +0000 (13:20 +0000)] 
* elflink.h (struct elf_final_link_info): Add shndxbuf_size.
(elf_bfd_final_link): Don't bother zeroing symtab_hdr fields.
Set up a larger symshndxbuf, and write it out.  Free it on
exit rather than freeing symbuf twice.  Correct section index
on output section symbol loop.
(elf_link_output_sym): Accumulate symbol extension section
indices, reallocating symshndxbuf rather than writing it out.
(elf_link_flush_output_syms): Don't flush symshndxbuf.
* elf.c (assign_section_numbers): Init i_shdrp to all zero.
Use bfd_zalloc to clear i_shdrp[0] too.

21 years ago * readelf.c (byte_get_little_endian): Comment typo fix.
Alan Modra [Mon, 4 Nov 2002 03:18:41 +0000 (03:18 +0000)] 
* readelf.c (byte_get_little_endian): Comment typo fix.
(print_symbol): Constify "symbol" arg.  Don't pass "symbol" to printf
as the format string.
(dump_relocations): Correct section sym names.
(process_section_headers): Clear symtab_shndx_hdr.
(read_and_display_attr_value): Don't pass indirect string to printf
as the format string.
(display_debug_frames): Indicate when zero terminator found.  Decode
DW_EH_PE_pcrel addresses.

21 years ago * ld-sh/rd-sh.exp: Add -isa=SHcompact to ASFLAGS for SH-5.
Kaz Kojima [Mon, 4 Nov 2002 01:18:13 +0000 (01:18 +0000)] 
* ld-sh/rd-sh.exp: Add -isa=SHcompact to ASFLAGS for SH-5.
* ld-sh/tlsbin-1.d: Handle GOT_BIAS appropriately for SH-5.
* ld-sh/tlspic-1.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
* ld-sh/tlsbin-2.d: Likewise. Make it robust for the symbols
defined by the linker scripts.

21 years ago* elf32-sh64-com.c (sh64_address_in_cranges): Use
Stephen Clarke [Mon, 4 Nov 2002 00:02:13 +0000 (00:02 +0000)] 
* elf32-sh64-com.c (sh64_address_in_cranges): Use
_raw_size of cranges section if _cooked_size not yet set.

21 years ago*** empty log message ***
gdbadmin [Mon, 4 Nov 2002 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

21 years agodaily update
Alan Modra [Sun, 3 Nov 2002 23:00:08 +0000 (23:00 +0000)] 
daily update

21 years ago* i387-tdep.c (i387_print_float_info): Call fputs_filtered instead
Mark Kettenis [Sun, 3 Nov 2002 13:04:47 +0000 (13:04 +0000)] 
* i387-tdep.c (i387_print_float_info): Call fputs_filtered instead
of puts_filtered.

21 years ago* i387-tdep.c (i387_print_float_info): Replace calls to
Mark Kettenis [Sun, 3 Nov 2002 12:32:42 +0000 (12:32 +0000)] 
* i387-tdep.c (i387_print_float_info): Replace calls to
register_read and deprecated_read_register_gen with calls to
frame_register_read, and make the necessary adjustments to the
surrounding code.

21 years ago * elf32-v850.c (v850_elf_relax_delete_bytes): Correct parameters
Hans-Peter Nilsson [Sun, 3 Nov 2002 10:43:44 +0000 (10:43 +0000)] 
* elf32-v850.c (v850_elf_relax_delete_bytes): Correct parameters
for bfd_elf32_swap_symbol_out.

21 years ago2002-11-02 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 3 Nov 2002 00:30:33 +0000 (00:30 +0000)] 
2002-11-02  Andrew Cagney  <ac131313@redhat.com>

* gdbarch.sh (register_reggroup_p): Allow default value.
* gdbarch.h, gdbarch.c: Regenerate.

21 years ago*** empty log message ***
gdbadmin [Sun, 3 Nov 2002 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

21 years agodaily update
Alan Modra [Sat, 2 Nov 2002 23:00:05 +0000 (23:00 +0000)] 
daily update

21 years ago2002-11-02 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sat, 2 Nov 2002 20:06:56 +0000 (20:06 +0000)] 
2002-11-02  Andrew Cagney  <ac131313@redhat.com>

* regcache.h: Add coment indicating replacements for deprecated
functions.

21 years ago2002-11-02 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 2 Nov 2002 15:13:34 +0000 (15:13 +0000)] 
2002-11-02  Andrew Cagney  <cagney@redhat.com>

* reggroups.h, reggroups.c: New files.
* regcache.c: Include "reggroups.h".
(enum regcache_dump_what): Add `regcache_dump_groups'.
(regcache_dump): Contract size of the "Type" column.  When
specified, dump the register's groups.
(maintenance_print_register_groups): New function.
(_initialize_regcache): Add command `maint print register-groups'.
* Makefile.in (COMMON_OBS): Add reggroups.o
(SFILES): Add reggroups.c.
(reggroups_h): Define.
(regcache.o, gdbarch.o): Update dependencies.
(reggroups.o): Specify dependencies.
* gdbarch.sh (register_reggroup_p): Add pure multi-arch method.
Add opaque declaration for `struct reggroup' in generated .h file.
Include "reggroups.h" in generated .c file.
gdbarch.h, gdbarch.c: Re-generate.

21 years ago2002-11-02 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 2 Nov 2002 14:59:10 +0000 (14:59 +0000)] 
2002-11-02  Andrew Cagney  <cagney@redhat.com>

* regcache.h (deprecated_read_register_gen): Rename
read_register_gen.
(deprecated_write_register_gen): Rename write_register_gen.
* i387-tdep.c: Update.
* x86-64-linux-nat.c: Update
* wince.c: Update.
* thread-db.c: Update.
* win32-nat.c: Update.
* mips-tdep.c: Update.
* d10v-tdep.c: Update.
* cris-tdep.c: Update.
* remote-sim.c: Update.
* remote-rdi.c: Update.
* remote-rdp.c: Update.
* frame.c: Update.
* target.c: Update.
* blockframe.c: Update.
* x86-64-tdep.c: Update.
* xstormy16-tdep.c: Update.
* sh-tdep.c: Update.
* s390-tdep.c: Update.
* rs6000-tdep.c: Update.
* sparc-tdep.c: Update.
* i386-tdep.c: Update.
* dwarf2cfi.c: Update.
* regcache.c: Update.

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

21 years agodaily update
Alan Modra [Fri, 1 Nov 2002 23:00:07 +0000 (23:00 +0000)] 
daily update

21 years ago New interix-specific files:
Joel Brobecker [Fri, 1 Nov 2002 22:08:44 +0000 (22:08 +0000)] 
   New interix-specific files:
       * config/i386/nm-interix.h: New file.
       * config/i386/interix.mh: New file.
       * config/i386/interix.mt: New file.
       * i386-interix-nat.c: New file.
       * i386-interix-tdep.c: New file.

21 years ago2002-11-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 1 Nov 2002 21:21:49 +0000 (21:21 +0000)] 
2002-11-01  Andrew Cagney  <cagney@redhat.com>

* frame.h (deprecated_generic_get_saved_register): Rename
generic_get_saved_register.
* blockframe.c (deprecated_generic_get_saved_register): Update.
* xstormy16-tdep.c (xstormy16_get_saved_register): Update.
(xstormy16_frame_saved_register): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_get_saved_register): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* config/m32r/tm-m32r.h (GET_SAVED_REGISTER): Update.
* arm-tdep.c (arm_gdbarch_init): Update.

21 years ago2002-11-01 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 1 Nov 2002 20:41:48 +0000 (20:41 +0000)] 
2002-11-01  H.J. Lu <hjl@gnu.org>

* gas/i386/i386.exp: Add "sub".

* gas/i386/sub.d: New.
* gas/i386/sub.s: New.

21 years ago * write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
Alan Modra [Fri, 1 Nov 2002 10:42:26 +0000 (10:42 +0000)] 
* write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
(TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK.
* doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed
default.

21 years ago * dep-in.sed: Fix typo.
Alan Modra [Fri, 1 Nov 2002 10:35:43 +0000 (10:35 +0000)] 
* dep-in.sed: Fix typo.

21 years ago*** empty log message ***
gdbadmin [Fri, 1 Nov 2002 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

21 years ago * lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step.
Daniel Jacobowitz [Thu, 31 Oct 2002 21:00:08 +0000 (21:00 +0000)] 
* lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step.

21 years ago * i386-linux-tdep.c (i386_linux_pc_in_sigtramp): Check for
Daniel Jacobowitz [Thu, 31 Oct 2002 20:51:15 +0000 (20:51 +0000)] 
* i386-linux-tdep.c (i386_linux_pc_in_sigtramp): Check for
trampolines in sigaction.

21 years ago2002-10-31 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 31 Oct 2002 20:22:45 +0000 (20:22 +0000)] 
2002-10-31  Andrew Cagney  <cagney@redhat.com>

* h8300-tdep.c: Include "gdb_assert.h".
(h8300_print_register): Add gdbarch, file and frame parameters.
Use frame_read_unsigned_register to read the register's value.
Use fprintf_filtered to display output.
(h8300_print_registers_info): Replace h8300_do_registers_info.
(h8300_gdbarch_init): Set print_registers_info.

21 years ago2002-10-31 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 31 Oct 2002 20:14:33 +0000 (20:14 +0000)] 
2002-10-31  Andrew Cagney  <cagney@redhat.com>

* frame.c (frame_read_unsigned_register): New function.
(frame_read_signed_register): New function.
* frame.h (frame_read_unsigned_register): Declare.
(frame_read_signed_register): Declare.

21 years ago2002-10-31 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 31 Oct 2002 19:49:34 +0000 (19:49 +0000)] 
2002-10-31  Andrew Cagney  <cagney@redhat.com>

* h8500-tdep.c (h8500_print_registers_info): New static function,
clone of infcmd.c's default_print_registers_info.
(h8500_do_registers_info): New funtion.
(h8500_print_register_hook): Rename print_register_hook, make
static.

* config/h8500/tm-h8500.h: Update copyright.
(DEPRECATED_DO_REGISTERS_INFO): Define.
(h8500_do_registers_info: Declare.
(PRINT_REGISTER_HOOK): Delete macro.
(print_register_hook): Delete function.

21 years ago2002-10-31 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 31 Oct 2002 19:14:07 +0000 (19:14 +0000)] 
2002-10-31  Andrew Cagney  <cagney@redhat.com>

* z8k-tdep.c (z8k_print_register_hook): Make static.
(z8k_print_registers_info): New static function, clone of
infcmd.c's default_print_registers_info.
(z8k_do_registers_info): New function.  Wrap
z8k_print_registers_info.
* config/z8k/tm-z8k.h: Update copyright.
(PRINT_REGISTER_HOOK): Delete macro.
(z8k_print_register_hook): Delete declaration.
(DEPRECATED_DO_REGISTERS_INFO): Define.
(z8k_do_registers_info): Declare.

21 years ago2002-10-31 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Thu, 31 Oct 2002 09:18:48 +0000 (09:18 +0000)] 
2002-10-31  David O'Brien  <obrien@FreeBSD.org>
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't mix
signed and unsigned in comparison.

Approved by:  Alan Modra <amodra@bigpond.net.au>
              Message-ID: <20021012185224.Y979@bubble.sa.bigpond.net.au>

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

21 years ago * hppa-tdep.c (find_function_in_inferior): Remove this extern,
Joel Brobecker [Wed, 30 Oct 2002 20:42:54 +0000 (20:42 +0000)] 
   * hppa-tdep.c (find_function_in_inferior): Remove this extern,
       as this is already provided by value.h, and was actually causing
       a compilation error because of a conflict in parameter type
       declaration due to a missing const keyword.
       (low_text_segment_addres): Fix a compilation warning.

21 years ago * configure.in: Update ARM CPU patterns.
Daniel Jacobowitz [Wed, 30 Oct 2002 17:05:41 +0000 (17:05 +0000)] 
    * configure.in: Update ARM CPU patterns.
        * configure: Regenerated.

21 years ago * coffcode.h: Remove extraneous '\'.
Daniel Jacobowitz [Wed, 30 Oct 2002 15:50:17 +0000 (15:50 +0000)] 
* coffcode.h: Remove extraneous '\'.

21 years ago * mips-linux-nat.c (mips_linux_cannot_fetch_register): Don't fetch
Daniel Jacobowitz [Wed, 30 Oct 2002 04:10:06 +0000 (04:10 +0000)] 
    * mips-linux-nat.c (mips_linux_cannot_fetch_register): Don't fetch
        registers without a name.
        (mips_linux_cannot_store_register): Don't store registers without
        a name.

21 years ago * emultempl/aix.em: Use include <> for generated headers.
Daniel Jacobowitz [Wed, 30 Oct 2002 03:57:39 +0000 (03:57 +0000)] 
* emultempl/aix.em: Use include <> for generated headers.
* emultempl/beos.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/pe.em: Likewise.
* ldctor.c: Likewise.
* ldexp.c: Likewise.
* ldfile.c: Likewise.
* ldlang.c: Likewise.
* ldlex.c: Likewise.
* ldlex.l: Likewise.
* ldmain.c: Likewise.
* ldmisc.c: Likewise.
* ldwrite.c: Likewise.
* lexsup.c: Likewise.
* mri.c: Likewise.
* pe-dll.c: Likewise.

21 years ago * itbl-lex.l: Use #include <> for generated headers.
Daniel Jacobowitz [Wed, 30 Oct 2002 03:56:39 +0000 (03:56 +0000)] 
    * itbl-lex.l: Use #include <> for generated headers.
        * itbl-ops.c: Likewise.

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

21 years agodaily update
Alan Modra [Tue, 29 Oct 2002 00:20:31 +0000 (00:20 +0000)] 
daily update

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

21 years ago2002-10-28 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 28 Oct 2002 22:30:29 +0000 (22:30 +0000)] 
2002-10-28  H.J. Lu <hjl@gnu.org>

* Makefile.am (targets.lo): Depend on Makefile instead of
config.status.
(archures.lo): Likewise.
* Makefile.in: Regenerated.

21 years ago2002-10-28 David Carlton <carlton@math.stanford.edu>
David Carlton [Mon, 28 Oct 2002 17:05:56 +0000 (17:05 +0000)] 
2002-10-28  David Carlton  <carlton@math.stanford.edu>

* symtab.c (find_addr_symbol): Delete.  (It was already commented
out.)
* symtab.h: Delete prototype for find_addr_symbol.

21 years ago * doc/gasp.texi: Fix typo in deprecation note.
Daniel Jacobowitz [Mon, 28 Oct 2002 15:44:08 +0000 (15:44 +0000)] 
    * doc/gasp.texi: Fix typo in deprecation note.

21 years ago*** empty log message ***
gdbadmin [Mon, 28 Oct 2002 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

21 years agodaily update
Alan Modra [Sun, 27 Oct 2002 23:00:04 +0000 (23:00 +0000)] 
daily update

21 years agomerge from gcc
DJ Delorie [Sun, 27 Oct 2002 01:02:05 +0000 (01:02 +0000)] 
merge from gcc

21 years agomerge from gcc
DJ Delorie [Sun, 27 Oct 2002 01:01:04 +0000 (01:01 +0000)] 
merge from gcc

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

21 years agodaily update
Alan Modra [Sat, 26 Oct 2002 23:00:05 +0000 (23:00 +0000)] 
daily update

21 years ago2002-10-26 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 26 Oct 2002 17:19:28 +0000 (17:19 +0000)] 
2002-10-26  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Delete
definition of DO_REGISTERS_INFO.

2002-10-26  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_DO_REGISTERS_INFO): Rename
DO_REGISTERS_INFO.
gdbarch.h, gdbarch.c: Re-generate.
* infcmd.c (default_print_registers_info): Update reference.
* mips-tdep.c (mips_gdbarch_init): Set deprecated_do_registers_info.
(mips_dump_tdep): Do not print DO_REGISTERS_INFO.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.

21 years ago* x86-64-tdep.c (x86_64_init_abi): Set init_extra_frame_info to
Mark Kettenis [Sat, 26 Oct 2002 17:04:37 +0000 (17:04 +0000)] 
* x86-64-tdep.c (x86_64_init_abi): Set init_extra_frame_info to
cfi_init_extra_frame_info.
* x86-64-tdep.h (x86_64_init_extra_frame_info): Remove prototype.
* x86-64-linux-tdep.c (x86_64_init_extra_frame_info): Remove function.

21 years ago* x86-64-tdep.c (x86_64_init_abi): Add calls to override the i386
Mark Kettenis [Sat, 26 Oct 2002 16:56:34 +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
Mark Kettenis [Sat, 26 Oct 2002 14:58:42 +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
Mark Kettenis [Sat, 26 Oct 2002 14:41:37 +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.
Stephane Carrez [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.
Mark Kettenis [Sat, 26 Oct 2002 10:37:45 +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.
Mark Kettenis [Sat, 26 Oct 2002 10:13:53 +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.
Mark Kettenis [Sat, 26 Oct 2002 09:36:34 +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* Makefile.tpl (bootstrap): Add bubblestrap, quickstrap, cleanstrap,
DJ Delorie [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
Alan Modra [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>
Andrew Cagney [Fri, 25 Oct 2002 22:25:55 +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
Mark 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
Jason Thorpe [Fri, 25 Oct 2002 21:48:58 +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).
Mark Kettenis [Fri, 25 Oct 2002 21:23:57 +0000 (21:23 +0000)] 
* Makefile.in (i386v-nat.o): Add $(i386_tdep_h).

21 years ago Fix PR gdb/787
Stephane Carrez [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
Stephane Carrez [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 agoAdd some string section merging support.
Jim 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".
Mark Kettenis [Fri, 25 Oct 2002 18:50:23 +0000 (18:50 +0000)] 
* i386v-nat.c: Include "i386-tdep.h".

21 years ago2002-10-25 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 25 Oct 2002 15:59:56 +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.
Hans-Peter Nilsson [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>
Andrew 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 agoFiles missed in previous commit.
Dave Anglin [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
Dave Anglin [Fri, 25 Oct 2002 02:45:54 +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 Delorie [Fri, 25 Oct 2002 00:01:55 +0000 (00:01 +0000)] 
merge from gcc

21 years agodaily update
Alan Modra [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>
Martin Hunt [Thu, 24 Oct 2002 23:46:09 +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
Hans-Peter Nilsson [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>
Elena Zannoni [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 agoReindented.
Michal Ludvig [Thu, 24 Oct 2002 01:37:40 +0000 (01:37 +0000)] 
Reindented.

This page took 0.045877 seconds and 4 git commands to generate.