Just FYI, although not so important in VPP world as Dave showed, but you would have had more luck with
libtool --mode=execute gdb /vpp/build-root/build-vpp_ debug-native/vpp/bin/vpp than with your original incantation. Something to keep in mind for other projects. Credit to libtool user manual. Burt On Thu, Jul 6, 2017 at 10:17 AM, Anand Nandugudi < [email protected]> wrote: > Thanks! it works now. > > On Thu, Jul 6, 2017 at 7:11 AM, Dave Barach (dbarach) <[email protected]> > wrote: > >> Please run gdb on .../install-vpp_debug-native/vpp/bin/vpp, not >> .../build-vpp_debug-native... >> >> >> >> Thanks… Dave >> >> >> >> *From:* [email protected] [mailto:[email protected]] *On >> Behalf Of *Anand Nandugudi >> *Sent:* Thursday, July 6, 2017 10:07 AM >> *To:* [email protected] >> *Subject:* [vpp-dev] GDB File format not recognized >> >> >> >> Hello, >> >> >> >> I am facing a problem while I'm trying to run VPP with gdb on the vagrant >> VM. gdb complains that >> >> "/vpp/build-root/build-vpp_debug-native/vpp/bin/vpp": not in executable >> format: File format not recognized >> >> >> >> The steps I follow - >> >> 1 . make build >> >> 2. gdb /vpp/build-root/build-vpp_debug-native/vpp/bin/vpp >> >> >> >> Am I missing anything? >> >> >> >> >> >> Thank you, >> >> Anand >> >> >> >> >> >> >> >> >> ------------------------------ >> >> DISCLAIMER. >> This email and any files transmitted with it are confidential and >> intended solely for the use of the individual or entity to whom they are >> addressed. If you have received this email in error please notify the >> system manager. This message contains confidential information and is >> intended only for the individual named. If you are not the named addressee >> you should not disseminate, distribute or copy this e-mail. Please notify >> the sender immediately by e-mail if you have received this e-mail by >> mistake and delete this e-mail from your system. If you are not the >> intended recipient you are notified that disclosing, copying, distributing >> or taking any action in reliance on the contents of this information is >> strictly prohibited. >> > > > > -- > [image: Tessares SA] <http://www.tessares.net> Anandatirtha Nandugudi | > Scientific Researcher > [email protected] | <anand.nandugudi%40tessares.net> > Tessares SA | Hybrid Access Solutions > www.tessares.net > 6 Rue Louis de Geer, 1348 Louvain-la-Neuve, Belgium > <https://www.google.com/maps?q=6+Rue+Louis+de+Geer,+1348+Ottignies-Louvain-la-Neuve,+Belgium> > > > ------------------------------ > DISCLAIMER. > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > If you have received this email in error please notify the system manager. > This message contains confidential information and is intended only for the > individual named. If you are not the named addressee you should not > disseminate, distribute or copy this e-mail. Please notify the sender > immediately by e-mail if you have received this e-mail by mistake and > delete this e-mail from your system. If you are not the intended recipient > you are notified that disclosing, copying, distributing or taking any > action in reliance on the contents of this information is strictly > prohibited. > > _______________________________________________ > vpp-dev mailing list > [email protected] > https://lists.fd.io/mailman/listinfo/vpp-dev >
_______________________________________________ vpp-dev mailing list [email protected] https://lists.fd.io/mailman/listinfo/vpp-dev
