OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
19 years ago * fhandler.h (fhandler_base::fstat_helper): Declare with additional
corinna [Sun, 20 Feb 2005 16:14:52 +0000 (16:14 +0000)]
* fhandler.h (fhandler_base::fstat_helper): Declare with additional
dwVolumeSerialNumber argument.  Drop default values for last three
arguments.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Pass
dwVolumeSerialNumber from GetFileInformationByHandle to fstat_helper.
(fhandler_base::fstat_by_name): Pass pc.volser () to fstat_helper.
Accomodate dropping default values for last three arguments of
fstat_helper.
(fhandler_base::fstat_helper): Add dwVolumeSerialNumber argument.
Use for st_dev member unless 0 in which case pc.volser () is used.

19 years agoinclude/
amodra [Sun, 20 Feb 2005 14:59:04 +0000 (14:59 +0000)]
include/
* xtensa-isa-internal.h (xtensa_length_decode_fn): Warning fix.
* xtensa-isa.h (xtensa_insnbuf_to_chars): Likewise.
(xtensa_insnbuf_from_chars, xtensa_isa_length_from_chars): Likewise.
include/coff/
* xcoff.h (struct xcoff_loader_info): Warning fix.
bfd/
* bfd-in.h (bfd_elf_bfd_from_remote_memory): Warning fix.
* coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): Likewise.
* coff-rs6000.c (xcoff_write_armap_big): Warning fixes.  Remove
useless assignments.
(xcoff_write_archive_contents_big): Likewise.
(_bfd_xcoff_put_ldsymbol_name): Likewise.
* coff64-rs6000.c (_bfd_xcoff64_put_ldsymbol_name): Likewise.
* coffgen.c (coff_write_symbols): Make "written" a bfd_vma.
* cofflink.c (process_embedded_commands): Warning fixes.
* cpu-arm.c: Delete unnecessary prototypes.  Convert to C90.
Warning fixes.
* dwarf2.c: Warning fixes.
* elf-bfd.h: Likewise.
* elf-eh-frame.c: Likewise.
* elf-strtab.c: Likewise.
* elf.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-sh-symbian.c: Likewise.
* elf32-sh.c: Delete unnecessary prototypes.  Warning fixes.
* elf64-sh64.c: Likewise.
* peicode.h: Likewise.
* elf64-mmix.c: Warning fixes.
* elfcode.h: Likewise.
* elfxx-mips.c: Likewise.
* libbfd-in.h: Likewise.
* libbfd.c: Likewise.
* mach-o.c: Likewise.
* merge.c: Likewise.
* mmo.c: Likewise.
* opncls.c: Likewise.
* pef.c: Likewise.
* srec.c: Likewise.
* vms-hdr.c: Likewise.
* vms-tir.c: Likewise.
* xtensa-isa.c: Likewise.
* xtensa-modules.c: Likewise.
* xsym.c: Likewise.
(pstrcmp): Use correct choice of string lengths.  Fix return value.
(bfd_sym_module_name): Correct string length.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

19 years ago * autoload.cc (FindFirstVolumeA): Add.
corinna [Sun, 20 Feb 2005 13:28:22 +0000 (13:28 +0000)]
* autoload.cc (FindFirstVolumeA): Add.
(FindNextVolumeA): Add.
(FindVolumeClose): Add.
(GetVolumePathNamesForVolumeNameA): Add.
* fhandler.h (class fhandler_base): Declare new method fsync.
* fhandler.cc (fhandler_base::fsync): New method.
* syscalls.cc (fsync): Move functionality into fhandler method fsync.
Just call this method from here.
(sync_worker): New static function.
(sync): Fill with life for NT systems.
* wincap.h (wincaps::has_guid_volumes): New element.
* wincap.cc: Implement above element throughout.

19 years ago * fhandler.h (enum query_state): Add query_write_attributes state.
corinna [Sun, 20 Feb 2005 11:44:31 +0000 (11:44 +0000)]
* fhandler.h (enum query_state): Add query_write_attributes state.
(fhandler_base::status.query_open): Add a bit to make room for more
states.
(class fhandler_base): Declare new method utimes.
(class fhandler_socket): Ditto.
(class fhandler_disk_file): Ditto.
(fhandler_disk_file::fhandler_disk_file): Add constructor with
path_conv parameter.
* fhandler.cc (fhandler_base::open): Add query_write_attributes
handling.
(fhandler_base::utimes): New method.
* fhandler_disk_file.cc (fhandler_disk_file::link): Simplify.
Open file with query_write_attributes instead of query_write_control.
(fhandler_disk_file::utimes): New method.
(fhandler_disk_file::fhandler_disk_file): Add constructor with
path_conv parameter setting pc member immediately.
* fhandler_socket.cc (fhandler_socket::fchmod): Use new
fhandler_disk_file constructor.
(fhandler_socket::fchown): Ditto.
(fhandler_socket::facl): Ditto.
(fhandler_socket::link): Ditto.
(fhandler_socket::utimes): New method.
* times.cc: Include dtable.h.
(timeval_to_filetime): Make non-static.
(utimes): Move functionality into fhandler method utimes. Just call
this method from here.
* winsup.h: Simplify declarations of time helper functions.
(timeval_to_filetime): Add extern declaration.

19 years agocopyright
cgf [Sun, 20 Feb 2005 04:25:31 +0000 (04:25 +0000)]
copyright

19 years ago* value.h (value_contents_equal): New prototype.
kettenis [Sun, 20 Feb 2005 01:19:18 +0000 (01:19 +0000)]
* value.h (value_contents_equal): New prototype.
* value.c (value_contents_equal): New function.
* varobj.c: Include "exceptions.h" and "gdb_assert.h".  Don't
include <math.h>.
(varobj_set_value): Initialize error to zero.
(varobj_update): Rename error2 to error and initialize it to zero.
Slightly change the wording of some comments.
(my_value_equal): Reimplement using TRY_CATCH and
value_contents_equal.

19 years ago*** empty log message ***
gdbadmin [Sun, 20 Feb 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Sat, 19 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago * fhandler.h (class fhandler_base): Declare new method link.
corinna [Sat, 19 Feb 2005 21:53:35 +0000 (21:53 +0000)]
* fhandler.h (class fhandler_base): Declare new method link.
(class fhandler_socket): Ditto.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::open): Add FILE_WRITE_ATTRIBUTES
to query_write_control access flags.
(fhandler_base::link): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Don't try to
open with O_WRONLY since query_write_control includes
FILE_WRITE_ATTRIBUTES.
(fhandler_disk_file::fchown): Ditto.
(fhandler_disk_file::facl): Ditto.
(fhandler_disk_file::link): New method.  Touch st_ctime on successful
link.
* fhandler_socket.cc (fhandler_socket::link): New method.
* syscalls.cc (link): Move functionality into fhandler method link.
Just call this method from here.

19 years ago * fhandler.h (class fhandler_socket): Declare new methods fchown,
corinna [Sat, 19 Feb 2005 20:03:15 +0000 (20:03 +0000)]
* fhandler.h (class fhandler_socket): Declare new methods fchown,
fchmod and facl.
* fhandler_socket.cc (fhandler_socket::fstat): Handle AF_LOCAL
sockets.
(fhandler_socket::fchmod): New method.
(fhandler_socket::fchown): New method.
(fhandler_socket::facl): New method.

19 years ago * localtime.cc: Temporary implementation of setting __tzrule's offset
corinna [Sat, 19 Feb 2005 19:58:38 +0000 (19:58 +0000)]
* localtime.cc: Temporary implementation of setting __tzrule's offset
member to be used by strftime.
(__tzrule): New global variable.
(tzparse): Set __tzrule's offset member appropriately.

19 years ago * config/tc-hppa.h (TC_EQUAL_IN_INSN): Delete.
amodra [Sat, 19 Feb 2005 08:56:07 +0000 (08:56 +0000)]
* config/tc-hppa.h (TC_EQUAL_IN_INSN): Delete.
* read.c (read_a_source_file): Remove TC_EQUAL_IN_INSN test.
* doc/internals.texi (TC_EQUAL_IN_INSN): Delete.

19 years ago*** empty log message ***
gdbadmin [Sat, 19 Feb 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Fri, 18 Feb 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago /gas/ChangeLog
ths [Fri, 18 Feb 2005 22:12:49 +0000 (22:12 +0000)]
/gas/ChangeLog
* config/tc-mips.c (macro_build_ldst_constoffset): Fail on $at
uses after .set noat.
(load_address): Likewise.
(macro): Likewise. Don't try to avoid $at use by sacrificing
the target register before it is stored, it won't work.

/gas/testsuite/ChangeLog
* gas/mips/noat-1.s, gas/mips/noat-1.d, gas/mips/noat-2.s,
gas/mips/noat2.l, gas/mips/noat-3.s, gas/mips/noat-3.l,
gas/mips/noat-4.s, gas/mips/noat-4.l, gas/mips/noat-5.s,
gas/mips/noat-5.l, gas/mips/noat-6.s, gas/mips/noat-6.l,
gas/mips/noat-7.s, gas/mips/noat-7.l: New files, testcases for
.set noat in macro expansions.
* gas/mips/mips.exp: Run new testcases.
* gas/mips/rol-hw.d, gas/mips/rol-hw.l, gas/mips/rol.d,
gas/mips/rol.l, gas/mips/rol.s, gas/mips/rol64-hw.d,
gas/mips/rol64-hw.l, gas/mips/rol64.d, gas/mips/rol64.l,
gas/mips/rol64.s, gas/mips/uld2-eb.d, gas/mips/uld2-el.d,
gas/mips/uld2.l, gas/mips/uld2.s, gas/mips/ulh2-eb.d,
gas/mips/ulh2-el.d, gas/mips/ulh2.l, gas/mips/ulh2.s,
gas/mips/ulw2-eb-ilocks.d, gas/mips/ulw2-eb.d,
gas/mips/ulw2-el-ilocks.d, gas/mips/ulw2-el.d, gas/mips/ulw2.l,
gas/mips/ulw2.s: Don't try to test .set noat.

19 years ago2005-02-18 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 18 Feb 2005 20:57:12 +0000 (20:57 +0000)]
2005-02-18  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_integer_cmd): New function.
* command.h (add_setshow_integer_cmd): Declare.
* cli/cli-cmds.c: Update.

19 years ago2005-02-18 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 18 Feb 2005 19:49:49 +0000 (19:49 +0000)]
2005-02-18  Andrew Cagney  <cagney@gnu.org>

Use add_setshow_uinteger_cmd through out.
* printcmd.c, source.c, utils.c, valprint.c: Update.

19 years ago2005-02-18 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 18 Feb 2005 18:58:53 +0000 (18:58 +0000)]
2005-02-18  Andrew Cagney  <cagney@gnu.org>

Use add_setshow_zinteger_cmd through out.  Re-sync gdbarch.sh
and gdbarch.c.
* breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update.
* gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update.
* pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update.
* serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update.
* varobj.c, cli/cli-cmds.c: Update.
* gdbarch.c, gdb-events.c: Regenerate.

19 years ago2005-02-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 18 Feb 2005 15:58:45 +0000 (15:58 +0000)]
2005-02-18  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (display_debug_loc): Print out offset for end of
list.

19 years ago2005-02-18 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 18 Feb 2005 15:25:24 +0000 (15:25 +0000)]
2005-02-18  Andrew Cagney  <cagney@gnu.org>

Use add_setshow_boolean_command through out.  Delete #ifdef 0'ed
code adding set/show boolean commands.
* cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update.
* monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update.
* proc-api.c, remote-mips.c, remote.c, solib.c: Update.
* somsolib.c, symfile.c, top.c, utils.c, valops.c: Update.
* valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update.
* cli/cli-cmds.c: Update.

19 years ago2005-02-18 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 18 Feb 2005 15:25:14 +0000 (15:25 +0000)]
2005-02-18  Andrew Cagney  <cagney@gnu.org>

Use add_setshow_boolean_command through out.  Delete #ifdef 0'ed
code adding set/show boolean commands.
* cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update.
* monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update.
* proc-api.c, remote-mips.c, remote.c, solib.c: Update.
* somsolib.c, symfile.c, top.c, utils.c, valops.c: Update.
* valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update.
* cli/cli-cmds.c: Update.

19 years ago * Makefile.am (TOOL_PROGS): Add objdump.
jsm28 [Fri, 18 Feb 2005 02:22:02 +0000 (02:22 +0000)]
* Makefile.am (TOOL_PROGS): Add objdump.
* Makefile.in: Regenerate.

19 years agoRespect bundle directives.
wilson [Fri, 18 Feb 2005 01:59:06 +0000 (01:59 +0000)]
Respect bundle directives.
* config/tc-ia64.c (emit_one_bundle): Stop filling a bundle if we
see an instruction that specifies a template.

19 years ago * ld-scripts/align2a.d: Don't assume anything about section
amodra [Fri, 18 Feb 2005 01:55:15 +0000 (01:55 +0000)]
* ld-scripts/align2a.d: Don't assume anything about section
padding or alignment, or max page size.  Allow 64-bit addresses.
* ld-scripts/align2b.d: Likewise.

19 years ago * config/tc-openrisc.c (openrisc_relax_frag): Delete unused function.
amodra [Fri, 18 Feb 2005 00:49:00 +0000 (00:49 +0000)]
* config/tc-openrisc.c (openrisc_relax_frag): Delete unused function.
* config/tc-sparc.c (sparc_ip): Make op_exp static to silence warnings.
* config/tc-tic80.c (build_insn): Init insn[1] to silence warning.

19 years ago*** empty log message ***
gdbadmin [Fri, 18 Feb 2005 00:00:11 +0000 (00:00 +0000)]
*** empty log message ***

19 years agogas/
hjl [Thu, 17 Feb 2005 23:22:02 +0000 (23:22 +0000)]
gas/

2005-02-17  H.J. Lu  <hongjiu.lu@intel.com>

* NEWS: Mention "-mhint.b=[ok|warning|error]".

* config/tc-ia64.c (md): Add hint_b.
(emit_one_bundle): Handle md.hint_b for "hint".
(md_parse_option): Accepted "-mhint.b=[ok|warning|error]".
(md_show_usage): Add "-mhint.b=[ok|warning|error]".
(ia64_init): Set md.hint_b to error.
(md_assemble): Handle md.hint_b for "hint.b".

* doc/as.texinfo: Add "-mhint.b=[ok|warning|error]".
* doc/c-ia64.texi: Likewise.

gas/testsuite/

2005-02-17  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/hint.b-err.l: New file.
* gas/ia64/hint.b-err.s: Likewise.
* gas/ia64/hint.b-warn.l: Likewise.
* gas/ia64/hint.b-warn.s: Likewise.

* gas/ia64/ia64.exp: Run hint.b-err and hint.b-warn.

* gas/ia64/opc-b.d: Pass -mhint.b=ok to as.

19 years agodaily update
amodra [Thu, 17 Feb 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * ldexp.c (assigning_to_dot): New global flag.
zack [Thu, 17 Feb 2005 20:56:58 +0000 (20:56 +0000)]
* ldexp.c (assigning_to_dot): New global flag.
(fold_name): If assigning_to_dot is true, object immediately to
an undefined symbol.
(exp_fold_tree): Set and clear assigning_to_dot around the
recursive call to exp_fold_tree to process the right-hand side
of an assignment to the location counter.
testsuite:
* ld-scripts/align.exp: Rename existing "ALIGN" test to "align1".
Add dump tests "align2a", "align2b", "align2c".
* ld-scripts/align2.t, ld-scripts/align2a.s, ld-scripts/align2a.d
* ld-scripts/align2b.s, ld-scripts/align2b.d
* ld-scripts/align2c.s, ld-scripts/align2c.d: New files.

19 years ago* path.cc (path_conv::check): Set fs flag when a unix-domain socket is
cgf [Thu, 17 Feb 2005 17:21:10 +0000 (17:21 +0000)]
* path.cc (path_conv::check): Set fs flag when a unix-domain socket is
detected.

19 years ago2005-02-17 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 17 Feb 2005 17:11:03 +0000 (17:11 +0000)]
2005-02-17  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_filename_cmd): Set the completer
to filename_completer.
* solib.c (_initialize_solib, reload_shared_libraries): Use
add_setshow_filename_cmd.
* serial.c (_initialize_serial): Ditto.
* remote-utils.c (_initialize_sr_support): Ditto.

19 years ago2005-02-17 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 17 Feb 2005 17:10:54 +0000 (17:10 +0000)]
2005-02-17  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_filename_cmd): Set the completer
to filename_completer.
* solib.c (_initialize_solib, reload_shared_libraries): Use
add_setshow_filename_cmd.
* serial.c (_initialize_serial): Ditto.
* remote-utils.c (_initialize_sr_support): Ditto.

19 years agobfd/ChangeLog:
aoliva [Thu, 17 Feb 2005 17:10:52 +0000 (17:10 +0000)]
bfd/ChangeLog:
* elf32-frv.c (elf32_frv_relocate_section): Remove warning from
uninitialized check_segment[1] in TLSMOFF case.
Reported by Alan Modra.
(elf32_frv_relocate_section): Improve errors and warnings.
ld/testsuite/ChangeLog:
* ld-frv/fdpic-static-6.d: Update.
* ld-frv/fdpic*.d: Remove explicit -mfdpic from #as.  Update
spelling of errors and warnings.

19 years ago2005-02-17 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 17 Feb 2005 15:00:26 +0000 (15:00 +0000)]
2005-02-17  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd)
(add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
(add_setshow_filename_cmd, add_setshow_string_cmd)
(add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
fprint_setshow parameter.
* command.h (fprint_setshow_ftype): Delete.
(add_setshow_cmd_full, add_setshow_enum_cmd)
(add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
(add_setshow_filename_cmd, add_setshow_string_cmd)
(add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
fprint_setshow parameter.
* aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
* complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update.
* hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update.
* mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update
* remote.c, target.c, cli/cli-logging.c: Update.

19 years ago2005-02-17 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 17 Feb 2005 13:49:47 +0000 (13:49 +0000)]
2005-02-17  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd)
(add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
(add_setshow_filename_cmd, add_setshow_string_cmd)
(add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
fprint_setshow parameter.
* command.h (fprint_setshow_ftype): Delete.
(add_setshow_cmd_full, add_setshow_enum_cmd)
(add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
(add_setshow_filename_cmd, add_setshow_string_cmd)
(add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
fprint_setshow parameter.
* aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
* complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update.
* hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update.
* mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update
* remote.c, target.c, cli/cli-logging.c: Update.

19 years ago2005-02-17 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 17 Feb 2005 13:49:38 +0000 (13:49 +0000)]
2005-02-17  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd)
(add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
(add_setshow_filename_cmd, add_setshow_string_cmd)
(add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
fprint_setshow parameter.
* command.h (fprint_setshow_ftype): Delete.
(add_setshow_cmd_full, add_setshow_enum_cmd)
(add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
(add_setshow_filename_cmd, add_setshow_string_cmd)
(add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
fprint_setshow parameter.
* aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
* complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update.
* hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update.
* mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update
* remote.c, target.c, cli/cli-logging.c: Update.

19 years ago * tc.h (struct relax_type, relax_typeS): Move from here..
amodra [Thu, 17 Feb 2005 13:45:58 +0000 (13:45 +0000)]
* tc.h (struct relax_type, relax_typeS): Move from here..
* as.h: ..to here.  Make rlx_forward and rlx_backward an offsetT.
* ecoff.c (ecoff_new_file): Add appfile param.
* ecoff.h (ecoff_new_file): Likewise.
* itbl-lex.h: New file.
* itbl-lex.l: Include itbl-lex.h.
* itbl-parse.y: Likewise.
(insntbl_line, yyparse, yylex): Move to itbl-lex.h.
* read.c (s_app_file_string): Mark appfile possibly unused.
* subsegs.c (seg_not_empty_p): Make sec possibly unused.
* subsegs.h (struct seg_info_trash): Delete.
(seg_info): Use segment_info_type instead.
* config/obj-coff.c (struct filename_list): Make filename const char *.
* config/obj-ecoff.h (obj_app_file): Pass app to ecoff_new_file.
* config/obj-elf.c (elf_file_symbol): Similarly.
* config/tc-a29k.c (md_apply_fix3): Make val a valueT.  Don't use
signed right shift.
* config/tc-arc.c (md_operand): Warning fix.
* config/tc-arm.c (arm_parse_reloc): Only define when OBJ_ELF.
(md_begin): Rearrange #if defined OBJ_COFF || defined OBJ_ELF.
* config/tc-cris.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Use do while.
* config/tc-frv.c (frv_force_relocation): Warning fix.
* config/tc-m68k.c (md_parse_option): Delete unused var.
* config/tc-mcore.c (mylog2): Rename from log2 throughout.
* config/tc-sparc.c: Likewise.
(s_common): Warning fix.
* config/tc-mips.c (append_insn): Use unsigned long long expressions.
* config/tc-mmix.c (PUSHJSTUB_MAX, PUSHJSTUB_MIN): Define from
addressT.
* config/tc-s390.c (s390_insn): Delete test of unsigned >= 0.
* config/tc-sh.c (sh_cfi_frame_initial_instructions,
sh_regname_to_dw2regnum): Only define for OBJ_ELF.
* config/tc-tic4x.c (tic4x_insert_reg): Use ISLOWER.
(tic4x_do_align): Use TIC_NOP_OPCODE.
* config/tc-tic4x.h (TIC_NOP_OPCODE): Rename from NOP_OPCODE.
* config/tc-vax.c: Include netinet/in.h.
(tc_headers_hook): Formatting.
* config/tc-xstormy16.c (md_pcrel_from_section): Correct parens.

19 years ago2005-02-17 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 17 Feb 2005 13:24:56 +0000 (13:24 +0000)]
2005-02-17  Paul Brook  <paul@codesourcery.com>

* scripttempl/armbpabi.sc: Add dummy name to version block.

19 years ago * ldexp.c (new_abs): Init new.str.
amodra [Thu, 17 Feb 2005 13:06:13 +0000 (13:06 +0000)]
* ldexp.c (new_abs): Init new.str.

19 years ago * deflex.l (YY_NO_UNPUT): Define.
amodra [Thu, 17 Feb 2005 12:59:59 +0000 (12:59 +0000)]
* deflex.l (YY_NO_UNPUT): Define.
* rclex.l (YY_NO_UNPUT): Define.
* rcparse.y (null_unichar): New static var.
(res_null_text): Use it rather than attempting to init from wchar_t.
* windres.c: Include assert.h and time.h before getopt.h.
Include config.h and unistd.h too.

19 years ago * fhandler_disk_file.cc (fhandler_disk_file::fstat): Set st_ctime if
corinna [Thu, 17 Feb 2005 12:41:47 +0000 (12:41 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat): Set st_ctime if
has_changed flag is set.
(fhandler_disk_file::touch_ctime): Reset has_changed flag on success.

19 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Fix warning.
amodra [Thu, 17 Feb 2005 12:39:13 +0000 (12:39 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Fix warning.

19 years ago * times.cc (utimes): Open files with FILE_WRITE_ATTRIBUTES first,
corinna [Thu, 17 Feb 2005 12:08:14 +0000 (12:08 +0000)]
* times.cc (utimes): Open files with FILE_WRITE_ATTRIBUTES first,
if that fails, try opeing with GENERIC_WRITE.  Fix comments.

19 years agogas/
jbeulich [Thu, 17 Feb 2005 07:43:10 +0000 (07:43 +0000)]
gas/
2005-02-17  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (ia64_parse_name): Don't advance 'name' when
parsing inN, locN, outN. Set 'idx' to offset register number starts
at. Don't handle numbers with leading zeroes or beyond 95. Remove
pointless cast.

gas/testsuite/
2005-02-17  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/nostkreg.[ds]: New.
* gas/ia64/ia64.exp: Run new test.

19 years ago2005-02-16 Martin Hunt <hunt@redhat.com>
hunt [Thu, 17 Feb 2005 07:15:46 +0000 (07:15 +0000)]
2005-02-16  Martin Hunt  <hunt@redhat.com>

* generic/gdbtk-stack.c (get_frame_name): Replace
print_address_numeric with deprecated_print_address_numeric.
* generic/gdbtk-cmds.c (gdbtk_load_asm): Ditto.

19 years agoFix bogus entry.
kettenis [Thu, 17 Feb 2005 00:19:15 +0000 (00:19 +0000)]
Fix bogus entry.

19 years ago*** empty log message ***
gdbadmin [Thu, 17 Feb 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Wed, 16 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-16 Dave Brolley <brolley@redhat.com>
brolley [Wed, 16 Feb 2005 21:52:32 +0000 (21:52 +0000)]
2005-02-16  Dave Brolley  <brolley@redhat.com>

        * utils.scm: Update copyright years.
        * utils-gen.scm (gen-ifld-extract): Pass base-length to -gen-ifld-extrac
t-base.
        * sid.scm (gen-ifetch): Handle the case where bitsize == 24.

19 years ago2005-02-16 Dave Brolley <brolley@redhat.com>
brolley [Wed, 16 Feb 2005 21:19:34 +0000 (21:19 +0000)]
2005-02-16  Dave Brolley  <brolley@redhat.com>

        * cgen-ops.h (RUNCBIBI): New macro.
        (ADDOFQI): New function.
        (SUBOFQI): New function.

19 years ago2005-02-16 Eric Blake <ebb9@byu.net>
jjohnstn [Wed, 16 Feb 2005 21:15:37 +0000 (21:15 +0000)]
2005-02-16  Eric Blake  <ebb9@byu.net>

        * libc/time/time.tex: Improve the documentation.
        * libc/time/strftime.c: Improve the documentation.
        (iso_year_adjust): New helper function.
        (strftime): Simplify '%E' and '%O'. Change '%c' to use
        recursion. Fix '%C', '%y', and '%Y' to deal with years with more
        than 4 characters.  Combine '%d' and '%e'. Implement '%D', '%F',
        '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
        Avoid core dumps on valid inputs (maxsize == 0, or
        tim_p->tm_isdst > 1).

19 years ago2005-02-16 Dave Brolley <brolley@redhat.com>
brolley [Wed, 16 Feb 2005 19:45:35 +0000 (19:45 +0000)]
2005-02-16  Dave Brolley  <brolley@redhat.com>

        * operand.scm (-derived-operand-parse): Move logit message from level 1
        to level 2.

19 years ago2005-02-16 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 16 Feb 2005 17:20:56 +0000 (17:20 +0000)]
2005-02-16  Andrew Cagney  <cagney@gnu.org>

Merge setshow print and show parameters.
* command.h (show_value_ftype): Define.
(deprecated_show_value_hack): Declare.
(add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
(add_setshow_boolean_cmd, add_setshow_filename_cmd)
(add_setshow_string_cmd, add_setshow_uinteger_cmd)
(add_setshow_zinteger_cmd): Change type of show_func to
show_value_ftype.
* cli/cli-decode.h (struct cmd_list_element): Replace
fprint_setshow with show_value_func.
* cli/cli-decode.c (add_setshow_cmd_full): Update show_func
parameter.  Set show_value_func.  Do not set cmd_sfunc.
(add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
(add_setshow_boolean_cmd, add_setshow_filename_cmd)
(add_setshow_string_cmd, add_setshow_uinteger_cmd)
(add_setshow_zinteger_cmd): Update.
* complaints.c (complaints_show_value): Replace
fprint_setshow_complaints.
(_initialize_complaints): Update.
* mips-tdep.c (show_mask_address): Update.
* arm-tdep.c (show_fp_model): Update.
* cli/cli-setshow.c (do_setshow_command): Call show_value_func
instead of fprint_setshow.  Use deprecated_show_value_hack.
(deprecated_show_value_hack): New function.
* remote.c (add_packet_config_cmd, show_remote_cmd):
(show_remote_protocol_P_packet_cmd)
(show_remote_protocol_P_packet_cmd)
(show_remote_protocol_Z_access_wp_packet_cmd)
(show_remote_protocol_Z_hardware_bp_packet_cmd)
(show_remote_protocol_Z_packet_cmd)
(show_remote_protocol_Z_read_wp_packet_cmd)
(show_remote_protocol_Z_software_bp_packet_cmd)
(show_remote_protocol_Z_write_wp_packet_cmd)
(show_remote_protocol_binary_download_cmd)
(show_remote_protocol_p_packet_cmd)
(show_remote_protocol_qPart_auxv_packet_cmd)
(show_remote_protocol_qSymbol_packet_cmd)
(show_remote_protocol_vcont_packet_cmd): Update.

19 years ago * config/tc-mips.c (load_address): Fix formatting.
ths [Wed, 16 Feb 2005 15:49:12 +0000 (15:49 +0000)]
* config/tc-mips.c (load_address): Fix formatting.
(macro): Don't use AT if .set noat is in effect. Fix formatting.
Catch macros which are unexpandable without AT. Remove duplicate
zeroing of used_at.
(macro2): Remove duplicate zeroing of used_at.

19 years ago* wrapper.h: Update copyright year. Properly wrap a few
kettenis [Wed, 16 Feb 2005 13:21:47 +0000 (13:21 +0000)]
* wrapper.h: Update copyright year.  Properly wrap a few
prototypes.
(struct gdb_wrapper_arguments): Remove forward declaration.
* wrapper.c: Update copyright year.  Include "ui-out.h".
(struct gdb_wrapper_arguments): Remove.
(struct captured_value_struct_elt_args): Remove.
(wrapper_parse_exp_1, wrap_evaluate_expression)
(wrap_value_fetch_lazy, wrap_value_equal, wrap_value_assign)
(wrap_value_subscript, wrap_value_ind, wrap_parse_and_eval_type)
(do_captured_value_struct_elf): Remove functions.
(gdb_parse_exp_1, gdb_evaluate_expression, gdb_value_fetch_lazy)
(gdb_value_equal, gdb_value_assign, gdb_value_subscript)
(gdb_value_ind, gdb_parse_and_eval_type, gdb_value_struct_elt):
Re-implement using TRY_CATCH.

19 years ago* wrapper.h: Update copyright year. Properly wrap a few
kettenis [Wed, 16 Feb 2005 13:21:37 +0000 (13:21 +0000)]
* wrapper.h: Update copyright year.  Properly wrap a few
prototypes.
(struct gdb_wrapper_arguments): Remove forward declaration.
* wrapper.c: Update copyright year.  Include "ui-out.h".
(struct gdb_wrapper_arguments): Remove.
(struct captured_value_struct_elt_args): Remove.
(wrapper_parse_exp_1, wrap_evaluate_expression)
(wrap_value_fetch_lazy, wrap_value_equal, wrap_value_assign)
(wrap_value_subscript, wrap_value_ind, wrap_parse_and_eval_type)
(do_captured_value_struct_elf): Remove functions.
(gdb_parse_exp_1, gdb_evaluate_expression, gdb_value_fetch_lazy)
(gdb_value_equal, gdb_value_assign, gdb_value_subscript)
(gdb_value_ind, gdb_parse_and_eval_type, gdb_value_struct_elt):
Re-implement using TRY_CATCH.

19 years agoRemove prototype for localetime altogether. It should not be needed on modern
nickc [Wed, 16 Feb 2005 12:55:43 +0000 (12:55 +0000)]
Remove prototype for localetime altogether.  It should not be needed on modern
systems and older systems can live with the warning.

19 years ago * configure.in (AC_CHECK_FUNCS): Add glob.
mmitchel [Wed, 16 Feb 2005 07:49:20 +0000 (07:49 +0000)]
* configure.in (AC_CHECK_FUNCS): Add glob.
* configure: Regenerated.
* emultempl/elf32.em (<glob.h>): Do not include if HAVE_GLOB is
not defined.
(gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob
if HAVE_GLOB is not defined.

19 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define
kkojima [Wed, 16 Feb 2005 05:10:01 +0000 (05:10 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define
lib_path if NATIVE is yes.

19 years ago * gas/all/gas.exp (quad): Don't run on i960.
amodra [Wed, 16 Feb 2005 05:04:33 +0000 (05:04 +0000)]
* gas/all/gas.exp (quad): Don't run on i960.

19 years ago * dw2gencfi.c (output_cie, output_fde): Use DW_CFA_nop rather
amodra [Wed, 16 Feb 2005 05:04:09 +0000 (05:04 +0000)]
* dw2gencfi.c (output_cie, output_fde): Use DW_CFA_nop rather
than zero.

19 years ago * mach-o.c (bfd_mach_o_scan): Don't ignore return value of
amodra [Wed, 16 Feb 2005 04:45:21 +0000 (04:45 +0000)]
* mach-o.c (bfd_mach_o_scan): Don't ignore return value of
bfd_mach_o_scan_start_address.
* elfxx-ia64.c (elfNN_ia64_relax_brl): Rewrite for 32-bit bfd_vma.
* elfxx-mips.c: Remove unnecessary prototypes.
(sort_dynamic_relocs_64): Abort if not BFD64.

19 years ago* remote-e7000.c: unuse TM_FILE defined macro.
ysato [Wed, 16 Feb 2005 03:21:01 +0000 (03:21 +0000)]
* remote-e7000.c: unuse TM_FILE defined macro.
(e7000_fetch_registers)
(e7000_store_registers)
(e7000_wait): delete NUM_REALREGS.
* remote-hms.c: move TM_FILE macro.
(CCR_REGNO): move define from tm-h8300.h.

19 years ago * coff-arm.c (coff_arm_is_local_label_name): Warning fix.
amodra [Wed, 16 Feb 2005 02:38:53 +0000 (02:38 +0000)]
* coff-arm.c (coff_arm_is_local_label_name): Warning fix.
* elf32-frv.c (frvfdpic_relocs_info_hash): Likewise.
* pef.c (bfd_pef_scan): Don't ignore return value of
bfd_pef_scan_start_address.

19 years agobfd/
amodra [Wed, 16 Feb 2005 02:20:06 +0000 (02:20 +0000)]
bfd/
* elf64-ppc.c (ppc64_elf_edit_toc): Skip toc if size is zero.
Skip toc reloc adjust if reloc_count is zero.
ld/
* emultempl/ppc64elf.em (ppc_create_output_section_statements): Make
an error creating fake bfd fatal.
(ppc_before_allocation): Continue on after errors.
(gld${EMULATION_NAME}_finish): Likewise.

19 years ago* amd64-linux-tdep.c: Update copyright year.
kettenis [Wed, 16 Feb 2005 02:16:55 +0000 (02:16 +0000)]
* amd64-linux-tdep.c: Update copyright year.
(amd64_linux_sigtramp_start): Change argument to `struct
frame_info *'.  Use safe_frame_unwind_memory instead of
deprecated_read_memory_nobpt.
(amd64_linux_sigtramp_p): Adjust call to
amd64_linux_sigtramp_start.

19 years ago* path.h (path_conv::issocket): Return true if device == FH_UNIX rather than
cgf [Wed, 16 Feb 2005 00:24:36 +0000 (00:24 +0000)]
* path.h (path_conv::issocket): Return true if device == FH_UNIX rather than
expecting path_conv to set a flag.

19 years ago*** empty log message ***
gdbadmin [Wed, 16 Feb 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Tue, 15 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agobfd/:
macro [Tue, 15 Feb 2005 19:57:44 +0000 (19:57 +0000)]
bfd/:
2005-02-15  Nigel Stephens  <nigel@mips.com>
            Maciej W. Rozycki  <macro@mips.com>

* elf32-mips.c (elf_mips16_howto_table_rel): New array for MIPS16
reloc howtos.  Add R_MIPS16_HI16 and R_MIPS16_LO16 relocs and
R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders.
(elf_mips16_jump_howto): Move into elf_mips16_howto_table_rel.
(elf_mips16_gprel_howto): Likewise.  Redefine src_mask and
dst_mask.
(mips16_gprel_reloc): Remove bit shuffling; call
_bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp()
and _bfd_mips16_elf_reloc_shuffle() instead.
(mips16_reloc_map): New reloc map for MIPS16 relocs.
(bfd_elf32_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16
relocs.
(mips_elf32_rtype_to_howto): Fetch MIPS16 howtos from
elf_mips16_howto_table_rel.
* elf64-mips.c (mips16_elf64_howto_table_rel): New array for
MIPS16 REL reloc howtos.  Add R_MIPS16_HI16 and R_MIPS16_LO16
relocs and R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders.
(elf_mips16_jump_howto): Move into mips16_elf64_howto_table_rel.
(elf_mips16_gprel_howto): Likewise.  Redefine src_mask and
dst_mask.
(mips16_elf64_howto_table_rela): New array for MIPS16 RELA
reloc howtos.  Add R_MIPS16_26, R_MIPS16_GPREL, R_MIPS16_HI16 and
R_MIPS16_LO16 relocs and R_MIPS16_GOT16 and R_MIPS16_CALL16
placeholders.
(mips16_gprel_reloc): Remove bit shuffling; call
_bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp()
and _bfd_mips16_elf_reloc_shuffle() instead.
(mips16_reloc_map): New reloc map for MIPS16 relocs.
(bfd_elf64_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16
relocs.
(mips_elf64_rtype_to_howto): Fetch MIPS16 howtos from
mips16_elf64_howto_table_rela or mips16_elf64_howto_table_rel.
* elfn32-mips.c (elf_mips16_howto_table_rel): New array for MIPS16
REL reloc howtos.  Add R_MIPS16_HI16 and R_MIPS16_LO16 relocs and
R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders.
(elf_mips16_jump_howto): Move into elf_mips16_howto_table_rel.
(elf_mips16_gprel_howto): Likewise.  Redefine src_mask and
dst_mask.
(mips16_gprel_reloc): Remove bit shuffling; call
_bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp()
and _bfd_mips16_elf_reloc_shuffle() instead.
(mips16_reloc_map): New reloc map for MIPS16 relocs.
(bfd_elf32_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16
relocs.
(mips_elf_n32_rtype_to_howto): Fetch MIPS16 howtos from
elf_mips16_howto_table_rela or elf_mips16_howto_table_rel.
* elfxx-mips.c (_bfd_mips16_elf_reloc_unshuffle): New function to
handle bit shuffling for MIPS16 relocs.
(_bfd_mips16_elf_reloc_shuffle): Likewise.
(_bfd_mips_elf_lo16_reloc): Use _bfd_mips16_elf_reloc_unshuffle()
and _bfd_mips16_elf_reloc_shuffle().
(_bfd_mips_elf_generic_reloc): Likewise.
(mips_elf_calculate_relocation): Likewise.  Handle R_MIPS16_HI16
and R_MIPS16_LO16.
(mips_elf_obtain_contents): Remove bit shuffling.
(mips_elf_perform_relocation): Likewise; call
_bfd_mips16_elf_reloc_unshuffle() and _bfd_mips16_elf_reloc_shuffle()
instead.
(_bfd_mips_elf_relocate_section): Likewise.  Handle R_MIPS16_HI16
and R_MIPS16_LO16.
* elfxx-mips.h (_bfd_mips16_elf_reloc_unshuffle): Declare.
(_bfd_mips16_elf_reloc_shuffle): Likewise.
* reloc.c (BFD_RELOC_MIPS16_HI16): New reloc.
(BFD_RELOC_MIPS16_HI16_S): Likewise.
(BFD_RELOC_MIPS16_LO16): Likewise.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

gas/:
2005-02-15  Nigel Stephens  <nigel@mips.com>
            Maciej W. Rozycki  <macro@mips.com>

* config/tc-mips.c (reloc_needs_lo_p): Handle
BFD_RELOC_MIPS16_HI16_S.
(fixup_has_matching_lo_p): Handle BFD_RELOC_MIPS16_LO16.
(append_insn): Add BFD_RELOC_MIPS16_GPREL, BFD_RELOC_MIPS16_HI16_S
and BFD_RELOC_MIPS16_LO16 to relocs to suppress overflow
complaints on.
(mips16_ip): Resolve BFD_RELOC_MIPS16_HI16_S,
BFD_RELOC_MIPS16_HI16 and BFD_RELOC_MIPS16_LO16 for constants.
Call my_getSmallExpression() to parse percent operators.
(percent_op_match, mips_percent_op): Separate definitions.
(mips16_percent_op): Define percent operators for the MIPS16 mode.
(parse_relocation): Handle the MIPS16 mode using
mips16_percent_op.
(md_apply_fix3): Handle BFD_RELOC_MIPS16_HI16,
BFD_RELOC_MIPS16_HI16_S and BFD_RELOC_MIPS16_LO16.

gas/testsuite/:
2005-02-15  Nigel Stephens  <nigel@mips.com>
            Maciej W. Rozycki  <macro@mips.com>

* gas/mips/mips16-hilo.d: New test for the R_MIPS16_HI16 and
R_MIPS16_LO16 relocs.
* gas/mips/mips16-hilo-n32.d: Likewise, for the n32 ABI.
* gas/mips/mips16-hilo.s: Source for the new tests.
* gas/mips/mips.exp: Run the new tests.

include/:
2005-02-15  Nigel Stephens  <nigel@mips.com>
            Maciej W. Rozycki  <macro@mips.com>

* elf/mips.h (R_MIPS16_GOT16): New reloc code.
(R_MIPS16_CALL16): Likewise.
(R_MIPS16_HI16): Likewise.
(R_MIPS16_LO16): Likewise.
(R_MIPS16_min): New fake reloc code.
(R_MIPS16_max): Likewise.

ld/testsuite/:
2005-02-15  Nigel Stephens  <nigel@mips.com>
            Maciej W. Rozycki  <macro@mips.com>

* ld-mips-elf/mips16-hilo.d: New test for the R_MIPS16_HI16 and
R_MIPS16_LO16 relocs.
* ld-mips-elf/mips16-hilo-n32.d: Likewise, for the n32 ABI.
* ld-mips-elf/mips16-hilo.s: Auxiliary source for the new tests.
* ld-mips-elf/mips-elf.exp: Run the new tests.

19 years ago * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
brobecke [Tue, 15 Feb 2005 17:13:05 +0000 (17:13 +0000)]
    * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
        SYMBOL_NATURAL_NAME to set type names.

19 years ago2005-02-15 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 15 Feb 2005 15:49:07 +0000 (15:49 +0000)]
2005-02-15  Andrew Cagney  <cagney@gnu.org>

Mark up add_com, add_info and add_prefix_cmd.
* breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update.
* exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update.
* go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
* kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update.
* maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update.
* ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update.
* remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update.
* remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update.
* remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update.
* sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update.
* symfile.c, symtab.c, target.c, thread.c, top.c: Update.
* tracepoint.c, typeprint.c, utils.c, valprint.c: Update.
* win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
* cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update.
* tui/tui-stack.c, tui/tui-win.c: Update.

19 years ago2005-02-15 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 15 Feb 2005 15:48:57 +0000 (15:48 +0000)]
2005-02-15  Andrew Cagney  <cagney@gnu.org>

Mark up add_com, add_info and add_prefix_cmd.
* breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update.
* exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update.
* go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
* kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update.
* maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update.
* ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update.
* remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update.
* remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update.
* remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update.
* sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update.
* symfile.c, symtab.c, target.c, thread.c, top.c: Update.
* tracepoint.c, typeprint.c, utils.c, valprint.c: Update.
* win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
* cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update.
* tui/tui-stack.c, tui/tui-win.c: Update.

19 years ago * gdb.ada/packed_array/pa.adb: New file.
brobecke [Tue, 15 Feb 2005 15:35:26 +0000 (15:35 +0000)]
    * gdb.ada/packed_array/pa.adb: New file.
        * gdb.ada/packed_array.exp: New testcase.

19 years ago(YY_NO_UNPUT): Define so that the yy_unput function is not declared. It is not
nickc [Tue, 15 Feb 2005 14:36:17 +0000 (14:36 +0000)]
(YY_NO_UNPUT): Define so that the yy_unput function is not declared.  It is not
used and its presence causes a compile time warning.

19 years agoProvide a full prototype for the localtime() function in order to avoid a
nickc [Tue, 15 Feb 2005 14:31:13 +0000 (14:31 +0000)]
Provide a full prototype for the localtime() function in order to avoid a
compile time warning.

19 years agoFix compile time warning messages
nickc [Tue, 15 Feb 2005 12:52:00 +0000 (12:52 +0000)]
Fix compile time warning messages

19 years ago* guile.scm (cgen-call-with-debugging): Doc fix.
jimb [Tue, 15 Feb 2005 09:03:58 +0000 (09:03 +0000)]
* guile.scm (cgen-call-with-debugging): Doc fix.

19 years agoMake backtraces work more reliably.
jimb [Tue, 15 Feb 2005 09:01:49 +0000 (09:01 +0000)]
Make backtraces work more reliably.
* guile.scm: Set up debugging parameters, and enable debugging and
source positions while loading.
(cgen-call-with-debugging, cgen-debugging-stack-start): New
functions.
* read.scm: Don't set debugging parameters here.
(catch-with-backtrace): Function deleted.
(-cgen): Simply note the presence or absence of the -b option.
Pass the flag to cgen-call-with-debugging, so debugging is turned
off here if the user didn't request it, for faster computation.
(cgen): Call cgen-debugging-stack-start here, instead of
catch-with-backtrace.

* Makefile.am (GUILE): Explicitly load guile.scm here, and leave a
trailing -s.
(desc, html, opcodes, sim-arch, sim-cpu, gas-test, sim-test):
Don't write out the trailing -s here.
* Makefile.in: Regenerated.
* cgen-doc.scm, cgen-gas.scm, cgen-stest.scm): Don't load
fixup.scm here; let the caller decide which Scheme's customization
file to preload.
* dev.scm: Load guile.scm, not fixup.scm.
* fixup.scm: Deleted; contents have all moved to guile.scm.
* README: Doc fix.

* guile.scm (debug-write): New function.

19 years agoMake backtraces work more reliably.
jimb [Tue, 15 Feb 2005 09:01:32 +0000 (09:01 +0000)]
Make backtraces work more reliably.
* guile.scm: Set up debugging parameters, and enable debugging and
source positions while loading.
(cgen-call-with-debugging, cgen-debugging-stack-start): New
functions.
* read.scm: Don't set debugging parameters here.
(catch-with-backtrace): Function deleted.
(-cgen): Simply note the presence or absence of the -b option.
Pass the flag to cgen-call-with-debugging, so debugging is turned
off here if the user didn't request it, for faster computation.
(cgen): Call cgen-debugging-stack-start here, instead of
catch-with-backtrace.

* Makefile.am (GUILE): Explicitly load guile.scm here, and leave a
trailing -s.
(desc, html, opcodes, sim-arch, sim-cpu, gas-test, sim-test):
Don't write out the trailing -s here.
* Makefile.in: Regenerated.
* cgen-doc.scm, cgen-gas.scm, cgen-stest.scm): Don't load
fixup.scm here; let the caller decide which Scheme's customization
file to preload.
* dev.scm: Load guile.scm, not fixup.scm.
* fixup.scm: Deleted; contents have all moved to guile.scm.
* README: Doc fix.

* guile.scm (debug-write): New function.

19 years agogas/
jbeulich [Tue, 15 Feb 2005 08:11:10 +0000 (08:11 +0000)]
gas/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (md_apply_fix3): Call ia64_gen_real_reloc_type
instead of explicitly dealing with the translation; exclude
relocations that are already pcrel, however.

gas/testsuite/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/pcrel.[ds]: New.
* gas/ia64/ia64.exp: Run new test.

19 years agogas/
jbeulich [Tue, 15 Feb 2005 07:54:03 +0000 (07:54 +0000)]
gas/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c: Include limits.h (if available).
(gr_values[0]): Set path to INT_MAX.
(dot_reg_val): Don't allow changing value of r0. Limit range of
general registers at r127.
(specify_resource): Default resource index is -1. Don't set resource
index (in case IA64_RS_RSE) without setting the specific flag.
(note_register_values): Check operand is O_constant before tracking
input value of moves. Add tracking for dep.z with constant inputs.
(print_dependency): Resource index of specific resource may be zero.
(check_dependencies): Likewise.

gas/testsuite/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/dv-raw-err.l: Expect specific resource for RAW violation on b0.
* gas/ia64/regval.[ls]: New.
* gas/ia64/ia64.exp: Run new test.

19 years agogas/
jbeulich [Tue, 15 Feb 2005 07:50:21 +0000 (07:50 +0000)]
gas/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (parse_operands): New local variables reg1, reg2,
reg_class. Check operands and emit diagnostics for illegal use of
registers.

gas/testsuite/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/dv-raw-err.s: Don't use r0 or f0 as output operand.
* gas/ia64/dv-waw-err.s: Likewise.
* gas/ia64/reg-err.[ls]: New.
* gas/ia64/ia64.exp: Run new test.

19 years agobfd/
jbeulich [Tue, 15 Feb 2005 07:37:08 +0000 (07:37 +0000)]
bfd/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* elfxx-ia64.c (ia64_howto_table): Correct strings for
R_IA64_DTPMOD64[LM]SB.

gas/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (ia64_gen_real_reloc_type): Define and initialize
new variables type, suffix, and width. Handle
BFD_RELOC_IA64_DIR(32|64)[LM]SB in FUNC_LT_FPTR_RELATIVE case.
Handle BFD_RELOC_IA64_DIR64[LM]SB in FUNC_TP_RELATIVE case. Add
FUNC_DTP_MODULE case. Handle BFD_RELOC_IA64_DIR32[LM]SB in
FUNC_DTP_RELATIVE case. Return incoming relocation type if
BFD_RELOC_IA64_IPLT[LM]SB in FUNC_IPLT_RELOC case. Generate warning
if unable to translate relocation type, using the new variables.

gas/testsuite/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/reloc.[ds]: New.
* gas/ia64/reloc-bad.[ls]: New.
* gas/ia64/ia64.exp: Run new tests.

19 years agogas/
jbeulich [Tue, 15 Feb 2005 07:32:14 +0000 (07:32 +0000)]
gas/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.h (ia64_symbol_chars): Declare.
(ty_symbol_chars): Define.
* config/tc-ia64.c (ia64_symbol_chars): Define.

19 years agogas/
jbeulich [Tue, 15 Feb 2005 07:30:05 +0000 (07:30 +0000)]
gas/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (ia64_parse_name): Only update next character if
input_line_pointer was advanced.

gas/testsuite/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/operand-or.d: Pass -xnone to assembler.

19 years ago2005-02-14 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 15 Feb 2005 02:05:05 +0000 (02:05 +0000)]
2005-02-14  Andrew Cagney  <cagney@gnu.org>

* config/h8300/h8300.mt (DEPRECATED_TM_FILE): Delete.
* config/h8300/tm-h8300.h: Delete file.

19 years ago2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 15 Feb 2005 01:54:57 +0000 (01:54 +0000)]
2005-02-14  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relax_section): Allow relax
backward branch in the same section.
(elfNN_ia64_relocate_section): Inform users that the input
section is too big to relax br instruction when overflow
happens to R_IA64_PCREL21B, R_IA64_PCREL21BI, R_IA64_PCREL21M
and R_IA64_PCREL21F.

19 years ago*** empty log message ***
gdbadmin [Tue, 15 Feb 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * config/tc-sh.c (md_apply_fix3): Add parentheses around &
kkojima [Mon, 14 Feb 2005 23:58:12 +0000 (23:58 +0000)]
* config/tc-sh.c (md_apply_fix3): Add parentheses around &
within |.

19 years agodaily update
amodra [Mon, 14 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-14 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 14 Feb 2005 18:10:04 +0000 (18:10 +0000)]
2005-02-14  Andrew Cagney  <cagney@gnu.org>

Mark up add_cmd.
* arch-utils.c, avr-tdep.c, breakpoint.c, corefile.c: Update.
* cp-abi.c, cp-namespace.c, cp-support.c, dummy-frame.c: Update.
* exec.c, gnu-nat.c, go32-nat.c, hppa-tdep.c, infcmd.c: Update.
* infrun.c, interps.c, macrocmd.c, maint.c, memattr.c: Update.
* mips-tdep.c, ocd.c, osabi.c, printcmd.c, regcache.c: Update.
* reggroups.c, remote-fileio.c, remote-rdi.c, remote.c: Update.
* sol-thread.c, source.c, stack.c, symfile-mem.c: Update.
* symfile.c, thread.c, tracepoint.c, valprint.c, value.c: Update.
* win32-nat.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
* cli/cli-logging.c, tui/tui-regs.c: Update.

19 years ago* pmacros.scm (pmacros-init!): For .eval macros, use eval1 as the
jimb [Mon, 14 Feb 2005 17:48:25 +0000 (17:48 +0000)]
* pmacros.scm (pmacros-init!): For .eval macros, use eval1 as the
transformer procedure, not eval.  Transformer procedures take one
argument.

19 years ago2005-02-14 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 14 Feb 2005 16:18:31 +0000 (16:18 +0000)]
2005-02-14  Andrew Cagney  <cagney@gnu.org>

Mark up add_setshow functions, replace "PRINT:" comment prefix
with "FIXME: i18n:".
* aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
* cris-tdep.c, dwarf2read.c, frame.c, hppa-tdep.c: Update.
* infcall.c, m32r-rom.c, maint.c, mips-tdep.c: Update.
* nto-tdep.c, observer.c, remote-rdi.c, remote.c: Update.
* target.c, cli/cli-logging.c: Update.

19 years ago(elf_core_file_p): Move the call to elf_backend_object_p to allow the correct
nickc [Mon, 14 Feb 2005 16:17:02 +0000 (16:17 +0000)]
(elf_core_file_p): Move the call to elf_backend_object_p to allow the correct
machine to be set before processing the program headers.

19 years ago2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 14 Feb 2005 15:47:18 +0000 (15:47 +0000)]
2005-02-14  H.J. Lu  <hongjiu.lu@intel.com>

* dis-buf.c (perror_memory): Use sprintf_vma to print out
address.

19 years ago2005-02-14 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 14 Feb 2005 14:37:34 +0000 (14:37 +0000)]
2005-02-14  Andrew Cagney  <cagney@gnu.org>

* utils.c (paddress): New function.
* defs.h (paddress): Declare.
* printcmd.c (deprecated_print_address_numeric): Rename
print_address_numeric, call paddress.
* valprint.c, ui-out.c, tui/tui-stack.c, tracepoint.c: Update.
* symmisc.c, symfile.c stack.c, p-valprint.c, printcmd.c: Update.
* maint.c, m32r-rom.c, infcmd.c, f-valprint.c, exec.c: Update.
* dwarf2read.c, dve3900-rom.c, defs.h, c-valprint.c: Update.
* corefile.c, cli/cli-cmds.c, breakpoint.c, annotate.c: Update.
* ada-valprint.c: Update.

19 years agomerge from gcc
dj [Mon, 14 Feb 2005 12:10:25 +0000 (12:10 +0000)]
merge from gcc

19 years agooops - omitted form previous delta
nickc [Mon, 14 Feb 2005 11:40:18 +0000 (11:40 +0000)]
oops - omitted form previous delta

19 years agoPR binutils/716
nickc [Mon, 14 Feb 2005 11:20:37 +0000 (11:20 +0000)]
PR binutils/716
* peicode.h (pe_bfd_copy_private_bfd_data): Copy the large address aware flag
from the input bfd to the output bfd.