binutils-gdb.git
21 years ago * linux-sh-low.c (sh_regmap): Fix FP register offsets, reported by
Daniel Jacobowitz [Sat, 28 Jun 2003 18:41:56 +0000 (18:41 +0000)]
* linux-sh-low.c (sh_regmap): Fix FP register offsets, reported by
SUGIOKA Toshinobu <sugioka@itonet.co.jp>.

21 years ago * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
Daniel Jacobowitz [Sat, 28 Jun 2003 16:36:42 +0000 (16:36 +0000)]
* gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
initial line count of 'captured_main' from 26 to 32.
(test_with_self): Allow xmalloc call to be interleaved with the
preceding two lines.

21 years ago./
Daniel Jacobowitz [Sat, 28 Jun 2003 16:19:07 +0000 (16:19 +0000)]
./
* cli/cli-logging.c: New file.
* cli-out.c (struct ui_out_data): Add original_stream.
(cli_redirect): New function.
(cli_ui_out_impl): Add cli_redirect.
(cli_out_new): Initialize original_stream.
* ui-out.c (default_ui_out_impl): Add NULL for redirect member.
(uo_redirect, ui_out_redirect): New.
* ui-out.h (struct ui_out_impl): Add redirect member.
(redirect_ftype): New.
(ui_out_redirect): Add prototype.
* Makefile.in: Add rules for cli-logging.c.
* NEWS: Mention "set logging".
mi/
* mi-out.c (mi_ui_out_impl): Add NULL for redirect member.
tui/
* tui-out.c (tui_ui_out_impl): Add NULL for redirect member.
doc/
* gdb.texinfo (Logging output): New chapter.

21 years agoConvert to C90
Alan Modra [Sat, 28 Jun 2003 05:28:54 +0000 (05:28 +0000)]
Convert to C90

21 years ago * rcparse.y (res_text_field): New res_id variable.
Danny Smith [Sat, 28 Jun 2003 02:37:43 +0000 (02:37 +0000)]
* rcparse.y (res_text_field): New res_id variable.
(res_null_text): New static const struct res_id object,
with empty unicode name field.
(control): Pop parsing of optresidc up one level. Set
res_text_field to $2 except for controls which do not accept
a text field.  Set res_text_field to res_null_text for the
special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
(control_params): Adjust to use res_text_field rather
than optresidc.
(COMBOBOX): Add comment about discrepency between documented
vs. observed default style.
* resrc.c (define_control): Make first param const.
* windres.h (define_control): Adjust prototype.

testsuite:

* binutils-all/windres/checkbox.rc: New file.
* binutils-all/windres/checkbox.rsd: New file.
* binutils-all/windres/combobox.rc: New file.
* binutils-all/windres/combobox.rsd: New file.
* binutils-all/windres/edittext.rc: New file.
* binutils-all/windres/edittext.rsd: New file.
* binutils-all/windres/listbox.rc: New file.
* binutils-all/windres/listbox.rsd: New file.
* binutils-all/windres/scrollbar.rc: New file.
* binutils-all/windres/scrollbar.rsd: New file.

21 years ago2003-06-27 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 28 Jun 2003 01:34:47 +0000 (01:34 +0000)]
2003-06-27  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (op movsxy_tab): Fix up some copy/paste errors
        in name: s/REG_x/REG_y/.

21 years ago*** empty log message ***
gdbadmin [Sat, 28 Jun 2003 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sat, 28 Jun 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-06-27 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 27 Jun 2003 21:18:42 +0000 (21:18 +0000)]
2003-06-27  Michael Snyder  <msnyder@redhat.com>

* gencode.c (op tab): Move misplaced semicolon.

21 years ago * configure.in: Clean up config-lang.in handling. Delete
Nathanael Nerode [Fri, 27 Jun 2003 17:34:33 +0000 (17:34 +0000)]
* configure.in: Clean up config-lang.in handling.  Delete
useless assignment to "subdirs".
* configure: Regenerate.

21 years ago2003-06-27 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 27 Jun 2003 17:05:58 +0000 (17:05 +0000)]
2003-06-27  Elena Zannoni  <ezannoni@redhat.com>

* config/powerpc/ppc64-linux.mh (NATDEPFILES): Add linux-nat.o.

21 years ago2003-06-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 27 Jun 2003 16:15:09 +0000 (16:15 +0000)]
2003-06-27  Andrew Cagney  <cagney@redhat.com>

* m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function.
(m68hc11_gdbarch_init): Do not set call_dummy_address.
* avr-tdep.c (avr_call_dummy_address): Delete function.
(avr_gdbarch_init): Do not set call_dummy_address.

21 years ago2003-06-27 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 27 Jun 2003 13:11:17 +0000 (13:11 +0000)]
2003-06-27  Elena Zannoni  <ezannoni@redhat.com>

        * symfile.c (syms_from_objfile): Move variables to inner block.
        Move the checks for the non-mainline case a bit earlier to avoid
        doing some useless computations.

21 years ago2003-06-27 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 27 Jun 2003 13:09:38 +0000 (13:09 +0000)]
2003-06-27  Elena Zannoni  <ezannoni@redhat.com>

        * dwarfread.c (decode_modified_type): Gag new compiler warning.

21 years agoCope with NUL seperated directives. Fix reporting of unparseable directives.
Nick Clifton [Fri, 27 Jun 2003 08:10:57 +0000 (08:10 +0000)]
Cope with NUL seperated directives.  Fix reporting of unparseable directives.

21 years agoFix --add-gnu-debuglink
Nick Clifton [Fri, 27 Jun 2003 08:01:28 +0000 (08:01 +0000)]
Fix --add-gnu-debuglink

21 years ago * elfxx-mips.c: Revert .got alignment to 2**4.
Thiemo Seufer [Fri, 27 Jun 2003 07:32:33 +0000 (07:32 +0000)]
* elfxx-mips.c: Revert .got alignment to 2**4.

21 years ago * elf32-mips.c: Fix addend for _gp_disp special symbol.
Thiemo Seufer [Fri, 27 Jun 2003 07:31:27 +0000 (07:31 +0000)]
* elf32-mips.c: Fix addend for _gp_disp special symbol.

21 years agoFix misdirected ChangeLog entry.
Thiemo Seufer [Fri, 27 Jun 2003 01:18:23 +0000 (01:18 +0000)]
Fix misdirected ChangeLog entry.

21 years ago * elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove non-default
Thiemo Seufer [Fri, 27 Jun 2003 01:16:30 +0000 (01:16 +0000)]
* elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove non-default
relocation header setup.
* binutils-all/readelf.ss-tmips: Adjust symbol indices.

21 years ago * emultempl/aix.em: Convert to C90, remove unnecessary prototypes
Alan Modra [Fri, 27 Jun 2003 00:38:25 +0000 (00:38 +0000)]
* emultempl/aix.em: Convert to C90, remove unnecessary prototypes
and casts.  Replace PTR with void *.  Formatting.
* emultempl/alphaelf.em: Likewise
* emultempl/armcoff.em: Likewise
* emultempl/armelf.em: Likewise
* emultempl/armelf_oabi.em: Likewise
* emultempl/beos.em: Likewise
* emultempl/elf32.em: Likewise
* emultempl/generic.em: Likewise
* emultempl/gld960.em: Likewise
* emultempl/gld960c.em: Likewise
* emultempl/hppaelf.em: Likewise
* emultempl/linux.em: Likewise
* emultempl/lnk960.em: Likewise
* emultempl/m68hc1xelf.em: Likewise
* emultempl/m68kcoff.em: Likewise
* emultempl/m68kelf.em: Likewise
* emultempl/mipsecoff.em: Likewise
* emultempl/mipself.em: Likewise
* emultempl/mmix-elfnmmo.em: Likewise
* emultempl/mmixelf.em: Likewise
* emultempl/mmo.em: Likewise
* emultempl/needrelax.em: Likewise
* emultempl/netbsd.em: Likewise
* emultempl/pe.em: Likewise
* emultempl/sh64elf.em: Likewise
* emultempl/sunos.em: Likewise
* emultempl/ticoff.em: Likewise
* emultempl/vanilla.em: Likewise
* emultempl/xtensaelf.em: Likewise
* Makefile.am: Correct dependencies.
* Makefile.in: Regenerate.

21 years ago*** empty log message ***
gdbadmin [Fri, 27 Jun 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Fri, 27 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-06-26 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 26 Jun 2003 21:20:39 +0000 (21:20 +0000)]
2003-06-26  Elena Zannoni  <ezannoni@redhat.com>

* dwarf2read.c (dwarf2_locate_sections): Ignore empty .eh_frame
sections.

21 years ago * configure.in: Rename 'target_libs' to 'target_libraries'.
Nathanael Nerode [Thu, 26 Jun 2003 20:19:41 +0000 (20:19 +0000)]
* configure.in: Rename 'target_libs' to 'target_libraries'.
Remove useless reference to 'target_libs'.
* configure: Regenerate.

21 years ago2003-06-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 26 Jun 2003 19:08:40 +0000 (19:08 +0000)]
2003-06-26  H.J. Lu <hongjiu.lu@intel.com>

* testsuite/demangle-expected: Add more GNU V3 testcases.

21 years ago2003-06-26 Michael Chastain <mec@shout.net>
Michael Chastain [Thu, 26 Jun 2003 18:39:47 +0000 (18:39 +0000)]
2003-06-26  Michael Chastain  <mec@shout.net>

* config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1210.cc,
gdb/testsuite/gdb.c++/pr-1210.exp.

21 years ago2003-06-26 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 26 Jun 2003 18:09:24 +0000 (18:09 +0000)]
2003-06-26  Andrew Cagney  <cagney@redhat.com>

* config/djgpp/fnchange.lst: Fix 8.3 problem with sim/ppc's
altivec_expression.h and altivec_registers.h.

21 years ago2003-06-26 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 26 Jun 2003 18:01:58 +0000 (18:01 +0000)]
2003-06-26  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (gdb_print_insn_mips): Only explicitly set
info->mach when MIPS16.  Patch suggested by Fred Fish.

21 years ago2003-06-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 26 Jun 2003 17:50:41 +0000 (17:50 +0000)]
2003-06-26  H.J. Lu <hongjiu.lu@intel.com>

* config/tc-i386.c (md_assemble): Declare "exp" before "if".

21 years ago2003-06-26 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 26 Jun 2003 17:25:25 +0000 (17:25 +0000)]
2003-06-26  Andrew Cagney  <cagney@redhat.com>

* utils.c (internal_vproblem): Print the problem to a reason
buffer and then pass to query.  Make the msg variable more local.

VS: ----------------------------------------------------------------------

21 years ago2003-06-26 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 26 Jun 2003 17:18:43 +0000 (17:18 +0000)]
2003-06-26  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (FRAME_ARGS_ADDRESS): Add predicate.  Deprecate.
(FRAME_LOCALS_ADDRESS): Add predicate.  Deprecate.
* gdbarch.h, gdbarch.c: Re-generate.
* frame-base.c (default_frame_args_address): Update.  Use
default_frame_base_address when DEPRECATED_FRAME_ARGS_ADDRESS is
not available.
(default_frame_locals_address): Ditto for
DEPRECATED_FRAME_LOCALS_ADDRESS.
* vax-tdep.c (vax_sigtramp_saved_pc): Update.
(vax_frame_num_args): Update.
(vax_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* symtab.h (address_class): Update comments.
* ns32k-tdep.c (ns32k_sigtramp_saved_pc): Update.
* config/sparc/tm-sparc.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update.
(DEPRECATED_FRAME_LOCALS_ADDRESS): Update.
* config/pa/tm-hppa64.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update.
(DEPRECATED_FRAME_LOCALS_ADDRESS): Update.
(DEPRECATED_FRAME_LOCALS_ADDRESS): Update.
* config/m68k/tm-delta68.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update.
* alpha-mdebug-tdep.c: Update.
* ada-lang.c (add_symbols_from_enclosing_procs): Update.

21 years ago * x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number
Andreas Jaeger [Thu, 26 Jun 2003 17:08:10 +0000 (17:08 +0000)]
* x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number
of SSE registers so that varargs functions work.  Rework handling
of passing arguments on the stack.
(x86_64_store_return_value): Return double and float values in SSE
register.

21 years ago2003-06-24 Michael Chastain <mec@shout.net>
Michael Chastain [Thu, 26 Jun 2003 16:22:59 +0000 (16:22 +0000)]
2003-06-24  Michael Chastain  <mec@shout.net>

* PROBLEMS: Document pr gdb/1091 and pr gdb/1193,
the "constructor breakpoints ignored" bug.

21 years agodelete stray changelog
Andrew Cagney [Thu, 26 Jun 2003 14:50:47 +0000 (14:50 +0000)]
delete stray changelog

21 years agoFix computation of offsets in PT_LOAD sections.
Nick Clifton [Thu, 26 Jun 2003 12:46:17 +0000 (12:46 +0000)]
Fix computation of offsets in PT_LOAD sections.

21 years agoAdd --only-keep-debug switch
Nick Clifton [Thu, 26 Jun 2003 08:14:10 +0000 (08:14 +0000)]
Add --only-keep-debug switch

21 years ago*** empty log message ***
gdbadmin [Thu, 26 Jun 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 26 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-06-25 David Carlton <carlton@kealia.com>
David Carlton [Wed, 25 Jun 2003 21:54:42 +0000 (21:54 +0000)]
2003-06-25  David Carlton  <carlton@kealia.com>

* MAINTAINERS: Update e-mail address.

21 years agoinclude/opcode/
Richard Sandiford [Wed, 25 Jun 2003 15:31:59 +0000 (15:31 +0000)]
include/opcode/
* h8300.h (IMM2_NS, IMM8_NS, IMM16_NS): Remove.
(IMM8U, IMM8U_NS): Define.
(h8_opcodes): Use IMM8U_NS for mov.[wl] #xx:8,@yy.

gas/
* config/tc-h8300.c (get_specific): Allow ':8' to be used for
unsigned 8-bit operands.

gas/testsuite/
* gas/h8300/h8sx_mov_imm.[sd]: Add tests for mov.[wl] #xx:8,@yy.

21 years ago * include/opcode/h8300.h (h8_opcodes): Fix the mov.l @(dd:32,ERs),ERd
Richard Sandiford [Wed, 25 Jun 2003 15:19:40 +0000 (15:19 +0000)]
* include/opcode/h8300.h (h8_opcodes): Fix the mov.l @(dd:32,ERs),ERd
and mov.l ERs,@(dd:32,ERd) entries.

21 years ago * ld-powerpc/apuinfo.rd: Update.
Alan Modra [Wed, 25 Jun 2003 11:12:46 +0000 (11:12 +0000)]
* ld-powerpc/apuinfo.rd: Update.

21 years agoMissed copyright update in last commit.
Alan Modra [Wed, 25 Jun 2003 11:07:05 +0000 (11:07 +0000)]
Missed copyright update in last commit.

21 years ago * elf32-ppc.c (ppc_elf_howto_table): Remove unnecessary cast.
Alan Modra [Wed, 25 Jun 2003 11:05:58 +0000 (11:05 +0000)]
* elf32-ppc.c (ppc_elf_howto_table): Remove unnecessary cast.
(ppc_elf_reloc_type_lookup): Modify comment.
(ppc_elf_info_to_howto): Ditto.
(ppc_elf_relocate_section): Ditto.
(ppc_elf_check_relocs): Call ppc_elf_howto_init.

21 years agoCorrect spelling of "relocatable".
Alan Modra [Wed, 25 Jun 2003 06:40:27 +0000 (06:40 +0000)]
Correct spelling of "relocatable".

21 years agodaily update
Alan Modra [Wed, 25 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Wed, 25 Jun 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* ppc-linux-tdep.c: More "Linux" -> "GNU/Linux".
Jim Blandy [Tue, 24 Jun 2003 23:09:22 +0000 (23:09 +0000)]
* ppc-linux-tdep.c: More "Linux" -> "GNU/Linux".

21 years ago* ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New
Jim Blandy [Tue, 24 Jun 2003 23:06:04 +0000 (23:06 +0000)]
* ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New
function.
(ppc_linux_init_abi): Register it as the
CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI.

21 years ago* ppc-linux-tdep.c (ppc64_call_dummy_address): New function.
Jim Blandy [Tue, 24 Jun 2003 23:03:31 +0000 (23:03 +0000)]
* ppc-linux-tdep.c (ppc64_call_dummy_address): New function.
(ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address
method.

21 years ago* ppc-linux-tdep.c (ppc64_desc_entry_point): New function.
Jim Blandy [Tue, 24 Jun 2003 23:02:10 +0000 (23:02 +0000)]
* ppc-linux-tdep.c (ppc64_desc_entry_point): New function.
(ppc64_standard_linkage_target): Use it.

21 years ago * gdb.base/bang.exp: New testcase.
Joel Brobecker [Tue, 24 Jun 2003 22:04:06 +0000 (22:04 +0000)]
   * gdb.base/bang.exp: New testcase.

21 years ago * gdb.texinfo (Unsupported languages): New section.
Joel Brobecker [Tue, 24 Jun 2003 21:59:37 +0000 (21:59 +0000)]
    * gdb.texinfo (Unsupported languages): New section.
        (Languages): Add link to new section.

21 years ago * elf32-ppc.c (ppc_elf_check_relocs): Report plt reloc against
Alan Modra [Tue, 24 Jun 2003 14:17:22 +0000 (14:17 +0000)]
* elf32-ppc.c (ppc_elf_check_relocs): Report plt reloc against
local sym errors.

21 years ago * emultempl/ppc32elf.em: Convert to C90.
Alan Modra [Tue, 24 Jun 2003 14:04:29 +0000 (14:04 +0000)]
* emultempl/ppc32elf.em: Convert to C90.

21 years ago * elf32-i386.c: Convert to C90 function definitions, remove unnecessary
Alan Modra [Tue, 24 Jun 2003 14:03:53 +0000 (14:03 +0000)]
* elf32-i386.c: Convert to C90 function definitions, remove unnecessary
prototypes and casts.  Replace PTR with void *.  Formatting.
* elf32-ppc.c: Likewise.  Break long strings too.
(ppc_elf_relax_section): Use enum elf_ppc_reloc_type for r_type.
(ppc_elf_unhandled_reloc): Internationalize error message.
* elf32-ppc.h: Remove PARAMS.

21 years ago * gas/h8300/h8300.exp (h8sx_disp2, h8sx_rtsl, h8sx_mov_imm): Move...
Richard Sandiford [Tue, 24 Jun 2003 13:54:49 +0000 (13:54 +0000)]
* gas/h8300/h8300.exp (h8sx_disp2, h8sx_rtsl, h8sx_mov_imm): Move...
* gas/h8300/h8300-elf.exp: ...here.

21 years agoUpdate .comm error messages to assume an unsigned value.
Nick Clifton [Tue, 24 Jun 2003 11:10:47 +0000 (11:10 +0000)]
Update .comm error messages to assume an unsigned value.
Update relaxing code to work in 64-bit address spaces.

21 years ago * config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots.
Mark Mitchell [Tue, 24 Jun 2003 06:41:56 +0000 (06:41 +0000)]
* config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots.

21 years ago * elf32-ppc.c (ppc_elf_begin_write_processing): Use bytes to count
Mark Mitchell [Tue, 24 Jun 2003 06:41:36 +0000 (06:41 +0000)]
* elf32-ppc.c (ppc_elf_begin_write_processing): Use bytes to count
APUinfo slots.
(ppc_elf_final_write_processing): Likewise.

21 years agodaily update
Alan Modra [Tue, 24 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Tue, 24 Jun 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-06-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 23 Jun 2003 23:39:39 +0000 (23:39 +0000)]
2003-06-23  H.J. Lu <hongjiu.lu@intel.com>

* elflink.h (elf_link_input_bfd): Check raw size when using
kept_section to preserve debug information discarded by
linkonce.

21 years ago * gdb.base/langs.exp: Add some tests for the "minimal" language
Joel Brobecker [Mon, 23 Jun 2003 22:42:50 +0000 (22:42 +0000)]
   * gdb.base/langs.exp: Add some tests for the "minimal" language
       support.

21 years ago * Makefile.tpl: Add maybe-configure-itcl to configure-gdb.
Keith Seitz [Mon, 23 Jun 2003 21:30:43 +0000 (21:30 +0000)]
    * Makefile.tpl: Add maybe-configure-itcl to configure-gdb.
        * Makefile.in: Regenerate.

21 years ago2003-06-23 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 23 Jun 2003 21:05:40 +0000 (21:05 +0000)]
2003-06-23  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (rs6000_register_virtual_type): Add explict cases
for 0 "int0" and 4 "int32" sized registers.
* gdbtypes.c (builtin_type_int0): Define.
(build_gdbtypes): Initialize builtin_type_int0.
* gdbtypes.h (builtin_type_int0): Declare.

21 years ago * Makefile.def: Introduce flags_to_pass.
Nathanael Nerode [Mon, 23 Jun 2003 20:36:40 +0000 (20:36 +0000)]
* Makefile.def: Introduce flags_to_pass.
* Makefile.tpl: Generate BASE_FLAGS_TO_PASS using it.
* Makefile.in: Regenerate.

21 years ago2003-06-23 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 23 Jun 2003 20:20:31 +0000 (20:20 +0000)]
2003-06-23  Elena Zannoni  <ezannoni@redhat.com>

        * gdb.objc/basicclass.exp: Return -1 if we cannot compile
        the testcase.

21 years agogas/
H.J. Lu [Mon, 23 Jun 2003 20:15:34 +0000 (20:15 +0000)]
gas/

2003-06-23  H.J. Lu <hongjiu.lu@intel.com>

* gas/config/tc-i386.c (md_assemble): Support Intel Precott New
Instructions.

* gas/config/tc-i386.h (CpuPNI): New.
(CpuUnknownFlags): Add CpuPNI.

gas/testsuite/

2003-06-23  H.J. Lu <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Add prescott.

* gas/i386/prescott.d: New file.
* gas/i386/prescott.s: Likewise.

include/opcode/

2003-06-23  H.J. Lu <hongjiu.lu@intel.com>

* i386.h (i386_optab): Support Intel Precott New Instructions.

opcodes/

2003-06-23  H.J. Lu <hongjiu.lu@intel.com>

* i386-dis.c (PNI_Fixup): New. Fix up "mwait" and "monitor" in
Intel Precott New Instructions.
(PREGRP27): New. Added for "addsubpd" and "addsubps".
(PREGRP28): New. Added for "haddpd" and "haddps".
(PREGRP29): New. Added for "hsubpd" and "hsubps".
(PREGRP30): New. Added for "movsldup" and "movddup".
(PREGRP31): New. Added for "movshdup" and "movhpd".
(PREGRP32): New. Added for "lddqu".
(dis386_twobyte): Use PREGRP30 to replace the "movlpX" entry.
Use PREGRP31 to replace the "movhpX" entry. Use PREGRP28 for
entry 0x7c. Use PREGRP29 for entry 0x7d. Use PREGRP27 for
entry 0xd0. Use PREGRP32 for entry 0xf0.
(twobyte_has_modrm): Updated.
(twobyte_uses_SSE_prefix): Likewise.
(grps): Use PNI_Fixup in the "sidtQ" entry.
(prefix_user_table): Add PREGRP27, PREGRP28, PREGRP29, PREGRP30,
PREGRP31 and PREGRP32.
(float_mem): Use "fisttp{l||l|}" in entry 1 in opcode 0xdb.
Use "fisttpll" in entry 1 in opcode 0xdd.
Use "fisttp" in entry 1 in opcode 0xdf.

21 years ago * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed
Stephane Carrez [Mon, 23 Jun 2003 20:06:37 +0000 (20:06 +0000)]
* m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed
as characters are unsigned.

21 years ago PR gdb/1179
Daniel Jacobowitz [Mon, 23 Jun 2003 19:51:38 +0000 (19:51 +0000)]
PR gdb/1179
* dwarfread.c (struct_type): Skip static fields without crashing.

21 years agoPatch from David Mosberger.
Jim Wilson [Mon, 23 Jun 2003 19:35:52 +0000 (19:35 +0000)]
Patch from David Mosberger.
* config/tc-ia64.c (pseudo_func): Add ABI constants for linux,
freebsd, openvms, and nsk (non-stop kernel).

21 years ago2003-06-23 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 23 Jun 2003 18:03:17 +0000 (18:03 +0000)]
2003-06-23  Michael Snyder  <msnyder@redhat.com>

        * nrun.c (main): Delete h8/300 ifdef (sim now handles signals).

21 years ago2003-06-23 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 23 Jun 2003 17:59:08 +0000 (17:59 +0000)]
2003-06-23  Michael Snyder  <msnyder@redhat.com>

* sim-reg.c: Fix cut-and-paste bug in comment.

21 years ago2003-06-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 23 Jun 2003 03:28:14 +0000 (03:28 +0000)]
2003-06-22  Andrew Cagney  <cagney@redhat.com>

GDB 6.0 branch created.
* README: Update.
* PROBLEMS: Update.  Empty.
* NEWS: Update.

Index: doc/ChangeLog
2003-06-22  Andrew Cagney  <cagney@redhat.com>

* gdb.texinfo (Contributors): Mention 6.0 release engineer.

21 years ago2003-06-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 23 Jun 2003 02:55:08 +0000 (02:55 +0000)]
2003-06-22  Andrew Cagney  <cagney@redhat.com>

GDB 6.0 branch created.

21 years agoForgot 'configure' item.
Hans-Peter Nilsson [Mon, 23 Jun 2003 00:43:42 +0000 (00:43 +0000)]
Forgot 'configure' item.

21 years ago* config/tc-ns32k.c (md_begin): Initialize inst_hash_table after
Jason Thorpe [Mon, 23 Jun 2003 00:41:47 +0000 (00:41 +0000)]
* config/tc-ns32k.c (md_begin): Initialize inst_hash_table after
all locals have been declared.

21 years ago * configure.in (noconfigdirs) <cris-*-*>: Disable target-newlib
Hans-Peter Nilsson [Mon, 23 Jun 2003 00:40:23 +0000 (00:40 +0000)]
* configure.in (noconfigdirs) <cris-*-*>: Disable target-newlib
and target-libgloss.
<d30v-*-*, fr30-*-*, i960-*-*, m32r-*-*>: Disable gdb.
<h8300*-*-*>: Disable libf2c and ${libgcj}.

21 years agodaily update
Alan Modra [Mon, 23 Jun 2003 00:09:44 +0000 (00:09 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Mon, 23 Jun 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * symfile.c (add_symbol_file_command): Use parse_and_eval_address.
Daniel Jacobowitz [Sun, 22 Jun 2003 18:32:49 +0000 (18:32 +0000)]
* symfile.c (add_symbol_file_command): Use parse_and_eval_address.
Suggested by Nick Hibma <n_hibma@webweaving.org>.

21 years ago * gdb.base/relocate.exp: Test add-symbol-file with a variable
Daniel Jacobowitz [Sun, 22 Jun 2003 18:32:38 +0000 (18:32 +0000)]
* gdb.base/relocate.exp: Test add-symbol-file with a variable
offset.

21 years ago2003-06-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Jun 2003 17:42:29 +0000 (17:42 +0000)]
2003-06-22  Andrew Cagney  <cagney@redhat.com>

* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle
GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD.  Suggested by Momchil
Velikov.

21 years ago2003-06-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Jun 2003 16:48:12 +0000 (16:48 +0000)]
2003-06-22  Andrew Cagney  <cagney@redhat.com>

Written by matthew green <mrg@redhat.com>, with fixes from Aldy
Hernandez <aldyh@redhat.com>, Jim Wilson <wilson@redhat.com>, and
Nick Clifton <nickc@redhat.com>.

* ppc-instructions: Include altivec.igen and e500.igen.
(model_busy, model_data): Add vr_busy and vscr_busy.
(model_trace_release): Trace vr_busy and vscr_busy.
(model_new_cycle): Update vr_busy and vscr_busy.
(model_make_busy): Update vr_busy and vscr_busy.
* registers.c (register_description): Add Altivec and e500
registers.
* psim.c (psim_read_register, psim_read_register): Handle Altivec
and e500 registers.
* ppc-spr-table (SPEFSCR): Add VRSAVE and SPEFSCR registers.
* configure.in (sim_filter): When *altivec* add "av".  When *spe*
or *simd* add e500.
(sim_float): When *altivec* define WITH_ALTIVEC.  When *spe* add
WITH_E500.
* configure: Re-generate.
* e500.igen, altivec.igen: New files.
* e500_expression.h, altivec_expression.h: New files.
* idecode_expression.h: Update copyright.  Include
"e500_expression.h" and "altivec_expression.h".
* e500_registers.h, altivec_registers.h: New files.
* registers.h: Update copyright.  Include "e500_registers.h" and
"altivec_registers.h".
(registers): Add Altivec and e500 specific registers.
* Makefile.in (IDECODE_H): Add "idecode_e500.h" and
"idecode_altivec.h".
(REGISTERS_H): Add "e500_registers.h" and "altivec_registers.h".
(tmp-igen): Add dependencies on altivec.igen and e500.igen .

21 years agomerge from gcc
DJ Delorie [Sun, 22 Jun 2003 16:35:53 +0000 (16:35 +0000)]
merge from gcc

21 years ago * tui-hooks.c: Update include order.
Daniel Jacobowitz [Sun, 22 Jun 2003 15:21:39 +0000 (15:21 +0000)]
* tui-hooks.c: Update include order.
* tui.c: Likewise.
* tuiCommand.c: Likewise.
* tuiData.c: Likewise.
* tuiDataWin.c: Likewise.
* tuiDisassem.c: Likewise.
* tuiGeneralWin.c: Likewise.
* tuiIO.c: Likewise.
* tuiLayout.c: Likewise.
* tuiRegs.c: Likewise.
* tuiSource.c: Likewise.
* tuiSourceWin.c: Likewise.
* tuiStack.c: Likewise.
* tuiWin.c: Likewise.

21 years ago * gdb.c++/pr-1210.cc: New file.
Daniel Jacobowitz [Sun, 22 Jun 2003 15:20:13 +0000 (15:20 +0000)]
* gdb.c++/pr-1210.cc: New file.
* gdb.c++/pr-1210.exp: New file.

21 years ago2003-06-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Jun 2003 13:38:28 +0000 (13:38 +0000)]
2003-06-22  Andrew Cagney  <cagney@redhat.com>

* interp.c (xfer_mem): Simplify.  Only do a single partial
transfer.  Problem reported by Tom Rix.

21 years ago2003-06-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Jun 2003 13:36:26 +0000 (13:36 +0000)]
2003-06-22  Andrew Cagney  <cagney@redhat.com>

From matthew green <mrg@redhat.com>:
        * sim-fpu.h: Update copyright.
(sim_fpu_fraction, sim_fpu_guard): New prototypes.
        * sim-fpu.c: Update copyright.
(sim_fpu_fraction, sim_fpu_guard): New inline functions.

21 years agoOops! Committed to much, reverting :-(
Andrew Cagney [Sun, 22 Jun 2003 13:31:57 +0000 (13:31 +0000)]
Oops! Committed to much, reverting :-(

21 years agoFix changelog
Andrew Cagney [Sun, 22 Jun 2003 13:29:17 +0000 (13:29 +0000)]
Fix changelog

21 years ago2003-06-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Jun 2003 13:03:40 +0000 (13:03 +0000)]
2003-06-22  Andrew Cagney  <cagney@redhat.com>

Problems reported by Joshua LeVasseur.
* emul_chirp.c: Update copyright.
(chirp_emul_nextprop): Return the first property.
* hw_htab.c: Update copyright.
(htab_decode_hash_table): Fix check for htab size.

21 years ago * gdbint.texinfo (Coding): Clarify use of gdb_XXX.h headers.
Daniel Jacobowitz [Sun, 22 Jun 2003 04:28:04 +0000 (04:28 +0000)]
* gdbint.texinfo (Coding): Clarify use of gdb_XXX.h headers.

21 years ago * Makefile.in (SFILES_INCLUDED): Add agentexpr.texi.
Daniel Jacobowitz [Sun, 22 Jun 2003 04:27:24 +0000 (04:27 +0000)]
* Makefile.in (SFILES_INCLUDED): Add agentexpr.texi.
* agentexpr.texi: Retitle section, and change it to an appendix.
Comment out texinfo initialization.  Factor a @var{} into two
pieces to prevent makeinfo warnings.
* gdb.texinfo: Add Agent Expressions appendix.

21 years ago * cli/cli-cmds.c (shell_escape): Silence warnings from old
Daniel Jacobowitz [Sun, 22 Jun 2003 04:23:52 +0000 (04:23 +0000)]
* cli/cli-cmds.c (shell_escape): Silence warnings from old
compilers.

21 years ago2003-06-21 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Jun 2003 04:03:15 +0000 (04:03 +0000)]
2003-06-21  Andrew Cagney  <cagney@redhat.com>

* interrupts.c: Update copyright.
(external_interrupt): Fix test for already pending interrupt.
Problem found by Joshua LeVasseur.

21 years ago2003-06-21 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Jun 2003 01:52:34 +0000 (01:52 +0000)]
2003-06-21  Andrew Cagney  <cagney@redhat.com>

* ppc-instructions: Add missing +8 line.  Found by blofeldus at
yahoo.com.

21 years ago2003-06-21 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Jun 2003 01:16:38 +0000 (01:16 +0000)]
2003-06-21  Andrew Cagney  <cagney@redhat.com>

From Ian Lance Taylor <ian@airs.com>:
        * hw_nvram.c (hw_nvram_init_address): Correct call to memset--swap
        second and third arguments.