It is hard to generalize about racism and gun control. Politics makes strange bedfellows and a lot of people are logically inconsistent, if not hypocrites.
In the 60's and 70's in Chicago I was in everything anti-da mare. We openly pursued a coalition of anti-communists and communists against Daley. I was peripherally active in the Black Panthers (one of many Whites). Some of my close Puerto Rican friends were super-active in the Black Panthers, dating them, etc. In Chicago, the Black Panthers were not ideologically monolithic. Many were libertarians. Many were statists. Many were confused.
The commonality was harrassment by politicized police units. Some police units worked directly for da mare. Others worked directly for States Attorney Hanrahan. Their job was to arrest, discredit and make ineffective any opposition to da mare, or committeeman. There were many political assassinations prior to the political assassination of Fred Hampton. eg Puerto Rican friends of mine backing RINO Lopez for Alderman against the Boss were shot in the back with the Republican precinct captain as an eye witness too timid to speak up and risk his own life.
I also knew people who saved their own life, or the life of a friend because a policeman backed down from getting into a shootout with them. So what was the crime of these people who used guns in self-defense? It was freedom of speech in opposition to urban removal and support of candidates who opposed urban renewal. So they actively used their 2d amendment rights to protect their first amendment rights.
But like I said at the beginning, people are not always logically consistent and are sometimes hypocrites. If some of the oppressed were to gain power, they would act just like the oppressors they previously denounced.