OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years agoI'm using the obvious fix rule to commit this.
Michael Chastain [Sat, 7 Jul 2001 00:14:06 +0000 (00:14 +0000)]
I'm using the obvious fix rule to commit this.

Testing: I tested on native Red Hat Linux 7 using gcc 3.0.
The "info float" command exercises print_i387_value.

2001-07-06  Michael Chastain  <chastain@redhat.com>

* i387-tdep.c (print_i387_value): Fix pointer glitch.

===

Index: i387-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i387-tdep.c,v
retrieving revision 1.11
diff -c -1 -0 -p -r1.11 i387-tdep.c
*** gdb/i387-tdep.c 2001/07/04 21:14:05 1.11
--- gdb/i387-tdep.c 2001/07/06 12:47:00
*************** print_i387_value (char *raw)
*** 163,184 ****
    DOUBLEST value;
    int len = TARGET_LONG_DOUBLE_BIT / TARGET_CHAR_BIT;
    char *tmp = alloca (len);

    /* This code only works on targets where ... */
    gdb_assert (TARGET_LONG_DOUBLE_FORMAT == &floatformat_i387_ext);

    /* Take care of the padding.  FP reg is 80 bits.  The same value in
       memory is 96 bits.  */
    gdb_assert (FPU_REG_RAW_SIZE < len);
!   memcpy (&tmp, raw, FPU_REG_RAW_SIZE);
!   memset (&tmp + FPU_REG_RAW_SIZE, 0, len - FPU_REG_RAW_SIZE);

    /* Extract the value as a DOUBLEST.  */
    /* Use extract_floating() rather than floatformat_to_doublest().
       The latter is lossy in nature.  Once GDB gets a host/target
       independent and non-lossy FP it will become possible to bypass
       extract_floating() and call floatformat*() directly.  Note also
       the assumptions about TARGET_LONG_DOUBLE above.  */
    value = extract_floating (tmp, len);

    /* We try to print 19 digits.  The last digit may or may not contain
--- 163,184 ----
    DOUBLEST value;
    int len = TARGET_LONG_DOUBLE_BIT / TARGET_CHAR_BIT;
    char *tmp = alloca (len);

    /* This code only works on targets where ... */
    gdb_assert (TARGET_LONG_DOUBLE_FORMAT == &floatformat_i387_ext);

    /* Take care of the padding.  FP reg is 80 bits.  The same value in
       memory is 96 bits.  */
    gdb_assert (FPU_REG_RAW_SIZE < len);
!   memcpy (tmp, raw, FPU_REG_RAW_SIZE);
!   memset (tmp + FPU_REG_RAW_SIZE, 0, len - FPU_REG_RAW_SIZE);

    /* Extract the value as a DOUBLEST.  */
    /* Use extract_floating() rather than floatformat_to_doublest().
       The latter is lossy in nature.  Once GDB gets a host/target
       independent and non-lossy FP it will become possible to bypass
       extract_floating() and call floatformat*() directly.  Note also
       the assumptions about TARGET_LONG_DOUBLE above.  */
    value = extract_floating (tmp, len);

    /* We try to print 19 digits.  The last digit may or may not contain

23 years ago*** empty log message ***
gdbadmin [Sat, 7 Jul 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-07-02 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 6 Jul 2001 22:51:21 +0000 (22:51 +0000)]
2001-07-02  Michael Snyder  <msnyder@redhat.com>

        * gdb.base/completion.exp: Don't assume that break.c is the only
source file that may contain functions named "marker".

23 years ago* lin-lwp.c (count_events_callback): Fix formatting. Turn check
Mark Kettenis [Fri, 6 Jul 2001 22:31:47 +0000 (22:31 +0000)]
* lin-lwp.c (count_events_callback): Fix formatting.  Turn check
commented with "paranoia" into gdb_assert.
(select_event_lwp_callback): Likewise.
(cancel_breakpoints_callback): Bail out early if LP is the event
LWP.  Add comment about backup up breakpoints.  Fix formatting and
debug message.
(select_event_lwp): Make solely repsonsible for switching event
LWP.  Fix formatting and remove bogus "ERROR" debug message.
Don't backup breakpoints from here.
(lin_lwp_wait): Don't touch LP->status, let select_event_lwp
handle that.  Only call select_event_lwp if we're not waiting for
a specific LWP, i.e. when PID == -1.  Backup breakpoints from here.

23 years ago2001-07-07 Ben Elliston <bje@redhat.com>
Ben Elliston [Fri, 6 Jul 2001 22:14:07 +0000 (22:14 +0000)]
2001-07-07  Ben Elliston  <bje@redhat.com>

* m88k.h: Clean up and reformat. Remove unused code.

23 years ago2001-07-06 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 6 Jul 2001 21:31:04 +0000 (21:31 +0000)]
2001-07-06  Michael Snyder  <msnyder@redhat.com>

* procfs.c (procfs_resume): Silence noisy warning.

23 years ago2001-06-12 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 6 Jul 2001 19:06:24 +0000 (19:06 +0000)]
2001-06-12  Michael Snyder  <msnyder@redhat.com>

* lin-lwp.c: Prevent thread starvation by using a monte carlo
method to choose which of several event threads to handle next.

(stop_wait_callback): Defer pushback of breakpoint events until
later; add SIGTRAP events to the queue of unhandled events.
Keep calling waitpid until SIGSTOP retrieved.  If more than one
non-SIGSTOP event is retrieved, push them back onto the process
queue using kill.
(count_events_callback, select_singlestep_lwp_callback,
select_event_lwp_callback, cancel_breakpoints_callback,
select_event_lwp): New functions.  Implement monte carlo method
for selecting which of several SIGTRAP threads to handle next.
Push back the breakpoint event for all threads other than the
selected one.
(lin_lwp_wait): Call select_event_lwp to decide which of several
sigtrapped lwps to handle next.
(resume_callback): Disable code that attempts to handle
step_resume breakpoints.  Let core gdb handle this.

23 years ago* gdbtypes.h (builtin_type_void_func_ptr): New builtin type. dberlin-typesystem-branchpoint
Jim Blandy [Fri, 6 Jul 2001 14:44:19 +0000 (14:44 +0000)]
* gdbtypes.h (builtin_type_void_func_ptr): New builtin type.
* gdbtypes.c (builtin_type_void_func_ptr): Define the variable.
(build_gdbtypes): Initialize it.
(_initialize_gdbtypes): Swap it.

23 years agoBranch prediction code cleanup
Daniel Jacobowitz [Fri, 6 Jul 2001 05:35:17 +0000 (05:35 +0000)]
Branch prediction code cleanup

23 years agoMention mi0 and mi1 as --interpreter options.
Andrew Cagney [Fri, 6 Jul 2001 04:07:29 +0000 (04:07 +0000)]
Mention mi0 and mi1 as --interpreter options.

23 years agoReplace:
Andrew Cagney [Fri, 6 Jul 2001 03:53:11 +0000 (03:53 +0000)]
Replace:
  if (interpreter_p && strncmp (interpreter_p, "mi", 2) == 0)
with:
  if (ui_out_is_mi_like_p (uiout))

23 years ago*** empty log message ***
gdbadmin [Fri, 6 Jul 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * mips-tdep.c (mips_software_single_step): New function.
Daniel Jacobowitz [Thu, 5 Jul 2001 23:30:43 +0000 (23:30 +0000)]
    * mips-tdep.c (mips_software_single_step): New function.
        * config/mips/tm-mips.h: Add prototype for
        mips_software_single_step.

23 years ago * library/managedwin.itb (_create): Don't pass "-over"
Keith Seitz [Thu, 5 Jul 2001 23:24:10 +0000 (23:24 +0000)]
* library/managedwin.itb (_create): Don't pass "-over"
to center_window unless we really are asked to put the
window over another!

23 years ago * ppc-linux-nat.c (supply_gregset): Use elf_greg_t instead
Daniel Jacobowitz [Thu, 5 Jul 2001 23:22:04 +0000 (23:22 +0000)]
    * ppc-linux-nat.c (supply_gregset): Use elf_greg_t instead
        of greg_t.
        (fill_gregset): Likewise.

23 years agoFix ia64-linux fortran common linking problem.
Jim Wilson [Thu, 5 Jul 2001 22:40:16 +0000 (22:40 +0000)]
Fix ia64-linux fortran common linking problem.
* linker.c (_bfd_generic_link_add_one_symbol, case BIG): Use
the section of the bigger symbol.

23 years agos/basename/lbasename/
Andrew Cagney [Thu, 5 Jul 2001 21:32:39 +0000 (21:32 +0000)]
s/basename/lbasename/

23 years ago* d10v-tdep.c (d10v_frame_chain, d10v_frame_init_saved_regs,
Jim Blandy [Thu, 5 Jul 2001 21:27:08 +0000 (21:27 +0000)]
* d10v-tdep.c (d10v_frame_chain, d10v_frame_init_saved_regs,
show_regs, d10v_read_pc, d10v_write_pc, d10v_read_sp,
d10v_write_sp, d10v_write_fp, d10v_read_fp,
d10v_push_return_address): Call the functions d10v_make_daddr,
d10v_make_iaddr, d10v_convert_iaddr_to_raw, and
d10v_convert_daddr_to_raw, not the global macros D10V_MAKE_DADDR,
D10V_MAKE_IADDR, D10V_CONVERT_IADDR_TO_RAW, and
D10V_CONVERT_DADDR_TO_RAW.

23 years agoFix ia64-linux binutils readelf -s testsuite failure.
Jim Wilson [Thu, 5 Jul 2001 18:27:55 +0000 (18:27 +0000)]
Fix ia64-linux binutils readelf -s testsuite failure.
* syms.c (bfd_is_local_label): Return false if BSF_SECTION_SYM.

23 years agomerge from gcc
DJ Delorie [Thu, 5 Jul 2001 17:29:17 +0000 (17:29 +0000)]
merge from gcc

23 years ago* dwarf2read (dwarf2_build_psymtabs_hard): Doc fix.
Jim Blandy [Thu, 5 Jul 2001 16:45:48 +0000 (16:45 +0000)]
* dwarf2read (dwarf2_build_psymtabs_hard): Doc fix.

23 years ago* config/i386/xm-go32.h (HOST_I386): Removed.
Mark Kettenis [Thu, 5 Jul 2001 14:40:51 +0000 (14:40 +0000)]
* config/i386/xm-go32.h (HOST_I386): Removed.
* config/i386/xm-linux.h (HOST_I386): Removed.

23 years ago2001-07-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 5 Jul 2001 13:51:26 +0000 (13:51 +0000)]
2001-07-05  Ben Elliston  <bje@redhat.com>

* Make-common.in (srccgen): Remove.
(CGEN_CPU_DIR): Define.
(CGEN_READ_SCM): Redefine without $(srccgen).
(CGEN_ARCH_SCM): Ditto.
(CGEN_CPU_SCM): Ditto.
(CGEN_DECODE_SCM): Ditto.
(CGEN_DESC_SCM): Ditto.

* $arch/Makefile.in: Use $(CGEN_CPU_DIR) where applicable.

23 years ago2001-07-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 5 Jul 2001 13:12:23 +0000 (13:12 +0000)]
2001-07-05  Ben Elliston  <bje@redhat.com>

* Makefile.am (CPUDIR): Define.
(stamp-m32r): Update dependencies.
(stamp-fr30): Ditto.
(stamp-openrisc): Ditto.
* Makefile.in: Regenerate.

23 years agoFor sections containing uninitialised data, only set their size to s_paddr
Nick Clifton [Thu, 5 Jul 2001 10:52:25 +0000 (10:52 +0000)]
For sections containing uninitialised data, only set their size to s_paddr
if this does not reset their size to zero.  MS's latest compilers will set
s_paddr to zero.

23 years ago*** empty log message ***
gdbadmin [Thu, 5 Jul 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* i387-tdep.c (print_i387_value): Add extra space after final full
Mark Kettenis [Wed, 4 Jul 2001 21:14:05 +0000 (21:14 +0000)]
* i387-tdep.c (print_i387_value): Add extra space after final full
stop in comment.

23 years ago* gdbint.texinfo (Target Architecture Definition): GDBARCH is a C
Andrew Cagney [Wed, 4 Jul 2001 20:52:14 +0000 (20:52 +0000)]
* gdbint.texinfo (Target Architecture Definition): GDBARCH is a C
structure and not macros.
(Host Definition): Document that much of this chapter is obsolete.
(Target Architecture Definition): Update list of files that make
up a target architecture.
(Coding): Update.

23 years ago* config/arm/tm-arm.h: Include "floatformat.h".
Andrew Cagney [Wed, 4 Jul 2001 19:57:53 +0000 (19:57 +0000)]
* config/arm/tm-arm.h: Include "floatformat.h".

23 years ago* i387-tdep.c: Include "gdb_assert.h".
Andrew Cagney [Wed, 4 Jul 2001 19:19:58 +0000 (19:19 +0000)]
* i387-tdep.c: Include "gdb_assert.h".
(print_i387_value): Use extract_floating to extract the FP value
from a zero padded local buffer.

23 years ago* TODO: Delete all thread items. The thread code was overhauled.
Andrew Cagney [Wed, 4 Jul 2001 18:51:51 +0000 (18:51 +0000)]
* TODO: Delete all thread items.  The thread code was overhauled.

23 years ago2001-07-04 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 4 Jul 2001 18:06:02 +0000 (18:06 +0000)]
2001-07-04  Elena Zannoni  <ezannoni@redhat.com>

* memattr.c (create_mem_region): Move n to next memory region,
to avoid infinite loop.

23 years ago2001-07-04 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 4 Jul 2001 17:59:02 +0000 (17:59 +0000)]
2001-07-04  Elena Zannoni  <ezannoni@redhat.com>

* memattr.h: Add copyright statement.
* memattr.c: Ditto.

23 years ago* dwarf2read.c (struct partial_die_info): New member: has_pc_info.
Jim Blandy [Wed, 4 Jul 2001 16:08:20 +0000 (16:08 +0000)]
* dwarf2read.c (struct partial_die_info): New member: has_pc_info.
(read_partial_die): Delete fourth argument; we return this info in
the struct partial_die_info object itself now.
(dwarf2_build_psymtabs_hard, scan_partial_symbols): Use the
has_pc_info field of the partial die struct, rather than passing a
variable by reference to read_partial_die.

23 years agoDoc fix.
Jim Blandy [Wed, 4 Jul 2001 16:00:35 +0000 (16:00 +0000)]
Doc fix.

23 years ago* dwarf2read.c (dwarf2_build_psymtabs_hard): Remove extraneous
Jim Blandy [Wed, 4 Jul 2001 16:00:08 +0000 (16:00 +0000)]
* dwarf2read.c (dwarf2_build_psymtabs_hard): Remove extraneous
code in loop condition.  This seemed to be trying to round
info_ptr up to the next four-byte boundary, but that's not what it
actually did.  If we discover the problem the old code was really
trying to address, we can fix it properly.

23 years ago2001-07-04 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 4 Jul 2001 07:15:20 +0000 (07:15 +0000)]
2001-07-04  H.J. Lu  <hjl@gnu.org>

* bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing):
Handle bfd_mach_mips4400, bfd_mach_mips4600 and
bfd_mach_mips5000.

23 years ago*** empty log message ***
gdbadmin [Wed, 4 Jul 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-07-03 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 3 Jul 2001 21:04:49 +0000 (21:04 +0000)]
2001-07-03  Michael Snyder  <msnyder@redhat.com>

* thread_db (find_new_threads_callback, thread_db_thread_alive,
        attach_thread): Update comments.

23 years ago2001-06-29 Ken Whaley <ken@believe.com>
Michael Snyder [Tue, 3 Jul 2001 21:01:59 +0000 (21:01 +0000)]
2001-06-29  Ken Whaley  <ken@believe.com>

* thread-db.c (attach_thread): Check for TD_THR_ZOMBIE in addition
to TD_THR_UNKNOWN when looking for defunct zombie threads.
(thread_db_thread_alive): Ditto.
(find_new_threads_callback): Ditto.

23 years ago2001-07-03 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 3 Jul 2001 19:52:46 +0000 (19:52 +0000)]
2001-07-03  Michael Snyder  <msnyder@redhat.com>

* gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
the output of the ptype command.

23 years agoFix encoding of clf instruction
Nick Clifton [Tue, 3 Jul 2001 18:37:39 +0000 (18:37 +0000)]
Fix encoding of clf instruction

23 years agoSupport DJGPP COFF targets in bfd_get_sign_extend_vma()
Nick Clifton [Tue, 3 Jul 2001 16:27:45 +0000 (16:27 +0000)]
Support DJGPP COFF targets in bfd_get_sign_extend_vma()

23 years agoSkip section symbols from sections being discarded
Nick Clifton [Tue, 3 Jul 2001 15:49:46 +0000 (15:49 +0000)]
Skip section symbols from sections being discarded

23 years ago*** empty log message ***
gdbadmin [Tue, 3 Jul 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-07-02 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 2 Jul 2001 21:54:14 +0000 (21:54 +0000)]
2001-07-02  Michael Snyder  <msnyder@redhat.com>

* gdb.base/corefile.exp: Quote the curly braces in regexp.

23 years agoMAINTAINERS: Add myself to the write-after-approval list
Daniel Jacobowitz [Mon, 2 Jul 2001 19:40:47 +0000 (19:40 +0000)]
MAINTAINERS: Add myself to the write-after-approval list

23 years ago2001-07-02 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Mon, 2 Jul 2001 19:37:59 +0000 (19:37 +0000)]
2001-07-02  Daniel Jacobowitz  <drow@mvista.com>
        * solib-svr4.c: Include "elf/mips.h".
        (elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional.

23 years ago* dwarf2read.c (read_comp_unit, sibling_die, dump_die,
Jim Blandy [Mon, 2 Jul 2001 17:43:07 +0000 (17:43 +0000)]
* dwarf2read.c (read_comp_unit, sibling_die, dump_die,
dump_die_list, store_in_ref_table, follow_die_ref): Make these
static; they're private functions.

23 years ago*** empty log message ***
gdbadmin [Mon, 2 Jul 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * coffread.c (coff_symfile_read): Parse DWARF2 info if present.
Eli Zaretskii [Sun, 1 Jul 2001 10:04:58 +0000 (10:04 +0000)]
    * coffread.c (coff_symfile_read): Parse DWARF2 info if present.

23 years ago * cgen-ibld.in (insert_normal): Support CGEN_IFLD_SIGN_OPT.
Geoffrey Keating [Sun, 1 Jul 2001 02:48:46 +0000 (02:48 +0000)]
* cgen-ibld.in (insert_normal): Support CGEN_IFLD_SIGN_OPT.

23 years ago*** empty log message ***
gdbadmin [Sun, 1 Jul 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoRemerge with gcc
Nick Clifton [Sat, 30 Jun 2001 08:58:10 +0000 (08:58 +0000)]
Remerge with gcc

23 years ago * elfcore.h (elf_core_file_p): Call bfd_section_from_phdr directly
Alan Modra [Sat, 30 Jun 2001 04:05:13 +0000 (04:05 +0000)]
* elfcore.h (elf_core_file_p): Call bfd_section_from_phdr directly
instead of _bfd_elfcore_section_from_phdr.
* elf-bfd.h (_bfd_elfcore_section_from_phdr): Remove.
* elf.c (_bfd_elfcore_section_from_phdr): Remove.
(_bfd_elfcore_make_pseudosection): Expedite tail-call.
(elfcore_grok_prstatus): Likewise.
(elfcore_grok_lwpstatus): Likewise.
(bfd_get_elf_phdr_upper_bound): Likewise.
(elfcore_make_note_pseudosection): Formatting.
(_bfd_elfcore_strndup): Formatting.
* elf32-mips.c (mips_elf_sym_is_global): Formatting.
(_bfd_elf32_mips_grok_prstatus): Expedite tail-call.

23 years ago * elf-bfd.h: Add prototypes for _bfd_elfcore_make_pseudosection
Alan Modra [Sat, 30 Jun 2001 03:15:46 +0000 (03:15 +0000)]
* elf-bfd.h: Add prototypes for _bfd_elfcore_make_pseudosection
and _bfd_elfcore_strndup.
(struct elf_backend_data): Add elf_backend_grok_prstatus
and elf_backend_grok_psinfo.
* elf.c (_bfd_elfcore_make_pseudosection): New function.
(elfcore_grok_prstatus): Use it.
(elfcore_make_note_pseudosection): Likewise.
(elfcore_strndup):  Rename to...
(_bfd_elfcore_strndup): Here, and make global.
(elfcore_grok_psinfo): Use _bfd_elfcore_strndup.
(elfcore_grok_note): Call elf_backend_grok_prstatus
and elf_backend_grok_psinfo if available.
* elf32-mips.c (_bfd_elf32_mips_grok_prstatus): New function.
(_bfd_elf32_mips_grok_psinfo): New function.
(elf_backend_grok_prstatus): Define.
(elf_backend_grok_psinfo): Define.
* elfxx-target.h (elf_backend_grok_prstatus): Default to NULL.
(elf_backend_grok_psinfo): Likewise.
(elfNN_bed): Include elf_backend_grok_prstatus and
elf_backend_grok_psinfo.

23 years ago2001-06-29 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 30 Jun 2001 00:34:10 +0000 (00:34 +0000)]
2001-06-29  H.J. Lu  <hjl@gnu.org>

* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Check if
hplink->sgot is NULL before filling GOT. Checck if hplink->splt
is NULL before filling PLT.

23 years ago*** empty log message ***
gdbadmin [Sat, 30 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-06-28 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 29 Jun 2001 20:32:48 +0000 (20:32 +0000)]
2001-06-28  Elena Zannoni  <ezannoni@redhat.com>

        * TODO: Add import of readline 4.2 as a gdb 5.2 task.

23 years ago* gdbint.texinfo (Target Architecture Definition): Update
Andrew Cagney [Fri, 29 Jun 2001 16:21:45 +0000 (16:21 +0000)]
* gdbint.texinfo (Target Architecture Definition): Update
EXTRACT_STRUCT_VALUE_ADDRESS and EXTRACT_STRUCT_VALUE_ADDRESS_P.
The latter has been changed to a true predicate.

23 years agoSort file.
Andrew Cagney [Fri, 29 Jun 2001 16:17:34 +0000 (16:17 +0000)]
Sort file.

23 years ago* config/djgpp/fnchange.lst: Rename mi0-var-block.exp,
Andrew Cagney [Fri, 29 Jun 2001 15:53:36 +0000 (15:53 +0000)]
* config/djgpp/fnchange.lst: Rename mi0-var-block.exp,
mi0-var-cmd.exp, mi0-var-child.exp and mi0-var-display.exp.

23 years ago2001-06-29 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Fri, 29 Jun 2001 15:13:03 +0000 (15:13 +0000)]
2001-06-29  Andreas Jaeger  <aj@suse.de>

* MAINTAINERS: Add myself to the write-after-approval list.

23 years agoAdd DWARF 2.1 attributes
Nick Clifton [Fri, 29 Jun 2001 14:17:31 +0000 (14:17 +0000)]
Add DWARF 2.1 attributes

23 years ago* elflink.h (elf_link_output_extsym): Revert 1999-04-10.
Alan Modra [Fri, 29 Jun 2001 07:00:33 +0000 (07:00 +0000)]
* elflink.h (elf_link_output_extsym): Revert 1999-04-10.

23 years ago* remote-array.c (SWAP_TARGET_AND_HOST): Delete macro.
Andrew Cagney [Fri, 29 Jun 2001 04:41:20 +0000 (04:41 +0000)]
* remote-array.c (SWAP_TARGET_AND_HOST): Delete macro.
(get_hex_word): Don't use HOST_BYTE_ORDER.
(array_fetch_registers): Add variable ``reg''.  Use
store_unsigned_integer to byte-swap the register.  Delete unused
local ``regs''.

23 years agoPer Bothner as Java maintainer (joint).
Andrew Cagney [Fri, 29 Jun 2001 03:01:33 +0000 (03:01 +0000)]
Per Bothner as Java maintainer (joint).

23 years ago* rdi-share/unixcomm.c (SERIAL_PREFIX): Always provide a default.
Andrew Cagney [Fri, 29 Jun 2001 01:19:23 +0000 (01:19 +0000)]
* rdi-share/unixcomm.c (SERIAL_PREFIX): Always provide a default.
* rdi-share/hostchan.h (__unix): Hack, provide a default value.
* rdi-share/host.h (__unix): Hack, define when __NetBSD__.
* TODO: Update.
* MAINTAINERS: Update.  arm-elf builds.

23 years ago * cgen-asm.c (cgen_parse_keyword): Allow any first character.
Geoffrey Keating [Fri, 29 Jun 2001 00:09:16 +0000 (00:09 +0000)]
* cgen-asm.c (cgen_parse_keyword): Allow any first character.
* cgen-opc.c (cgen_keyword_add): Ignore special first
character when building nonalpha_chars field.

23 years ago*** empty log message ***
gdbadmin [Fri, 29 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* d10v-tdep.c (d10v_ts2_dmap_register): Doc fix.
Jim Blandy [Thu, 28 Jun 2001 23:12:18 +0000 (23:12 +0000)]
* d10v-tdep.c (d10v_ts2_dmap_register): Doc fix.

23 years ago* d10v-tdep.c (10v_frame_chain_valid, d10v_use_struct_convention,
Jim Blandy [Thu, 28 Jun 2001 22:10:41 +0000 (22:10 +0000)]
* d10v-tdep.c (10v_frame_chain_valid, d10v_use_struct_convention,
d10v_breakpoint_from_pc, d10v_register_byte,
d10v_register_raw_size, d10v_register_virtual_size,
d10v_register_virtual_type, d10v_register_convertible,
d10v_register_convert_to_virtual, d10v_register_convert_to_raw,
d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw,
d10v_store_struct_return, d10v_store_return_value,
d10v_extract_struct_value_address, d10v_frame_saved_pc,
d10v_saved_pc_after_call, d10v_pop_frame, d10v_skip_prologue,
d10v_frame_chain, d10v_frame_init_saved_regs,
d10v_init_extra_frame_info, d10v_read_pc, d10v_write_pc,
d10v_read_sp, d10v_write_sp, d10v_write_fp, d10v_read_fp,
d10v_push_return_address, d10v_push_arguments,
d10v_extract_return_value): Make these functions static.

23 years ago* gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
Andrew Cagney [Thu, 28 Jun 2001 22:01:22 +0000 (22:01 +0000)]
* gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
of files to delete.
From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
* gdb.disasm/h8300s.exp: New file.
gdb.disasm/h8300s.s: Likewise.

23 years agoFrom Fernando Nasser:
Andrew Cagney [Thu, 28 Jun 2001 21:48:41 +0000 (21:48 +0000)]
From Fernando Nasser:
* infrun.c (handle_inferior_event): Handle "nexti" inside function
prologues.

23 years ago2001-06-28 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 28 Jun 2001 21:34:03 +0000 (21:34 +0000)]
2001-06-28  Michael Snyder  <msnyder@redhat.com>

* infrun.c (handle_inferior_event): Replace prev_pc test in all
calls to bpstat_stop_status (removed in 1999-09-24).  This test
helps distinguish stepping over a breakpoint trap from stepping
thru a jump to the instruction after a breakpoint trap.
(handle_inferior_event): Don't bother writing the PC if
DECR_PC_AFTER_BREAK is zero (optimization).
* breakpoint.c (bpstat_stop_status): Add comment explaining the
purpose and usage of the "not_a_breakpoint" argument in computing
the breakpoint address.

23 years agoFrom 2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
Andrew Cagney [Thu, 28 Jun 2001 20:03:10 +0000 (20:03 +0000)]
From 2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
* monitor.c (setmem_resp_delim_pattern): New regexp pattern.
(setreg_resp_delim_pattern): Likewise.
(setmem_resp_delim_fastmap): New buffer.
(setreg_resp_delim_fastmap): Likewise.
(monitor_open): Initialize above regexp if they are defined.
(monitor_write_memory): Use regexp to check the result of write.
(monitor_store_register): Likewise to check result of register set.

23 years agoFrom 2000-06-14 John Marshall <john_w_marshall@palm.com>:
Andrew Cagney [Thu, 28 Jun 2001 19:54:41 +0000 (19:54 +0000)]
From 2000-06-14 John Marshall <john_w_marshall@palm.com>:
* coff-solib.c: Include symfile.h and objfiles.h to make
OBJF_SHARED visible.

23 years agoSome how this never got removed when ChangeLog was created :-(
Andrew Cagney [Thu, 28 Jun 2001 19:14:22 +0000 (19:14 +0000)]
Some how this never got removed when ChangeLog was created :-(

23 years agoBuild MI by default.
Andrew Cagney [Thu, 28 Jun 2001 19:04:10 +0000 (19:04 +0000)]
Build MI by default.

23 years agoAdd entry for change in solib-osf.c (osf_in_dynsym_resolve_code).
Joel Brobecker [Thu, 28 Jun 2001 10:38:12 +0000 (10:38 +0000)]
Add entry for change in solib-osf.c (osf_in_dynsym_resolve_code).

23 years ago(osf_in_dynsym_resolve_code): Add a comment explaining the consequences of
Joel Brobecker [Thu, 28 Jun 2001 10:36:19 +0000 (10:36 +0000)]
(osf_in_dynsym_resolve_code): Add a comment explaining the consequences of
 always returning zero. No code change.

23 years agoFrom 2001-06-08 Daniel Jacobowitz <djacobowitz@mvista.com>:
Andrew Cagney [Thu, 28 Jun 2001 04:31:36 +0000 (04:31 +0000)]
From 2001-06-08 Daniel Jacobowitz <djacobowitz@mvista.com>:
* defs.h (enum target_signal): Add TARGET_SIGNAL_REALTIME_65
to TARGET_SIGNAL_REALTIME_127.
* target.c (struct signals): Add SIG63 to SIG127.
(target_signal_from_host): Handle up to 127 signals.
(do_target_signal_to_host): Likewise.

23 years ago* remote-sds.c (sds_start_remote): Change type of ``c'' to int
Andrew Cagney [Thu, 28 Jun 2001 03:40:27 +0000 (03:40 +0000)]
* remote-sds.c (sds_start_remote): Change type of ``c'' to int
from possibly unsigned char.

23 years agoExterminate ser-ocd.c.
Andrew Cagney [Thu, 28 Jun 2001 03:33:26 +0000 (03:33 +0000)]
Exterminate ser-ocd.c.

23 years agoDan Berlin stepped down as C++ maintainer.
Andrew Cagney [Thu, 28 Jun 2001 02:40:39 +0000 (02:40 +0000)]
Dan Berlin stepped down as C++ maintainer.

23 years agoSort write after approval.
Andrew Cagney [Thu, 28 Jun 2001 02:37:02 +0000 (02:37 +0000)]
Sort write after approval.

23 years ago*** empty log message ***
gdbadmin [Thu, 28 Jun 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoFor MI>0, output full breakpoint table header information. Output the
Andrew Cagney [Wed, 27 Jun 2001 17:27:08 +0000 (17:27 +0000)]
For MI>0, output full breakpoint table header information.  Output the
breakpoint table body as a list.

23 years ago Avoid creating COPY relocs.
Alan Modra [Wed, 27 Jun 2001 02:42:09 +0000 (02:42 +0000)]
Avoid creating COPY relocs.
* elf32-hppa.c (elf32_hppa_check_relocs): Don't make syms dynamic
here..
(elf32_hppa_adjust_dynamic_symbol): ..nor here..
(allocate_plt_and_got_and_discard_relocs): .. instead do so here
after gc has run.
* elf32-hppa.c (RELATIVE_DYNAMIC_RELOCS): Delete.
(IS_ABSOLUTE_RELOC): Define.
(elf32_hppa_link_hash_entry): Always include reloc_entries field.
(hppa_link_hash_newfunc): Always init it.
(elf32_hppa_check_relocs): Mark symbols as ELF_LINK_NON_GOT_REF to
create COPY relocs only when the reloc is in a read-only section.
Instead, allocate space for a dynamic reloc to reference the
library symbol directly.  Keep track of space we allocate using
relocs_entries.
(hppa_discard_copies): Delete, and move code to..
(allocate_plt_and_got): ..here.  Rename to
allocate_plt_and_got_and_discard_relocs.  Remove unneeded dynamic
relocs for non-shared link.
(elf32_hppa_size_dynamic_sections): Update calls to above.
(elf32_hppa_relocate_section): Write out the dynamic relocs used
in lieu of COPY relocs.

23 years ago * elf32-i386.c (elf_i386_check_relocs): Don't make syms dynamic
Alan Modra [Wed, 27 Jun 2001 01:46:17 +0000 (01:46 +0000)]
* elf32-i386.c (elf_i386_check_relocs): Don't make syms dynamic
here..
(elf_i386_adjust_dynamic_symbol): ..nor here..
(allocate_plt_and_got_and_discard_relocs): .. instead do so here
after gc has run.
(elf_i386_size_dynamic_sections): Fix a comment.
(elf_i386_relocate_section <R_386_32, R_386_PC32>): Rearrange code
involved in writing reloc out.

23 years agoAlways send the breakpoint table headers to ui-out. MI/CLI can
Andrew Cagney [Wed, 27 Jun 2001 00:09:01 +0000 (00:09 +0000)]
Always send the breakpoint table headers to ui-out.  MI/CLI can
internally decide if they should be displayed.

23 years ago*** empty log message ***
gdbadmin [Wed, 27 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years agodelete reference to query output
Andrew Cagney [Tue, 26 Jun 2001 19:11:48 +0000 (19:11 +0000)]
delete reference to query output

23 years ago* mi-cmd-stack.c (list_args_or_locals): Output a list of "args" or
Andrew Cagney [Tue, 26 Jun 2001 18:50:51 +0000 (18:50 +0000)]
* mi-cmd-stack.c (list_args_or_locals): Output a list of "args" or
"locals" entries.
* gdbmi.texinfo (stack-list-locals, stack-list-arguments)
(exec-interrupt, target-select, thread-select): Update
documentation.
* mi-stack.exp: Update.  Output for args=... and
locals=... changed to a list.

23 years ago* mi-cmd-stack.c (mi_cmd_stack_list_frames): Output a list of
Andrew Cagney [Tue, 26 Jun 2001 18:13:46 +0000 (18:13 +0000)]
* mi-cmd-stack.c (mi_cmd_stack_list_frames): Output a list of
"stack" entries.
(mi_cmd_stack_list_args): Ditto for "stack-args".
* gdbmi.texinfo (stack-list-frames, stack-list-arguments): Update
documentation.
(GDB/MI Stack Manipulation Commands): Fix section title.  Was
Stack Manipulation Commands in GDB/MI.
* mi-stack.exp: Update. Output for stack=..., args=... and
stack-args=... changed to a list.

23 years agoUnscramble two merged patches. This puts memory lists back to normal.
Andrew Cagney [Tue, 26 Jun 2001 05:12:37 +0000 (05:12 +0000)]
Unscramble two merged patches.  This puts memory lists back to normal.

23 years ago* stack.c (print_frame): For ui_out, output a list of arguments.
Andrew Cagney [Tue, 26 Jun 2001 04:48:49 +0000 (04:48 +0000)]
* stack.c (print_frame): For ui_out, output a list of arguments.
Update all tests.  Update doco.

23 years agoUpdate paper trail entry.
Kevin Buettner [Tue, 26 Jun 2001 00:41:44 +0000 (00:41 +0000)]
Update paper trail entry.

23 years ago2001-06-25 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 26 Jun 2001 00:26:42 +0000 (00:26 +0000)]
2001-06-25  Michael Snyder  <msnyder@redhat.com>

* infrun.c: Eliminate the "thread_step_needed" state variable,
and replace it with a relatively simple test in resume.
(resume): Replace thread_step_needed logic with a test for
stepping, breakpoint_here_p and breakpoints_inserted.
Move CANNOT_STEP_BREAKPOINT logic to after thread_step logic.
(proceed): Discard thread_step_needed logic.
(wait_for_inferior, fetch_inferior_event, handle_inferior_event):
Discard thread_step_needed logic.

23 years ago*** empty log message ***
gdbadmin [Tue, 26 Jun 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***