Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I update gdb as it is outdated? #11

Closed
Raj2032 opened this issue Aug 28, 2022 · 12 comments
Closed

How do I update gdb as it is outdated? #11

Raj2032 opened this issue Aug 28, 2022 · 12 comments

Comments

@Raj2032
Copy link

Raj2032 commented Aug 28, 2022

I downloaded:

[x86_64-12.2.0-release-posix-seh-rt_v10-rev0.7z](https://github.com/niXman/mingw-builds-binaries/releases/download/12.2.0-rt_v10-rev0/x86_64-12.2.0-release-posix-seh-rt_v10-rev0.7z)

However the issue is that it shows gdb version is GNU gdb (GDB) 11.2 which is outdated. Is there a way to update the gdb version?

@niXman
Copy link
Owner

niXman commented Aug 28, 2022

sure, you can edit that scenario: https://github.com/niXman/mingw-builds/blob/develop/scripts/gdb.sh

@Raj2032
Copy link
Author

Raj2032 commented Aug 28, 2022

@niXman Sorry mate what should I do to update it I don't quite understand?

@niXman
Copy link
Owner

niXman commented Aug 28, 2022

  1. you need to clone MinGW-builds project: https://github.com/niXman/mingw-builds
  2. then edit gdb.sh(https://github.com/niXman/mingw-builds/blob/develop/scripts/gdb.sh#L38) scenario and replace 11.2 to 12.1 and then build MinGW yourself using the instruction: https://github.com/niXman/mingw-builds/blob/develop/README.md

@Raj2032
Copy link
Author

Raj2032 commented Aug 28, 2022

@niXman

Hey man thanks for the instructions.

I am up to step 8

image

So which terminal emulator would I be using?

image

Which one of these?

@niXman
Copy link
Owner

niXman commented Aug 28, 2022

MSYS2 MinGW x64

@Raj2032
Copy link
Author

Raj2032 commented Aug 28, 2022

@niXman I ended up choosing the purple one hours ago. Is this still fine? Or would there be issues?

@niXman
Copy link
Owner

niXman commented Aug 28, 2022

ah, yes :)

@Raj2032
Copy link
Author

Raj2032 commented Aug 28, 2022

@niXman oh lol.

By the way never understood whats the difference between MSYS and MinW x64?

@niXman
Copy link
Owner

niXman commented Aug 28, 2022

MSYS - MSYS (a contraction of "Minimal System") was introduced as a [Bourne shell](https://en.wikipedia.org/wiki/Bourne_shell) command line interpreter system[[7]](https://en.wikipedia.org/wiki/MinGW#cite_note-7) with the aim of better interoperability with native Windows software. from the wiki.

MinGW - just one of open-source compilers for Windows.

@Raj2032
Copy link
Author

Raj2032 commented Aug 28, 2022

@niXman Ah right thanks mate :)

@niXman
Copy link
Owner

niXman commented Sep 29, 2022

@Raj2032 hi! could you please close the issue ;)

@Raj2032
Copy link
Author

Raj2032 commented Sep 29, 2022

@niXman No worries mate :)

@Raj2032 Raj2032 closed this as completed Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants