OSDN Git Service
jbeulich [Wed, 28 Sep 2005 14:44:18 +0000 (14:44 +0000)]
gas/
2005-09-28 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.h (x86_cons_fix_new): Declare unconditionally.
(TC_CONS_FIX_NEW): Define unconditionally.
(x86_pe_cons_fix_new): Remove.
* config/tc-i386.c (signed_cons): New.
(md_pseudo_table): Add slong.
(x86_cons_fix_new): Declare unconditionally.
(x86_pe_cons_fix_new): Merge into x86_cons_fix_new.
(tc_gen_reloc): Also consider BFD_RELOC_X86_64_32S for gotpc
conversion.
gas/testsuite/
2005-09-28 Jan Beulich <jbeulich@novell.com>
* gas/i386/reloc64.s: Also test .slong.
* gas/i386/reloc64.l: Adjust.
* gas/i386/reloc64.d: Adjust.
cgf [Wed, 28 Sep 2005 13:54:57 +0000 (13:54 +0000)]
* pinfo.cc (_pinfo::dup_proc_pipe): Ignore error if the child process has just
gone away.
amodra [Wed, 28 Sep 2005 12:31:40 +0000 (12:31 +0000)]
* app.c (do_scrub_chars <LEX_IS_SYMBOL_COMPONENT>): Check for full
buffer after copying string.
aoliva [Wed, 28 Sep 2005 05:00:07 +0000 (05:00 +0000)]
s/waek/weak/ in 2005-05-05's entry.
nickrob [Wed, 28 Sep 2005 02:55:41 +0000 (02:55 +0000)]
(TAGS): Put DEPFILES back and add as a dependency.
nickrob [Wed, 28 Sep 2005 02:54:45 +0000 (02:54 +0000)]
*** empty log message ***
cgf [Wed, 28 Sep 2005 02:43:28 +0000 (02:43 +0000)]
* init.cc (prime_threads): Make this static, as it should be.
(dll_entry): Apply cosmetic changes to define closer to the way MSDN suggests.
hjl [Wed, 28 Sep 2005 00:34:20 +0000 (00:34 +0000)]
2005-09-27 H.J. Lu <hongjiu.lu@intel.com>
* ld.texinfo (ALIGN): Document it as forcing output section
alignment.
* ldgram.y (ALIGN): Support it for forcing output section
alignment.
amodra [Wed, 28 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 28 Sep 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
bobbybrasko [Tue, 27 Sep 2005 22:38:54 +0000 (22:38 +0000)]
2005-09-27 Bob Rossi <bob@brasko.net>
* gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
from test. Escape the | in mi_gdb_test call.
* gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
expected regex's in mi_gdb_test calls.
* lib/mi-support.exp: Remove arbitrary .* from tests.
(mi_gdb_test): Add string_regex variable. Add anchor to main -re.
Fully anchor GDB/MI expected results in mi_gdb_test.
* lib/gdb.exp (string_to_regexp): Escape the ] character.
* gdb.base/sizeof.exp: Remove escape character. Correct test.
jjohnstn [Tue, 27 Sep 2005 20:49:53 +0000 (20:49 +0000)]
2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
* libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
handling GCC >= 4.
corinna [Tue, 27 Sep 2005 20:34:17 +0000 (20:34 +0000)]
* pthread.cc (mangle_sem_name): Use cygheap->shared_prefix instead
of fiddling with wincap.has_terminal_services manually.
corinna [Tue, 27 Sep 2005 19:04:35 +0000 (19:04 +0000)]
* cygheap.cc (cygheap_init): Add GLOBAL_PRIV to hProcToken explicitely
since hProcImpToken isn't initialized here.
* shared.cc (open_shared): Always print mapname instead of name in
debug output.
cgf [Tue, 27 Sep 2005 18:54:32 +0000 (18:54 +0000)]
* strace.cc (strace::vsprntf): Avoid printing a zero pid.
corinna [Tue, 27 Sep 2005 17:44:26 +0000 (17:44 +0000)]
* init.cc (dll_entry): Call IsWow64Process with GetCurrentProcess
as process handle since hMainProc isn't initialized here.
corinna [Tue, 27 Sep 2005 15:33:00 +0000 (15:33 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Always
try IOCTL_DISK_GET_DRIVE_GEOMETRY_EX and
IOCTL_DISK_GET_PARTITION_INFO_EX ioctls first, to allow access to GPT
partitioned disks. Fall back to old non-EX ioctls otherwise.
Add comment to explain NT4 weirdness.
mmitchel [Tue, 27 Sep 2005 15:21:12 +0000 (15:21 +0000)]
* argv.c (expandargv): Do not use xmalloc_failed.
pbrook [Tue, 27 Sep 2005 13:23:34 +0000 (13:23 +0000)]
2005-09-27 Paul Brook <paul@codesourcery.com>
* config/arm.c (arm_cpus): Add more cpu names.
* doc/c-arm.texi: Document them.
amodra [Tue, 27 Sep 2005 00:00:08 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 27 Sep 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
brobecke [Mon, 26 Sep 2005 22:31:16 +0000 (22:31 +0000)]
Remove change description for a file that is actually part of the testsuite/
subdirectory. The description is included in testsuite/ChangeLog.
brobecke [Mon, 26 Sep 2005 22:09:41 +0000 (22:09 +0000)]
Fix name of directory in one ChangeLog entry.
nickrob [Mon, 26 Sep 2005 21:45:37 +0000 (21:45 +0000)]
(HFILES_NO_SRCDIR): Remove minimon.h, symfile-mem.h.
(ALLDEPFILES) Correct typo amdfbsd-nat.c -> amd64fbsd-nat.c.
Remove irix4-nat.c, m3-nat.c, mipsm3-nat.c, ns32k-tdep.c
symm-tdep.c and symm-nat.c.
(TAGFILES_NO_SRCDIR): Add CONFIG_SRCS.
(DEPFILES): Remove CONFIG_OBS and include it explicitly where
needed.
nickrob [Mon, 26 Sep 2005 21:40:33 +0000 (21:40 +0000)]
*** empty log message ***
mmitchel [Mon, 26 Sep 2005 21:09:03 +0000 (21:09 +0000)]
* BRANCHES: Mention binutils-csl-gxxpro-3_4-branch.
mmitchel [Mon, 26 Sep 2005 21:02:57 +0000 (21:02 +0000)]
* libiberty.h (expandargv): New function.
* argv.c (safe-ctype.h): Include it.
(ISBLANK): Remove.
(stdio.h): Include.
(buildargv): Use ISSPACE instead of ISBLANK.
(expandargv): New function.
* Makefile.in: Regenerated.
corinna [Mon, 26 Sep 2005 15:27:12 +0000 (15:27 +0000)]
* errno.cc (errmap): Map ERROR_SEEK and ERROR_SECTOR_NOT_FOUND.
cgf [Mon, 26 Sep 2005 14:58:12 +0000 (14:58 +0000)]
* exceptions.cc (_cygtls::call_signal_handler): Minor cleanup.
corinna [Mon, 26 Sep 2005 14:55:37 +0000 (14:55 +0000)]
* fhandler.h (class fhandler_dev_raw): Add drive information members
drive_size, current_position and bytes_per_sector.
(fhandler_dev_floppy::get_drive_info): Declare.
* fhandler_floppy.cc (fhandler_dev_floppy::is_eom): Define ERROR_SEEK
and ERROR_SECTOR_NOT_FOUND as end-of-medium conditions.
(fhandler_dev_floppy::get_drive_info): New method to have one function
retrieving drive info.
(fhandler_dev_floppy::open): Call get_drive_info to get drive
information right from the start.
(fhandler_dev_floppy::lseek): Use and set drive information members.
Especially keep track of current_position.
(fhandler_dev_floppy::ioctl): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::write_file): Keep track of
current_position.
(fhandler_dev_raw::read_file): Ditto.
(fhandler_dev_raw::raw_read): Never try to read beyond end-of-medium.
(fhandler_dev_raw::dup): Handle new drive information members.
cgf [Mon, 26 Sep 2005 14:51:43 +0000 (14:51 +0000)]
* exceptions.cc (handle_exceptions): Just si_code to SI_KERNEL first and let it
be overridden.
* exceptions.cc (_cygtls::call_signal_handler): Call signal handler with extra
siginfo_t * and void * parameters when SA_SIGINFO flag is set.
* signal.cc (signal): Clear SA_SIGINFO flag.
(sigqueue): Fix incorrect setting of si_code.
* sigproc.cc (signal_fixup_after_exec): Clear SA_SIGINFO flag when setting
handler to SIG_DFL.
cgf [Mon, 26 Sep 2005 13:47:24 +0000 (13:47 +0000)]
* pinfo.cc (proc_waiter): Properly fill out si_code as according to SUSv3.
* exceptions.cc (handle_exceptions): Properly fill out si_code as according to
SUSv3.
cgf [Mon, 26 Sep 2005 13:23:42 +0000 (13:23 +0000)]
* exceptions.cc (handle_exceptions): Properly fill out si_code.
jbeulich [Mon, 26 Sep 2005 07:04:23 +0000 (07:04 +0000)]
gdb/
2005-09-26 Jan Beulich <jbeulich@novell.com>
* MAINTAINERS (Write After Approval): Add myself.
jbeulich [Mon, 26 Sep 2005 07:04:10 +0000 (07:04 +0000)]
gdb/
2005-09-26 Jan Beulich <jbeulich@novell.com>
* MAINTAINERS (Write After Approval): Add myself.
jbeulich [Mon, 26 Sep 2005 06:59:37 +0000 (06:59 +0000)]
gdb/
2005-09-26 Jan Beulich <jbeulich@novell.com>
* amd64-tdep.h (AMD64_FCTRL_REGNUM, AMD64_FSTAT_REGNUM,
AMD64_MXCSR_REGNUM): New.
* amd64-tdep.c (amd64_dwarf_regmap): Add eflags, selector regs,
mxcsr, fp control and status words.
* i386-tdep.c (): Add selector regs, mxcsr, fp control and status
words.
pbrook [Mon, 26 Sep 2005 02:17:23 +0000 (02:17 +0000)]
2005-09-26 Paul Brook <paul@codesourcery.com>
* arm-tdep.c (arm_type_align): New function.
(arm_push_dummy_call): Use it. Ensure proper argument alignment.
(arm_extract_struct_value_address): Remove.
(arm_use_struct_convention): Rename...
(arm_return_in_memory): ... To this. Return nonzero for all small
aggregates under the EABI.
(arm_return_value): New function.
(arm_gdbarch_init): Default for VFP float model for EABI binaries.
Use set_gdbarch_return_value instead of obsolete functions.
* testsuite/long_long.exp: Exclude eabi targets from arm FPA float
format test.
cgf [Mon, 26 Sep 2005 01:27:36 +0000 (01:27 +0000)]
* sigproc.cc (wait_sig): Cosmetic change.
* pinfo.cc (pinfo::exit): Don't explicitly remove myself since some other
thread may still be using it.
joshuadfranklin [Mon, 26 Sep 2005 00:29:51 +0000 (00:29 +0000)]
2005-09-25 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* faq.xml: Remove copyright section, link to license.html
* faq-sections.xml: Remove copyright section, link to license.html
* faq-programming.xml: Remove confusing reference to Red Hat.
* faq-what.xml: Reword "supported" FAQ.
amodra [Mon, 26 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 26 Sep 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
danglin [Sun, 25 Sep 2005 02:33:54 +0000 (02:33 +0000)]
* hppa.h (pa_opcodes): Add new "fdc" and "fic" opcode entries.
gdbadmin [Sun, 25 Sep 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 25 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update
cgf [Sat, 24 Sep 2005 19:17:47 +0000 (19:17 +0000)]
* sigproc.cc (sigproc_terminate): More reversion of always-exit-from-sigthread
change.
dannysmith [Sat, 24 Sep 2005 01:26:24 +0000 (01:26 +0000)]
* include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
Avoid raising FP exceptions.
gdbadmin [Sat, 24 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 24 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update
cgf [Fri, 23 Sep 2005 23:56:16 +0000 (23:56 +0000)]
* shared.cc (open_shared): Add crucial bit of debugging info.
cgf [Fri, 23 Sep 2005 23:37:51 +0000 (23:37 +0000)]
Semi-reversion of always-exit-from-sigthread change of 2005-09-15.
* exceptions.cc (sigpacket::process): Eliminate return after call to reinstated
noreturn function.
(signal_exit): Allow function to exit when a captive process has been
terminated.
* pinfo.cc (pinfo::exit): Enter exit_lock here. Once again exit here under
control of exit_lock.
* sigproc.cc (sig_send): Don't wait for completion if process is exiting.
Remove special __SIGEXIT accommodations.
(wait_sig): Just exit the thread when a __SIGEXIT has been detected. Don't
exit the process.
cgf [Fri, 23 Sep 2005 23:25:24 +0000 (23:25 +0000)]
* net.cc (cygwin_gethostbyname): Remove debugging cruft.
ironhead [Fri, 23 Sep 2005 22:41:23 +0000 (22:41 +0000)]
2005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/ddk/newdev.def: Added.
Thanks to: Stephan Meyer <ste_meyer at users dot sourceforge dot net>
cgf [Fri, 23 Sep 2005 20:05:47 +0000 (20:05 +0000)]
* pinfo.cc (pinfo::exit): Call ExitProcess if called from signal thread.
ironhead [Fri, 23 Sep 2005 19:59:32 +0000 (19:59 +0000)]
2005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/commdlg.h (OPENFILENAME): Added WINNT >= 0x0500
component.
Thanks to: Gennady Feldman <gena01 at users dot sourceforge dot net>
cgf [Fri, 23 Sep 2005 19:24:03 +0000 (19:24 +0000)]
* tlsoffsets.h: Regenerate.
cgf [Fri, 23 Sep 2005 19:23:24 +0000 (19:23 +0000)]
* pinfo.cc (pinfo::exit): Eliminate use of _my_tls.thread_handle.
tromey [Fri, 23 Sep 2005 17:28:30 +0000 (17:28 +0000)]
* enable.m4: New file.
* tls.m4: New file.
jjohnstn [Fri, 23 Sep 2005 15:51:10 +0000 (15:51 +0000)]
2005-09-23 James E Wilson <wilson@specifix.com>
* mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
mips/dve.ld, mips/idt.ld, mips/idt32.ld, mips/idt64.ld,
mips/idtecoff.ld, mips/jmr3904app-java.ld, mips/jmr3904app.ld,
jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, mips/nullmon.ld,
mips/pmon.ld: Change x* to x.* in existing linkonce lines. Add
support for .gnu.linkonce.b.*.
cgf [Fri, 23 Sep 2005 15:18:18 +0000 (15:18 +0000)]
* cygtls.h (struct _cygtls::thread_handle): Remove/revert.
* sigproc.h (struct sipacket::thread_handle): Put thread_handle here.
* sigproc.cc (sigproc_terminate): Move setting of thread_handle...
(sig_send): ...to here. Put it in packet being sent. Only close pack.wakeup
when we're waiting for completion.
(wait_sig): Use thread_handle directly from received packet.
ironhead [Fri, 23 Sep 2005 10:50:11 +0000 (10:50 +0000)]
2005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/shell32.def (SHILCreateFromPath): Add stub.
Thanks to: Michael Jung <mjung at iss dot tu-darmstadt dot de>
cgf [Fri, 23 Sep 2005 03:40:56 +0000 (03:40 +0000)]
* tlsoffsets.h: Regenerate.
cgf [Fri, 23 Sep 2005 03:35:41 +0000 (03:35 +0000)]
* cygheap.cc (cygheap_fixup_in_child): It's not just for exec.
* cygtls.h (struct _cygtls::thread_handle): New field.
* dcrt0.cc (exit_lock): Remove declaration.
* winsup.h (exit_lock): Add declaration.
* exceptions.cc (sigpacket::process): Properly return after signal_exit.
* pinfo.cc (pinfo::exit): Only exit the process if _my_tls.thread_handle has
not been filled out -- which should be an impossible event.
* sigproc.cc (sigproc_terminate): Fillout _my_tls.thread_handle to provide
something for wait_sig to wait for. Use the siginfo_t version of sig_send and
fill out the tls argument with _my_tls.
(wait_sig): Wait for the thread specified in pack.tls or (for now) complain
bitterly if it doesn't exit.
amodra [Fri, 23 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 23 Sep 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Thu, 22 Sep 2005 21:10:06 +0000 (21:10 +0000)]
* pinfo.cc (set_myself): Call strace.hello unconditionally when DEBUGGING.
(pinfo::init): Sleep and issue debugging output before looping when a
PID_EXITED is found.
wilson [Thu, 22 Sep 2005 19:50:24 +0000 (19:50 +0000)]
Fix addr2line -i problem; reports incorrect function nesting for inline funcs.
* dwarf2.c (struct funcinfo): Delete nesting_level field.
(lookup_address_in_function_table): Delete code to set funcinfo
caller_func field. Delete local curr_func.
(scan_unit_for_symbols): New locals nested_funcs, nested_funcs_size.
Delete code setting funcinfo nesting_level field. Add code to set
funcinfo caller_func field.
corinna [Thu, 22 Sep 2005 17:53:37 +0000 (17:53 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix copy/paste
bug.
cgf [Thu, 22 Sep 2005 17:06:46 +0000 (17:06 +0000)]
* strace.cc (strace::vsprntf): Avoid accessing myself->pid if !myself.
cgf [Thu, 22 Sep 2005 16:41:34 +0000 (16:41 +0000)]
* include/sys/strace.h (_STRACE_ON): Remove semicolon from definition.
(_STRACE_OFF): Remove semicolon from definition.
corinna [Thu, 22 Sep 2005 15:52:00 +0000 (15:52 +0000)]
* fhandler.h (fhandler_base::fstat_helper): Declare with additional
file attributes argument.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Use
file attributes evaluated from NtQueryFileInformation or
FileInformationByHandle in call to fstat_helper.
Set pc.fileattr from just evaluated file attributes here.
(fhandler_base::fstat_by_name): Use file attributes evaluated from
FindFileFirst or default attribute in call to fstat_helper.
Set pc.fileattr from just evaluated file attributes here.
(fhandler_base::fstat_helper): Use file attributes given as argument,
not file attributes stored in this fhandler, since this information
is potentially wrong. Add comment to explain this.
* path.h (has_attribute): New global inline function.
(path_conv::set_attributes): New method to change fileattr.
amodra [Thu, 22 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 22 Sep 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
corinna [Wed, 21 Sep 2005 22:27:38 +0000 (22:27 +0000)]
Fix typo.
corinna [Wed, 21 Sep 2005 22:26:08 +0000 (22:26 +0000)]
Align error message handling to mkpasswd's error messages throughout.
* mkgroup.c (print_win_error): Create macro calling ...
(_print_win_error): ... this function created from former
print_win_error. Move up in source.
(PDOMAIN_CONTROLLER_INFOW): Define return type of DcGetDcNameW.
(dsgetdcname): New function pointer for DcGetDcNameW.
(load_netapi): Get DcGetDcNameW address.
(main): If DcGetDcNameW is available, use it.
* mkpasswd.c (PDOMAIN_CONTROLLER_INFOW): Define return type of
DcGetDcNameW.
(dsgetdcname): New function pointer for DcGetDcNameW.
(load_netapi): Get DcGetDcNameW address.
(main): If DcGetDcNameW is available, use it. Rename local variable
domain_name_specified to domain_specified as in mkgroup.c.
kettenis [Wed, 21 Sep 2005 20:45:38 +0000 (20:45 +0000)]
* mips-tdep.c (n32n64_floatformat_always_valid): Use 'const void
*' for second argument instead of 'const char *'.
cgf [Wed, 21 Sep 2005 19:29:45 +0000 (19:29 +0000)]
* cygthread.cc (cygthread::operator new): Just use getenv() to look for
CYGWIN_FREERANGE_NOCHECK since the Windows environment may be truncated by
being previously execed.
ironhead [Wed, 21 Sep 2005 19:20:44 +0000 (19:20 +0000)]
2005-09-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (RegisterWaitForSingleObject,
RegisterWaitForSingleObjectEx): Define.
* lib/kernel32.def (RegisterWaitForSingleObjectEx@20): Define.
(RegisterWaitForSingleObject@16): Changed to
RegisterWaitForSingleObject@24.
Thanks to: Brandon Sneed <nivenh at users dot sourceforge dot net>
amodra [Wed, 21 Sep 2005 06:55:48 +0000 (06:55 +0000)]
* gas/lns/lns.exp (lns-common-1): Don't run on targets without
a bare nop insn.
amodra [Wed, 21 Sep 2005 00:12:17 +0000 (00:12 +0000)]
* read.c (pseudo_set): Don't set undefined symbols to expr_section.
amodra [Wed, 21 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 21 Sep 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
pgilliam [Tue, 20 Sep 2005 23:40:48 +0000 (23:40 +0000)]
2005-09-20 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.arch/altivec-abi.exp: Elide the 'in' from what's expected
after a 'finish' command.
jjohnstn [Tue, 20 Sep 2005 22:36:04 +0000 (22:36 +0000)]
2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/include/stdint.h: Update to match functionality
of generic newlib stdint.h.
jjohnstn [Tue, 20 Sep 2005 21:21:50 +0000 (21:21 +0000)]
2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
and do not #undef the macro after it is used. Fix typos.
Also change 64-bit constants to use the __have_long64 and
__have_longlong64 flags to determine if long or long long
constants should be used.
* libc/include/inttypes.h: Include stddef.h to get wchar_t
type defined.
rth [Tue, 20 Sep 2005 21:00:13 +0000 (21:00 +0000)]
* dwarf2dbg.c (process_entries): Fix uninitialized variable warning.
jjohnstn [Tue, 20 Sep 2005 19:33:58 +0000 (19:33 +0000)]
2005-09-20 Shaun Jackman <sjackman@gmail.com>
* libc/include/stdint.h: Fix typo in names of
LEAST macros.
jjohnstn [Tue, 20 Sep 2005 19:25:56 +0000 (19:25 +0000)]
2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/rtems/include/inttypes.h: Moved to...
* libc/include/inttypes.h: ...here.
cgf [Tue, 20 Sep 2005 18:32:22 +0000 (18:32 +0000)]
* spawn.cc (av::fixup): Just blindly run any file if it has a .bat or .cmd
extension.
rth [Tue, 20 Sep 2005 18:24:41 +0000 (18:24 +0000)]
* dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs
with label.
(dwarf2_loc_mark_labels): New.
(dwarf2_gen_line_info_1): Split out of ...
(dwarf2_gen_line_info): ... here. Create the temp symbol here.
(dwarf2_emit_label): New.
(dwarf2_directive_loc_mark_labels): New.
(out_set_addr): Take a symbol instead of frag+ofs.
(relax_inc_line_addr): Likewise.
(emit_inc_line_addr): Assert delta non-negative.
(process_entries): Remove dead code. Update to work with temp
symbols instead of frag+ofs.
* dwarf2dbg.h (dwarf2_directive_loc_mark_labels): Declare.
(dwarf2_emit_label, dwarf2_loc_mark_labels): Declare.
* config/obj-elf.c (elf_pseudo_tab): Add loc_mark_labels.
* config/obj-elf.h (obj_frob_label): New.
* config/tc-alpha.c (alpha_define_label): Call dwarf2_emit_label.
* config/tc-arm.c, config/tc-hppa.c, config/tc-m68k.c,
config/tc-mips.c, config/tc-ppc.c, config/tc-sh.c, config/tc-xtensa.c:
Similarly in the respective tc_frob_label implementation functions.
* config/tc-i386.c (md_pseudo_table): Move file and loc to
non-elf section; add loc_mark_labels.
* config/tc-ia64.c (struct label_fix): Add dw2_mark_labels.
(ia64_flush_insns): Check for marked labels; emit line entry if so.
(emit_one_bundle): Similarly.
(ia64_frob_label): Record marked labels.
* config/tc-m68hc11.h (tc_frob_label): Remove.
* config/tc-ms1.c (md_pseudo_table): Remove file and loc.
* config/tc-sh.h (tc_frob_label): Pass sym to sh_frob_label.
* config/tc-sh64.h (tc_frob_label): Likewise.
* doc/as.texinfo (LNS directives): Docuement .loc_mark_blocks.
wilson [Tue, 20 Sep 2005 18:13:31 +0000 (18:13 +0000)]
Add mangled names to addr2line -i output.
* dwarf2.c (find_abstract_instance_name): Don't early exit when name
set. For DW_AT_name case, only set name if not already set. Handle
DW_AT_MIPS_linkage_name.
rth [Tue, 20 Sep 2005 17:58:33 +0000 (17:58 +0000)]
* gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d,
gas/cris/rd-dw2-12.d, gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d,
gas/cris/rd-dw2-15.d, gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d,
gas/cris/rd-dw2-4.d, gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d,
gas/cris/rd-dw2-7.d, gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d,
gas/mips/mips16-dwarf2-n32.d, gas/mips/mips16-dwarf2.d: Add 0x
prefix in "Advance PC" lines.
rth [Tue, 20 Sep 2005 17:55:13 +0000 (17:55 +0000)]
* readelf.c (display_debug_lines): Use unsigned long for address
increments. Use 0x prefix for all hex numbers.
woodzltc [Tue, 20 Sep 2005 09:01:13 +0000 (09:01 +0000)]
* bfp-test.c: New file.
* bfp-test.exp: New testcase.
woodzltc [Tue, 20 Sep 2005 08:55:51 +0000 (08:55 +0000)]
* c-exp.y (parse-number): Modify the float parsing logic to let it
recognize a suffix.
woodzltc [Tue, 20 Sep 2005 06:37:02 +0000 (06:37 +0000)]
* gdb.fortran/subarray.exp: New testcase to test the evaluation
of subarray and substring variable.
* gdb.fortran/subarray.f: New source file for the test of subarray
and substring variable evaluation.
* gdb.fortran/exprs.exp: Add four tests for substring evaluation
of string constant.
woodzltc [Tue, 20 Sep 2005 06:31:51 +0000 (06:31 +0000)]
expression.h (enum exp_opcode): Fix a format error of a comment.
woodzltc [Tue, 20 Sep 2005 06:25:31 +0000 (06:25 +0000)]
* expression.h (enum exp_opcode): Add a new operator for F90
subrange.
* f-lang.h (enum f90_range_type): New enumeration type to identify
F90 subrange type.
* f-exp.y (yyparse): Add support for parsing F90 subrange and
change substring parsing to subrange parsing.
* parse.c (operator_length_standard): Set the operator length
and args number for OP_F90_RANGE.
* eval.c (evaluate_subexp_standard): Add code to evaluate F90
array section and substring.
(value_f90_subarray): New function to evaluate F90 array section.
(evaluate_subexp_standard): Delete label op_f77_substr and its code
because the logic is implemented by function value_f90_subarray now.
dje [Tue, 20 Sep 2005 03:13:02 +0000 (03:13 +0000)]
2005-09-19 David Edelsohn <edelsohn@gnu.org>
* configure.in (powerpc-*-aix*): Add target-libssp to noconfigdirs.
(rs6000-*-aix*): Same.
* configure: Regenerate.
2005-09-14 Francois-Xavier Coudert <coudert@clipper.ens.fr>
* configure.in: Recognize f95 in the --enable-languages option,
and substitute it for fortran, issuing a warning.
* configure: Regenerate.
amodra [Tue, 20 Sep 2005 03:06:12 +0000 (03:06 +0000)]
* read.c (pseudo_set): Set segment of expression syms to expr_section.
amodra [Tue, 20 Sep 2005 03:00:53 +0000 (03:00 +0000)]
* ldlang.h (lang_output_section_statement_struct): Change type of
"processed" to bfd_boolean.
* ldexp.c (fold_name): Update references to os->processed.
* ldlang.c (lang_output_section_statement_lookup_1): Likewise.
(lang_size_sections_1): Likewise.
(lang_reset_memory_regions): Likewise.