Does Trace32 support linux 4.x awareness? - trace32

I'm using linux kernel 4.9 and Trace32 debugger.
I want to use linux-awareness debug mod, but Trace32 client has only linux-awareness for 2.x and 3.x.
Could I use linux-awareness 4.x?
Thanks for your answer :)

The Linux-3.x kernel awareness from Lauterbach works also for Linux-4.x

Related

What is the macOS alternative to namespaces(7) in Linux or jails in FreeBSD?

When I was using Linux I used to use Linux namespaces:
https://man7.org/linux/man-pages/man7/namespaces.7.html
Also on FreeBSD, there are jails:
https://www.freebsd.org/cgi/man.cgi?jail
I was wondering what the alternative was on macOS 12? I'm new to Macs so I'm just trying to learn the system and any features it might have.
The equivalent feature to FreeBSD's jails and linux namespaces for macOS is the App Sandbox.
You can find relevant details in the App Sandbox Design Guide.

programming and running crystal on windows

I need to work with crystal on windows. Does anyone know about an environment for windows?
And how to I run the files I wrote - if for example for now I'm writing in notepad?
thank you!
In the wiki, there is a guide on working with Crystal on Windows: https://github.com/crystal-lang/crystal/wiki/Porting-to-Windows
However, Windows support is very limited for now, but it's taken some steps lately.
The ongoing efforts for porting to Windows are tracked in https://github.com/crystal-lang/crystal/issues/5430 As you can see, many basic features are still pending. Right now, you probably will not be able to compile any useful program on Windows.
But you can very easily develop on Windows in a Linux environment using Windows Subsystem for Linux. Instructions are in the docs: https://crystal-lang.org/docs/installation/on_bash_on_ubuntu_on_windows.html

OpenGL Profiler for mac with xcode 8

I've been previously using OpenGL profiler for mac to debug my graphics work and it was working like a charm with xcode 7.2.
I then upgraded xcode to version 8 when it came out, and the profiler was gone. I redownloaded it, but ever since I have not been able to record any trace or stop at any breakpoint, and therefore cannot inspect any resource anymore either.
There is currently no profiler after the one developed for xcode 7.2.
Is there any way to use the last OpenGL profiler with xcode 8.x?
Thanks in advance.
You can find here a similar post on the apple developer forum.
A bug repport is currently under revision.
The only way I found to use OpenGL Profiler on macOS 10.12 is to
enable remote profiling from the preferences. (checkbox is disabled
while you don't set a password) Once enabled, you can connect to it
using another machine (it may be 10.12) and attach profiler to the
running application you want to debug.

Compile BlueZ for iOS7?

I am currently trying to create a PAN on a jailbroken iOS device (iPad, in this case). On my Raspberry Pi I can achieve this using the bluez bluetooth stack and the pan daemon that comes with it. I thought if it could be possible to port bluez to the iOS device, unfortunately I don't really know enough about compiling - besides compiling stuff using a makefile I didn't do much in that regard.
I was able to get a gcc compiler onto the iPad using BigBoss's "installsdk3", but if I try to run configure on bluez it gives me Compiler cannot create executables.
Does anybody know if this is possible, how or can give me directions how this could be achieved? I know that xcode on the mac comes with a c++ compiler for iOS, but I couldn't really find out how to get the makefile to make use of it.
Bluez is specifically a Linux bluetooth stack. OS X and iOS are based on BSD which though similar to Linux is not the same. I very much doubt you can run bluez on iOS.
Instead look into Apple's own bluetooth stack.
https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/CoreBluetooth_concepts/AboutCoreBluetooth/Introduction.html
BlueZ is the user mode part of the Bluetooth stack. It depends on a kernel mode component, which exists in the Linux kernel but not BSD (as mentioned in other answers, what Mac OS is based on). Hence BlueZ cannot work with a Mac OS kernel.
AFAIK, there is no way to run Mac OS with a Linux kernel.

How to debug kernel written in c++?

I am developing my kernel in C++.
So can any one please explain me step by step
How to debug a kernel?
I am using Linux OS and GCC and NASM for building my kernel.
Ans for testing kernel i am using genisoimage and virtualbox 4.x
Help Me.
Thank you.
I would recommend bochs as an emulator, it comes with some debugging capabilities.