binutils-gdb.git
20 years ago * elf.c (special_sections): Add .gnu.linkonce.b modelled on .bss.
Eric Botcazou [Tue, 31 Aug 2004 09:41:11 +0000 (09:41 +0000)]
* elf.c (special_sections): Add .gnu.linkonce.b modelled on .bss.

20 years agodaily update
Alan Modra [Tue, 31 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Tue, 31 Aug 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

20 years agoAdded self to write-after-approval.
Manoj Iyer [Mon, 30 Aug 2004 20:05:41 +0000 (20:05 +0000)]
Added self to write-after-approval.

20 years ago2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Mon, 30 Aug 2004 18:59:50 +0000 (18:59 +0000)]
2004-08-30  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in: Autoupdate to autoconf 2.59.
* aclocal.m4: Rebuild with aclocal 1.4p6.
* configure: Rebuild with autoconf 2.59.
* Makefile.in: Rebuild with automake 1.4p6 (picking up
bfd changes for autoconf 2.59 on the way).
* config.in: Rebuild with autoheader 2.59.

20 years ago2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Mon, 30 Aug 2004 18:58:14 +0000 (18:58 +0000)]
2004-08-30  Nathanael Nerode  <neroden@gcc.gnu.org>

* acinclude.m4: Require AC_CANONICAL_TARGET, not AC_CANONICAL_SYSTEM.
Include ../config/acx.m4 and use ACX_NONCANONICAL_* where appropriate;
replace uses of *_alias with *_noncanonical.
* aclocal.m4: Rebuild with aclocal 1.4p6.
* Makefile.in: Rebuild with automake 1.4p6.
* doc/Makefile.in: Rebuild with automake 1.4p6.
* configure.in: Autoupdate with autoupdate 2.59.
* config.in: Regenerate with autoheader 2.59.
* configure: Regnerate with autoconf 2.59.

20 years ago2004-08-30 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 30 Aug 2004 16:59:45 +0000 (16:59 +0000)]
2004-08-30  Andrew Cagney  <cagney@gnu.org>

Fix PR breakpoints/1757.
* infrun.c (struct execution_control_state): Replace
remove_breakpoints_on_following_step with
step_after_step_resume_breakpoint.
(init_execution_control_state): Update.
(handle_inferior_event): For signals, when stepping off a
breakpoint, set step_after_step_resume_breakpoint.  When
BPSTAT_WHAT_STEP_RESUME, do a single-step off the breakpoint.
(keep_going): Delete code handling
remove_breakpoints_on_following_step.

Index: testsuite/ChangeLog
2004-08-30  Andrew Cagney  <cagney@gnu.org>

* gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
gdb/1757.

20 years ago2004-08-26 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 30 Aug 2004 08:05:42 +0000 (08:05 +0000)]
2004-08-26  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (bootstrap stages): Add 'lean' parameter.
* Makefile.tpl (configure-stageN-*, all-stageN-*): Turned into
phony targets; do not generate timestamp files.
(distclean-stageN): Remove references to their timestamp files.
(restageN, touch-stageN): Remove.
(stageN-bubble): Rewritten.
(compare): Support lean bootstraps.
* Makefile.in: Regenerate.

* configure.in: Only warn when bootstrapping but
build != host or build != target.  Support lean bootstraps.
* configure: Regenerate.

Sync from gcc:
2004-08-26  Phil Edwards  <phil@codesourcery.com>

* configure.in:  Give a better error message if GMP/MPFR are missing
and a language needing them has been requested.
* configure:  Regenerated.

2004-08-25  Phil Edwards  <phil@codesourcery.com>

* configure.in:  Print a list of available language front-ends if
a requested one is missing.  Tidy stray tab characters.
* configure:  Regenerated.

20 years ago*** empty log message ***
gdbadmin [Mon, 30 Aug 2004 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Mon, 30 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago2004-08-29 David Lecomber <david@streamline-computing.com>
David Lecomber [Sun, 29 Aug 2004 10:12:24 +0000 (10:12 +0000)]
2004-08-29  David Lecomber  <david@streamline-computing.com>

Fix PR gdb/648
* language.h (enum array_ordering): New enum.
* language.h (struct language_defn): New la_array_ordering
attribute.
* language.c (unknown_language_defn, auto_language_defn)
(local_language_defn): Ditto.
* ada-lang.c (ada_language_defn): Ditto.
* c-lang.c (c_language_defn, cplus_language_defn)
(asm_language_defn, minimal_language_defn): Ditto.
* f-lang.c (f_language_defn): Ditto.
* jv-lang.c (java_language_defn): Ditto.
* m2-lang.c (f_language_defn): Ditto.
* objc-lang.c (objc_language_defn): Ditto.
* p-lang.c (pascal_language_defn): Ditto.
* scm-lang.c (scm_language_defn): Ditto.
* eval.c (evaluate_subexp_standard): Assume Fortran arrays are
oriented large to small in type structure.
* dwarf2read.c (read_array_order): New function.
(read_array_type): Use read_array_order to check row/column
major ordering.

20 years agodaily update
Alan Modra [Sun, 29 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Sun, 29 Aug 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sat, 28 Aug 2004 23:55:48 +0000 (23:55 +0000)]
2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>

With code from Manoj Iyer <manjo@austin.ibm.com>:
* lib/gdb.exp (gdb_file_cmd): Return more information in the
return value.  Add an arm for "no debugging symbols found".
Change a stray "error" to "perror".
(gdb_run_cmd): Adapt to new return value.
* gdb.base/remote.exp: Adapt to new return value.
* gdb.gdb/complaints.exp: Likewise.
* gdb.gdb/observer.exp: Likewise.
* gdb.gdb/selftest.exp: Likewise.
* gdb.gdb/xfullpath.exp: Likewise.

20 years ago * nm.c (show_synthetic): New var.
Alan Modra [Sat, 28 Aug 2004 08:55:47 +0000 (08:55 +0000)]
* nm.c (show_synthetic): New var.
(long_options): Add "synthetic".
(usage): Here too.
(display_rel_file): Handle show_synthetic.

20 years ago * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Copy input
Alan Modra [Sat, 28 Aug 2004 08:54:34 +0000 (08:54 +0000)]
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Copy input
symbol pointer arrays before modifying.

20 years agocorrected version
Alan Modra [Sat, 28 Aug 2004 03:29:18 +0000 (03:29 +0000)]
corrected version

20 years agobfd/
Alan Modra [Sat, 28 Aug 2004 03:05:18 +0000 (03:05 +0000)]
bfd/
* bfd.c (bfd_get_synthetic_symtab): Pass counts and both symbol tables.
* elf-bfd.h (_bfd_elf_get_synthetic_symtab): Adjust.
* elf.c (_bfd_elf_get_synthetic_symtab): Adjust.
* libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Adjust.
* targets.c (struct bfd_target <_bfd_get_synthetic_symtab>): Adjust.
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't read symbols.
Use both symbol tables on non-relocatable objects.  Use a common
error exit.  Fix "mid" warning.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
binutils/
* objdump.c (dump_bfd): Pass both symbol tables to
bfd_get_synthetic_symtab.

20 years agodaily update
Alan Modra [Sat, 28 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Sat, 28 Aug 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * target.c (target_resize_to_sections): Check
Nathan J. Williams [Fri, 27 Aug 2004 18:03:32 +0000 (18:03 +0000)]
    * target.c (target_resize_to_sections): Check
        current_target.to_sections for an old value when updating.

20 years ago * elf64-ppc.c (ppc64_elf_branch_reloc): Check .opd is in a regular
Alan Modra [Fri, 27 Aug 2004 14:54:41 +0000 (14:54 +0000)]
* elf64-ppc.c (ppc64_elf_branch_reloc): Check .opd is in a regular
object file.
(struct sfpr_def_parms): Save some space.
(sfpr_define): Here too.

* elf64-ppc.c (compare_symbols): Put section syms first.
(sym_exists_at): New function.
(ppc64_elf_get_synthetic_symtab): Use relocs to find code entry
points only for relocatable files.  Use .opd section contents
otherwise.  Generally clean up the code.

20 years ago * gdb.threads/bp_in_thread.exp: New testcase.
Joel Brobecker [Fri, 27 Aug 2004 14:28:15 +0000 (14:28 +0000)]
    * gdb.threads/bp_in_thread.exp: New testcase.

20 years ago * procfs.c (dbx_link_bpt_addr): New static global variable.
Joel Brobecker [Fri, 27 Aug 2004 13:37:42 +0000 (13:37 +0000)]
    * procfs.c (dbx_link_bpt_addr): New static global variable.
        (dbx_link_shadow_contents): New static global variable.
        (procfs_wait, case <PR_SYSEXIT>): Handle syssgi events.
        (procfs_wait, case <FLTBPT>): Remove the __dbx_link brekapoint
        if we just hit it.
        (procfs_init_inferior): Enable syssgi() syscall trace if appropriate.
        Reset dbx_link_bpt_addr as the address of __dbx_link() may change
        from run to run.
        (procfs_create_inferior): Remove syssgi syscall-exit notifications
        after the inferior has been forked.
        (remove_dbx_link_breakpoint): New function.
        (dbx_link_addr): New function.
        (insert_dbx_link_bpt_in_file): New function.
        (insert_dbx_link_bpt_in_region): New function.
        (insert_dbx_link_breakpoint): New function.
        (proc_trace_syscalls_1): New function, extracted from
        proc_trace_syscalls.
        (proc_trace_syscalls): Replace extract code by call to
        proc_trace_syscalls_1.
        * solib-irix.c (disable_break): Remove stop_pc assertion, as it
        is no longer valid.

20 years ago2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Fri, 27 Aug 2004 11:13:28 +0000 (11:13 +0000)]
2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>

Fix PR testsuite/1735.
* gdb.threads/schedlock.c (thread_function): Add a cast
to suppress a gcc warning.
* gdb.threads/thread-specific.c (thread_function): Likewise.

20 years ago * cpu.[ch], arch.[ch], decode.[ch]: Regenerated.
Richard Sandiford [Fri, 27 Aug 2004 09:48:35 +0000 (09:48 +0000)]
* cpu.[ch], arch.[ch], decode.[ch]: Regenerated.
* cpuall.h, model.c, sem.c: Regenerated.

20 years agocpu/
Richard Sandiford [Fri, 27 Aug 2004 09:32:02 +0000 (09:32 +0000)]
cpu/
* frv.cpu (cfmovs): Change UNIT attribute to FMALL.

opcodes/
* frv-desc.[ch], frv-opc.[ch]: Regenerated.

gas/testsuite/
* gas/frv/fr550-pack1.[sd]: New test.
* gas/frv/allinsn.exp: Run it.

20 years agoAllow pcrel test for COFF targets as well, but not for PE targets.
Nick Clifton [Fri, 27 Aug 2004 08:09:00 +0000 (08:09 +0000)]
Allow pcrel test for COFF targets as well, but not for PE targets.
Similarly for the absrel test.

20 years ago * elf64-ppc.c (STD_R0_0R1, STD_R0_0R12, LD_R0_0R1, LD_R0_0R12,
Alan Modra [Fri, 27 Aug 2004 07:54:00 +0000 (07:54 +0000)]
* elf64-ppc.c (STD_R0_0R1, STD_R0_0R12, LD_R0_0R1, LD_R0_0R12,
LI_R12_0, STVX_VR0_R12_R0, LVX_VR0_R12_R0, MTLR_R0, SFPR_MAX): Define.
(struct sfpr_def_parms): New.
(sfpr_define): New function.
(savegpr0, savegpr0_tail, restgpr0, restgpr0_tail): New functions.
(savegpr1, savegpr1_tail, restgpr1, restgpr1_tail): New functions.
(savefpr, savefpr0_tail, restfpr, restfpr0_tail): New functions.
(savefpr1_tail, restfpr1_tail): New functions.
(savevr, savevr_tail, restvr, restvr_tail): New functions.
(MIN_SAVE_FPR, MAX_SAVE_FPR): Don't define.
(ppc64_elf_func_desc_adjust): Use sfpr_define in place of existing
code.  Define all ABI mandated _save and _rest functions.

20 years agoDo not assume that either bfd is an archive
Nick Clifton [Fri, 27 Aug 2004 07:39:19 +0000 (07:39 +0000)]
Do not assume that either bfd is an archive

20 years ago* gas/i386/i386.exp: Group ELF specific tests together. Move the pcrel
Nick Clifton [Fri, 27 Aug 2004 07:10:30 +0000 (07:10 +0000)]
* gas/i386/i386.exp: Group ELF specific tests together.  Move the pcrel
test into the ELF only section.  Use is_elf_format to test for ELF based
toolchains.

20 years ago*** empty log message ***
gdbadmin [Fri, 27 Aug 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Fri, 27 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Thu, 26 Aug 2004 19:26:11 +0000 (19:26 +0000)]
2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.base/unload.c: Include <stdlib.h>.

20 years agoBleagh. I messed up the part about properly distinguishing
Michael Chastain [Thu, 26 Aug 2004 18:18:01 +0000 (18:18 +0000)]
Bleagh.  I messed up the part about properly distinguishing
between "guy who wrote the patch" (Paul Gilliam) and
"guy who committed the patch" (me).

20 years ago2004-08-26 Paul Gilliam <pgilliam@us.ibm.com>
Michael Chastain [Thu, 26 Aug 2004 18:02:59 +0000 (18:02 +0000)]
2004-08-26  Paul Gilliam  <pgilliam@us.ibm.com>

* gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
synchronized after the "return".

20 years ago * INTERWORK_FLAG: Return true for EABIv3 objects.
Paul Brook [Thu, 26 Aug 2004 16:18:37 +0000 (16:18 +0000)]
* INTERWORK_FLAG: Return true for EABIv3 objects.

20 years ago2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Thu, 26 Aug 2004 15:13:17 +0000 (15:13 +0000)]
2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.mi/basics.c: Include <stdio.h>.
* gdb.mi/pthreads.c: Include <stdlib.h>.
* gdb.mi/var-cmd.c: Include <stdlib.h>.

20 years ago2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Thu, 26 Aug 2004 13:10:19 +0000 (13:10 +0000)]
2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.threads/schedlock.c: Add copyright notice.

20 years ago*** empty log message ***
gdbadmin [Thu, 26 Aug 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Thu, 26 Aug 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years agobfd/
Alan Modra [Wed, 25 Aug 2004 23:40:56 +0000 (23:40 +0000)]
bfd/
* elf32-m32r.c (m32r_elf_relocate_section): Don't compare with
TRUE or FALSE.
ld/
* ldlang.c (lang_init): Don't compare with TRUE.

20 years ago * elf32-i386.c (elf_i386_relocate_section): Tweak last change so
Alan Modra [Wed, 25 Aug 2004 23:20:37 +0000 (23:20 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Tweak last change so
that pcrel correction is applied for R_386_PC32.

20 years ago2004-08-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 25 Aug 2004 17:05:10 +0000 (17:05 +0000)]
2004-08-25  H.J. Lu  <hongjiu.lu@intel.com>

* gas/all/gas.exp: Use `string match ""' instead of `eq ""'.

20 years ago* gdbtypes.h (TYPE_CODE_ARRAY): Doc fix.
Jim Blandy [Wed, 25 Aug 2004 15:41:54 +0000 (15:41 +0000)]
* gdbtypes.h (TYPE_CODE_ARRAY): Doc fix.

20 years ago2004-08-25 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 25 Aug 2004 15:26:19 +0000 (15:26 +0000)]
2004-08-25  Andrew Cagney  <cagney@gnu.org>

* gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
(skip_over_handler, breakpoint_over_hander): New test procedures.
(advance, advancei): Add a proper prefix, do not use
rerun_to_main.
* gdb.base/sigstep.c (main): Change to use an infinite loop.

20 years ago2004-08-25 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 25 Aug 2004 15:18:05 +0000 (15:18 +0000)]
2004-08-25  Andrew Cagney  <cagney@gnu.org>

* infrun.c (struct execution_control_state): Delete field
"stepping_through_sigtramp".
(init_execution_control_state): Do not set same.
(context_switch): Do not pass same to save_infrun_state and
load_infrun_state.
* gdbthread.h (struct thread_info): Delete field
stepping_through_sigtramp.
(save_infrun_state, load_infrun_state): Delete parameter
stepping_through_sigtramp.
* thread.c (load_infrun_state, save_infrun_state): Update.

20 years ago2004-08-25 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 25 Aug 2004 14:47:07 +0000 (14:47 +0000)]
2004-08-25  Andrew Cagney  <cagney@gnu.org>

* infrun.c: Re-indent.  Move expression operators to the beginning
of the line.  Remove long disabled #if 0 code.

20 years ago * elf32-i386.c (elf_i386_relocate_section): Zero section contents
Alan Modra [Wed, 25 Aug 2004 14:35:58 +0000 (14:35 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Zero section contents
for R_386_32 and R_386_PC32 relocs against symbols defined in
discarded sections.

20 years agoApply Dmitry Diky's patches to add relaxation to msp430.
Nick Clifton [Wed, 25 Aug 2004 12:54:15 +0000 (12:54 +0000)]
Apply Dmitry Diky's patches to add relaxation to msp430.

20 years ago2004-08-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 25 Aug 2004 06:11:43 +0000 (06:11 +0000)]
2004-08-24  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (wildcardp): Defined as a macro with strpbrk.

20 years ago2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Wed, 25 Aug 2004 00:54:53 +0000 (00:54 +0000)]
2004-08-24  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.mi/basics.c: Add copyright notice.
* gdb.mi/var-cmd.c: Add copyright notice.

20 years agodaily update
Alan Modra [Wed, 25 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Wed, 25 Aug 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-08-24 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 24 Aug 2004 22:49:27 +0000 (22:49 +0000)]
2004-08-24  Andrew Cagney  <cagney@gnu.org>

* doublest.h (floatformat_ieee_quad): Rename
floatformat_ia64_quad.
* doublest.c (floatformat_ieee_quad): Rename
floatformat_ia64_quad.
(_initialize_doublest): Update.

20 years ago* dwarf2expr.h (struct dwarf_expr_context): New members
Jim Blandy [Tue, 24 Aug 2004 21:01:49 +0000 (21:01 +0000)]
* dwarf2expr.h (struct dwarf_expr_context): New members
'num_pieces' and 'pieces', for returning the result of an
expression that uses DW_OP_piece.
(struct dwarf_expr_piece): New struct type.
* dwarf2expr.c (new_dwarf_expr_context): Initialize num_pieces and
pieces.
(free_dwarf_expr_context): Free pieces, if any.
(add_piece): New function.
(execute_stack_op): Implement DW_OP_piece.
* dwarf2loc.c (dwarf2_evaluate_loc_desc): If the result of the
expression is a list of pieces, print an error message.
(dwarf2_loc_desc_needs_frame): If the expression yields
pieces, and any piece is in a register, then we need a frame.

20 years ago2004-08-24 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 24 Aug 2004 19:58:24 +0000 (19:58 +0000)]
2004-08-24  Andrew Cagney  <cagney@gnu.org>

* gdbint.texinfo (Target Architecture Definition): Add missing
comma.

20 years ago* dwarf2loc.c (dwarf2_evaluate_loc_desc): Wait to fetch the top of
Jim Blandy [Tue, 24 Aug 2004 17:31:49 +0000 (17:31 +0000)]
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Wait to fetch the top of
the stack until we've decided what sort of result the evaluation
has produced.  Use separate variables, with more specific names.

20 years ago* as.c (std_shortopts): Allow -g to take an optional argument.
Nick Clifton [Tue, 24 Aug 2004 11:58:27 +0000 (11:58 +0000)]
* as.c (std_shortopts): Allow -g to take an optional argument.
(parse_args): Pass any switch starting with -g on to the backend for parsing.

20 years agoaltmacro.[sd]: Split out part from here...
Nick Clifton [Tue, 24 Aug 2004 11:37:54 +0000 (11:37 +0000)]
altmacro.[sd]: Split out part from here...
altmac2.[sd]: ... to here.
excl.s: New.
gas.exp: Suppress both tests for a few targets known to break. Run the new
 (split out) test only when the target doesn't use '!' as a comment character.

20 years ago(m32r_elf_relocate_section): Handle R_M32R_SDA16_RELA in the same way as
Nick Clifton [Tue, 24 Aug 2004 08:21:25 +0000 (08:21 +0000)]
(m32r_elf_relocate_section): Handle R_M32R_SDA16_RELA in the same way as
R_M32R_SDA16.

20 years ago*** empty log message ***
gdbadmin [Tue, 24 Aug 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Tue, 24 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years agoAdd missing ChangeLog entry.
Jim Blandy [Mon, 23 Aug 2004 23:50:35 +0000 (23:50 +0000)]
Add missing ChangeLog entry.

20 years ago2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Mon, 23 Aug 2004 13:43:15 +0000 (13:43 +0000)]
2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>

* lib/gdb.exp: Remove signed_keyword_not_used.
* lib/compiler.c: Likewise.
* lib/compiler.cc: Likewise.

20 years ago2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Mon, 23 Aug 2004 13:04:03 +0000 (13:04 +0000)]
2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.base/whatis.c: Remove conditional disabling of "signed".
* gdb.base/whatis.exp: Remove signed_keyword_not_used.

20 years ago2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Mon, 23 Aug 2004 12:28:23 +0000 (12:28 +0000)]
2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.base/whatis.c: Add copyright notice.

20 years ago* armnbsd-tdep.c (arm_nbsd_arm_be_breakpoint): Define.
Richard Earnshaw [Mon, 23 Aug 2004 10:28:58 +0000 (10:28 +0000)]
* armnbsd-tdep.c (arm_nbsd_arm_be_breakpoint): Define.
(arm_nbsd_thumb_[lb]e_breakpoint): Define.
(arm_netbsd_init_abi_common): Register them.

20 years agodaily update
Alan Modra [Mon, 23 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Mon, 23 Aug 2004 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* config/vax/vax.mh (NATDEPFILES): Add vax-nat.c.
Mark Kettenis [Sun, 22 Aug 2004 20:57:06 +0000 (20:57 +0000)]
* config/vax/vax.mh (NATDEPFILES): Add vax-nat.c.

20 years ago* amd64obsd-tdep.c (amd64obsd_sigtramp_p): Use
Mark Kettenis [Sun, 22 Aug 2004 20:34:55 +0000 (20:34 +0000)]
* amd64obsd-tdep.c (amd64obsd_sigtramp_p): Use
safe_frame_unwind_memory instead of target_read_memory.

20 years ago* infptrace.c: Remove #ifdef'ed out inclusion of gdb_stat.h.
Mark Kettenis [Sun, 22 Aug 2004 19:03:41 +0000 (19:03 +0000)]
* infptrace.c: Remove #ifdef'ed out inclusion of gdb_stat.h.
Reorder includes.
(fetch_register, store_register): Remove prototypes.
(child_resume): Reorganize code and comments such that it is
grouped a bit more logically.
(attach): Explicitly compare errno against 0.
(detach): Likewise.  Use perror_with_name instead of
print_sys_errmsg.
* Makefile.in (infptrace.o): Update dependencies.

20 years ago* ia64-linux-nat.c: Update copyright year.
Mark Kettenis [Sun, 22 Aug 2004 16:32:35 +0000 (16:32 +0000)]
* ia64-linux-nat.c: Update copyright year.
(fetch_debug_register, store_debug_register)
(ia64_linux_stopped_by_watchpoint): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* config/ia64/nm-linux.h: Update copyright year.
 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove defines.

20 years ago* amd64-linux-tdep.c (amd64_linux_sigtramp_start): Change argument
Mark Kettenis [Sun, 22 Aug 2004 16:27:30 +0000 (16:27 +0000)]
* amd64-linux-tdep.c (amd64_linux_sigtramp_start): Change argument
from CORE_ADDR to struct frame_info *.  Use
safe_frame_unwind_memory instead of deprecated_read_memory_nobpt.
(amd64_linux_sigtramp_p): Adjust for changed signature of
and64_linux_sigtramp_start

20 years ago* gdb_ptrace.h: GNU/Linux.
Mark Kettenis [Sun, 22 Aug 2004 15:41:47 +0000 (15:41 +0000)]
* gdb_ptrace.h: GNU/Linux.

20 years ago* config/alpha/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
Mark Kettenis [Sun, 22 Aug 2004 15:38:37 +0000 (15:38 +0000)]
* config/alpha/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
Remove defines.

20 years ago* infptrace.c: Include "gdb_assert.h".
Mark Kettenis [Sun, 22 Aug 2004 15:35:02 +0000 (15:35 +0000)]
* infptrace.c: Include "gdb_assert.h".
(PTRACE_XFER_TYPE): Remove define.
(offsetof): Only define if U_REGS_OFFSET isn't defined.
(fetch_register, store_register): Rewrite to use PTRACE_TYPE_RET.
Tweak comment.
(fetch_inferior_registers, store_inferior_registers): Remove
redundant culry braces.  Tweak comment.  s/regno/regnum.
* Makefile.in (infptrace.o): Update dependencies.

20 years ago* configure.in: Change test for return type of ptrace to default
Mark Kettenis [Sun, 22 Aug 2004 14:18:02 +0000 (14:18 +0000)]
* configure.in: Change test for return type of ptrace to default
to `long' instead of `int'.
* configure: Regenerate.

20 years ago*** empty log message ***
gdbadmin [Sun, 22 Aug 2004 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Sun, 22 Aug 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago * ld-cris/expdyn1.d, ld-cris/expdyn5.d, ld-cris/expdyn6.d,
Hans-Peter Nilsson [Sat, 21 Aug 2004 12:51:41 +0000 (12:51 +0000)]
* ld-cris/expdyn1.d, ld-cris/expdyn5.d, ld-cris/expdyn6.d,
ld-cris/expdyn7.d, ld-cris/gotplt2.d, ld-cris/gotplt3.d,
ld-cris/libdso-1.d, ld-cris/libdso-2.d, ld-cris/locref1.d,
ld-cris/nodyn4.d, ld-cris/nodyn5.d: Adjust for reordered
sections.

20 years ago* config/alpha/alpha-linux.mh (LOADLIBES): New variable.
Mark Kettenis [Sat, 21 Aug 2004 12:44:05 +0000 (12:44 +0000)]
* config/alpha/alpha-linux.mh (LOADLIBES): New variable.

20 years ago* configure.in: Check for ttrace function.
Mark Kettenis [Sat, 21 Aug 2004 12:05:52 +0000 (12:05 +0000)]
* configure.in: Check for ttrace function.
* configure, config.in: Regenerate.

20 years ago2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sat, 21 Aug 2004 09:37:20 +0000 (09:37 +0000)]
2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>

* (Using the Testsuite): build != host is supported,
but some test scripts do not support build != host.

20 years ago* gdb_ptrace.h: New file.
Mark Kettenis [Sat, 21 Aug 2004 08:56:38 +0000 (08:56 +0000)]
* gdb_ptrace.h: New file.
* infptrace.c: Include "gdb_ptrace.h" instead of <ptrace.h> or
<sys/ptrace.h>.
(PT_READ_I, PT_READ_D, PT_READ_U, PT_WRITE_I, PT_WRITE_D)
(PT_WRITE_U, PT_CONTINUE, PT_STEP, PT_KILL): Remove defines.
(attach): Don't define PT_ATTACH.
(detach): Don't define PT_DETACH.
* Makefile.in (gdb_ptrace_h): New variable.
(infptrace.o): Update dependencies.

20 years ago * elflink.c (_bfd_elf_section_already_linked): Handle
Daniel Jacobowitz [Sat, 21 Aug 2004 01:13:22 +0000 (01:13 +0000)]
* elflink.c (_bfd_elf_section_already_linked): Handle
SEC_LINK_DUPLICATES_SAME_CONTENTS.

20 years agodaily update
Alan Modra [Sat, 21 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Sat, 21 Aug 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
Mark Kettenis [Fri, 20 Aug 2004 22:15:03 +0000 (22:15 +0000)]
* gdb.arch/i386-prologue.exp (skip_breakpoint): New function.  Use
it to skip the breakpoints encoded in the inline assembly.

20 years ago2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Fri, 20 Aug 2004 14:52:36 +0000 (14:52 +0000)]
2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>

* Makefile.in: Add gdb.fortran.

20 years agoFix typo in Alan Modra's 2004-08-16 entry.
Ben Elliston [Fri, 20 Aug 2004 11:44:26 +0000 (11:44 +0000)]
Fix typo in Alan Modra's 2004-08-16 entry.

20 years ago2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Fri, 20 Aug 2004 10:57:08 +0000 (10:57 +0000)]
2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.base/call-sc.exp (test_scalar_returns):
Fix cut-and-paste glitch in "Make fun return now".

20 years agodaily update
Alan Modra [Fri, 20 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Fri, 20 Aug 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * configure.tgt (arm*-*-symbianelf*): New target.
Mark Mitchell [Thu, 19 Aug 2004 18:11:42 +0000 (18:11 +0000)]
* configure.tgt (arm*-*-symbianelf*): New target.
(arm*-*-eabi*): Likewise.

20 years ago * configure.in (arm*-*-symbianelf*): New target.
Mark Mitchell [Thu, 19 Aug 2004 18:11:00 +0000 (18:11 +0000)]
* configure.in (arm*-*-symbianelf*): New target.
(arm*-*-eabi*): Likewise.
* configure: Regenerated.

20 years ago * config.bfd (arm*-*-symbianelf*): New target.
Mark Mitchell [Thu, 19 Aug 2004 18:09:44 +0000 (18:09 +0000)]
* config.bfd (arm*-*-symbianelf*): New target.
(arm*-*-eabi*): Likewise.

20 years ago * elf64-ppc.c (ppc_get_stub_entry): Change third param to a
Alan Modra [Thu, 19 Aug 2004 08:30:16 +0000 (08:30 +0000)]
* elf64-ppc.c (ppc_get_stub_entry): Change third param to a
"struct ppc_link_hash_entry *".
(ppc64_elf_relocate_section): Ditto for type of h.  Introduce h_elf
to satisfy RELOC_FOR_GLOBAL_SYMBOL.

20 years ago * elf64-ppc.c (ppc64_elf_edit_opd): Support 16 byte long .opd
Jakub Jelinek [Thu, 19 Aug 2004 07:47:25 +0000 (07:47 +0000)]
* elf64-ppc.c (ppc64_elf_edit_opd): Support 16 byte long .opd
entries (where fd_aux overlaps next entry's fd_func).
Add non_overlapping argument, use it.
(ppc64_elf_check_relocs, ppc64_elf_gc_mark_hook, adjust_opd_syms,
ppc64_elf_size_stubs, ppc64_elf_relocate_section,
ppc64_elf_output_symbol_hook): Use address / 8 instead of address / 24
as indexes into opd_sym_map/opd_adjust array.
* elf64-ppc.h (ppc64_elf_edit_opd): Adjust prototype.

* emultempl/ppc64elf.em (non_overlapping_opd): New variable.
(ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
(OPTION_NON_OVERLAPPING_OPD): Define.
(PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
--non-overlapping-opd option.