EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS Base 3.14.12.2-pre1 available for testing
From: Benjamin Franksen <[email protected]>
To: <[email protected]>
Date: Fri, 18 Nov 2011 14:28:53 +0100
On Monday, November 14, 2011, Andrew Johnson wrote:
> http://www.aps.anl.gov/epics/download/base/baseR3.14.12.2-pre1.tar.gz
>
> This is the pre-release, please subject this to testing and report any
> issues you find.  In 2 weeks time on 2011-11-28 we will create a release
> candidate (3.14.12.2-rc1) and if that survives wider testing with no
> significant bugs reported we will issue the final 3.14.12.2 release 2
> weeks after that on 2011-12-12.

It may be a bit late but I have attached a very small patch that adds an
option -b to dbExpand to enable the relaxed breakpoint table checking on the
host side. Please consider merging this into R3.14.12.2.

Please bear with me for not going through the bazaar merge process with
this, but I just now discovered the breakpoint table problem when trying to
upgrade an existing application to 3.14.12. Splitting all the tables off
from the main dbd and loading them separately would be a major effort for
us. Note that the patch is almost trivial (I tested that it works with and
without the new -b option).

Cheers
Ben

________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführer: Prof. Dr. Anke Rita Kaysser-Pyzalla, Dr. Ulrich Breuer

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de
Fri Nov 18 14:10:15 CET 2011  [email protected]
  * new option -b to dbExpand enables relaxed checking of breakpoint tables
diff -rN -u old-base-3.14.12.2-pre1/src/dbStatic/dbExpand.c new-base-3.14.12.2-pre1/src/dbStatic/dbExpand.c
--- old-base-3.14.12.2-pre1/src/dbStatic/dbExpand.c	2011-11-18 14:12:15.392959741 +0100
+++ new-base-3.14.12.2-pre1/src/dbStatic/dbExpand.c	2011-11-18 14:12:16.508364229 +0100
@@ -28,9 +28,10 @@
 
 void usage(void)
 {
-    fprintf(stderr, "Usage:\n\tdbExpand -Ipath -ooutfile "
+    fprintf(stderr, "Usage:\n\tdbExpand -b -Ipath -ooutfile "
 	    "-S macro=value file1.dbd file2.dbd ...\n");
     fprintf(stderr,"Specifying any path will replace the default of '.'\n");
+    fprintf(stderr,"The -b option enables relaxed breakpoint table checking\n");
 }
 
 int main(int argc,char **argv)
@@ -51,10 +52,11 @@
     --argc;
     
     while ((argc > 1) && (**argv == '-')) {
+        extern int dbBptNotMonotonic;
         char optLtr = (*argv)[1];
         char *optArg;
         
-        if (strlen(*argv) > 2) {
+        if (strlen(*argv) > 2 || optLtr == 'b') {
             optArg = *argv+2;
             ++argv;
             --argc;
@@ -77,6 +79,10 @@
             dbCatString(&sub, &subLength, optArg, subSep);
             break;
             
+        case 'b':
+            dbBptNotMonotonic = 1;
+            break;
+            
         default:
             fprintf(stderr, "dbExpand: Unknown option '-%c'\n", optLtr);
             usage();

Replies:
Re: EPICS Base 3.14.12.2-pre1 available for testing Andrew Johnson
References:
EPICS Base 3.14.12.2-pre1 available for testing Andrew Johnson

Navigate by Date:
Prev: EPICS Base 3.14.12.2-pre1 available for testing Andrew Johnson
Next: Re: EPICS Base 3.14.12.2-pre1 available for testing Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: EPICS Base 3.14.12.2-pre1 available for testing Andrew Johnson
Next: Re: EPICS Base 3.14.12.2-pre1 available for testing Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·