]>
git.ipfire.org Git - thirdparty/valgrind.git/log
Julian Seward [Sun, 24 Jul 2005 06:30:37 +0000 (06:30 +0000)]
Enable sys_poll.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4235
Julian Seward [Sat, 23 Jul 2005 23:22:24 +0000 (23:22 +0000)]
Remove dead #undef.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4234
Julian Seward [Sat, 23 Jul 2005 17:45:15 +0000 (17:45 +0000)]
Replace a bunch of useless memory-to-memory copies with some highly
predictable branches.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4233
Julian Seward [Sat, 23 Jul 2005 17:14:03 +0000 (17:14 +0000)]
When canonicalising CFI information, truncate overlapping address
ranges and remove zero-length entries. If these appear it's because
the generating compiler has created invalid CFI info. Nevertheless we
should handle this robustly. This fixes a bug reported by Bill
Hoover.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4232
Julian Seward [Sat, 23 Jul 2005 11:36:03 +0000 (11:36 +0000)]
Fix comment.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4231
Julian Seward [Sat, 23 Jul 2005 09:52:21 +0000 (09:52 +0000)]
Change the criteria by which translations are discarded in the presence of
redirections. Patch from Tom Hughes. This fixes #109401.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4230
Julian Seward [Sat, 23 Jul 2005 09:22:46 +0000 (09:22 +0000)]
Change some int uses to Int (the house types).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4229
Julian Seward [Sat, 23 Jul 2005 09:18:34 +0000 (09:18 +0000)]
A commit which is almost all trivial change.
- m_main: if --log-file-qualifier applies, do not add ".pid"
at the end of the name
- Fix the logic which detected whether the just-devised name
already existed. This was broken (by me) because it could not
distinguish the reasons for failing to open the logfile.
Doing this required changing the return type of VG_(open)
from Int to SysRes (to make failure reasons visible) and
that's the cause of most of the changes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4228
Tom Hughes [Fri, 22 Jul 2005 15:04:14 +0000 (15:04 +0000)]
Yet more system calls.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4227
Nicholas Nethercote [Fri, 22 Jul 2005 13:03:20 +0000 (13:03 +0000)]
Remove bogus legacy declarations, from the time when the AMD64
version of VALGRIND_MAGIC_SEQUENCE printed a message and exited.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4226
Nicholas Nethercote [Thu, 21 Jul 2005 23:26:25 +0000 (23:26 +0000)]
Re-institute SegInfo reference counting and deallocation.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4225
Nicholas Nethercote [Thu, 21 Jul 2005 21:26:07 +0000 (21:26 +0000)]
Improve script to compare the current code with that from 24 hours ago,
and print the diff if they aren't the same.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4224
Tom Hughes [Thu, 21 Jul 2005 20:23:26 +0000 (20:23 +0000)]
Enable rt_sigpending on amd64. Fixes bug #109429.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4223
Tom Hughes [Thu, 21 Jul 2005 15:25:04 +0000 (15:25 +0000)]
Add some more intercept rules for ld.so on amd64.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4222
Tom Hughes [Thu, 21 Jul 2005 11:49:24 +0000 (11:49 +0000)]
Allow negative sizes for structure members in stabs. Fixed bug #109385.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4221
Tom Hughes [Wed, 20 Jul 2005 17:48:18 +0000 (17:48 +0000)]
Handle a 'd' stab that indicates a file in pascal. Fixes bug #89914.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4220
Tom Hughes [Wed, 20 Jul 2005 16:05:28 +0000 (16:05 +0000)]
Make VG_(kill_self) use kill to send the signal, not tkill, as we are
sending it to the whole process not a single thread.
This routine is only used when we absolutely want to terminate
valgrind and as things stand it fails if called from anything other
than the initial thread as it winds up sending the signal to the main
thread only and that typically doesn't even exist any more so we
fall through and panic.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4219
Tom Hughes [Wed, 20 Jul 2005 13:56:22 +0000 (13:56 +0000)]
Handle stabs builtin type -30 (wide characters, 16 bit unsigned).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4218
Tom Hughes [Wed, 20 Jul 2005 13:49:55 +0000 (13:49 +0000)]
Document different argument order for clone on amd64.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4217
Tom Hughes [Wed, 20 Jul 2005 13:45:43 +0000 (13:45 +0000)]
Bring the vki_sigevent_t definition into line with current kernels.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4216
Nicholas Nethercote [Wed, 20 Jul 2005 13:18:23 +0000 (13:18 +0000)]
Move config.h inclusion from pub_tool_basics.h to pub_core_basics.h so it's
not seen by external tools. This was requested by Josef W.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4215
Tom Hughes [Wed, 20 Jul 2005 09:32:35 +0000 (09:32 +0000)]
The timeout argument to rt_sigtimedwait is in the third argument not
the fourth, plus linux allows it to be null.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4214
Tom Hughes [Wed, 20 Jul 2005 09:24:04 +0000 (09:24 +0000)]
More system call fixups.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4213
Tom Hughes [Wed, 20 Jul 2005 08:46:50 +0000 (08:46 +0000)]
Yet more amd64 system calls.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4212
Tom Hughes [Wed, 20 Jul 2005 08:46:37 +0000 (08:46 +0000)]
Update ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4211
Nicholas Nethercote [Wed, 20 Jul 2005 04:32:44 +0000 (04:32 +0000)]
Add a CPUID case, thanks to Josef W.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4210
Nicholas Nethercote [Wed, 20 Jul 2005 04:20:44 +0000 (04:20 +0000)]
Change textwidth, and also add a note about the shortcomings when
running 32 bit processes on 64 bit machines.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4209
Nicholas Nethercote [Wed, 20 Jul 2005 04:12:41 +0000 (04:12 +0000)]
This commit reduces the overhead of each heap allocation done by
Valgrind's allocator, by overlapping the redzones (used when blocks
are in-use) with the prev/next ptrs (used when they are free).
This reduces the overhead for a heap block allocated by the core from
32B to 16B on 32 bit machines, and from 48B to 32B on 64 bit machines.
The only conceivable downside of this is that on 64 bit machines, if
the client frees a block and then writes past the start/end of it,
it will corrupt the metadata after only 8 bytes of overwriting, rather than
16 bytes. Memcheck will have squealed to kingdom come by this time anyway.
(This won't happen on 32 bit machines because the overhead hasn't changed
for client blocks as allocated by Memcheck on 32 bit machines.)
I also tweaked the access functions.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4208
Nicholas Nethercote [Wed, 20 Jul 2005 03:03:44 +0000 (03:03 +0000)]
Fix broken tests.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4207
Nicholas Nethercote [Wed, 20 Jul 2005 03:03:28 +0000 (03:03 +0000)]
Recategorise some options in the usage message.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4206
Nicholas Nethercote [Wed, 20 Jul 2005 02:41:31 +0000 (02:41 +0000)]
Reinstate stack trace printing on assertion failures. It's terrible
for the module dependency graph, but it's very useful.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4205
Nicholas Nethercote [Tue, 19 Jul 2005 23:46:08 +0000 (23:46 +0000)]
Make a first cut at the 3.0.0 release notes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4204
Julian Seward [Tue, 19 Jul 2005 23:12:11 +0000 (23:12 +0000)]
The devil's in the details ..
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4203
Tom Hughes [Tue, 19 Jul 2005 23:01:56 +0000 (23:01 +0000)]
Fix mistaken comments.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4202
Tom Hughes [Tue, 19 Jul 2005 22:59:47 +0000 (22:59 +0000)]
Pass clone arguments in the correct order when doing a fork style
clone. This should fix bug #109358.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4201
Tom Hughes [Tue, 19 Jul 2005 22:48:04 +0000 (22:48 +0000)]
Enable sched_yield on amd64. Fixes bug #109362.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4200
Tom Hughes [Tue, 19 Jul 2005 22:44:33 +0000 (22:44 +0000)]
Return success when get_thread_area succeeds.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4199
Tom Hughes [Tue, 19 Jul 2005 22:39:41 +0000 (22:39 +0000)]
Add a makefile for the new documentation directory to avoid errors
when make tries to recurse into it.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4198
Tom Hughes [Tue, 19 Jul 2005 22:35:58 +0000 (22:35 +0000)]
Support ARCH_GET_FS with arch_prctl on amd64.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4197
Nicholas Nethercote [Tue, 19 Jul 2005 21:46:19 +0000 (21:46 +0000)]
We have a nice little collection of text files describing various high
level things. But they're all over the place. This commits moves
them all to the new docs/internals/ directory, and gives them
a consistent naming scheme.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4196
Nicholas Nethercote [Tue, 19 Jul 2005 21:11:54 +0000 (21:11 +0000)]
Get Addrcheck closer to compiling. It's still a long way from working,
though.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4195
Nicholas Nethercote [Tue, 19 Jul 2005 20:54:08 +0000 (20:54 +0000)]
wibble
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4194
Tom Hughes [Tue, 19 Jul 2005 18:19:48 +0000 (18:19 +0000)]
Make attaching a debugger work on amd64.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4193
Tom Hughes [Tue, 19 Jul 2005 17:59:24 +0000 (17:59 +0000)]
Update ignore lists.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4192
Tom Hughes [Tue, 19 Jul 2005 16:05:49 +0000 (16:05 +0000)]
Enable some more system calls on amd64.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4191
Tom Hughes [Tue, 19 Jul 2005 15:28:31 +0000 (15:28 +0000)]
Fix compiler warning.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4190
Tom Hughes [Tue, 19 Jul 2005 15:26:33 +0000 (15:26 +0000)]
Enable setuid and setgid on amd64.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4189
Julian Seward [Tue, 19 Jul 2005 15:00:25 +0000 (15:00 +0000)]
Use %t rather than %s in some places for constructing XML output.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4188
Julian Seward [Tue, 19 Jul 2005 14:59:41 +0000 (14:59 +0000)]
Oops; forgot to update spec
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4187
Julian Seward [Tue, 19 Jul 2005 14:18:56 +0000 (14:18 +0000)]
New command line option: --xml-user-comment=XMLTEXT, which allows
copying of arbitrary bits of XML text to the XML output.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4186
Julian Seward [Tue, 19 Jul 2005 14:17:37 +0000 (14:17 +0000)]
New printf format specifier %t, which is like %s but escapes
XML-unfriendly chars and thereby helps in the construction of valid
XML output.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4185
Tom Hughes [Tue, 19 Jul 2005 13:04:04 +0000 (13:04 +0000)]
Fix the mmap2 pre-handler to avoid corrupting the arguments when
it fails with ENOMEM due to a lack of memory.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4184
Julian Seward [Tue, 19 Jul 2005 12:39:11 +0000 (12:39 +0000)]
Show Valgrind's args too in the XML output.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4183
Julian Seward [Tue, 19 Jul 2005 12:17:51 +0000 (12:17 +0000)]
Add time stamps to XML START/FINISH indications.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4182
Julian Seward [Tue, 19 Jul 2005 12:17:05 +0000 (12:17 +0000)]
Move the code for generating a human-readable time string into its own
function.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4181
Julian Seward [Tue, 19 Jul 2005 11:25:02 +0000 (11:25 +0000)]
New command line option: --log-file-qualifier=VAR. When specified,
the contents of environment variable VAR (viz, $VAR) are incorporated
into logfile names. This makes it easy to incorporate environmental
information into logfile names.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4180
Tom Hughes [Tue, 19 Jul 2005 07:37:51 +0000 (07:37 +0000)]
Add some assertions.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4179
Tom Hughes [Tue, 19 Jul 2005 07:21:06 +0000 (07:21 +0000)]
Enable the rt_sigqueueinfo syscall on amd64.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4178
Nicholas Nethercote [Tue, 19 Jul 2005 03:38:09 +0000 (03:38 +0000)]
wibble
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4177
Nicholas Nethercote [Tue, 19 Jul 2005 03:30:31 +0000 (03:30 +0000)]
Added a file containing Josef's explanation of Calltree's function
entry/exit tracking.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4176
Nicholas Nethercote [Tue, 19 Jul 2005 01:22:26 +0000 (01:22 +0000)]
Remove unneeded #ifdef.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4175
Nicholas Nethercote [Tue, 19 Jul 2005 00:48:55 +0000 (00:48 +0000)]
Add note about justified pedantry of overlap checking.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4174
Nicholas Nethercote [Tue, 19 Jul 2005 00:40:16 +0000 (00:40 +0000)]
wibbles
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4173
Nicholas Nethercote [Tue, 19 Jul 2005 00:36:23 +0000 (00:36 +0000)]
Remove valgrind.vs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4172
Dirk Mueller [Mon, 18 Jul 2005 23:56:46 +0000 (23:56 +0000)]
allow to be build in a buildroot
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4171
Dirk Mueller [Mon, 18 Jul 2005 23:52:10 +0000 (23:52 +0000)]
remove the version script, doesn't work for executables
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4170
Tom Hughes [Mon, 18 Jul 2005 23:23:03 +0000 (23:23 +0000)]
Fix crash when no environment is given to execve.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4169
Tom Hughes [Mon, 18 Jul 2005 23:18:10 +0000 (23:18 +0000)]
Check members of the stack_t structure passed to sigaltstack
individually to avoid problems with padding on 64 bit platforms.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4168
Tom Hughes [Mon, 18 Jul 2005 22:45:55 +0000 (22:45 +0000)]
Check each member of the ifconf structure passed to SIOCGIFCONF
individually to avoid problems with padding bytes on 64 bit platforms.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4167
Tom Hughes [Mon, 18 Jul 2005 22:41:33 +0000 (22:41 +0000)]
Check each field of the msghdr structure passed to sendmsg/recvmsg
individually to avoid complaints due to uninitialised padding bytes
on 64 bit platforms.
Also fixed sendmsg to check things which should be initialised (the
msghdr structure and the iov array) properly instead of doing a write
check for everything.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4166
Tom Hughes [Mon, 18 Jul 2005 17:53:07 +0000 (17:53 +0000)]
Update svn:ignore lists.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4165
Tom Hughes [Mon, 18 Jul 2005 15:52:30 +0000 (15:52 +0000)]
If the client program is a PIE executable, avoid mapping it at
address zero. Instead do something like what the kernel does and
map it in the middle of the client address space.
Fix for bug #106283 based on patch from Sergey Vlasov.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4164
Nicholas Nethercote [Mon, 18 Jul 2005 14:10:12 +0000 (14:10 +0000)]
add comment
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4163
Tom Hughes [Mon, 18 Jul 2005 14:02:11 +0000 (14:02 +0000)]
Take a copy of the environment given to execve before trying to mangle
it as it might be in read only memory. Fixes bug #101881.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4162
Tom Hughes [Mon, 18 Jul 2005 13:26:55 +0000 (13:26 +0000)]
Handle the BLKGETSIZE64 ioctl. Fixes bug #104797.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4161
Tom Hughes [Mon, 18 Jul 2005 12:02:45 +0000 (12:02 +0000)]
Preserve %esi across VG_(clone) as the caller may be relying on it
not being changed. Fix to bug #106713.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4160
Julian Seward [Mon, 18 Jul 2005 11:41:15 +0000 (11:41 +0000)]
Track API changes in vex r1272.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4159
Tom Hughes [Mon, 18 Jul 2005 11:03:35 +0000 (11:03 +0000)]
Allow a NULL argument to the times system call. Fixes bug #103509.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4158
Tom Hughes [Mon, 18 Jul 2005 09:41:57 +0000 (09:41 +0000)]
Fixed debug code so that it compiles and fixed a printf to report the
start and end as (apparently) intended.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4157
Tom Hughes [Mon, 18 Jul 2005 09:40:29 +0000 (09:40 +0000)]
Consider blocks with both SF_MMAP and SF_STACK set as part of the root
memory set as any additional stack space allocated by valgrind will
have both flags set. This fixes bug #106293.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4156
Nicholas Nethercote [Sun, 17 Jul 2005 23:12:33 +0000 (23:12 +0000)]
tweak
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4155
Nicholas Nethercote [Sun, 17 Jul 2005 18:12:00 +0000 (18:12 +0000)]
Introduced get_pszB() to cover several common cases.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4154
Nicholas Nethercote [Sun, 17 Jul 2005 18:00:57 +0000 (18:00 +0000)]
tweaks
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4153
Nicholas Nethercote [Sun, 17 Jul 2005 17:55:42 +0000 (17:55 +0000)]
Introduce get_bszB() and get_bszB_as_is() to factor out some common
combinations of function calls.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4152
Nicholas Nethercote [Sun, 17 Jul 2005 17:20:30 +0000 (17:20 +0000)]
Replace is_inuse_bszB() with is_inuse_block(), which is higher-level
and thus makes the code that uses it easier to understand.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4151
Nicholas Nethercote [Sun, 17 Jul 2005 17:12:24 +0000 (17:12 +0000)]
Rename 'other' as 'other_b' to make the fact it's a block more clear.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4150
Nicholas Nethercote [Sun, 17 Jul 2005 16:16:41 +0000 (16:16 +0000)]
Make VG_(percentify)() cope if the denominator is zero.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4149
Nicholas Nethercote [Sun, 17 Jul 2005 16:12:59 +0000 (16:12 +0000)]
Fix comments.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4148
Cerion Armour-Brown [Wed, 13 Jul 2005 14:18:24 +0000 (14:18 +0000)]
xml output for tool=none is fine too.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4147
Nicholas Nethercote [Tue, 12 Jul 2005 23:28:59 +0000 (23:28 +0000)]
Fixed bug #88678 -- debug info is now correctly gathered for files
containing spaces.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4146
Nicholas Nethercote [Sun, 10 Jul 2005 16:57:24 +0000 (16:57 +0000)]
Remove dead code.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4145
Nicholas Nethercote [Sun, 10 Jul 2005 15:10:29 +0000 (15:10 +0000)]
Remove very old info about the CVS repo at Sourceforge.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4144
Julian Seward [Sun, 10 Jul 2005 00:55:26 +0000 (00:55 +0000)]
Get rid of endianness assumptions in the PRRAn macro, which is
important for doing checks of scalar syscall args.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4143
Julian Seward [Sun, 10 Jul 2005 00:53:42 +0000 (00:53 +0000)]
Clean up endianness macros a bit. Now pub_tool_basics.h defines
VG_LITTLEENDIAN or VG_BIGENDIAN and that's what should be used.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4142
Julian Seward [Sat, 9 Jul 2005 22:51:08 +0000 (22:51 +0000)]
Fix up ppc32-linux stack unwinding.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4141
Julian Seward [Sat, 9 Jul 2005 10:43:45 +0000 (10:43 +0000)]
Add comments from PaulM.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4140
Julian Seward [Sat, 9 Jul 2005 10:36:25 +0000 (10:36 +0000)]
Another seemingly-small but critical change imported from 2.4.0-ppc:
don't read symbols from sections with w permissions. For some reason
ppc-linux maps executables three times, not twice as on x86, and if
the w flag is ignored, we wind up reading debug info twice, getting
wrong redirections, and then it all goes to hell in a handbasket.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4139
Julian Seward [Fri, 8 Jul 2005 18:28:40 +0000 (18:28 +0000)]
Import sigframe stuff from Paul's tree. With this and the other changes
today, it's possible to run bash on ppc32-linux.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4138
Julian Seward [Fri, 8 Jul 2005 18:27:22 +0000 (18:27 +0000)]
Oops, this really should have been part of r4136.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4137
Julian Seward [Fri, 8 Jul 2005 18:26:37 +0000 (18:26 +0000)]
Fix/reinstate a whole bunch of syscalls.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4136