aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2005-03-11 17:35:37 +0000
committerTom Tromey <tromey@gcc.gnu.org>2005-03-11 17:35:37 +0000
commit558b8548b432b0c0ba14009070940b73409fc721 (patch)
treeebb9827ca31651ccaf01d0d7702159f6bc188a9c /gcc/java
parent0ac40e7a866e3b149bdeacbf5cc36d1fe364a952 (diff)
downloadgcc-558b8548b432b0c0ba14009070940b73409fc721.zip
gcc-558b8548b432b0c0ba14009070940b73409fc721.tar.gz
gcc-558b8548b432b0c0ba14009070940b73409fc721.tar.bz2
Main.java (main): Handle '-p'.
libjava: * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'. (usage): Document '-p'. * Makefile.in: Rebuilt. * Makefile.am (dbexecdir): New variable. (db_name): Likewise. (dbexec_DATA): Likewise. ($(db_name)): New target. (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE. * java/lang/natRuntime.cc (insertSystemProperties): Set default system database. gcc/java: * gcj.texi (Invoking gcj-dbtool): Document 'gcj-dbtool -p'. (libgcj Runtime Properties): Document the default .db. From-SVN: r96303
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/gcj.texi9
2 files changed, 12 insertions, 2 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index a306b27..e32c9e82 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-11 Tom Tromey <tromey@redhat.com>
+
+ * gcj.texi (Invoking gcj-dbtool): Document 'gcj-dbtool -p'.
+ (libgcj Runtime Properties): Document the default .db.
+
2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
PR java/20312
diff --git a/gcc/java/gcj.texi b/gcc/java/gcj.texi
index 227c230..ffa54a8 100644
--- a/gcc/java/gcj.texi
+++ b/gcc/java/gcj.texi
@@ -991,7 +991,7 @@ Each time a class is initialized, print a short message on standard error.
gcj-dbtool @option{OPTION} @var{DBFILE} [@option{MORE}] @dots{}
gcj-dbtool [@option{-n}] [@option{-a}] [@option{-f}]
- [@option{-t}] [@option{-l}]
+ [@option{-t}] [@option{-l}] [@option{-p}]
[@option{-v}] [@option{--version}] [@option{--help}]
@c man end
@@ -1043,6 +1043,10 @@ Test a database.
@item -l @var{DBFILE}
List the contents of a database.
+@item -p
+Print the name of the default database. If there is no default
+database, this prints a blank line.
+
@item --help
Print a help message, then exit.
@@ -2531,7 +2535,8 @@ be set to a directory that is writable by any other user.
This is a sequence of file names, each referring to a file created by
@command{gcj-dbtool}. These files will be used by @code{libgcj} to
find shared libraries corresponding to classes that are loaded from
-bytecode.
+bytecode. @code{libgcj} often has a built-in default database; it
+can be queried using @code{gcj-dbtool -p}.
@end table