DBX

Using dbx with gcc compiled projects can be challenging with many internal error messages (*). This experimental version enables a user set environment variable DBX_SILENT=y to eliminate most unwanted messages. Actually, removes too many errors, so, not likely to be a IBM PTF. Check GCC IBM wiki page for 5733OPS gcc information.

Download

Installation

400:
call qp2term

ls -l /QOpenSys/usr/lib/libdbx.a 
... /QOpenSys/usr/lib/libdbx.a -> ../../QIBM/ProdData/OS400/PASE/lib/libdbx.a
(Note: original version is at /QOpenSys/QIBM/ProdData/OS400/PASE/lib/libdbx.a)

cd /QOpenSys/usr/lib
cp libdbx.a libdbx.a-orig  <=== copy for safety
rm libdbx.a                <=== remove link (before ftp or copy new version)


pc:
unzip libdbx.zip
ftp myibmi
bin
cd /QOpenSys/usr/lib
put libdbx.a

Run

$ export DBX_SILENT=y             
$ dbx bin/mysql       
Type 'help' for help.
reading symbolic information ...
(dbx) 

(*) The dbx internal error messages are not ‘wrong’, but all the noise does not help you get your work done.

Author(s)

Tony “Ranger” Cairns - IBM i PHP / PASE