🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #819

regular expressions broke for "info method"

#819
From: Glenn Engel
Date: Mon, 08 Jan 1990 05:02
43 lines
1091 bytes
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();
}
Technical Details
Message-ID: <9001080502.AA21639@labgre.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!HPLSLA.HP.COM!glenne

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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