Author Topic: debugger can't find file.  (Read 4935 times)

Offline grayarea56

  • Single posting newcomer
  • *
  • Posts: 1
debugger can't find file.
« on: September 22, 2023, 08:25:26 pm »
The program runs fine without the debugger.
But when I single step some basic C functions, for instance strcpy, I get this message in the debugger:
Cannot open file: ../sysdeps/x86_64/multiarch/strcpy-avx2.S
Does anyone know what's going on?
Oh, BTW, I'm using WSL Ubuntu under windows 10.
Thanks,
Dan Gray
P.S. here's my test code:

Code
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <math.h>

int main()
{
    printf("Hello world!\n");
    printf("Sqrt2=%f\n",sqrt(2.0));
    double two = 2.001;
    printf("Sqrt2.001=%f\n",sqrt(two));
    char  goodby[100];
    goodby[10] = 0;
    char hello[100];
    strcpy(hello,"hello");
    hello[5] = 0;
    strcpy(goodby, hello);
    printf("goodby=%s",goodby);
    return 0;
}




Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: debugger can't find file.
« Reply #1 on: September 23, 2023, 01:02:16 am »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org