Ingo Weinhold
3f38375acc
Write return and parameter type names into the generated strace file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 12:33:49 +00:00
Ingo Weinhold
747fcbd3e0
We generate two more files now: A simple array with the kernel function
...
pointers and overall parameters size for the kernel and some more
sophisticated code for strace.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:53:31 +00:00
Ingo Weinhold
ee524c9864
We now also store the names of syscall parameters. This is used for strace. Well, not yet, but it would make a nice extension. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:51:08 +00:00
Axel Dörfler
10b863b604
No longer assumes to be on a BeOS platform.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 23:12:36 +00:00
Ingo Weinhold
8dbd1340a3
Added resattr, a small tool that converts resources into attributes and vice versa.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 01:24:09 +00:00
Ingo Weinhold
3f6a966e41
I apparently misunderstood Matthijs. This re-adds the app version.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 17:15:57 +00:00
Ingo Weinhold
2d4896f90e
Simplified as suggested by Matthijs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 15:54:40 +00:00
Ingo Weinhold
eea1d4c47d
Add the resources to the StatCacheServer, so that it is a background app.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 15:39:38 +00:00
Ingo Weinhold
f08f5b9bd3
Make the server a BApplication for a smoother shutdown (I've never
...
experienced this problem, but others have). Original changes by Axel,
though edited quite a bit by myself.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 15:38:12 +00:00
shatty
55e6dc7beb
address compiler warnings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 18:22:53 +00:00
Axel Dörfler
b1318016f9
Fix the build of copy_to_bfs_image by using the R5 compatible BFS
...
version in tests/.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 11:23:17 +00:00
shatty
adde77da57
suppress "mem_list leaks" messages when the number of objects is zero
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 02:01:39 +00:00
Ingo Weinhold
135df065c1
Extremely bad idea: Since the inline stat() is not static, we get a endless recursion, if the server is not running. Fascinatingly this doesn't happen on R5, but at least on BONE (with the same executable) -- correctly, I would think. Apparently a bug in the R5 loader.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 23:52:15 +00:00
Ingo Weinhold
da434e3af1
Added the bootstrap jam.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 23:23:34 +00:00
Ingo Weinhold
568dabdb50
Added a server that caches stat data and directory contents.
...
To use this feature run StatCacheServer somewhere in the background.
The first run of jam will be slower, but subsequent ones will usually
benefit. Only little, if the BeOS FS cache is able to hold the data,
but as soon as the number of files and directories jam has to inspect
hits the limit at which the cache drops data needed for the next run,
the performance difference will be very noticeable.
E.g. the time for a "jam -n > /dev/null" in the root of a partially built
tree on my machine dropped from >1 min without the server to 13 secs
with it (not in the first run, of course).
Although tested quite a bit, I would still consider the feature
experimental.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 23:21:59 +00:00
Ingo Weinhold
49336e9ab1
Generated file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 23:02:00 +00:00
Ingo Weinhold
fc64fadfd7
Argh! No wonder, why the Jamfile cache didn't seem to have any effect:
...
A bug in the function reading the cache file caused everything after a
file beginning with an empty or comment line to be ignored. Since our
Jamrules begins with a comment and only after reading Jamrules the cache
starts to work anyway, it indeed had no effect at all.
Added some error output in case reading the cache file failed, so that
this can't happen unnoticed again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 12:19:13 +00:00
Ingo Weinhold
0eddefbe02
With our new gcc 2.95.3 we need to explicitly link against libnet.so again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 12:08:24 +00:00
Ingo Weinhold
1f90f9aa63
We do now also generate a header file that defines macros for the syscall numbers.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 23:28:57 +00:00
Oliver Tappe
17753fd375
- added missing initialization of fInUse such that setting up a threaded
...
test won't fail randomly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-13 15:52:46 +00:00
Ingo Weinhold
15f030fd16
Now lines starting with "# <number>" are skipped. This should fix problems when using a gcc 3.x preprocessor.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-11 14:07:18 +00:00
Ingo Weinhold
f740226bcd
Removed unnecessary include.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-11 14:05:05 +00:00
Ingo Weinhold
b9f857f16f
os/support headers not needed anymore.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-11 14:04:08 +00:00
Ingo Weinhold
2cfbe8a086
Added missing include.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 23:14:59 +00:00
Ingo Weinhold
91a4796939
No need to define the types here, since arch_config.h now uses C types.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 23:14:18 +00:00
Ingo Weinhold
d5ea40e2bd
Use the build platform libstdc++.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 23:13:09 +00:00
Axel Dörfler
be2703cb09
GCC 3 fixes. Doesn't work yet for some reason.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 18:29:52 +00:00
Axel Dörfler
8ad7344829
gensyscalls.cpp should now build under Linux again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 15:40:12 +00:00
Ingo Weinhold
d21749db83
Fixed a problem we had with bool parameters (probably with all types that consume more storage when being passed as function parameters).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 20:17:57 +00:00
Axel Dörfler
6169bb1f81
Added missing copy_to_bfs_image to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-30 23:30:19 +00:00
Ingo Weinhold
efd87ab8df
Had to change the mechanism for automatically generating most of the
...
boring syscall stuff. It has two phases now: The first one
(gensyscallinfos) parses syscalls.h and generates a source file containing
all the required information. This file is compiled and linked to
gensyscalls, which generates the actual output files.
Added to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:26:52 +00:00
Ingo Weinhold
a8ca1ab348
Completed. Properly generates the desired outputs now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-22 10:30:45 +00:00
Ingo Weinhold
2e463a12a9
The beginnings of a small tool to parse syscalls.h and generate the assembly file performing the calls and the respective part of kernel syscall dispatcher. The parsing part is done.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-22 00:06:00 +00:00
Oliver Tappe
c7000cc7b3
- fixed some issues when compiling with gcc-2.95.3. At least three more
...
problems remain, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-21 08:55:12 +00:00
beveloper
ed942695d6
added more targets to the "MediaKit" jam target
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 14:34:13 +00:00
mahlzeit
ca0206bf09
The (new) definition of id_t in sys/types.h conflicted with my own
...
id_t. Renamed mine to res_id_t.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-09 18:58:24 +00:00
mahlzeit
d7105e5d8b
Makefile now also uses parser.hpp instead of parser.cpp.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 16:02:12 +00:00
Jérôme Duval
a235dd1ea1
moved from .cpp.h to .hpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 23:29:08 +00:00
mahlzeit
87ffc773c1
There was an "u" missing. Thanks Axel ;-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 12:49:53 +00:00
mahlzeit
7850c907e6
Haiku be thy name.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 09:01:16 +00:00
Ingo Weinhold
8485888933
This should be a bit nicer: Just maintain the grist of the supplied
...
target instead of using the one from the current subdir. Should make
no difference in practice but is more correct this way.
BTW, fixes should rather go into a fixes branch to keep them separate
from new/changed features that won't be included into Perforce jam.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 20:20:15 +00:00
Jérôme Duval
2b7af43246
Fix to be able to build apps/bin/flex/parse.y when there is another parse.y in the tree.
...
Ingo, please change this if there is a better solution, thanks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-14 09:20:07 +00:00
Axel Dörfler
3b183ea392
It now has to use kernel_interface_r5.cpp instead of kernel_interface.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 08:37:14 +00:00
Axel Dörfler
f475c9696b
Fixes the build under R5.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 01:50:46 +00:00
Axel Dörfler
0692dc0cdd
Fixes the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 17:00:27 +00:00
mahlzeit
7513f62a98
Removed compiler warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-25 14:44:01 +00:00
Axel Dörfler
69a19e8844
Now supports creation of the target path if necessary.
...
Now supports renaming while copying if another target name was given.
Forgot to add license (applies for previous versions as well).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 02:38:37 +00:00
Axel Dörfler
ab647990dc
Now preserves the st_mod of the copied file.
...
Improved output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 01:44:59 +00:00
Axel Dörfler
b9523fa3ef
Wrote a simple tool to copy files to a BFS image from a shell. Internally,
...
it uses the fs_shell offerings to provide that functionality.
This tool allows to overcome the BeOS cache bug that happens as soon as you
mount a file system image; when you write the files onto an image using this
tool, you will be able to use it in Bochs (or other such uses) directly
without a reboot.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 00:00:57 +00:00
Matthew Wilber
85eea08ac9
decreased whitespace between files, modified error message text
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 00:35:57 +00:00