Search Results

Search: Posts Made By: dragonpoint
2,517
Posted By dragonpoint
Writing this one up for a gitlab project wiki...
Writing this one up for a gitlab project wiki page.
Documentation is sparse on this topic GitLab Markdown | GitLab (https://docs.gitlab.com/ee/user/markdown.html#headers).
But based on how you...
2,517
Posted By dragonpoint
How to put a 80 character limit on a long topic line in markdown?
I have a topic line in markdown that spans more than 80 characters that i need to add a line break. Markdown is simply treating the line break as a brand new line instead of continuing as a topic...
Forum: Programming 05-24-2016
2,175
Posted By dragonpoint
ECDSA verification
Using ECDSA, how do you verify integrity of Data (D), Given the value for the following:
Random number (r)
Signature (s)
ECpublic Key (K)

Thanks.
742
Posted By dragonpoint
Thanks for the reply. Am not splitting on words...
Thanks for the reply.
Am not splitting on words rather on a repeating pattern so cant use split.
So best way would be to repeat the regex pattern as in:
re.match('(\w+\s)(\w+\s)(\w+\s)', test)
742
Posted By dragonpoint
RegularExpressions quantified grouping
I have var num of matches and i need to group them all but when i use {1,} quantifiers, i get the matches alright but the groups are looking off.

Example In python:

import re
test = "apple...
Forum: Programming 02-16-2014
897
Posted By dragonpoint
Pointer confusion
Here are two programs that pass a pointer to a variable but behave differently. Shouldnt the i in second program be 0 after the function call?

#include<stdio.h>

void changeI(int *i)
{
*i =...
1,229
Posted By dragonpoint
also how can i strip off the text off [] and...
also how can i strip off the text off [] and everything within it.
1,229
Posted By dragonpoint
Search and replace (perl)
How can I achieve this? Perl would be awesome.

Input string a_b c[10_9] //Note there is a blank here
Needed Output a_b_c[10:9]

Thanks
Forum: Programming 10-20-2011
10,050
Posted By dragonpoint
GDB No line in file error
Hi, I have a c program i compile with gcc4.5. This elf, if I use gdb and put a breakpoint on main, instead has a breakpoint in a function other than main or says no line in file.

I verified the...
Forum: Programming 07-16-2011
1,672
Posted By dragonpoint
basically i run "gdbserver remote:80 ./test" on...
basically i run "gdbserver remote:80 ./test" on an i386 target platform. On host i do gdb test. Then on gdb prompt--
target remote <targetIP:80>
break main
cont

it breaks at main, when i do...
Forum: Programming 07-15-2011
1,672
Posted By dragonpoint
Cross target debugging
I am trying to setup gdbserver debugging on my i386 target platform and running gdb from x86_64 host.

I always get could not load vsyscal try using file etc.. error.

Is there a clean way to...
Forum: Programming 06-17-2011
8,045
Posted By dragonpoint
I had the code running on the system, before...
I had the code running on the system, before enabling hyperthreading. Does HT/ SMP have any side effects? I am not using any pthread libs either.

PS:
I apologize, i couldn't get access to the...
Forum: Programming 06-16-2011
9,709
Posted By dragonpoint
You can also try Nemeiver or configure Eclipse...
You can also try Nemeiver or configure Eclipse CDT.
Forum: Programming 06-16-2011
8,045
Posted By dragonpoint
C Sleep function hangs @ __kernel_vsyscall ()
This is the gdb backtrace.

^C
Program received signal SIGINT, Interrupt.
0xffffe424 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb7e56a70 in...
1,581
Posted By dragonpoint
Ash shell character corrupted after gdbserver
I am trying to debug something using gdbserver, after the successful/YET REALLY SLOW debug session i see that the ash shell on the the target under debug is messed up.

Probably because gdbserver...
Forum: Programming 03-22-2011
1,468
Posted By dragonpoint
Shared, Static , Dynamic?
if I could compile the same source file as shared/static/dynamic what are the advantages/ disadv of each.

PS:by dynamic i am asking about usage of "dlopen". How is it particularly diff from shared...
Forum: Programming 03-18-2011
923
Posted By dragonpoint
Whats wrong with my my Makefile
its right only missed \
Forum: Programming 03-02-2011
2,420
Posted By dragonpoint
GCC compile help - "multiple definition" when using -g
gcc -g -o MY_ELF test1.c test2.c -lm

I get this error multiple times...
/tmp/cc5TzMPo.o:(.data+0x0): multiple definition of 'XYZ'
4,075
Posted By dragonpoint
how to find what are the current settings for...
how to find what are the current settings for high and low memory?
4,075
Posted By dragonpoint
Kernel/ user space and high/ low mem
Need some clarification on this....

1. how are kernel/ user spaces and high/low memory related?

2. What do they all mean when i have the kernel command line as:
"console=ttyS0,115200...
Forum: Programming 11-22-2010
6,374
Posted By dragonpoint
Structure as global variable
I need to use the below global structure defined in code1.c in another code2.c

struct memIOptrs
{
const char *name;
unsigned char *virtptr;
}MEM_IO_PTRS[20];

I have a header...
Forum: Programming 11-12-2010
19,736
Posted By dragonpoint
Spurious? ---------- Post updated at 12:23...
Spurious?

---------- Post updated at 12:23 PM ---------- Previous update was at 11:51 AM ----------

How i do i check if an irq is already enabled?
Forum: Programming 11-12-2010
19,736
Posted By dragonpoint
What is unbalanced IRQ?
------------[ cut here ]------------
WARNING: at kernel/irq/manage.c:225 __enable_irq+0x3b/0x57()
Unbalanced enable for IRQ 4
Modules linked in: svsknfdrvr [last unloaded: osal_linux]
Pid: 634,...
Forum: Programming 11-09-2010
2,631
Posted By dragonpoint
Signalling interrupts to user space
What is the simplest function I can use to signal an interrupt from kernel module to user space. I knw the usr app pid in my module.

Also can someone explain the parameters in kill_fasync and...
Forum: Programming 11-09-2010
14,702
Posted By dragonpoint
I was trying to define a custom system call only...
I was trying to define a custom system call only as an experiment....
Showing results 1 to 25 of 44

 
All times are GMT -4. The time now is 07:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy