OSDN Git Service
schwab [Tue, 10 Apr 2007 08:47:52 +0000 (08:47 +0000)]
* solib-svr4.h (struct link_map_offsets): Remove l_addr_size,
l_ld_size, l_next_size, l_prev_size, l_name_size.
* solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address
to extract addresses from link map.
(LM_DYNAMIC_FROM_LINK_MAP): Likewise.
(LM_NEXT): Likewise.
(LM_NAME): Likewise.
(IGNORE_FIRST_LINK_MAP_ENTRY): Likewise.
(elf_locate_base): Likewise.
(open_symbol_file_object): Likewise.
(svr4_fetch_objfile_link_map): Likewise.
(SOLIB_EXTRACT_ADDRESS): Remove unused macro.
(HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of
l_ld_size.
(svr4_ilp32_fetch_link_map_offsets): Don't set removed members.
(svr4_lp64_fetch_link_map_offsets): Likewise.
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set
removed members. Set l_ld_offset to -1 if not present.
vprus [Tue, 10 Apr 2007 08:47:50 +0000 (08:47 +0000)]
Fix typo in the previous commit
vprus [Tue, 10 Apr 2007 08:01:13 +0000 (08:01 +0000)]
* NEWS: Mention disjoint histograms support in
gprof.
vprus [Tue, 10 Apr 2007 07:57:31 +0000 (07:57 +0000)]
* hist.h (struct histogram)
(histograms, num_histograms): New.
* hist.c (find_histogram, find_histogram_for_pc)
(read_histogram_header): New.
(s_lowpc, s_highpc, lowpc, highpc, hist_num_bins)
(hist_sample): Remove.
(hist_read_rec): Use the above, and handle multiple
histogram records with disjoint address ranges.
(hist_write_hist): Support several histogram records.
(scale_and_align_entries): Adjust for multiple histograms.
(hist_assign_samples_1): New.
(hist_assign_samples): Use the above.
(hist_clip_symbol_address): New.
* hist.h (hist_check_address)
(hist_clip_symbol_address): Declare.
* gmon_io.c (gmon_out_read, gmon_out_write): Adjust handling
of legacy format for multiple histogram changes.
* corefile.c (find_call): Check for core_text_space and
clip symbol address range here.
* vax.c (vax_find_call): Don't check for
core_text_space, or clip the symbol's address range here.
Use hist_check_address to check call's target address.
* sparc.c: Likewise.
* tahoe.c: Likewise.
* i386.c: Likewise.
* mips.c: Likewise. Also use core_text_sect->vma as the base
address for code accesses, just like other machine-specific
routines do.
* gprof.texi: Adjust for the new logic.
gdbadmin [Tue, 10 Apr 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 10 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update
kevinb [Mon, 9 Apr 2007 22:39:03 +0000 (22:39 +0000)]
Update NUM_REGS for FRV. Mark FRV's PSR as read-only.
kazu [Mon, 9 Apr 2007 17:09:56 +0000 (17:09 +0000)]
* m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
info->print_address_func if longjmp is called.
jjohnstn [Mon, 9 Apr 2007 16:03:26 +0000 (16:03 +0000)]
2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
* libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
even if the passed in length n is shorter than the source string.
This matches both the non-spu specific and the glibc strxfrm
behaviour.
drow [Mon, 9 Apr 2007 15:36:41 +0000 (15:36 +0000)]
* src-release (do-proto-toplev): Process the support directories before
the tool directory.
* Makefile.am (bfdver.h): Do not generate doc/bfdver.texi.
* doc/Makefile.am (DOCFILES): Add bfdver.texi.
(bfdver.texi): New rule.
* Makefile.in, doc/Makefile.in: Regenerated.
drow [Mon, 9 Apr 2007 14:36:59 +0000 (14:36 +0000)]
* dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
DW_TAG_inlined_subroutine.
gdbadmin [Mon, 9 Apr 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 9 Apr 2007 00:00:04 +0000 (00:00 +0000)]
daily update
vprus [Sun, 8 Apr 2007 15:20:04 +0000 (15:20 +0000)]
Pass stderr of program run with "target remote |"
via gdb_stderr.
* serial.c (serial_open): Set error_fd to -1.
* serial.h (struct serial): New field error_fd.
(struct serial_opts): New field avail.
* ser-pipe.c (pipe_open): Create another pair
of sockets. Pass stderr to gdb.
* ser-mingw.c (pipe_windows_open): Pass
PEX_STDERR_TO_PIPE to pex_run. Initialize
sd->error_fd.
(pipe_avail): New.
(_initialize_ser_windows): Hook pipe_avail.
* ser-base.c (generic_readchar): Check if there's
anything in stderr channel and route that to gdb_stderr.
gdbadmin [Sun, 8 Apr 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 8 Apr 2007 00:00:05 +0000 (00:00 +0000)]
daily update
ironhead [Sat, 7 Apr 2007 10:16:52 +0000 (10:16 +0000)]
2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* Makefile.in: Removed mansuffix variable. Changed mansection to support
Cygwin man page location.
gdbadmin [Sat, 7 Apr 2007 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 7 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update
matt [Fri, 6 Apr 2007 16:36:48 +0000 (16:36 +0000)]
2007-04-06 Matt Thomas <matt@netbsd.org>
* config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp)
to emit pcrel relocations by DWARF2 in non-code sections. Borrowed
heavily from tc-sparc.c. (vax_cons_fix_new): Likewise.
matt [Fri, 6 Apr 2007 16:29:31 +0000 (16:29 +0000)]
2007-04-03 Matt Thomas <matt@netbsd.org>
* elf32-vax.c (elf_vax_relocate_section): Do not emit a PCREL reloc
in a shared object if it is not in a CODE section or if it is against
a section symbol. This allows DWARF2 to use pcrel format.
matt [Fri, 6 Apr 2007 16:08:06 +0000 (16:08 +0000)]
2007-04-06 Matt Thomas <matt@netbsd.org>
* MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
corinna [Fri, 6 Apr 2007 08:25:27 +0000 (08:25 +0000)]
* include/stdint.h (WINT_MIN): Fix sign.
brobecke [Fri, 6 Apr 2007 06:01:54 +0000 (06:01 +0000)]
* filename_cmp.c (filename_cmp): Improve documentation.
amodra [Fri, 6 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 6 Apr 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
ironhead [Thu, 5 Apr 2007 20:44:29 +0000 (20:44 +0000)]
2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* Makefile.in: Added mansection and mansuffix variables. Changed mandir
to support Cygwin man page location.
kazu [Thu, 5 Apr 2007 16:53:16 +0000 (16:53 +0000)]
* testsuite/lib/flags.exp (newlib_include_flags): Drop
-I${newlib_dir}.
kazu [Thu, 5 Apr 2007 16:47:38 +0000 (16:47 +0000)]
* libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
functions registering additional atexit functions.
hjl [Thu, 5 Apr 2007 16:16:27 +0000 (16:16 +0000)]
bfd/
2007-04-05 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4304
* elflink.c (bfd_elf_final_link): Call einfo callback in
bfd_link_info instead of _bfd_error_handler for DT_TEXTREL
warning.
ld/testsuite/
2007-04-05 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4304
* ld-i386/i386.exp: Run "warn1".
* ld-i386/warn1.d: New file.
* ld-i386/warn1.s: Likewise.
hjl [Thu, 5 Apr 2007 13:47:02 +0000 (13:47 +0000)]
2007-04-05 H.J. Lu <hongjiu.lu@intel.com>
* ld-i386/combreloc.d: Remove #target: i?86-*-*.
* ld-i386/reloc.d: Likewise.
amodra [Thu, 5 Apr 2007 07:01:51 +0000 (07:01 +0000)]
bfd/
* elf32-spu.c (spu_elf_output_symbol_hook): New function.
(elf_backend_link_output_symbol_hook): Define.
ld/testsuite/
* ld-spu/ovl2.d: Update.
amodra [Thu, 5 Apr 2007 06:36:35 +0000 (06:36 +0000)]
PR binutils/4292
* nm.c (print_value): Cast bfd_vma to unsigned long to suit
value_format_32bit.
echristo [Thu, 5 Apr 2007 05:55:51 +0000 (05:55 +0000)]
2007-04-04 Eric Christopher <echristo@apple.com>
Move from gcc:
2007-04-04 Zack Weinberg <zack@mrtock.ucsd.edu>
* texi2pod.pl: Correct handling of @itemize with no argument.
2007-02-16 Matthias Klose <doko@debian.org>
* texi2pod.pl: Handle @subsubsection, ignore @anchor.
2007-02-06 Richard Sandiford <richard@codesourcery.com>
* texi2pod.pl: Handle @multitable.
amodra [Thu, 5 Apr 2007 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 5 Apr 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
kazu [Wed, 4 Apr 2007 22:10:33 +0000 (22:10 +0000)]
* config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a.
jjohnstn [Wed, 4 Apr 2007 21:03:13 +0000 (21:03 +0000)]
2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
* libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
prototype.
* libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
* libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
* libc/machine/spu/fclose.c: Ditto.
* libc/machine/spu/feof.c: Ditto.
* libc/machine/spu/ferror.c: Ditto.
* libc/machine/spu/fflush.c: Ditto.
* libc/machine/spu/fgetc.c: Ditto.
* libc/machine/spu/fgetpos.c: Ditto.
* libc/machine/spu/fgets.c: Ditto.
* libc/machine/spu/fileno.c: Ditto.
* libc/machine/spu/fopen.c: Ditto.
* libc/machine/spu/fprintf.c: Ditto.
* libc/machine/spu/fputc.c: Ditto.
* libc/machine/spu/fputs.c: Ditto.
* libc/machine/spu/fread.c: Ditto.
* libc/machine/spu/freopen.c: Ditto.
* libc/machine/spu/fscanf.c: Ditto.
* libc/machine/spu/fseek.c: Ditto.
* libc/machine/spu/fsetpos.c: Ditto.
* libc/machine/spu/ftell.c: Ditto.
* libc/machine/spu/fwrite.c: Ditto.
* libc/machine/spu/getc.c: Ditto.
* libc/machine/spu/getchar.c: Ditto.
* libc/machine/spu/gets.c: Ditto.
* libc/machine/spu/perror.c: Ditto.
* libc/machine/spu/printf.c: Ditto.
* libc/machine/spu/putc.c: Ditto.
* libc/machine/spu/putchar.c: Ditto.
* libc/machine/spu/puts.c: Ditto.
* libc/machine/spu/remove.c: Ditto.
* libc/machine/spu/rename.c: Ditto.
* libc/machine/spu/rewind.c: Ditto.
* libc/machine/spu/scanf.c: Ditto.
* libc/machine/spu/setbuf.c: Ditto.
* libc/machine/spu/setvbuf.c: Ditto.
* libc/machine/spu/snprintf.c: Ditto.
* libc/machine/spu/sprintf.c: Ditto.
* libc/machine/spu/sscanf.c: Ditto.
* libc/machine/spu/tmpfile.c: Ditto.
* libc/machine/spu/tmpnam.c: Ditto.
* libc/machine/spu/ungetc.c: Ditto.
* libc/machine/spu/vfprintf.c: Ditto.
* libc/machine/spu/vfscanf.c: Ditto.
* libc/machine/spu/vprintf.c: Ditto.
* libc/machine/spu/vscanf.c: Ditto.
* libc/machine/spu/vsnprintf.c: Ditto.
* libc/machine/spu/vsprintf.c: Ditto.
* libc/machine/spu/vsscanf.c: Ditto.
jjohnstn [Wed, 4 Apr 2007 20:59:38 +0000 (20:59 +0000)]
2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
* spu/syscalls.c: Rename _send_to_ppe __send_to_ppe, and set errno
on return from the offload call.
* spu/jsre.h: Include sys/syscall.h for the send_to_ppe prototype.
* spu/access.c: Call __send_to_ppe instead of _send_to_ppe, and
remove the setting of errno.
* spu/close.c: Ditto.
* spu/dup.c: Ditto.
* spu/fstat.c: Ditto.
* spu/ftruncate.c: Ditto.
* spu/gettimeofday.c: Ditto.
* spu/lseek.c: Ditto.
* spu/open.c: Ditto.
* spu/read.c: Ditto.
* spu/stat.c: Ditto.
* spu/unlink.c: Ditto.
* spu/write.c: Ditto.
jjohnstn [Wed, 4 Apr 2007 20:49:07 +0000 (20:49 +0000)]
2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
pbrook [Wed, 4 Apr 2007 19:21:23 +0000 (19:21 +0000)]
2007-04-04 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (do_neon_ext): Enforce immediate range.
(insns): Use I15 for vext.
gas/testsute/
* gas/arm/neon-cov.s: Add new vext test.
* gas/arm/neon-cov.d: Ditto.
jjohnstn [Wed, 4 Apr 2007 18:32:48 +0000 (18:32 +0000)]
2007-04-04 Eric Blake <ebb9@byu.net>
* libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
(asiprintf): Avoid overhead.
* libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
(asprintf): Avoid overhead.
* libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
* libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
* libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
(fiprintf): Avoid overhead.
* libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
(fprintf): Avoid overhead.
* libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
(iprintf): Avoid overhead.
* libc/stdio/printf.c (_printf_r): Use _DEFUN.
(printf): Avoid overhead.
* libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
* libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
* libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
* libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
* libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
* libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
* libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
* libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
* libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
vdiprintf.c.
* libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
(_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
pbrook [Wed, 4 Apr 2007 18:02:39 +0000 (18:02 +0000)]
2007-04-04 Paul Brook <paul@codesourcery.com>
ld/
* configure.tgt: Loosen checks for arm uclinux eabi targets.
gas/
* configure.tgt: Loosen checks for arm uclinux eabi targets.
corinna [Wed, 4 Apr 2007 07:37:53 +0000 (07:37 +0000)]
* include/stdint.h (WINT_MIN, WINT_MAX): Fix definition.
amodra [Wed, 4 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 4 Apr 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
palves [Tue, 3 Apr 2007 00:09:53 +0000 (00:09 +0000)]
* dbxread.c (read_ofile_symtab): Move current_objfile
clearing to after end_stabs.
amodra [Tue, 3 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 3 Apr 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
bwilson [Mon, 2 Apr 2007 20:05:47 +0000 (20:05 +0000)]
* config/tc-xtensa.c (xtensa_flush_pending_output): Check
outputting_stabs_line_debug.
denisc [Mon, 2 Apr 2007 18:42:36 +0000 (18:42 +0000)]
* config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82,
at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p
devices.
* doc/c-avr.texi: Document new devices.
bwilson [Mon, 2 Apr 2007 17:31:40 +0000 (17:31 +0000)]
* gdb.texinfo: Consistently capitalize all significant words in
node names, chapter titles, section titles, and headings. Update
cross references to match.
(Starting and Stopping Trace Experiment): Make node name plural.
(Breakpoint related warnings): Hyphenate "Breakpoint-related".
nickc [Mon, 2 Apr 2007 16:51:13 +0000 (16:51 +0000)]
PR binutils/4292
* bfd.c (bfd_fprintf_vma): Do not print addresses of 32-bit
targets as 64-bit values, even if running on a 64-bit host.
* coffgen.c (coff_print_symbol): Likewise.
* nm.c (value_format): Replace with value_format_32bit and
value_format_64bit.
(set_radix): Update setting of value_format.
(set_print_width): New function. Compute the address size of a
given bfd and set the print_width global appropriately.
(display_archive): Use set_print_width.
(display_file): Likewise,
(print_object_filename_sysv): Update use of print_width.
(print_archive_member_sysv): Likewise.
(print_symbol_filename_posix): Likewise.
(print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
hjl [Mon, 2 Apr 2007 16:32:03 +0000 (16:32 +0000)]
ld/
2007-04-02 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4090
* ldexp.h (node_type): Add lineno.
* ldexp.c: Include "ldlex.h".
(exp_intop): Set the lineno field from lineno.
(exp_bigintop): Likewise.
(exp_relop): Likewise.
(exp_nameop): Likewise.
(exp_binop): Set the lineno field from lineno of lhs.
(exp_trinop): Likewise.
(exp_unop): Set the lineno field from lineno of child.
(exp_assop): Set the lineno field from lineno of src.
(exp_provide): Likewise.
(exp_assert): Set the lineno field from lineno of exp.
(exp_get_abs_int): Set lineno from lineno of nonconstant
expression when report problem.
ld/testsuite/
2007-04-02 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4090
* ld-elf/expr1.d: New file.
* ld-elf/expr1.s: Likewise.
* ld-elf/expr1.t: Likewise.
rsandifo [Mon, 2 Apr 2007 14:25:26 +0000 (14:25 +0000)]
gas/
* doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options.
* doc/c-mips.texi (-KPIC, -mvxworks-pic): Document.
* config/tc-mips.c (md_show_usage): Mention -mvxworks-pic.
schwab [Mon, 2 Apr 2007 11:20:52 +0000 (11:20 +0000)]
* filename_cmp.c: Include "config.h".
amodra [Mon, 2 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 2 Apr 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
schwab [Sun, 1 Apr 2007 18:24:58 +0000 (18:24 +0000)]
* rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter
gdbarch instead of current_gdbarch.
vprus [Sun, 1 Apr 2007 15:44:54 +0000 (15:44 +0000)]
* varobj.c (varobj_create): Keep varobj value
NULL when evaluating the type.
vprus [Sun, 1 Apr 2007 15:27:26 +0000 (15:27 +0000)]
* gdb.mi/mi-var-child.c
(do_children_tests): User char[2] instead of
char so that automatic printing of pointers to char
don't give unpredicable result.
* gdb.mi/var-cmd.c (do_locals_test): Initialize
local variables.
* gdb.mi/mi-var-child.exp: Step to right line
of do_children_tests.
* gdb.mi/mi2-var-child.exp: Likewise.
* gdb.mi/mi-var-cmd.exp: Step to right line of
do_locals_tests.
(do_children_tests): User char[2] instead of
char so that automatic printing of pointers to char
don't give unpredicable result.
* gdb.mi/mi2-var-cmd.exp: Likewise.
* lib/mi-support.exp (mi_continue_to_line):
Pass test name to mi_wait_for_stop.
ironhead [Sun, 1 Apr 2007 12:44:03 +0000 (12:44 +0000)]
2007-03-30 Brian Dessent <brian@dessent.net>
* lib/kernel32.def (CreateMemoryResourceNotification@4): Define.
amodra [Sun, 1 Apr 2007 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 1 Apr 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
cpg [Sat, 31 Mar 2007 22:28:06 +0000 (22:28 +0000)]
* gas/z8k/calr.d: Fix for 64bit bfd.
* gas/z8k/djnz.d: Likewise.
* gas/z8k/inout.d: Likewise.
* gas/z8k/jmp-cc.d: Likewise.
* gas/z8k/jr-back.d: Likewise.
* gas/z8k/jr-forw.d: Likewise.
* gas/z8k/reglabel.d: Likewise.
* gas/z8k/ctrl-names.d: Fix name. Fix for 64bit bfd.
* gas/z8k/ret-cc.d: Likewise.
palves [Sat, 31 Mar 2007 10:42:21 +0000 (10:42 +0000)]
* NEWS: Mention new Windows CE support.
amodra [Sat, 31 Mar 2007 03:22:38 +0000 (03:22 +0000)]
* gas/i386/nops-3.s: Don't use .align.
bwilson [Sat, 31 Mar 2007 00:09:33 +0000 (00:09 +0000)]
* config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument.
Do not check is_loop_target flag.
(xtensa_frob_label): Adjust calls to xtensa_move_labels.
(xg_assemble_vliw_tokens): Likewise. Also avoid calling
xtensa_move_labels for alignment of loop opcodes.
cgf [Sat, 31 Mar 2007 00:03:24 +0000 (00:03 +0000)]
* utils/cygpath.cc (get_long_path_name_w32impl): Close handles returned by
FindFirstFile.
gdbadmin [Sat, 31 Mar 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 31 Mar 2007 00:00:06 +0000 (00:00 +0000)]
daily update
palves [Fri, 30 Mar 2007 22:50:30 +0000 (22:50 +0000)]
gdb/
* configure.tgt: Move mips*-*-pe and sh*-*-pe to
the obsoletion stanza.
* NEWS: Mention deleted targets.
* config/sh/tm-wince.h: Remove.
* config/sh/wince.mt: Remove.
* config/mips/tm-wince.h: Remove.
* config/mips/wince.mt: Remove.
* wince.c: Remove.
* wince-stub.c: Remove.
* wince-stub.h: Remove.
* Makefile.in (wince.o): Remove rule.
(wince-stub.o): Likewise.
* mips-tdep.c (mips_next_pc): Make static.
* mips-tdep.h (mips_next_pc): Remove declaration.
* arm-tdep.c (arm_pc_is_thumb): Make static.
(thumb_get_next_pc): Likewise.
(arm_get_next_pc): Likewise.
* arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration.
(arm_pc_is_thumb): Likewise.
(thumb_get_next_pc): Likewise.
(arm_get_next_pc): Likewise.
gdb/doc/
* gdb.texinfo (WinCE): Delete obsolete subsection.
palves [Fri, 30 Mar 2007 20:28:24 +0000 (20:28 +0000)]
* win32-low.c: Commit leftover changes from 2007-03-29.
drow [Fri, 30 Mar 2007 17:21:44 +0000 (17:21 +0000)]
* MAINTAINERS: Remove d10v entry.
* Makefile.in (SFILES): Remove dwarfread.c.
(COMMON_OBS): Remove dwarfread.o.
(gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o)
(remote-est.o, rom68k-rom.o): Delete.
* NEWS: Mention removal of d10v, target abug, target cpu32bug,
target est, target rom68k, and DWARF 1.
* configure.tgt: Mark d10v as removed.
* dwarf2read.c: Doc update.
* elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset,
and lnsize.
(elf_locate_sections): Do not set them.
(elf_symfile_read): Do not call dwarf_build_psymtabs.
* symfile.h (dwarf_build_psymtabs): Delete prototype.
* config/m68k/monitor.mt (TDEPFILES): Prune.
* abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c,
remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete.
* gdb.texinfo (M68K): Remove obsolete ROM monitors.
* gdbint.texinfo (DWARF 1): Delete section and other dwarfread.c
references.
* gdb.asm/asm-source.exp: Remove d10v case.
* lib/gdb.exp (skip_cplus_tests): Likewise.
* gdb.asm/d10v.inc: Deleted.
drow [Fri, 30 Mar 2007 17:13:02 +0000 (17:13 +0000)]
* i387-fp.c (struct i387_fsave, struct i387_fxsave): Make 16-bit
fields short instead of int. Add explicit padding.
(i387_cache_to_fsave): Remove unnecessary casts.
(i387_fsave_to_cache): Doc fix.
(i387_cache_to_fxsave): Remove unnecessary casts and masking.
hjl [Fri, 30 Mar 2007 16:28:31 +0000 (16:28 +0000)]
2007-03-30 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (process_suffix): Reindent a bit.
drow [Fri, 30 Mar 2007 15:29:46 +0000 (15:29 +0000)]
* i387-fp.c (i387_cache_to_fxsave): Reinitialize val2 before use.
(i387_fxsave_to_cache): Check fp->ftag while building ftag value.
pbrook [Fri, 30 Mar 2007 14:51:24 +0000 (14:51 +0000)]
2007-03-30 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (encode_thumb2_ldmstm): New function.
(do_t_ldmstm): Generate 16-bit push/pop. Use encode_thumb2_ldmstm.
(do_t_push_pop): Use encode_thumb2_ldmstm.
gas/testsuite/
* gas/arm/thumb2_ldmstm.d: New test.
* gas/arm/thumb2_ldmstm.s: New test.
drow [Fri, 30 Mar 2007 14:31:44 +0000 (14:31 +0000)]
* doublest.c (convert_floatformat_to_doublest): Use
floatformat_classify.
(floatformat_is_nan): Rename to...
(floatformat_classify): ...this. Return more information.
* doublest.h (enum float_kind): New.
(floatformat_is_nan): Replace prototype...
(floatformat_classify): ...with this one.
* valprint.c (print_floating): Use floatformat_classify. Handle
infinity.
* gdb.base/infnan.c, gdb.base/infnan.exp: New files.
cgf [Fri, 30 Mar 2007 13:36:05 +0000 (13:36 +0000)]
* cygwin/external.cc (cygwin_internal): Implement CW_SET_DOS_FILE_WARNING.
* cygwin/include/sys/cygwin.h: Define CW_SET_DOS_FILE_WARNING.
* utils/mount.cc (main): Turn dos file warnings off since we know what we're
doing.
drow [Fri, 30 Mar 2007 12:58:13 +0000 (12:58 +0000)]
* README: Mention ISO C library requirement.
drow [Fri, 30 Mar 2007 12:57:41 +0000 (12:57 +0000)]
* Makefile.in (SFILES): Remove nlmread.c.
(COMMON_OBS): Remove nlmread.o.
(nlmread.o): Delete rule.
* README: Delete reference to remote-st.c.
* acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete.
* defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and
GDB_OSABI_LYNXOS.
* i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete.
(_initialize_i386_tdep): Do not reference them.
* nlmread.c: Delete file.
* osabi.c (gdb_osabi_names): Remove NetWare and LynxOS.
* target.c: Doc update.
* thread.c: Delete commented include.
* config/alpha/tm-alpha.h: Doc update.
* gdb.texinfo (Startup): Delete references to some alternate
names for .gdbinit.
(Thread): Remove LynxOS reference.
(Tandem ST2000): Delete target-specific documentation.
* gdbint.texinfo (Symbol Handling): Remove mention of NLM.
(Target Architecture Definition): Remove mention of GDB_OSABI_NETWARE
and GDB_OSABI_LYNXOS.
* config/netware.exp: Delete file.
macro [Fri, 30 Mar 2007 09:31:30 +0000 (09:31 +0000)]
* utils.c (string_to_core_addr): Comment typo.
macro [Fri, 30 Mar 2007 09:16:50 +0000 (09:16 +0000)]
* mips-tdep.c: Comment typo.
uweigand [Fri, 30 Mar 2007 01:18:16 +0000 (01:18 +0000)]
gdb/ChangeLog:
* config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove.
* config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
* config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
* config/powerpc/nm-ppc64-linux.h: Remove file.
* config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h.
* inferior.h (PTRACE_ARG3_TYPE): Do not define.
(call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3.
* infptrace.c (call_ptrace): Likewise.
* m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define.
(fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3
and PTRACE_XFER_TYPE by PTRACE_TYPE_RET.
(store_register): Likewise.
gdb/doc/ChangeLog:
* gdbint.texi (Native Conditionals): Remove PTRACE_ARG3_TYPE.
davek [Fri, 30 Mar 2007 00:49:56 +0000 (00:49 +0000)]
2007-03-30 Dave Korn <dave.korn@artimi.com>
* libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
conflicting inline semantics between C99 and GNU89.
(__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
compatible with -fkeep-inline-functions usage.
(__sputc_r): Likewise for consistency even though disabled.
brobecke [Fri, 30 Mar 2007 00:46:49 +0000 (00:46 +0000)]
* Makefile.in (varobj.o): Add missing dependency.
brobecke [Fri, 30 Mar 2007 00:09:31 +0000 (00:09 +0000)]
Fix the entry date of a couple of entries.
gdbadmin [Fri, 30 Mar 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 30 Mar 2007 00:00:09 +0000 (00:00 +0000)]
daily update
dj [Thu, 29 Mar 2007 23:56:38 +0000 (23:56 +0000)]
* m32c.cpu (Imm-8-s4n): Fix print hook.
(Lab-24-8, Lab-32-8, Lab-40-8): Fix.
(arith-jnz-imm4-dst-defn): Make relaxable.
(arith-jnz16-imm4-dst-defn): Fix encodings.
* m32c-desc.c: Regenerate.
* m32c-dis.c: Regenerate.
* m32c-opc.c: Regenerate.
* config/tc-m32c.c (rl_for, relaxable): Protect argument.
(md_relax_table): Add entries for ADJNZ macros.
(M32C_Macros): Add ADJNZ macros.
(subtype_mappings): Add entries for ADJNZ macros.
(insn_to_subtype): Check for adjnz and sbjnz insns.
(md_estimate_size_before_relax): Pass insn to insn_to_subtype.
(md_convert_frag): Convert adjnz and sbjnz.
msnyder [Thu, 29 Mar 2007 22:40:11 +0000 (22:40 +0000)]
2007-03-29 Michael Snyder <msnyder@access-company.com>
* MAINTAINERS: Update my email address.
brobecke [Thu, 29 Mar 2007 21:57:01 +0000 (21:57 +0000)]
Add support for exception handling with multiple versions of
the Ada runtime:
* ada-lang.c: Update general comments on how Ada exception catchpoints
are implemented.
(raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name)
(__gnat_raise_nodefer_with_msg): Delete.
(ada_unhandled_exception_name_addr_ftype): New type.
(exception_support_info): New type.
(ada_unhandled_exception_name_addr): Add forward declaration.
(ada_unhandled_exception_name_addr_from_raise): Likewise.
(default_exception_support_info): New constant.
(exception_support_info_fallback): Likewise.
(exception_info): New global variable.
(ada_exception_support_info_sniffer): New function.
(ada_executable_changed_observer): Likewise.
(ada_unhandled_exception_name_addr_from_raise): Renamed from
ada_unhandled_exception_name_addr.
(ada_unhandled_exception_name_addr): Reimplement to match the
latest Ada runtime implementation.
(error_breakpoint_runtime_sym_not_found): Delete.
(ada_exception_sym_name): Get the exception sym name from
exception_info rather than hardcoding it.
(ada_exception_sal): Add call to ada_exception_support_info_sniffer.
Update error handling.
* Makefile.in (ada-lang.o): Add dependency on observer.h.
dj [Thu, 29 Mar 2007 21:03:43 +0000 (21:03 +0000)]
merge from gcc
drow [Thu, 29 Mar 2007 19:58:27 +0000 (19:58 +0000)]
* Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o)
(remote-st.o, uw-thread.o): Delete.
(HFILES_NO_SRCDIR, ALLDEPFILES): Update.
* configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*,
i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*,
i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*,
i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and
rs6000-*-lynxos* to an obsoletion stanza.
* configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*,
i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*,
and rs6000-*-lynxos* to an obsoletion stanza. Do not mention
i[34567]86-*-netware*.
* NEWS: Mention deleted targets.
* coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c,
uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh,
config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh,
config/i386/i386v4.mh, config/i386/i386v42mp.mh,
config/i386/ncr3000.mh, config/i386/ncr3000.mt,
config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h,
config/i386/nm-i386sco5.h, config/i386/nm-i386v.h,
config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h,
config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt,
config/m68k/tm-cisco.h, config/m68k/tm-os68k.h,
config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt,
config/rs6000/tm-rs6000ly.h: Delete files.
brobecke [Thu, 29 Mar 2007 19:03:56 +0000 (19:03 +0000)]
* gdb.dwarf2/dw2-noloc.S: New file.
* gdb.dwarf2/dw2-noloc.exp: New file.
drow [Thu, 29 Mar 2007 18:55:00 +0000 (18:55 +0000)]
* defs.h (deprecated_registers_changed_hook): Delete declaration.
* interps.c (clear_interpreter_hooks): Do not clear
deprecated_registers_changed_hook.
* regcache.c (registers_changed): Do not call it.
* top.c (deprecated_registers_changed_hook): Do not define it.
* mi/mi-interp.c (mi_command_loop): Do not clear it.
* tui/tui-hooks.c (tui_install_hooks): Do not install it.
(tui_remove_hooks): Do not remove it.
(tui_selected_frame_level_changed_hook): Check for negative level.
Use get_selected_frame.
(tui_registers_changed_hook): Deleted.
brobecke [Thu, 29 Mar 2007 18:33:58 +0000 (18:33 +0000)]
* stabsread.c (add_undefined_type): Add extra parameter.
Now handles nameless types separately.
(struct nat): New type.
(noname_undefs, noname_undefs_allocated, noname_undefs_length):
New static variables.
(read_type): Update calls to add_undefined_type.
(add_undefined_type_noname): New function.
(add_undefined_type_1): Renames from add_undefined_type.
(cleanup_undefined_types_noname): New function.
(cleanup_undefined_types_1): Renames cleanup_undefined_types.
(cleanup_undefined_types): New handles nameless types separately.
(_initialize_stabsread): Initialize our new static constants.
rsandifo [Thu, 29 Mar 2007 17:16:05 +0000 (17:16 +0000)]
ld/
200x-xx-xx Richard Sandiford <richard@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
* NEWS: Mention -l:foo.
* ld.texinfo: Document it.
* ldlang.c (new_afile): If a lang_input_file_is_l_enum
entry as a name beginning with a coloh, convert it to a
lang_input_file_is_search_file_enum entry without the colon.
ld/testsuite/
* ld-libs/lib-1.s, ld-libs/lib-2.s, ld-libs/lib-2.d,
* ld-libs/libs.exp: New files.
corinna [Thu, 29 Mar 2007 16:37:33 +0000 (16:37 +0000)]
* cygheap.cc (cygheap_init): Fix formatting. Remove comment. Set
shared_prefix depending only on terminal service capability.
* dcrt0.cc (dll_crt0_1): Don't call set_cygwin_privileges here.
* fhandler_fifo.cc (fhandler_fifo::open): Create the mutex as global
object.
* posix_ipc.cc (ipc_mutex_init): Use cygheap->shared_prefix.
(ipc_cond_init): Ditto.
* sec_helper.cc (privilege_name): Make static. Use LookupPrivilegeName
directly to be independent of the state of cygheap.
(set_privilege): Take a LUID as parameter instead of an index value.
Only print debug output in case of failure.
(set_cygwin_privileges): Add comment. Use LookupPrivilegeValue to
get privilege LUIDs.
(init_global_security): Call set_cygwin_privileges here.
* security.h (privilege_name): Drop declaration.
(set_privilege): Declare according to above change.
(set_process_privilege): Call privilege_luid to get LUID.
(_push_thread_privilege): Ditto.
* shared.cc (open_shared): Add comment. On systems supporting the
SeCreateGlobalPrivilege, try to create/open global shared memory first.
Fall back to local shared memory if that fails.
* thread.cc (semaphore::semaphore): Use cygheap->shared_prefix.
* wincap.h (wincapc::has_create_global_privilege): New element.
* wincap.cc: Implement above element throughout.