This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

pending/990: [RFA] Underscore tweak (old HP test)


>Number:         990
>Category:       pending
>Synopsis:       [RFA] Underscore tweak (old HP test)
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   unknown
>Arrival-Date:   Fri Jan 31 05:28:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 This is a multi-part message in MIME format.
 --------------870A832E7FD36121BE125F68
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 Apparently no one has complained about this in the last 3 years, but
 some targets do add a leading underscore to user-defined labels.
 
 Fernando?
 --------------870A832E7FD36121BE125F68
 Content-Type: text/plain; charset=us-ascii;
  name="display.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="display.diff"
 
 2003-01-29  Michael Snyder  <msnyder@redhat.com>
 
 	* gdb.base/display.exp: Allow for leading underscore in symbol.
 
 Index: gdb.base/display.exp
 ===================================================================
 RCS file: /cvs/src/src/gdb/testsuite/gdb.base/display.exp,v
 retrieving revision 1.6
 diff -p -r1.6 display.exp
 *** gdb.base/display.exp	20 Jan 2003 15:40:07 -0000	1.6
 --- gdb.base/display.exp	29 Jan 2003 23:34:33 -0000
 *************** if [istarget "hppa*-hp-hpux*"] {
 *** 197,203 ****
   gdb_test "print/0 j" ".*Item count other than 1 is meaningless.*" "print/0 j"
   gdb_test "print/s sum" ".*Format letter.*is meaningless.*" " no s"
   gdb_test "print/i sum" ".*Format letter.*is meaningless.*.*" "no i"
 ! gdb_test "print/a &sum" ".*= $hex.*<sum>.*"
   # If the constant below is larger than the length of main, then
   # this test will (incorrectly) fail.  So use a small number.
   gdb_test "print/a main+4" ".*= $hex.*<.*>.*"
 --- 197,203 ----
   gdb_test "print/0 j" ".*Item count other than 1 is meaningless.*" "print/0 j"
   gdb_test "print/s sum" ".*Format letter.*is meaningless.*" " no s"
   gdb_test "print/i sum" ".*Format letter.*is meaningless.*.*" "no i"
 ! gdb_test "print/a &sum" ".*= $hex.*<(_|)sum>.*"
   # If the constant below is larger than the length of main, then
   # this test will (incorrectly) fail.  So use a small number.
   gdb_test "print/a main+4" ".*= $hex.*<.*>.*"
 
 --------------870A832E7FD36121BE125F68--
 
 
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]