17 Commits

Author SHA1 Message Date
Julian Seward
5da1b2e810 Merge r6152: Add dummy cases for AIX5.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6284
2006-10-17 01:54:20 +00:00
Julian Seward
ae8215b3ac Create a new module, m_vki, and move all knowledge about the kernel
interface, except for the syscall numbers, into that.  Mostly this
means moving include/vki-*.h to include/vki/vki-*.h.

include/pub_tool_basics.h previously dragged in the entire kernel
interface.  I've done away with that, so that modules which need to
see the kernel interface now have to include pub_{core,tool}_vki.h
explicitly.  This is why there are many modified .c files -- they have
all acquired an extra #include line.

This certainly breaks all platforms except x86.  Will fix shortly.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6225
2006-10-14 19:26:10 +00:00
Julian Seward
ad67fd79fe Update copyright dates.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5954
2006-06-05 23:21:15 +00:00
Julian Seward
f57f6f1921 Increase buffer size, so that long debugger command lines don't crash
V.  Also add buffer overrun checks.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5368
2005-12-18 03:22:50 +00:00
Julian Seward
8ba9a34088 Add framework for ppc64 support. Apologies in advance for the
inevitable breakage to other platforms.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5250
2005-11-29 13:05:56 +00:00
Julian Seward
f7cd7c3073 Add casts to stop gcc complaining.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5058
2005-11-09 15:14:16 +00:00
Julian Seward
fb2b39dcfd Third pass at the ppc32 ptrace stuff. It compiles now, but gcc complains that
the last two args to VG_(ptrace) are ints when they should be pointers.  So
I'm still not sure whether this is right or not.  Should I just put in a bunch
of casts to shut it up, or is it really expecting pointers and not ints?


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5056
2005-11-09 14:43:03 +00:00
Tom Hughes
fb53b628e2 Do ptrace_setregs in a ppc32 compatible way instead of a ppc64 way.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5052
2005-11-09 08:52:56 +00:00
Julian Seward
5f3a7540c1 Try to fill in ptrace_setregs. Dunno if it's right.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5046
2005-11-08 20:59:14 +00:00
Julian Seward
e0a5f54cf9 Make ppc32-linux build again following aspacem merge. Doesn't work, though:
programs crash before reaching main.  I don't know why.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4819
2005-09-29 11:09:56 +00:00
Julian Seward
cc8ccbbfb4 This commit merges in changes from branches/ASPACEM (specifically,
changes from r4341 through r4787 inclusive).  That branch is now dead.
Please do not commit anything else to it.

For the most part the merge was not troublesome.  The main areas of
uncertainty are:

- build system: I had to import by hand Makefile.core-AM_CPPFLAGS.am
  and include it in a couple of places.  Building etc seems to still
  work, but I haven't tried building the documentation.

- syscall wrappers: Following analysis by Greg & Nick, a whole lot of
  stuff was moved from -generic to -linux after the branch was created.
  I think that is satisfactorily glued back together now.

- Regtests: although this appears to work, no .out files appear, which
  is strange, and makes it hard to diagnose regtest failures.  In
  particular memcheck/tests/x86/scalar.stderr.exp remains in a 
  conflicted state.

- amd64 is broken (slightly), and ppc32 will be unbuildable.  I'll
  attend to the former shortly.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4789
2005-09-27 19:20:21 +00:00
Tom Hughes
16a1ee9dce Make attaching a debugger work on amd64.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4193
2005-07-19 18:19:48 +00:00
Nicholas Nethercote
142a621c4e ah, crap
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4079
2005-07-02 02:56:02 +00:00
Nicholas Nethercote
60dbf0cbc8 Remove unnecesary #includes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4078
2005-07-02 01:59:28 +00:00
Cerion Armour-Brown
d5f7c8aed3 Finally, valgrind on ppc32.
Plenty still to do, but simple programs like ls seem to run ok

Thanks, Paul, for having your ppc port of valgrind 2.4 to work from!




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3969
2005-06-20 15:51:07 +00:00
Nicholas Nethercote
61c1f49581 Add #include necessary for AMD64.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3964
2005-06-20 02:22:00 +00:00
Nicholas Nethercote
1b3a92639e Moved VG_(start_debugger) out of m_main.c into its own module,
m_debugger.  This removes the dependence of m_signals.c and m_errormgr.c
on m_main.c.  It required also moving VG_(clexecfd) out of m_main.c;  I put
it in m_libcproc.c which seemed like an ok-but-not-great choice.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3957
2005-06-19 19:25:44 +00:00