>> ...  What about version_info[21]?
>
>$1 = 0x2 <Address 0x2 out of bounds> blah

Good.  That's what I expected to see.

>(gdb) break 130
>Breakpoint 1 at 0x11abc: file amandad.c, line 130.
>(gdb) run
>Starting program: /usr/local/libexec/amandad
>warning: Lowest section in /usr/lib/libintl.so.1 is .hash at 00000074
>
>Breakpoint 1, main (argc=1, argv=0xffbefc34) at amandad.c:130
>130         set_pname("amandad");
>(gdb) print version_info[21]
>$1 = 0x2 <Address 0x2 out of bounds>

So it's bad very, very early.

One more test:

  break main
  run
  print version_info[20]        # just to make sure we're looking at
                                # the right stuff
  print version_info[21]

If it shows a value of 2 at this point, which is before any Amanda code
is run, then it almost has to be a compiler or loader error.

>-Ben

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

Reply via email to