OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
22 years agoFix badly placed #if 0...
nickc [Fri, 9 Nov 2001 10:21:21 +0000 (10:21 +0000)]
Fix badly placed #if 0...

22 years ago2001-11-06 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Fri, 9 Nov 2001 09:48:09 +0000 (09:48 +0000)]
2001-11-06 Pierre Muller  <muller@ics.u-strasbg.fr>

* p-lang.c (is_pascal_string_type): New function to determine if a
type is a string type.
* p-lang.h: Add prototype for is_pascal_string_type.
* p-valprint.c (pascal_val_print) : Use is_pascal_string_type function
to display strings nicely.

22 years ago2001-11-06 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Fri, 9 Nov 2001 09:46:39 +0000 (09:46 +0000)]
2001-11-06 Pierre Muller  <muller@ics.u-strasbg.fr>

* p-exp.y (yylex): Only change case of expression if symbol is found.
Also check for GPC standard name form.

22 years ago2001-11-09 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Fri, 9 Nov 2001 08:31:37 +0000 (08:31 +0000)]
2001-11-09  Robert Collins  <rbtcollins@hotmail.com>

        * include/winnt.h: Backout last change.

22 years agoA simple script to indent GDB source code.
cagney [Fri, 9 Nov 2001 03:59:59 +0000 (03:59 +0000)]
A simple script to indent GDB source code.

22 years ago* configure.in (--enable-languages): Be more permissive about
dj [Fri, 9 Nov 2001 02:21:21 +0000 (02:21 +0000)]
* configure.in (--enable-languages): Be more permissive about
syntax.  Check for empty lists better.  Warn about $LANGUAGES.

22 years ago*** empty log message ***
gdbadmin [Fri, 9 Nov 2001 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* s390-tdep.c (s390_get_frame_info): Initialize got_load_addr and
jimb [Thu, 8 Nov 2001 23:28:36 +0000 (23:28 +0000)]
* s390-tdep.c (s390_get_frame_info): Initialize got_load_addr and
got_load_len, to placate compiler.

22 years agodaily update
amodra [Thu, 8 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago* call graph profiling support
fche [Thu, 8 Nov 2001 21:55:10 +0000 (21:55 +0000)]
* call graph profiling support

[sid/bsp]
2001-11-08  Frank Ch. Eigler  <fche@redhat.com>

* configrun-sid.in (gprof): Connect call-graph pins.

[sid/include]
2001-11-08  Frank Ch. Eigler  <fche@redhat.com>

* sidcpuutil.h (basic_cpu): Add cg caller/callee pins, trace_stream
fields.
(basic_cpu ctor): Initialize them.
(cg_profile): New function.

[sid/component/cgen-cpu]
2001-11-08  Frank Ch. Eigler  <fche@redhat.com>

* cgen-cpu.h (cgen_bi_endian_cpu): Remove trace_stream field: it's
in basic_cpu now.
* compCGEN.cxx: Corresponding change.

[sid/component/profiling]
2001-11-08  Frank Ch. Eigler  <fche@redhat.com>

* gprof.cxx (gprof_component): Add cg caller/callee pins, cg_count_map
field.
(accumulate_call): New function.
(reset): Clear cg map.
(store): Emit call graph info.  Emit histogram iff nonempty.
* sw-profile-gprof.xml: Document call graph functionality.
* sw-profile-gprof.txt: Regenerated.

22 years ago * checksignal.c: New testcase.
corinna [Thu, 8 Nov 2001 21:04:02 +0000 (21:04 +0000)]
    * checksignal.c: New testcase.

22 years ago* i386-tdep.c (i386_gdbarch_init): Fix typo.
kettenis [Thu, 8 Nov 2001 20:26:40 +0000 (20:26 +0000)]
* i386-tdep.c (i386_gdbarch_init): Fix typo.

22 years ago * config/tc-mips.c (mips_force_relocation): Remove duplicate code.
ths [Thu, 8 Nov 2001 19:32:23 +0000 (19:32 +0000)]
* config/tc-mips.c (mips_force_relocation): Remove duplicate code.

22 years ago2001-11-07 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 8 Nov 2001 19:21:53 +0000 (19:21 +0000)]
2001-11-07  Michael Snyder  <msnyder@redhat.com>

        * gdb.c++/templates.exp: Replace "const &" with "const ?&",
making the whitespace optional.  Also replace "(void) with
"((void|)), making the keyword "void" optional.

22 years ago* s390-tdep.c (s390_gdbarch_init): Use func_frame_chain_valid, not
jimb [Thu, 8 Nov 2001 19:16:10 +0000 (19:16 +0000)]
* s390-tdep.c (s390_gdbarch_init): Use func_frame_chain_valid, not
file_frame_chain_valid.

22 years ago2001-11-07 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 8 Nov 2001 19:12:29 +0000 (19:12 +0000)]
2001-11-07  Michael Snyder  <msnyder@redhat.com>

* gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
making the whitespace optional.  Also replace "(void) with
"((void|)), making the keyword "void" optional.

22 years ago2001-11-07 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 8 Nov 2001 19:08:34 +0000 (19:08 +0000)]
2001-11-07  Michael Snyder  <msnyder@redhat.com>

        * gdb.base/callfuncs.c (t_float_values): This function must
_not_ be prototyped, and the following function (t_float_values2)
must be prototyped (if the compiler supports it), so that GDB
can be tested against both cases.  Usually one case involves
promotion of float to double, while the other does not.
* gdb.base/callfwmall.c: Ditto.

22 years ago2001-11-07 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 8 Nov 2001 19:06:18 +0000 (19:06 +0000)]
2001-11-07  Michael Snyder  <msnyder@redhat.com>

        * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
includes a stack frame for "start".

22 years ago* s390-tdep.c (s390_get_frame_info): If the prologue loads r12
jimb [Thu, 8 Nov 2001 19:06:04 +0000 (19:06 +0000)]
* s390-tdep.c (s390_get_frame_info): If the prologue loads r12
from the constant pool, but doesn't add in the constant pool's
address to it, then this function probably isn't using r12 as a
GOT pointer, and that load probably wasn't part of the prologue.

22 years ago* s390-tdep.c (s390_gdbarch_init): Use the default
jimb [Thu, 8 Nov 2001 19:03:54 +0000 (19:03 +0000)]
* s390-tdep.c (s390_gdbarch_init): Use the default
prepare_to_proceed function established by config/nm-linux.h;
don't try to set it to linuxthreads_prepare_to_proceed.

22 years ago* elf32-s390: Major rework that introduces all recent changes to
sky [Thu, 8 Nov 2001 18:45:45 +0000 (18:45 +0000)]
* elf32-s390: Major rework that introduces all recent changes to
the s390 backends.  Get a closer match to elf32-i386.
(elf_s390_relocate_section): Make use of dynamic section short-cuts.
Localise vars, and delay setting.  Better error reporting, replace
BFD_ASSERT with abort.  Check ELF_LINK_HASH_DEF_DYNAMIC to see if a
symbol is not defined in the regular object file and tread the weak
definition as the normal one.  Don't discard relocs for undefweak or
undefined symbols and check !DEF_REGULAR as well as DEF_DYNAMIC in
test for avoided copy relocs.  Reinstate fudge for unresolved relocs
in debugging sections.
(elf32_s390_adjust_dynamic_symbol): Handle nocopyreloc.  Don't do copy
reloc processing for weakdefs.  Remove redundant casts and aborts.
Delay setting of vars until needed.  Move creation of dynamic symbols
and allocation of .plt and .rela.plt to allocate_dynrelocs.  Replace
BFD_ASSERT with abort.  Discard .plt entries for everything with
plt.refcount <= 0.
(elf_s390_check_relocs):  Don't allocate space for dynamic relocs,
.got or .relgot here but do it in allocate_dynrelocs.  Reference count
possible .plt and .got entries.  Don't test input section SEC_READONLY
here to try to avoid copy relocs, and keep dyn_relocs regardless of
ELF_LINK_NON_GOT_REF.  Don't set DF_TEXTREL here.  Delay setting of
variables until needed.  Remove separate switch stmt for creating .got
section.  Initialise local_got_refcounts to 0.  Cache pointer to
"sreloc" section in elf_section_data. Tweak condition under which .got
created.  Report files with bad relocation section names.
(elf_s390_finish_dynamic_symbol): Don't copy relocs for symbols that
have been forced local.  Use same test to decide if we can use a
relative reloc for got as elf_s390_relocate_section.  Expand SHN_UNDEF
comment.  Move expressions out of function calls.  Replace BFD_ASSERT
with abort.
(elf_s390_finish_dynamic_sections): Migrate common code out of switch
statement.  Replace BFD_ASSERT with abort.
(elf_s390_size_dynamic_sections): Call readonly_dynrelocs. Rename "i"
to "ibfd".  Allocate space for local dyn relocs.  Use DF_TEXTREL flag
instead of looking up section names for DT_TEXTREL.  Replace
BFD_ASSERT with abort.  Zero out the dynamic allocated content space.
Add a comment to remind us that one day this ought to be fixed.
(struct elf_s390_link_hash_entry): Rename "root" to "elf".
(struct elf_s390_link_hash_table): Likewise.
(elf_s390_link_hash_newfunc): Rename to link_hash_newfunc and get
rid of unnecessary casts.
(struct elf_s390_dyn_relocs): Add "sec", and "pc_count" fields.
Remove "section" field.
(elf_s390_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
Reference count possible .plt entries.  Don't deallocate .got and
.relgot space here.
(struct elf_s390_pcrel_relocs_copied): Rename to elf_s390_dyn_relocs.
Update comment.
(struct elf_s390_link_hash_entry): Rename pcrel_relocs_copied to
dyn_relocs.
(elf_s390_discard_copies):  Delete.
(elf_s390_link_hash_traverse): Delete.
(bfd_elf32_bfd_final_link): Delete.  (ie. use regular final link
rather than gc variety).
(struct elf_s390_link_hash_table): Add sgot, sgotplt, srelgot, splt,
srelplt, sdynbss, srelbss fields.
(elf_s390_link_hash_table_create): Init them.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
(allocate_dynrelocs): New function.
(create_got_section): New function.
(elf_backend_can_refcount): Define.
(elf_backend_copy_indirect_symbol): Define.
(elf_s390_copy_indirect_symbol): New function.
(elf_s390_create_dynamic_sections): New function.
(readonly_dynrelocs): New function.
* elf64-s390x: Likewise.

22 years agoEnable multi-arch for i386.
cagney [Thu, 8 Nov 2001 18:32:07 +0000 (18:32 +0000)]
Enable multi-arch for i386.

22 years ago2001-11-08 Martin M. Hunt <hunt@redhat.com>
hunt [Thu, 8 Nov 2001 18:31:38 +0000 (18:31 +0000)]
2001-11-08  Martin M. Hunt  <hunt@redhat.com>

* library/managedwin.itb (ManagedWin::shutdown): Fix
typo in class name DebugWinDOpts.

* library/debugwin.itb: Add MemWin to _classes.

22 years agoDon't update ``set architecture'' when ``set disassembly-flavor[sic]''
cagney [Thu, 8 Nov 2001 18:23:42 +0000 (18:23 +0000)]
Don't update ``set architecture'' when ``set disassembly-flavor[sic]''

22 years ago * select.cc: Set errno using set_sig_errno() throughout.
corinna [Thu, 8 Nov 2001 17:49:52 +0000 (17:49 +0000)]
* select.cc: Set errno using set_sig_errno() throughout.
* signal.cc (signal): Always set SA_RESTART flag.
* syscalls.cc (_read): Revert previous patch.

22 years ago * select.cc (fhandler_tty_slave::ready_for_read): Return 0 on EBADF.
corinna [Thu, 8 Nov 2001 15:01:43 +0000 (15:01 +0000)]
* select.cc (fhandler_tty_slave::ready_for_read):  Return 0 on EBADF.
* syscalls.cc (_read): If ready_for_read() failed, save errno from
being overwritten by signal handler call.

22 years ago2001-10-30 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 8 Nov 2001 04:58:40 +0000 (04:58 +0000)]
2001-10-30  Elena Zannoni  <ezannoni@redhat.com>

* dbxread.c (set_namestring): New function, replacing the
  SET_NAMESTRING macro.
  (SET_NAMESTRING, CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE,
  CUR_SYMBOL_STRX, DBXREAD_ONLY, START_PSYMTAB, END_PSYMTAB): Delete
  definitions.
  (read_dbx_symtab): Don't include partial-stab.h any more. Don't
  reuse code in partial-stab.h, include the code directly, instead.

         * Makefile.in (dbxread.o): Remove dependency on partial-stab.h.
  (HFILES_NO_SRCDIR): Remove partial-stab.h.

  * partial-stab.h: Remove file.

22 years ago2001-11-07 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 8 Nov 2001 04:39:03 +0000 (04:39 +0000)]
2001-11-07  Elena Zannoni  <ezannoni@redhat.com>

* dbxread.c (set_namestring): New function, replacing the
SET_NAMESTRING macro.
(SET_NAMESTRING, CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE,
CUR_SYMBOL_STRX, DBXREAD_ONLY, START_PSYMTAB, END_PSYMTAB): Delete
definitions.
(read_dbx_symtab): Don't include partial-stab.h any more. Don't
reuse code in partial-stab.h, include the code directly, instead.

        * Makefile.in (dbxread.o): Remove dependency on partial-stab.h.
(HFILES_NO_SRCDIR): Remove partial-stab.h.

22 years ago2001-10-29 Johan Rydberg <johan@rydberg.com>
bje [Thu, 8 Nov 2001 04:24:29 +0000 (04:24 +0000)]
2001-10-29  Johan Rydberg  <johan@rydberg.com>

* doc/rtl.texi (Expressions): Document the (error ..), (sqrt ..),
(cos ...) and (sin ..) rtx.

22 years agoWhoops, forgot to commit this yesterday:
ezannoni [Thu, 8 Nov 2001 02:59:32 +0000 (02:59 +0000)]
Whoops, forgot to commit this yesterday:

2001-11-06  Elena Zannoni  <ezannoni@redhat.com>

        * mdebugread.c (CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB,
        END_PSYMTAB, SET_NAMESTRING, HANDLE_RBRAC): Delete definitions.
        (parse_partial_symbols): Don't include partial-stab.h any
        more. Don't reuse code in partial-stab.h, include the code
        directly, instead. Simplify code from partial-stab.h eliminating
        ifdef DBXREAD_ONLY code.

        * Makefile.in (mdebugread.o): Remove dependency on partial-stab.h.

22 years agoWhen non-multi-arch, use predefault as the value of a pure-multi-arch
cagney [Thu, 8 Nov 2001 01:33:03 +0000 (01:33 +0000)]
When non-multi-arch, use predefault as the value of a pure-multi-arch
method.

22 years ago* config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Define in
kettenis [Thu, 8 Nov 2001 00:03:51 +0000 (00:03 +0000)]
* config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Define in
terms of NUM_GREGS, NUM_FREGS and NUM_SSE_REGS instead of
hardcoding the register number.

22 years ago*** empty log message ***
gdbadmin [Thu, 8 Nov 2001 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Wed, 7 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update

22 years agogdbarch.sh provides default for USE_STRUCT_CONVENTION.
cagney [Wed, 7 Nov 2001 22:42:28 +0000 (22:42 +0000)]
gdbarch.sh provides default for USE_STRUCT_CONVENTION.

22 years ago * Makefile.am (BFD32_BACKENDS): Add elf-strtab.lo.
jakub [Wed, 7 Nov 2001 16:50:33 +0000 (16:50 +0000)]
* Makefile.am (BFD32_BACKENDS): Add elf-strtab.lo.
(BFD32_BACKENDS_CFILES): Add elf-strtab.c.
(elf-strtab.lo): Add rule.
* Makefile.in: Rebuilt.
* configure.in (elf): Add elf-strtab.lo.
* configure: Rebuilt.
* elf-bfd.h (elf_strtab_hash): Forward declare.
(struct elf_link_hash_table): Change dynstr type to
struct elf_strtab_hash *.
(struct elf_obj_tdata): Change strtab_ptr type to
struct elf_strtab_hash *.
(_bfd_elf_strtab_init, _bfd_elf_strtab_free, _bfd_elf_strtab_add,
_bfd_elf_strtab_addref, _bfd_elf_strtab_delref,
_bfd_elf_strtab_clear_all_refs, _bfd_elf_strtab_size,
_bfd_elf_strtab_offset, _bfd_elf_strtab_emit,
_bfd_elf_strtab_finalize): New prototypes.
* elf-strtab.c: New file.
* elflink.h (elf_link_add_object_symbols): Use _bfd_elf_strtab_add
and _bfd_elf_strtab_size instead of _bfd_stringtab calls.
Call _bfd_elf_strtab_delref if DT_NEEDED entry is not needed or
when forcing dynamic symbol to local.
(elf_link_create_dynamic_sections): Call
_bfd_elf_strtab_init instead of elf_stringtab_init.
(elf_link_record_local_dynamic_symbol): Likewise, change
dynstr type.  Use _bfd_elf_strtab functions instead of
_bfd_stringtab calls.
(size_dynamic_sections): Use _bfd_elf_strtab functions instead of
_bfd_stringtab calls.  For DT_RUNPATH and Verdaux vda_name fields,
call _bfd_elf_strtab_addref.  Call elf_finalize_dynstr.
(elf_adjust_dynstr_offsets, elf_finalize_dynstr): New functions.
(elf_fix_symbol_flags): Call _bfd_elf_strtab_delref when forcing
dynamic symbol to local.
(elf_link_assign_sym_version): Likewise.
(elf_bfd_final_link): Call _bfd_elf_strtab_emit instead of
_bfd_stringtab_emit.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Change dynstr
type.  Call _bfd_elf_strtab functions instead of
_bfd_stringtab functions.
* elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise.
* elf.c (_bfd_elf_init_reloc_shdr): Likewise.
(elf_fake_sections): Likewise.
(assign_section_numbers): Call _bfd_elf_strtab_clear_all_refs
on shstrtab hash table, call _bfd_elf_strtab_addref on each section
name in the output.  Call _bfd_elf_strtab_finalize and
use _bfd_elf_strtab_offset to finalize sh_name section header fields.
(_bfd_elf_compute_section_file_positions): Use _bfd_elf_strtab_size
instead of _bfd_stringtab_size.
(prep_headers): Change shstrtab type.
Use _bfd_elf_strtab calls instead of _bfd_stringtab calls.

22 years ago * readelf.c (debug_str, debug_str_size): New.
jakub [Wed, 7 Nov 2001 16:14:09 +0000 (16:14 +0000)]
* readelf.c (debug_str, debug_str_size): New.
(display_debug_abbrev): If no abbrevs were read, skip the CU.
Call free_abbrevs.
(read_and_display_addr): Handle DW_FORM_strp.
(display_debug_info): Read .debug_str section if present,
so that DW_FORM_strp can be handled.
Fix test for non-existant .debug_abbrev section.

22 years ago2001-11-08 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Wed, 7 Nov 2001 14:11:39 +0000 (14:11 +0000)]
2001-11-08  Robert Collins  <rbtcollins@hotmail.com>

        * include/winnt.h: Define *_SID_AUTHORITY appropriately. (nested
        structures.)
        GetCurrentFiber: Create a prototype before the implementation;
        GetFiberData: Ditto.

22 years ago2001-11-08 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Wed, 7 Nov 2001 14:10:23 +0000 (14:10 +0000)]
2001-11-08  Robert Collins  <rbtcollins@hotmail.com>

        * include/errno.h: Fix "errno is not a prototype" warning.

22 years ago * lib/getopt.c (getopt_internal): Reset optind to 1 only if optreset
corinna [Wed, 7 Nov 2001 11:47:22 +0000 (11:47 +0000)]
* lib/getopt.c (getopt_internal): Reset optind to 1 only if optreset
is not set.

22 years agogdbarch.sh (PC_IN_CALL_DUMMY): Require a value.
cagney [Wed, 7 Nov 2001 04:28:37 +0000 (04:28 +0000)]
gdbarch.sh (PC_IN_CALL_DUMMY): Require a value.

22 years ago * elflink.h (elf_link_input_bfd <removed linkonce relocs>): Fix
amodra [Wed, 7 Nov 2001 04:07:08 +0000 (04:07 +0000)]
* elflink.h (elf_link_input_bfd <removed linkonce relocs>): Fix
bad symtab segfault.  Formatting and warning fixes.  Improve
error message for internationalisation.

22 years ago*** empty log message ***
gdbadmin [Wed, 7 Nov 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago 2001-11-06 Fred Fish <fnf@redhat.com>
fnf [Tue, 6 Nov 2001 23:38:14 +0000 (23:38 +0000)]
2001-11-06  Fred Fish  <fnf@redhat.com>
* complaints.c (info_verbose): Remove unneeded decl, is in defs.h.
* dbxread.c: Ditto
* dwarf2read.c: Ditto.
* dwarfread.c: Ditto.
* exec.c: Ditto.
* hpread.c: Ditto.
* hpread.h: Ditto.
* mdebugread.c: Ditto.
* os9kread.c: Ditto.
* stack.c: Ditto.
* symfile.c: Ditto.
* tracepoint.c: Ditto.

22 years agodaily update
amodra [Tue, 6 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago* MAINTAINERS: Update Andrew Cagney's responsibilities. Mention
cagney [Tue, 6 Nov 2001 22:40:05 +0000 (22:40 +0000)]
* MAINTAINERS: Update Andrew Cagney's responsibilities.  Mention
David Taylor and Nick Duffek in past maintainers.

22 years ago2001-11-06 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 6 Nov 2001 22:35:25 +0000 (22:35 +0000)]
2001-11-06  Elena Zannoni <ezannoni@redhat.com>

        * mdebugread.c (CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB,
        END_PSYMTAB, SET_NAMESTRING, HANDLE_RBRAC): Delete definitions.
        (parse_partial_symbols): Don't include partial-stab.h any
        more. Don't reuse code in partial-stab.h, include the code
        directly, instead. Simplify code from partial-stab.h eliminating
        ifdef DBXREAD_ONLY code.

        * Makefile.in (mdebugread.o): Remove dependency on partial-stab.h.

22 years ago2001-11-06 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 6 Nov 2001 22:31:00 +0000 (22:31 +0000)]
2001-11-06  Elena Zannoni <ezannoni@redhat.com>

        * mdebugread.c (CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB,
        END_PSYMTAB, SET_NAMESTRING, HANDLE_RBRAC): Delete definitions.
        (parse_partial_symbols): Don't include partial-stab.h any
        more. Don't reuse code in partial-stab.h, include the code
        directly, instead. Simplify code from partial-stab.h eliminating
        ifdef DBXREAD_ONLY code.

        * Makefile.in (mdebugread.o): Remove dependency on partial-stab.h.

22 years ago* s390-nat.c: #include "regcache.h", to get declaration for
jimb [Tue, 6 Nov 2001 22:18:13 +0000 (22:18 +0000)]
* s390-nat.c: #include "regcache.h", to get declaration for
`supply_register'.  (The last change already added the dependency
of s390-nat.o on regcache.h.  Oops.)

22 years ago* Makefile.in (ALLDEPFILES): Add s390-tdep.c and s390-nat.c.
jimb [Tue, 6 Nov 2001 21:58:53 +0000 (21:58 +0000)]
* Makefile.in (ALLDEPFILES): Add s390-tdep.c and s390-nat.c.
(s390-tdep.o, s390-nat.o): New rules.

22 years ago2001-11-06 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
echristo [Tue, 6 Nov 2001 21:39:06 +0000 (21:39 +0000)]
2001-11-06  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>

* config/tc-mips.c (my_getSmallParser): Fix small parser bug.

22 years agoFix typo.
jimb [Tue, 6 Nov 2001 21:34:00 +0000 (21:34 +0000)]
Fix typo.

22 years ago* gdb/s390-nat.c (s390_register_u_addr): Pass proper arguments to
jimb [Tue, 6 Nov 2001 21:28:28 +0000 (21:28 +0000)]
* gdb/s390-nat.c (s390_register_u_addr): Pass proper arguments to
internal_error.

22 years agogdbarch.sh (CALL_DUMMY_LOCATION): Require a value.
cagney [Tue, 6 Nov 2001 21:20:23 +0000 (21:20 +0000)]
gdbarch.sh (CALL_DUMMY_LOCATION): Require a value.

22 years agoZap another #ifdef INIT_EXTRA_FRAME_INFO
cagney [Tue, 6 Nov 2001 18:54:10 +0000 (18:54 +0000)]
Zap another #ifdef INIT_EXTRA_FRAME_INFO

22 years agoAdd predicate for PUSH_RETURN_ADDRESS.
cagney [Tue, 6 Nov 2001 18:05:56 +0000 (18:05 +0000)]
Add predicate for PUSH_RETURN_ADDRESS.

22 years ago* select.cc (fhandler_tty_slave::ready_for_read): Correct inverted not_open
cgf [Tue, 6 Nov 2001 18:02:54 +0000 (18:02 +0000)]
* select.cc (fhandler_tty_slave::ready_for_read): Correct inverted not_open
test.

22 years ago2001-11-06 H.J. Lu (hjl@gnu.org)
hjl [Tue, 6 Nov 2001 17:49:36 +0000 (17:49 +0000)]
2001-11-06  H.J. Lu  (hjl@gnu.org)

* elflink.h (elf_link_input_bfd): Complain relocs against
discarded sections.

22 years ago * arch-utils.c (generic_in_function_epilogue_p): New function.
corinna [Tue, 6 Nov 2001 11:02:11 +0000 (11:02 +0000)]
* arch-utils.c (generic_in_function_epilogue_p): New function.
* arch-utils.h (generic_in_function_epilogue_p): Declare extern.
* breakpoint.c (watchpoint_check): Add test whether the pc is
currently in the epilogue of a function.
* gdbarch.c: Autogenerated from gdbarch.sh.
* gdbarch.h: Ditto.
* gdbarch.sh (function_list): Add `in_function_epilogue_p' definition.

22 years ago * gdb.texinfo (gdbarch_in_function_epilogue_p): Add documentation.
corinna [Tue, 6 Nov 2001 11:01:22 +0000 (11:01 +0000)]
* gdb.texinfo (gdbarch_in_function_epilogue_p): Add documentation.

22 years ago * Makefile.in (MAKEINFO): Use "missing" for makeinfo older than 4.0.
hp [Tue, 6 Nov 2001 07:20:19 +0000 (07:20 +0000)]
* Makefile.in (MAKEINFO): Use "missing" for makeinfo older than 4.0.

22 years ago* gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
jimb [Tue, 6 Nov 2001 00:31:58 +0000 (00:31 +0000)]
* gdb.stabs/weird.exp: Delete "p v_comb" test.  It assumes that
pointers are 32 bits long, and that offsets of relocs are always
stored in the data (REL-style), and not in the reloc entry itself
(RELA-style).
* gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
stabs.

22 years ago* config/s390/s390.mh (NATDEPFILES): Don't split this across
jimb [Tue, 6 Nov 2001 00:04:51 +0000 (00:04 +0000)]
* config/s390/s390.mh (NATDEPFILES): Don't split this across
several lines with backslashes; the `sed' command in
configure.in's AC_OUTPUT clause that comments out the NATDEPFILES
assignment doesn't handle lines extended with backslashes.

22 years ago*** empty log message ***
gdbadmin [Tue, 6 Nov 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* configure.in (AC_OUTPUT): Handle assignments to NATDEPFILES
jimb [Mon, 5 Nov 2001 23:54:48 +0000 (23:54 +0000)]
* configure.in (AC_OUTPUT): Handle assignments to NATDEPFILES
using `+=' as well as `='.
* configure: Regenerated.

22 years ago2001-11-01 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 5 Nov 2001 23:31:25 +0000 (23:31 +0000)]
2001-11-01  Michael Snyder  <msnyder@redhat.com>

* gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
and regular expression operators by using quoting.

22 years ago2001-11-01 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 5 Nov 2001 23:27:31 +0000 (23:27 +0000)]
2001-11-01  Michael Snyder  <msnyder@redhat.com>

* symtab.c (operator_chars): Allow '*' and '[' to be quoted in
operator names, to avoid regexp expansion.
(search_symbols): Alloca buffer is too small, may get clobbered.

22 years ago2001-11-05 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 5 Nov 2001 23:26:09 +0000 (23:26 +0000)]
2001-11-05  Michael Snyder  <msnyder@redhat.com>

* gdb.texinfo (info functions): Document use of backslash to
quote regexp chars in function names such as "operator*()".

22 years ago* include/cygwin/version.h: Bump version to 1.3.5.
cgf [Mon, 5 Nov 2001 23:13:44 +0000 (23:13 +0000)]
* include/cygwin/version.h: Bump version to 1.3.5.

22 years agoChange INIT_EXTRA_FRAME_INFO() to a function with predicate.
cagney [Mon, 5 Nov 2001 23:11:31 +0000 (23:11 +0000)]
Change INIT_EXTRA_FRAME_INFO() to a function with predicate.

22 years agoChange INIT_EXTRA_FRAME_INFO() to a function with predicate.
cagney [Mon, 5 Nov 2001 23:10:57 +0000 (23:10 +0000)]
Change INIT_EXTRA_FRAME_INFO() to a function with predicate.

22 years agodaily update
amodra [Mon, 5 Nov 2001 23:00:07 +0000 (23:00 +0000)]
daily update

22 years ago* gdbarch.sh (verify_gdbarch): Use a mem_file to accumulate all
cagney [Mon, 5 Nov 2001 21:34:32 +0000 (21:34 +0000)]
* gdbarch.sh (verify_gdbarch): Use a mem_file to accumulate all
error messages.  Print in a single batch.
* gdbarch.c: Regenerate.

22 years ago * mmap.cc (mmap_record::find_empty): Add input parameter check.
corinna [Mon, 5 Nov 2001 20:58:22 +0000 (20:58 +0000)]
* mmap.cc (mmap_record::find_empty): Add input parameter check.

22 years ago2001-11-05 Martin M. Hunt <hunt@redhat.com>
hunt [Mon, 5 Nov 2001 19:42:48 +0000 (19:42 +0000)]
2001-11-05  Martin M. Hunt  <hunt@redhat.com>
* generic/gdbtk-cmds.h (gdbtk_set_result): Declare.
A printf-like function to return error messages.
* generic/gdbtk-cmds.c (gdbtk_set_result): New
function.
(gdb_cmd): Use gdbtk_set_result.
(gdb_immediate_command): Ditto.
(gdb_load_info): Ditto.
(gdb_find_file_command): Ditto.
(gdb_listfuncs): Ditto.
(gdb_load_disassembly): Ditto.
(gdb_loc): Ditto.
(gdb_set_mem): Ditto.
(gdb_get_mem): Ditto.
(gdb_loadfile): Ditto.
* generic/gdbtk-varobj.c (variable_format): Ditto.
(variable_value): Ditto.
* generic/gdbtk-stack.c (gdb_get_vars_command): Ditto.
* generic/gdbtk-bp.c (gdb_get_breakpoint_info): Ditto.
(gdb_set_bp): Ditto.
(gdb_set_bp_addr): Ditto.
(gdb_get_tracepoint_info): Ditto.

22 years ago2001-11-05 Martin M. Hunt <hunt@redhat.com>
hunt [Mon, 5 Nov 2001 19:15:17 +0000 (19:15 +0000)]
2001-11-05  Martin M. Hunt  <hunt@redhat.com>

* library/stackwin.itb (StcakWin::reconfig): Destroy sbox
if it exists.

* library/process.itb (ProcessWin::reconfig): Destroy sbox
if it exists. This fixes reconfig failures on Windows. Also
destroy slbox.

* library/bpwin.itb (BpWin::reconfig): Destroy sbox if
it exists.This fixes reconfig failures on Windows. Also
destroy sf

* library/tdump.tcl (TdumpWin::reconfig): Delete sbox
and stext then rebuild window.

22 years ago2001-11-05 Martin M. Hunt <hunt@redhat.com>
hunt [Mon, 5 Nov 2001 19:14:00 +0000 (19:14 +0000)]
2001-11-05  Martin M. Hunt  <hunt@redhat.com>

* library/debugwin.itb (DebugWin::build_win):
Initialize gdbtk_de(ERRORS_ONLY) and gdbtk_de(filter_var)
(DebugWin::puts): Rewrite filter to handle new options.
(DebugWinDOpts::build_win): Update list of classes. Change
filter dialog so we can not display only errors and warnings
or choose between displaying ALL classes except those selected
or only selected classes. Fix "OK" button to apply
changes before closing dialog.
DebugWinOpts::_apply): Now takes an agrument that
indicates if dialog should exit after applying filter.

* library/debugwin.ith (_apply): Now takes an arg.

* library/main.tcl: If GDBTK_DEBUGFILE is not set,
use "insight.log" as the default. If GDBTK_DEBUG is set
and nonzero, start logging debug messages to
GDBTK_DEBUGFILE immediately. Never open the debug window
automatically.

* library/managedwin.itb (ManagedWin::shutdown): Don't
save debug window options dialog on active list

* library/srcwin.itb: Remove troublesome debug line.

22 years ago2001-10-18 Martin M. Hunt <hunt@redhat.com>
hunt [Mon, 5 Nov 2001 19:00:30 +0000 (19:00 +0000)]
2001-10-18  Martin M. Hunt  <hunt@redhat.com>
* library/globalpref.itb (GlobalPref::_init_var):
New method to initialize _saved and _new arrays.
(GlobalPref::constructor): Call _init_var.
(GlobalPref::_buildwin): Use _new array for prefs
variables. Font optimizations. Remove troublesome
fonts and sort the list.
(GlobalPref::toggle_tracing_mode): Removed.  Some
functionality moved to _apply and _cancel.
(GlobalPref::_apply): Set prefs with values from the
_new array.
(SrcPref::_cancel): Reset prefs with values from _saved.
* library/globalpref.ith: Changed private variables
and methods to start with underscore.
(tracing_cb): Removed.
(_init): Changed from proc to method.

22 years ago * libc/include/sys/unistd.h: Add prototypes for endusershell(),
corinna [Mon, 5 Nov 2001 18:06:23 +0000 (18:06 +0000)]
* libc/include/sys/unistd.h: Add prototypes for endusershell(),
getusershell(), iruserok(), revoke(), ruserok() and setusershell()
when __CYGWIN__ is defined.
* libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
logwtmp().

22 years ago * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
jakub [Mon, 5 Nov 2001 16:20:37 +0000 (16:20 +0000)]
* arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.

* arsup.c (ar_open): Prepend tmp- to basename, not whole path.

22 years ago* Makefile.in: Delete unused executable after creating base-files.
duda [Mon, 5 Nov 2001 13:16:41 +0000 (13:16 +0000)]
* Makefile.in: Delete unused executable after creating base-files.

22 years agoAdd self as s390/s390x maintainer.
sky [Mon, 5 Nov 2001 08:50:47 +0000 (08:50 +0000)]
Add self as s390/s390x maintainer.

22 years agoForce got and plt relocations.
sky [Mon, 5 Nov 2001 08:47:46 +0000 (08:47 +0000)]
Force got and plt relocations.

22 years agoEliminate excess whitespace.
cgf [Mon, 5 Nov 2001 06:09:06 +0000 (06:09 +0000)]
Eliminate excess whitespace.

22 years agoAdd strace debugging section.
cgf [Mon, 5 Nov 2001 03:16:58 +0000 (03:16 +0000)]
Add strace debugging section.

22 years ago2001-11-04 Chris Demetriou <cgd@broadcom.com>
cgd [Mon, 5 Nov 2001 03:07:51 +0000 (03:07 +0000)]
2001-11-04  Chris Demetriou  <cgd@broadcom.com>

        * mips-dis.c (print_insn_mips): Remove spaces at end of line.

22 years ago2001-11-04 Chris Demetriou <cgd@broadcom.com>
cgd [Mon, 5 Nov 2001 03:07:26 +0000 (03:07 +0000)]
2001-11-04  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (OPCODE_IS_MEMBER): Remove extra space.

22 years ago* dtable.cc (dtable::build_fhandler): Fix debug_printf to avoid SEGV due to
cgf [Mon, 5 Nov 2001 02:45:41 +0000 (02:45 +0000)]
* dtable.cc (dtable::build_fhandler): Fix debug_printf to avoid SEGV due to
incorrect parameter placement.

22 years ago* fhandler.h (fhandler_pipe::broken_pipe): Renamed from saweof.
cgf [Mon, 5 Nov 2001 01:52:20 +0000 (01:52 +0000)]
* fhandler.h (fhandler_pipe::broken_pipe): Renamed from saweof.
(fhandler_pipe::set_eof): Reflect above change.
* pipe.cc (fhandler_pipe::fhandler_pipe): Ditto.
(fhandler_pipe::read): Ditto.
(fhandler_pipe::hiteof): Ditto.

22 years ago* pipe.cc (fhandler_pipe::read): Narrow eof return to just the "broken pipe"
cgf [Mon, 5 Nov 2001 01:44:01 +0000 (01:44 +0000)]
* pipe.cc (fhandler_pipe::read): Narrow eof return to just the "broken pipe"
test.

22 years agomerge from gcc
dj [Mon, 5 Nov 2001 01:12:22 +0000 (01:12 +0000)]
merge from gcc

22 years ago* select.cc: Add more comments throughout. Use bool 'true' where appropriate
cgf [Mon, 5 Nov 2001 00:29:27 +0000 (00:29 +0000)]
* select.cc: Add more comments throughout.  Use bool 'true' where appropriate
throughout.
(fhandler_socket::select_read): Remove duplicate setting for *_ready which
inadvertently overrode previous, correct setting.
(fhandler_socket::select_write): Ditto.

22 years ago*** empty log message ***
gdbadmin [Mon, 5 Nov 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sun, 4 Nov 2001 23:08:47 +0000 (23:08 +0000)]
daily update

22 years ago* lib/Makefile.in: Add .NOTPARALLEL target since dlltool cannot run in parallel
cgf [Sun, 4 Nov 2001 20:38:00 +0000 (20:38 +0000)]
* lib/Makefile.in: Add .NOTPARALLEL target since dlltool cannot run in parallel
invocations.
* lib/scrnsave.c (WinMain): Trivial change to avoid a compiler warning.

22 years ago[ gas/ChangeLog ]
cgd [Sun, 4 Nov 2001 19:06:38 +0000 (19:06 +0000)]
[ gas/ChangeLog ]
2001-11-04  Chris Demetriou  <cgd@broadcom.com>

* configure.in (mips-*-netbsd*): Add support for target.
* configure: Regenerate.

[ gas/testsuite/ChangeLog ]
2001-11-04  Chris Demetriou  <cgd@broadcom.com>

* gas/mips/mips.exp (svr4pic): Set if target is *-*-netbsd*.
(aout): Don't set if *-*-netbsd*.

[ ld/ChangeLog ]
2001-11-04  Chris Demetriou  <cgd@broadcom.com>

* configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
Add support for targets.

22 years ago * getfacl.c (username): New function.
corinna [Sun, 4 Nov 2001 17:24:24 +0000 (17:24 +0000)]
* getfacl.c (username): New function.
(groupname): Ditto.
(usage): Ditto.  Add more user friendly help text.
(main): Add -n and --help option.  Print names instead of IDs
unless -n option is given.
* setfacl.c (getperm): Tolerate whitespace and comment chars in input.
(getaclentry): Fix several input string misdetections.
(getaclentries): Allow - as input file name to read from stdin.
Tolerate whitespace and comment chars in input.
(usage): Add more user friendly help text.
(main): Add --help option.

22 years ago* i386-linux-nat.c (GETREGS_SUPPLIES, supply_gregset,
kettenis [Sun, 4 Nov 2001 14:30:42 +0000 (14:30 +0000)]
* i386-linux-nat.c (GETREGS_SUPPLIES, supply_gregset,
fill_gregset): Add support for "orig_eax" register.

22 years agoAdd support for "orig_eax" pseudo register on Linux/x86.
kettenis [Sun, 4 Nov 2001 14:06:16 +0000 (14:06 +0000)]
Add support for "orig_eax" pseudo register on Linux/x86.
* i386-linux-tdep.c: Include "inferior.h".
(i386_linux_register_name, i386_linux_register_byte,
i386_linux_register_raw_size): New functions.
(i386_linux_write_pc): New function.
* config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): New define.
(NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME,
REGISTER_BYTE, REGISTER_RAW_SIZE): Define to deal with additional
register.
(i386_linux_register_name, i386_linux_register_byte,
i386_linux_register_raw_size): New prototypes.
(TARGET_WRITE_PC): New define.
(i386_linux_write_pc): New prototype.

22 years ago* i386-tdep.c (i386_register_offset): Renamed from
kettenis [Sun, 4 Nov 2001 13:51:48 +0000 (13:51 +0000)]
* i386-tdep.c (i386_register_offset): Renamed from
i386_register_byte.  Made static.
(i386_register_size): Renamed from i386_register_raw_size.  Made
static.
(i386_register_virtual_size): Removed.
(i386_register_byte, i386_register_raw_size,
i386_register_virtual_size): New functions.
(_initialize_i386_tdep): Initialize i386_register_offset instead
of i386_register_byte.  Remove code to initialize
i386_register_virtual_size.
* config/i386/tm-i386.h (REGISTER_BYTE): Redefine to use
i386_register_byte function.
(REGISTER_RAW_SIZE): Redefine to use i386_register_raw_size
function.
(REGISTER_VIRTUAL_SIZE): Redefine to use
i386_register_virtual_size function.
(i386_register_byte, i386_register_raw_size,
i386_register_virtual_size): New functions.