OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years ago2003-07-23 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 23 Jul 2003 21:45:36 +0000 (21:45 +0000)]
2003-07-23  Michael Snyder  <msnyder@redhat.com>

        * pmuls.s: New file.

21 years ago2003-07-09 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 23 Jul 2003 21:43:50 +0000 (21:43 +0000)]
2003-07-09  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (pmuls): Expression is mis-parenthesized.

21 years ago2003-07-09 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 23 Jul 2003 21:41:30 +0000 (21:41 +0000)]
2003-07-09  Michael Snyder  <msnyder@redhat.com>

* configure.in: Add testsuite to extra_subdirs for sh.
* configure: Regenerate.

21 years ago2003-07-09 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 23 Jul 2003 21:41:09 +0000 (21:41 +0000)]
2003-07-09  Michael Snyder  <msnyder@redhat.com>

* sim/sh: New directory.  Tests for Renesas sh family.

21 years ago * tui.c (tui_enable): Call tuiRefreshAll to make sure the window
ciceron [Wed, 23 Jul 2003 21:40:59 +0000 (21:40 +0000)]
* tui.c (tui_enable): Call tuiRefreshAll to make sure the window
is accurate.

21 years ago2003-07-08 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 23 Jul 2003 21:40:43 +0000 (21:40 +0000)]
2003-07-08  Michael Snyder  <msnyder@redhat.com>

* allinsn.exp, testutils.inc, add.s, fabs.s, fadd.s, fcmpeq.s,
fcmpgt.s, fcnvds.s, fcnvsd.s, fdiv.s, fldi0.s, fldi1.s, flds.s,
float.s, fmac.s, fmov.s, fmul.s, fneg.s, frchg.s, fschg.s,
fsqrt.s, fsub.s, ftrc.s, shll16.s, shll2.s, shll8.s, shll.s,
shlr16.s, shlr2.s, shlr8.s, shlr.s, swap.s: New files.

21 years ago2003-07-09 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 23 Jul 2003 21:28:06 +0000 (21:28 +0000)]
2003-07-09  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (ppi_gensim): For a conditional ppi insn, if the
        condition is false, we want to return (not break).  A break
        will take us to the end of the function where registers will
be updated, whereas the desired outcome is for nothing to change.

21 years ago2003-06-27 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 23 Jul 2003 21:25:41 +0000 (21:25 +0000)]
2003-06-27  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (op tab): Some fix-ups of refs and defs.
        (ocbi, ocbp): Cache not simulated, but may cause memory fault.
        (gensym_caselist): Add default case to switch statement.
        (expand_ppi_code): Add default case to switch statement.

21 years ago2003-06-27 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 23 Jul 2003 21:23:32 +0000 (21:23 +0000)]
2003-06-27  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (op tab): Implement movca.l.

21 years ago * tui-interp.c (tui_resume): Enable tui when we expected it.
ciceron [Wed, 23 Jul 2003 21:22:14 +0000 (21:22 +0000)]
* tui-interp.c (tui_resume): Enable tui when we expected it.
(tui_suspend): Remember in which TUI mode we are.
(_initialize_tui_interp): Use the tui interpreter even when no
other interpreter was set and define in which TUI mode to start.

21 years ago2003-06-27 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 23 Jul 2003 21:17:33 +0000 (21:17 +0000)]
2003-06-27  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (op movsxy_tab): Fix an error in the bit pattern.

21 years ago2003-06-27 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 23 Jul 2003 21:14:54 +0000 (21:14 +0000)]
2003-06-27  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (gensim_caselist): The movy instructions use
        registers R6 and R7 (not R4 and R5 like the movx insns).

21 years ago * gas/m68hc11/m68hc11.exp: Execute the new tests.
ciceron [Wed, 23 Jul 2003 20:13:38 +0000 (20:13 +0000)]
* gas/m68hc11/m68hc11.exp: Execute the new tests.
* gas/m68hc11/abi.s: New test for abi elf flags.
* gas/m68hc11/abi-m68hc11-32-64.d: Test for 32-bit int, 64-bit float.
* gas/m68hc11/abi-m68hc11-16-64.d: Test for 16-bit int, 64-bit float.
* gas/m68hc11/abi-m68hc11-32-32.d: Test for 32-bit int, 32-bit float.
* gas/m68hc11/abi-m68hc11-16-32.d: Test for 16-bit int, 32-bit float.

21 years ago * ld-srec/srec.exp: For m6811/m6812 use --defsym to define _.z soft
ciceron [Wed, 23 Jul 2003 19:55:53 +0000 (19:55 +0000)]
* ld-srec/srec.exp: For m6811/m6812 use --defsym to define _.z soft
register.

21 years ago * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Avoid crash when
ciceron [Wed, 23 Jul 2003 19:40:23 +0000 (19:40 +0000)]
* elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Avoid crash when
we have a local symbol in common section.

21 years ago * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
ciceron [Wed, 23 Jul 2003 19:33:20 +0000 (19:33 +0000)]
* scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
account .tramp sections;
* scripttempl/elfm68hc12.sc: Likewise.

21 years ago * config/tc-arm.c (arm_archs): Add iwmmxt.
drow [Wed, 23 Jul 2003 19:30:39 +0000 (19:30 +0000)]
* config/tc-arm.c (arm_archs): Add iwmmxt.

21 years ago2003-07-23 Michal Ludvig <mludvig@suse.cz>
ezannoni [Wed, 23 Jul 2003 19:24:30 +0000 (19:24 +0000)]
2003-07-23  Michal Ludvig  <mludvig@suse.cz>
    Elena Zannoni  <ezannoni@redhat.com>

  * linespec.c (decode_line_2): Avoid crash if
  find_function_start_sal() returns empty record.

21 years ago2003-07-23 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 23 Jul 2003 18:53:33 +0000 (18:53 +0000)]
2003-07-23  Michael Snyder  <msnyder@redhat.com>

        * gdb.base/return2.exp: Don't test long-long return.

21 years ago2003-07-23 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 23 Jul 2003 18:46:13 +0000 (18:46 +0000)]
2003-07-23  Michael Snyder  <msnyder@redhat.com>

* gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
* gdb.disasm/t01_mov.exp: Ditto.
* gdb.disasm/t02_mova.s: Ditto.
* gdb.disasm/t02_mova.exp: Ditto.
* gdb.disasm/t03_add.s: Ditto.
* gdb.disasm/t03_add.exp: Ditto.
* gdb.disasm/t04_sub.s: Ditto.
* gdb.disasm/t04_sub.exp: Ditto.
* gdb.disasm/t05_cmp.s: Ditto.
* gdb.disasm/t05_cmp.exp: Ditto.
* gdb.disasm/t06_ari2.s: Ditto.
* gdb.disasm/t06_ari2.exp: Ditto.
* gdb.disasm/t07_ari3.s: Ditto.
* gdb.disasm/t07_ari3.exp: Ditto.
* gdb.disasm/t08_or.s: Ditto.
* gdb.disasm/t08_or.exp: Ditto.
* gdb.disasm/t09_xor.s: Ditto.
* gdb.disasm/t09_xor.exp: Ditto.
* gdb.disasm/t10_and.s: Ditto.
* gdb.disasm/t10_and.exp: Ditto.
* gdb.disasm/t11_logs.s: Ditto.
* gdb.disasm/t11_logs.exp: Ditto.
* gdb.disasm/t12_bit.s: Ditto.
* gdb.disasm/t12_bit.exp: Ditto.
* gdb.disasm/t13_otr.s: Ditto.
* gdb.disasm/t13_otr.exp: Ditto.

21 years ago * ia64-tdep.c (ia64_print_insn): New function.
schwab [Wed, 23 Jul 2003 18:32:19 +0000 (18:32 +0000)]
* ia64-tdep.c (ia64_print_insn): New function.
(ia64_gdbarch_init): Set print_insn to it.
(_initialize_ia64_tdep): Don't set deprecated_tm_print_insn and
deprecated_tm_print_insn_info.

21 years agoTidy up code. Switch to ISO C
nickc [Wed, 23 Jul 2003 17:34:03 +0000 (17:34 +0000)]
Tidy up code.  Switch to ISO C

21 years ago2003-07-22 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Wed, 23 Jul 2003 03:08:26 +0000 (03:08 +0000)]
2003-07-22  Elena Zannoni  <ezannoni@redhat.com>

* gdb.threads/tls.exp :Add kfail for 'info address' case.

21 years ago2003-07-22 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 23 Jul 2003 01:25:55 +0000 (01:25 +0000)]
2003-07-22  Michael Snyder  <msnyder@redhat.com>

        * h8300-tdep.c (h8300_extract_return_value): Teach it how to
        handle 8-bit returns (long long).
        (h8300h_extract_return_value): Ditto.
        (h8300_gdbarch_init): Long long is 8 bytes, char is unsigned.

21 years ago*** empty log message ***
gdbadmin [Wed, 23 Jul 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Wed, 23 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * include/objidl.h (PropVariant): Add CHAR cVal field
dannysmith [Tue, 22 Jul 2003 22:47:59 +0000 (22:47 +0000)]
* include/objidl.h (PropVariant): Add CHAR cVal field
to union.
(FMTID_SummaryInformation, FMTID_DocSummaryInformation,
FMTID_UserDefinedProperties): Declare.

21 years ago * include/winbase.h (GetModuleHandleEx[AW]): Add prototypes.
dannysmith [Tue, 22 Jul 2003 22:36:02 +0000 (22:36 +0000)]
* include/winbase.h (GetModuleHandleEx[AW]): Add prototypes.

21 years ago * include/winbase.h (DUPLICATE_CLOSE_SOURCE,
dannysmith [Tue, 22 Jul 2003 22:21:26 +0000 (22:21 +0000)]
* include/winbase.h (DUPLICATE_CLOSE_SOURCE,
DUPLICATE_SAME_ACCESS): Remove defines.
(HANDLE_FLAG_INHERIT, HANDLE_FLAG_PROTECT_FROM_CLOSE): Sync with
ddk/ntapi.h defines.
(SEM_*) : Likewise.
* include/winnt.h (COMPRESSION_*, ACCESS_*, SYSTEM_*): Sync with
ddk/ntifs.h defines.
(FILE_*): Likewise.
(MEM_IMAGE, SEC_*): Likewise.
(DUPLICATE_CLOSE_SOURCE, DUPLICATE_SAME_ACCESS,
DUPLICATE_SAME_ATTRIBUTES): Sync with ddk/winddk.h defines.
(TOKEN_*): Sync with ddk/ntifs.h defines.
* include/ddk/ntapi.h: Add comments noting definitions in
winbase.h.
* include/ddk/ntifs.h: Add comments noting definitions in
winnt.h.
* include/ddk/winddk.h: Add comments noting definitions in
winnt.h.

21 years ago2003-07-22 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 22 Jul 2003 19:49:57 +0000 (19:49 +0000)]
2003-07-22  Andrew Cagney  <cagney@redhat.com>

* gdbarch.c Include "gdb_obstack.h".
(struct gdbarch): Add an "obstack".
(alloc_gdbarch_data): Allocate the gdbarch data using
GDBARCH_OBSTACK_CALLOC.
(free_gdbarch_data): Delete function.
(gdbarch_obstack_zalloc): New function.
(gdbarch_free): Free the obstack, do not call free_gdbarch_data.
Assert that the architecture is not initialized.
(gdbarch_alloc): Allocate an obstack, allocate the architecture
vector from the obstack.
(alloc_gdbarch_data, init_gdbarch_swap): Allocate memory using the
architecture obstack.
(GDBARCH_OBSTACK_CALLOC, GDBARCH_OBSTACK_ZALLOC): Define.
(set_gdbarch_data): Assert that the data is not initialized.
(struct gdbarch_data): Delete member "free".
(register_gdbarch_data): Do not initialize "free".
* gdbarch.h, gdbarch.c: Re-generate.

21 years ago2003-07-22 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 22 Jul 2003 19:07:30 +0000 (19:07 +0000)]
2003-07-22  Michael Snyder  <msnyder@redhat.com>

        * compile.c (sim_resume): Revert 6-24 change, it does not
        work with gdb breakpoints.

21 years ago* Makefile.tpl (all-make): Depend on intl.
aoliva [Tue, 22 Jul 2003 19:03:26 +0000 (19:03 +0000)]
* Makefile.tpl (all-make): Depend on intl.
* Makefile.in: Rebuilt.

21 years ago2003-07-22 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 22 Jul 2003 18:24:42 +0000 (18:24 +0000)]
2003-07-22  Elena Zannoni  <ezannoni@redhat.com>

* dwarf2loc.c (locexpr_describe_location): Fix typos.

21 years ago2003-07-22 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 22 Jul 2003 18:18:09 +0000 (18:18 +0000)]
2003-07-22  Andrew Cagney  <cagney@redhat.com>

* configure.in (build_warnings): Add -Wformat-nonliteral.
* configure: Re-generate.

2003-07-22  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Coding): Add -Wformat-nonliteral to -Werror
list.

21 years ago2003-07-22 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 22 Jul 2003 18:16:02 +0000 (18:16 +0000)]
2003-07-22  Elena Zannoni  <ezannoni@redhat.com>

dwarf2loc.c (locexpr_describe_location): Fix typo.

21 years ago2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 22 Jul 2003 15:52:44 +0000 (15:52 +0000)]
2003-07-22  H.J. Lu <hongjiu.lu@intel.com>

* elflink.c (_bfd_elf_dynamic_symbol_p): Don't return TRUE for
weak symbols.

21 years ago2003-07-22 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 22 Jul 2003 15:49:44 +0000 (15:49 +0000)]
2003-07-22  Elena Zannoni  <ezannoni@redhat.com>

        * gdb.threads/tls.c : New file.
        * gdb.threads/tls.exp : New file.
        * gdb.threads/tls-main.c : New file.
        * gdb.threads/tls-shared.c : New file.
        * gdb.threads/tls-shared.exp : New file.

21 years ago2003-07-22 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 22 Jul 2003 15:41:58 +0000 (15:41 +0000)]
2003-07-22  Elena Zannoni  <ezannoni@redhat.com>

* findvar.c (read_var_value): Remove case for thread local storage
variables.  It is now entirely handled by the dwarf2 location
expression code.
* printcmd.c (address_info): Ditto.
* symtab.h (address_class): Remove LOC_THREAD_LOCAL_STATIC
enumeration value.
(struct symbol): Remove objfile field, which was used by
LOC_THREAD_LOCAL_STATIC only.
* dwarf2read.c (decode_locdesc): Remove is_thread_local variable.
* dwarf2loc.h (struct dwarf2_loclist_baton): Add comment about
usage of objfile pointer.
* dwarf2loc.c (locexpr_describe_location): Add case to handle
thread local variables.
Add include of objfiles.h.
* dwarf2expr.c (execute_stack_op): Add comments about thread local
storage variables.
* Makefile.in (dwarf2loc.o): Update dependencies.

21 years ago2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 22 Jul 2003 15:27:06 +0000 (15:27 +0000)]
2003-07-22  H.J. Lu <hongjiu.lu@intel.com>

* read.c (do_parse_cons_expression): Mark nbytes unused to
silence gcc.

21 years ago2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 22 Jul 2003 14:58:35 +0000 (14:58 +0000)]
2003-07-22  H.J. Lu <hongjiu.lu@intel.com>

* ld-selective/selective.exp: Skip "ia64-*-*".

* ld-srec/srec.exp: Make xfail on "ia64-*-*".

21 years ago* objdump.c: New command line option --debugging-tags.
nickc [Tue, 22 Jul 2003 13:33:32 +0000 (13:33 +0000)]
* objdump.c: New command line option --debugging-tags.
* doc/binutils.texi: Document new command line option.
* prdbg.c: Code to print the debug info as tags compatible with ctags.
* budbg.h: Adjust prototype.
* NEWS: Mention new switch

21 years ago2003-07-22 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 22 Jul 2003 12:48:22 +0000 (12:48 +0000)]
2003-07-22  Andrew Cagney  <cagney@redhat.com>

* config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use
get_frame_base.
(FRAME_BASE_BEFORE_SIGTRAMP): Ditto.
(FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto.
(struct value): Add opaque declaration.
(DEPRECATED_FRAME_ARGS_ADDRESS): Delete.

21 years ago * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
schwab [Tue, 22 Jul 2003 12:16:37 +0000 (12:16 +0000)]
* gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.

21 years agoAdd C_TCSYM and C_ECOML to expected RS6000 storage classes.
nickc [Tue, 22 Jul 2003 09:06:48 +0000 (09:06 +0000)]
Add C_TCSYM and C_ECOML to expected RS6000 storage classes.

21 years ago* config/tc-h8300.c (get_specific): No PCREL8 encoding for bsr/bc
aoliva [Tue, 22 Jul 2003 04:56:50 +0000 (04:56 +0000)]
* config/tc-h8300.c (get_specific): No PCREL8 encoding for bsr/bc
or bsr/bs.

21 years ago* config/tc-h8300.c (md_assemble): Make sure characters after
aoliva [Tue, 22 Jul 2003 04:56:04 +0000 (04:56 +0000)]
* config/tc-h8300.c (md_assemble): Make sure characters after
slash and dot are lower-case.

21 years agodaily update
amodra [Tue, 22 Jul 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Tue, 22 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-07-21 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 21 Jul 2003 23:00:21 +0000 (23:00 +0000)]
2003-07-21  H.J. Lu <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Mark
output_bfd unused to silence gcc.

21 years ago2003-07-21 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 21 Jul 2003 18:56:04 +0000 (18:56 +0000)]
2003-07-21  Andrew Cagney  <cagney@redhat.com>

From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>:
* m32r-tdep.c, m32r-stub.c, m32r-tdep.c: Rewrite.

21 years ago * mmap.cc: Use proper format specifiers for _off64_t and size_t in
corinna [Mon, 21 Jul 2003 13:06:48 +0000 (13:06 +0000)]
* mmap.cc: Use proper format specifiers for _off64_t and size_t in
format strings passed to syscall_printf () and debug_printf ()
throughout.

21 years agoUpdated Swedish translation
nickc [Mon, 21 Jul 2003 09:36:38 +0000 (09:36 +0000)]
Updated Swedish translation

21 years ago * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use..
amodra [Mon, 21 Jul 2003 00:24:09 +0000 (00:24 +0000)]
* elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use..
(_bfd_elf_symbol_refs_local_p): ..this.  Declare.
* elflink.c (_bfd_elf_symbol_refs_local_p): New function.
* elf32-i386.c (elf_i386_relocate_section): Remove h NULL test
now done in _bfd_elf_symbol_refs_local_p.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.

21 years agodaily update
amodra [Mon, 21 Jul 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Mon, 21 Jul 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * m68hc11-tdep.c (m68hc11_pseudo_register_read): Use
ciceron [Sun, 20 Jul 2003 18:36:27 +0000 (18:36 +0000)]
* m68hc11-tdep.c (m68hc11_pseudo_register_read): Use
regcache_cooked_read_unsigned instead of read_register.
(m68hc11_saved_pc_after_call): Likewise.
(m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned
instead of write_register.
(m68hc11_register_type): New function.
(m68hc11_register_virtual_type): Remove.
(m68hc11_store_return_value): Convert to use the regcache.
(m68hc11_extract_struct_value_address): Likewise.
(m68hc11_gdbarch_init): Remove deprecated ops for register to use
m68hc11_register_type; undeprecate store_return_value and
extract_struct_value_address.

21 years ago * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
schwab [Sun, 20 Jul 2003 17:39:16 +0000 (17:39 +0000)]
* gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
due to insn reordering.

21 years ago * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read
ciceron [Sun, 20 Jul 2003 14:18:13 +0000 (14:18 +0000)]
* m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read
and translate to use regcache.
(m68hc11_gdbarch_init): Undeprecate extract_return_value.

21 years agodaily update
amodra [Sun, 20 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sun, 20 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-07-20 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 19 Jul 2003 07:31:15 +0000 (07:31 +0000)]
2003-07-20  H.J. Lu <hongjiu.lu@intel.com>

* po/Make-in (.po.gmo): Do check if the .gmo file is writable
before generating it.

21 years ago2003-07-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 19 Jul 2003 06:41:42 +0000 (06:41 +0000)]
2003-07-18  H.J. Lu <hongjiu.lu@intel.com>

* elflink.c (_bfd_elf_dynamic_symbol_p): Undo the last change.

21 years ago2003-07-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 19 Jul 2003 04:12:21 +0000 (04:12 +0000)]
2003-07-18  H.J. Lu <hongjiu.lu@intel.com>

* elf-bfd.h (SYMBOL_REFERENCES_LOCAL): Fix a typo.
(SYMBOL_CALLS_LOCAL): Likewise.

* elflink.c (_bfd_elf_dynamic_symbol_p): Return TRUE
immediately if symbol isn't defined locally.

21 years ago*** empty log message ***
gdbadmin [Sat, 19 Jul 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sat, 19 Jul 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-07-18 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 18 Jul 2003 21:31:50 +0000 (21:31 +0000)]
2003-07-18  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method.
* gdbarch.h, gdbarch.c: Re-generate.
* i386-tdep.c (i386_gdbarch_init): Do not set
DWARF2_BUILD_FRAME_INFO.
* elfread.c (elf_symfile_read): Call dwarf2_build_frame_info
unconditionally.
* alpha-tdep.c (alpha_dwarf2_init_abi): Do not set
DWARF2_BUILD_FRAME_INFO.

21 years ago * elflink.c (_bfd_elf_dynamic_symbol_p): New.
rth [Fri, 18 Jul 2003 21:09:28 +0000 (21:09 +0000)]
    * elflink.c (_bfd_elf_dynamic_symbol_p): New.
        * elf-bfd.h (_bfd_elf_dynamic_symbol_p): Declare it.
        (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use it.
        * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Likewise.
        * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.
        * elf64-hppa.c (elf64_hppa_dynamic_symbol_p): Likewise.
        * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Likewise.
        Update all callers to provide the relocation being resolved.

21 years ago2003-07-18 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 18 Jul 2003 20:16:22 +0000 (20:16 +0000)]
2003-07-18  Andrew Cagney  <cagney@redhat.com>

From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>:
        * disasm.c (gdb_disassemble_info): Initilize di.arch.

21 years ago2003-07-18 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 18 Jul 2003 19:59:26 +0000 (19:59 +0000)]
2003-07-18  Andrew Cagney  <cagney@redhat.com>

* dwarf2-frame.c (dwarf2_frame_sniffer): Use
frame_unwind_address_in_block, instead of frame_pc_unwind.
(dwarf2_frame_cache): Ditto.

21 years ago2003-07-18 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 18 Jul 2003 19:01:14 +0000 (19:01 +0000)]
2003-07-18  Andrew Cagney  <cagney@redhat.com>

* user-regs.h (struct gdbarch): Declare opaque.
* ui-out.h (struct ui_file): Declare opaque.
* dwarf2-frame.h (struct frame_info): Declare opaque.

21 years ago2003-07-18 Kris Warkentin <kewarken@qnx.com>
kewarken [Fri, 18 Jul 2003 17:15:33 +0000 (17:15 +0000)]
2003-07-18  Kris Warkentin  <kewarken@qnx.com>

* nto-procfs.c: Clean ARI hits.  Change #include <..> to
#include ....
(procfs_meminfo): Change strerror to safe_strerror.
(procfs_can_run): Remove K&R badness.

21 years ago* Makefile.common (CFLAGS_COMMON): Remove -march=i386.
cgf [Fri, 18 Jul 2003 16:40:59 +0000 (16:40 +0000)]
* Makefile.common (CFLAGS_COMMON): Remove -march=i386.

21 years ago* objdump.c (main) :Accept multiple -M switch.
nickc [Fri, 18 Jul 2003 11:34:41 +0000 (11:34 +0000)]
* objdump.c (main) :Accept multiple -M switch.
* doc/binutils.texi: Document that multiple -M switches are accepted and that
  a single -M switch can contain comma separated options.
* arm-dis.c (parse_arm_disassembler_option): Do not expect option string to be
  NUL terminated.
  (parse_disassembler_options): Allow options to be space or comma separated.

21 years ago * include/winnt.h (FILE_*): Sync with ddk/winddk.h.
dannysmith [Fri, 18 Jul 2003 10:21:00 +0000 (10:21 +0000)]
* include/winnt.h (FILE_*): Sync with ddk/winddk.h.
* include/winioctl.h (FILE_*): Sync with ddk/winddk.h.

21 years ago2003-07-18 Pierre Humblet <pierre.humblet@ieee.org>
phumblet [Fri, 18 Jul 2003 02:14:41 +0000 (02:14 +0000)]
2003-07-18  Pierre Humblet  <pierre.humblet@ieee.org>

        * security.cc (verify_token): Fix white space and style.
        Use type bool instead of BOOL and char. Use alloca
        instead of malloc and free for my_grps.

21 years ago2003-07-17 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 18 Jul 2003 00:21:00 +0000 (00:21 +0000)]
2003-07-17  Michael Snyder  <msnyder@redhat.com>

* remote-sim.c: Comment typo fix.

21 years ago2003-07-17 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 18 Jul 2003 00:10:41 +0000 (00:10 +0000)]
2003-07-17  Michael Snyder  <msnyder@redhat.com>

        * compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg.

21 years ago2003-07-17 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 18 Jul 2003 00:08:23 +0000 (00:08 +0000)]
2003-07-17  Michael Snyder  <msnyder@redhat.com>

        * compile.c (decode): IMM16 is always zero-extended.

21 years agodaily update
amodra [Fri, 18 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 18 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-07-17 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 17 Jul 2003 18:49:34 +0000 (18:49 +0000)]
2003-07-17  Andrew Cagney  <cagney@redhat.com>

* defs.h (GDB_MULTI_ARCH): Delete conditional define.  Handled by
configure.
* sparc-tdep.c (sparc_intreg_size): Make non-static.
* config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to
GDB_MULTI_ARCH_PARTIAL.

21 years ago * objdump.c (main): Issue a warning message if multiple -M
nickc [Thu, 17 Jul 2003 17:02:46 +0000 (17:02 +0000)]
* objdump.c (main): Issue a warning message if multiple -M
switches are used.

* doc/binutils.texi (objdump): Update documentation about -M
option.

21 years agoAdd libcygwin to the lib autofiler list
nickc [Thu, 17 Jul 2003 15:47:49 +0000 (15:47 +0000)]
Add libcygwin to the lib autofiler list

21 years ago (IMAGE_FILE_NET_RUN_FROM_SWAP): Define.
nickc [Thu, 17 Jul 2003 14:37:17 +0000 (14:37 +0000)]
(IMAGE_FILE_NET_RUN_FROM_SWAP): Define.
  (IMAGE_FILE_MACHINE_WCEMIPSV2): Define.
  (IMAGE_FILE_MACHINE_SH3DSP): Define.
  (IMAGE_FILE_MACHINE_SH3E): Define.
(IMAGE_FILE_MACHINE_SH5): Define.
  (IMAGE_FILE_MACHINE_AM33): Define.
  (IMAGE_FILE_MACHINE_POWERPCFP): Define.
  (IMAGE_FILE_MACHINE_AXP64): Define.
  (IMAGE_FILE_MACHINE_TRICORE): Define.
  (IMAGE_FILE_MACHINE_CEF): Define.
  (IMAGE_FILE_MACHINE_EBC): Define.
  (IMAGE_FILE_MACHINE_AMD64): Define.
  (IMAGE_FILE_MACHINE_M32R): Define.
  (IMAGE_FILE_MACHINE_CEE): Define.

21 years agoDefine ARM_COFF_BUGFIX for arm-wince-pe targets
nickc [Thu, 17 Jul 2003 14:27:38 +0000 (14:27 +0000)]
Define ARM_COFF_BUGFIX for arm-wince-pe targets

21 years agoUpdate translations
nickc [Thu, 17 Jul 2003 14:22:35 +0000 (14:22 +0000)]
Update translations

21 years ago2003-07-17 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 17 Jul 2003 12:49:51 +0000 (12:49 +0000)]
2003-07-17  Elena Zannoni  <ezannoni@redhat.com>

* Makefile.in (x86-64-linux-nat.o): Update dependencies.
* x86-64-linux-nat.c (ps_get_thread_area): New function.  Add
include of asm/prctl.h, asm/ptrace.h, and gdb_proc_service.h.

21 years ago2003-07-17 Pierre Humblet <pierre.humblet@ieee.org>
dannysmith [Thu, 17 Jul 2003 08:23:05 +0000 (08:23 +0000)]
2003-07-17  Pierre Humblet  <pierre.humblet@ieee.org>

* include/mmsystem.h (TIME_KILL_SYNCHRONOUS): Add define.

21 years ago * sysconf.cc (sysconf): Fix OPEN_MAX patch. Return page size on
corinna [Thu, 17 Jul 2003 07:35:16 +0000 (07:35 +0000)]
* sysconf.cc (sysconf): Fix OPEN_MAX patch.  Return page size on
_SC_PAGESIZE again.

21 years agoformat some code and comments to 80 char width
devans [Thu, 17 Jul 2003 06:19:35 +0000 (06:19 +0000)]
format some code and comments to 80 char width

21 years agoupdate copyright
cgf [Thu, 17 Jul 2003 05:27:03 +0000 (05:27 +0000)]
update copyright

21 years agodaily update
amodra [Thu, 17 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Thu, 17 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue found.
troth [Wed, 16 Jul 2003 23:20:50 +0000 (23:20 +0000)]
* avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue found.
(avr_frame_unwind_cache): Don't unwind FP for main.
Update a comment.
Save the computed prev_sp.
(avr_saved_regs_unwinder): Remove function.
(avr_frame_prev_register): Use PC unwind logic from
avr_saved_regs_unwinder, otherwise use trad_frame_prev_register.

21 years ago * config.bfd, configure.host, configure.in: Remove ia64-aix support.
rth [Wed, 16 Jul 2003 22:48:58 +0000 (22:48 +0000)]
    * config.bfd, configure.host, configure.in: Remove ia64-aix support.
        * elfxx-ia64.c, targets.c: Likewise.

21 years ago2003-07-16 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 16 Jul 2003 22:29:12 +0000 (22:29 +0000)]
2003-07-16  Andrew Cagney  <cagney@redhat.com>

* frame-base.h (frame_base_p_ftype): Delete definition.
(frame_base_append_predicate): Delete declaration.
* frame-unwind.h (frame_unwind_p_ftype): Delete definition.
(frame_unwind_append_predicate): Delete declaration.
* frame-unwind.c (struct frame_unwind_table): Delete field "p".
(append_predicate): Delete parameter "p".
(frame_unwind_append_predicate): Delete function.
(frame_unwind_append_sniffer): Update call to append_predicate.
(frame_unwind_free): Delete function.
(_initialize_frame_unwind): Pass NULL as "free" to
register_gdbarch_data.
(frame_unwind_init): Append the dummy_frame_sniffer.
(frame_unwind_find_by_frame): Simplify.
* frame-base.c (struct frame_base_table): Delete field "p".
(append_predicate): Delete parameter "p".
(frame_base_append_predicate): Delete function.
(frame_base_append_sniffer): Update call to append_predicate.
(frame_base_free): Delete function.
(frame_base_find_by_frame): Simplify.
(_initialize_frame_base): Pass NULL as "free" to
register_gdbarch_data.
* x86-64-tdep.c (x86_64_frame_sniffer): Replace "x86_64_frame_p".
(x86_64_sigtramp_frame_sniffer): Replace
"x86_64_sigtramp_frame_p".
(x86_64_init_abi): Set the frame unwind sniffers.
* m68k-tdep.c (m68k_frame_sniffer): Replace "m68k_frame_p".
(m68k_sigtramp_frame_sniffer): Replace "m68k_sigtramp_frame_p"
(m68k_gdbarch_init): Set the frame unwind sniffers.
* i386-tdep.c (i386_sigtramp_frame_sniffer): Replace
"i386_sigtramp_frame_p".
(i386_frame_sniffer): Replace "i386_frame_p".
(i386_gdbarch_init): Set the frame unwind sniffers.
* avr-tdep.c (avr_frame_sniffer): Replace "avr_frame_sniffer".
(avr_gdbarch_init): Set the frame unwind sniffers.
* alpha-tdep.c (alpha_sigtramp_frame_sniffer): Replace
"alpha_sigtramp_frame_p"
(alpha_heuristic_frame_sniffer): Replace
"alpha_heuristic_frame_p".
(alpha_gdbarch_init): Set the frame unwind sniffers.
(alpha_dwarf2_init_abi): Ditto.
* alpha-mdebug-tdep.c (alpha_mdebug_frame_sniffer): Replace
"alpha_debug_frame_p".
(alpha_mdebug_frame_base_sniffer): Replace
"alpha_mdebug_frame_base_p".
(alpha_mdebug_init_abi): Set the frame unwind sniffers.
* d10v-tdep.c (d10v_frame_sniffer): Replace "d10v_frame_p".
(d10v_gdbarch_init): Set the frame unwind sniffer.
* dwarf2-frame.c (dwarf2_frame_sniffer): Replace "dwarf2_frame_p".
(dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p".
* dwarf2-frame.h (dwarf2_frame_sniffer): Replace "dwarf2_frame_p".
(dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p".
* dummy-frame.c (dummy_frame_sniffer): Replace "dummy_frame_p".
* dummy-frame.h (dummy_frame_sniffer): Replace "dummy_frame_p".

21 years ago Clean up warnings in ddk.
dannysmith [Wed, 16 Jul 2003 21:49:01 +0000 (21:49 +0000)]
Clean up warnings in ddk.

* include/ddk/atm.h (_ATM_AAL_OOB_INFO): Add _ANONYMOUS_UNION,
conditional on  __cplusplus.
* include/ddk/scsi.h: Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT
defines, throughout.
(_CDB): Add _ANONYMOUS_UNION, conditional on __cplusplus.
* include/ddk/cfg.h (_PNP_VETO_TYPE): Remove extra comma.
* include/ddk/cfgmgr32.h: Change C++ comment style to ISO C.
* include/ddk/ddkmapi.h (_DDLOCKOUT): Add _ANONYMOUS_UNION defines.
* include/ddk/hidpi.h: Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT
defines, throughout.
* include/ddk/ndis.h: Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT
defines, throughout. Remove trailing semicolon from *_S 'structure'
macro expansion, throughout. Remove trailing semicolon from
DECLARE_UNKNOWN_STRUCT macro expansion.
* include/ddk/ndiswan.h (_NDIS_WAN_COMPRESS_INFO): Add
_ANONYMOUS_UNION.
* include/ddk/ntapi.h (_PROCESS_DEVICEMAP_INFORMATION,
_PROCESS_SESSION_INFORMATION): Add _ANONYMOUS_UNION.
* include/ddk/ntddcdrm.h (CDROM_TOC_CD_TEXT_DATA_BLOCK):
Add _ANONYMOUS_UNION.
* include/ddk/ntdddisk.h: Add _ANONYMOUS_UNION, throughout.
* include/ddk/ntddmou.h:  Add _ANONYMOUS_UNION, throughout.
* include/ddk/ntifs.h:  Add _ANONYMOUS_UNION, throughout.
(ZwQueryObject): Change 2nd param to OBJECT_INFORMATION_CLASS, to
match proto in ntapi.h.
(ZwSetInformationObject): Likewise.
* include/ddk/srb.h (SCSI_REQUEST_BLOCK): Add _ANONYMOUS_UNION.
(SCSI_ADAPTER_CONTROL_TYPE): Add __extension__.
* include/ddk/tdikrnl.h (TDI20_CLIENT_INTERFACE_INFO): Add
_ANONYMOUS_UNION and _ANONYMOUS_STRUCT.
* include/ddk/usb.h (USB): Add _ANONYMOUS_UNION.
* include/ddk/usbcamdi.h (USBCAMD_CamControlFlags): Remove
last comma.
* include/ddk/video.h (STATUS_BLOCK): Add _ANONYMOUS_UNION.
* include/ddk/winddk.h (DECLARE_INTERNAL_OBJECT): Remove
trailing semicolon when expanding macro.
(GENERAL_LOOKASIDE_S): Likewise.
Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT, throughout.
Change inline to __inline, throughout.
* include/ddk/winnt4.h: Change inline to __inline, throughout.

21 years ago * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Properly return false
rth [Wed, 16 Jul 2003 21:47:36 +0000 (21:47 +0000)]
    * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Properly return false
        for symbols defined locally plus -Bsymbolic.  Tidy logic.

21 years ago * sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dsp
corinna [Wed, 16 Jul 2003 09:45:55 +0000 (09:45 +0000)]
* sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dsp
should go thru sh_dsp_register_sim_regno, else the dsp regs
will not get the right values.

* sh-tdep.c (sh_sh4_register_convert_to_virtual): Substitute call to
deprecated_store_floating by call to store_typed_floating.
(sh_sh4_register_convert_to_raw): Substitute call to
deprecated_extract_floating by call to extract_typed_floating.

* sh-tdep.c (sh_gdbarch_init): Set double to 4 byte on sh2e and sh3e.

* sh-tdep.c: Substitute calls to REGISTER_RAW_SIZE by calls to
register_size and calls to REGISTER_VIRTUAL_TYPE by calls to
gdbarch_register_type in 32 bit code throughout.  Avoid current_gdbarch
as possible.
(do_pseudo_register): Remove.
(sh_push_dummy_code): New function.
(sh64_store_struct_return): Rename from sh_store_struct_return.
Only called for sh64 now.
(sh_extract_struct_value_address): Regcache'ify.
(sh_push_dummy_call): Rename from sh_push_arguments.  Regcache'ify
and accomodate new tasks.
(sh64_push_return_address): Rename from sh_push_return_address.
Only called for sh64 now.
(sh_default_extract_return_value): Rename from sh_extract_return_value.
Regcache'ify.
(sh3e_sh4_extract_return_value): Regcache'ify.
(sh_default_store_return_value): Ditto.
(sh3e_sh4_store_return_value): Ditto.
(sh_default_register_byte): Remove.
(sh_sh4_register_byte): Remove.
(sh_default_register_raw_size): Remove.
(sh_sh4_register_raw_size): Remove.
(sh_register_virtual_size): Remove.
(sh_sh3e_register_virtual_type): Remove.
(sh_sh3e_register_type): New function.
(sh_sh4_register_virtual_type): Remove.
(sh_sh4_register_type): New function.
(sh_default_register_virtual_type): Remove.
(sh_default_register_type): New function.
(do_fv_register_info): Add parameters to accomodate call from
sh_print_registers_info.
(do_dr_register_info): Ditto.
(sh_print_pseudo_register): Rename from sh_do_pseudo_register.
Add parameters to accomodate call from sh_print_registers_info.
(sh_do_fp_register): Ditto.
(sh64_do_pseudo_register): Call do_dr_register_info,
do_fv_register_info and sh_do_fp_register with default parameters.
(sh_do_register): Add parameters to accomodate call from
sh_print_registers_info.
(sh_print_register): Ditto.
(sh_print_registers_info): Rename from sh_do_registers_info.
Add parameters to be used as gdbarch_print_registers_info
implementation.  Accomodate removed do_pseudo_register function
pointer.
(sh_compact_do_registers_info): Accomodate removed do_pseudo_register
function pointer. Call sh_print_register with default parameters.
(sh64_do_registers_info): Call sh_print_registers_info instead of
sh_do_registers_info.
(sh_gdbarch_init): Rearrange to cleanup and to allow easier
detection of deprecated vs. non-deprecated functionality.
Rename sh_call_dummy_words to sh64_call_dummy_words.  Remove
function pointer assignments by direct function calls.

21 years ago * config.if: Remove unused libc_interface determination.
neroden [Wed, 16 Jul 2003 06:35:35 +0000 (06:35 +0000)]
* config.if: Remove unused libc_interface determination.