All pastes #731375 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-10-10 00:44 UTC
rendered paste body
(gdb) b utils_vecteur.c:44
Breakpoint 1 at 0x8048a51: file utils_vecteur.c, line 44.
(gdb) b allouer_vecteur
Breakpoint 2 at 0x8048832: file vecteur_dynamique.c, line 7.
(gdb) r
Starting program: /home/gcarrier/taf/fac/PROG5/source/tdp4/vecteur_testdynamique 

Breakpoint 1, lit_vecteur (fichier=0x8048bf0 "vecteur1.txt")
    at utils_vecteur.c:44
44	  v = allouer_vecteur(n);
(gdb) p n
$1 = 1000
(gdb) c
Continuing.

Breakpoint 2, allouer_vecteur (taille=134515845) at vecteur_dynamique.c:7
7	  v.taille = taille;