Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!HPLSLA.HP.COM!glenne From: glenne@HPLSLA.HP.COM (Glenn Engel) Newsgroups: gnu.gdb.bug Subject: regular expressions broke for "info method" Message-ID: <9001080502.AA21639@labgre.HP.COM> Date: 8 Jan 90 05:02:06 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 43 gdb version 3.4 compiled for hp-ux 6.5 I am unable to get the info methods command to print any info. Using the attached c++ program, the following forms all fail to list the Blob::print() method: i meth Blob::.* i meth Blob::pri.* i meth Blob::* ================ cut here ---------------- class Blob { public: int i; int j; Blob() {i = 1, j=2;}; virtual void print() { printf("blob print\n"); }; }; class Blob2 : public Blob { public: static int i; virtual void print() ; }; void Blob2::print() { printf("i=%d, j=%d\n",i,j); }; main() { Blob2 aBlob; Blob2 anotherBlob; aBlob.i = 99; aBlob.print(); anotherBlob.print(); }