]>
Commit | Line | Data |
---|---|---|
9eefc95f UW |
1 | 2007-05-06 Ulrich Weigand <[email protected]> |
2 | ||
3 | * gdbcore.h (struct regcache): Add forward declaration. | |
4 | (struct core_fns): Add REGCACHE argument to core_read_registers | |
5 | callback. | |
6 | * corelow.c (get_core_register_section): Add REGCACHE argument, | |
7 | use it instead of current_regcache, pass it to core_read_registers | |
8 | callback. | |
9 | (get_core_registers): Add current_regcache as parameter to | |
10 | get_core_register_section calls. | |
11 | ||
12 | * alpha-nat.c (fetch_osf_core_registers): Add REGCACHE argument, | |
13 | use it instead of current_regcache. | |
14 | * armnbsd-nat.c (fetch_core_registers): Likewise. | |
15 | (fetch_elfcore_registers): Likewise. | |
16 | * core-regset.c (fetch_core_registers): Likewise. | |
17 | * cris-tdep.c (fetch_core_registers): Likewise. | |
18 | * irix5-nat.c (fetch_core_registers): Likewise. | |
19 | * m68klinux-nat.c (fetch_core_registers): Likewise. | |
20 | * mips-linux-tdep.c (fetch_core_registers): Likewise. | |
21 | * win32-nat.c (fetch_elf_core_registers): Likewise. | |
22 | ||
7f7fe91e UW |
23 | 2007-05-06 Ulrich Weigand <[email protected]> |
24 | ||
25 | * gregset.h (struct regcache): Add forward declaration. | |
26 | (supply_gregset): Add REGCACHE parameter, make GREGS const. | |
27 | (supply_fpregset): Add REGCACHE parameter, make FPREGS const. | |
28 | (supply_fpxregset): Add REGCACHE parameter, make FPXREGS const. | |
29 | (fill_gregset): Add REGCACHE parameter. | |
30 | (fill_fpregset): Likewise. | |
31 | (fill_fpxregset): Likewise. | |
32 | ||
33 | Update all definitions accordingly: | |
34 | * alphabsd-nat.c, alpha-linux-nat.c, alpha-nat.c, amd64-linux-nat.c, | |
35 | arm-linux-nat.c, hppa-linux-nat.c, i386gnu-nat.c, i386-linux-nat.c, | |
36 | i386-sol2-nat.c, i386v4-nat.c, ia64-linux-nat.c, irix5-nat.c, | |
37 | m32r-linux-nat.c, m68klinux-nat.c, mips-linux-nat.c, ppc-linux-nat.c, | |
38 | s390-nat.c, sparc64-linux-nat.c, sparc-linux-nat.c, sparc-sol2-nat.c | |
39 | (supply_gregset): Add REGCACHE parameter, use it instead of | |
40 | current_regcache. Make GREGSETP parameter const, adapt casts. | |
41 | (supply_fpregset): Add REGCACHE parameter, use it instead of | |
42 | current_regcache. Make FPREGSETP parameter const, adapt casts. | |
43 | (fill_gregset): Add REGCACHE parameter, use it instead of | |
44 | current_regcache. | |
45 | (fill_fpregset): Likewise. | |
46 | ||
47 | Update all callers to pass in current_regcache as the new argument: | |
48 | * core-regset.c: Include "regcache.h". | |
49 | (fetch_core_registers): Update supply_gregset,and supply_fpregset calls. | |
50 | * procfs.c: Include "regcache.h". | |
51 | (procfs_fetch_registers): Update supply_gregset, supply_fpregset calls. | |
52 | (procfs_store_registers): Update fill_gregset, fill_fpregset calls. | |
53 | (procfs_do_thread_registers): Likewise. | |
54 | (procfs_make_note_section): Likewise. | |
55 | * proc-service.c: Include "regcache.h". | |
56 | (ps_lgetregs): Update fill_gregset call. | |
57 | (ps_lsetregs): Update supply_gregset call. | |
58 | (ps_lgetfpregs): Update fill_fpregset call. | |
59 | (ps_lsetfpregs): Update supply_fpregset call. | |
60 | * sol-thread.c (sol_thread_fetch_registers): Update supply_gregset, | |
61 | supply_fpregset calls. | |
62 | (sol_thread_store_registers): Update fill_gregset, fill_fpregset calls. | |
63 | (ps_lgetregs): Update fill_gregset call. | |
64 | (ps_lsetregs): Update supply_gregset call. | |
65 | (ps_lgetfpregs): Update fill_fpregset call. | |
66 | (ps_lsetfpregs): Update supply_fpregset call. | |
67 | ||
68 | * linux-nat.c (linux_nat_do_thread_registers): Update fill_gregset, | |
69 | fill_fpregset, and fill_fpxregset calls. | |
70 | * i386-linux-nat.c (fetch_regs): Update supply_gregset call. | |
71 | (store_regs): Update fill_gregset call. | |
72 | (fetch_fpregs): Update supply_fpregset call. | |
73 | (store_fpregs): Update fill_fpregset call. | |
74 | (fetch_fpxregs): Update supply_fpxregset call. | |
75 | (store_fpxregs): Update fill_fpxregset call. | |
76 | * m32r-linux-nat.c (fetch_regs): Update supply_gregset call. | |
77 | (store_regs): Update fill_gregset call. | |
78 | * m68klinux-nat.c (fetch_regs): Update supply_gregset call. | |
79 | (store_regs): Update fill_gregset call. | |
80 | (fetch_fpregs): Update supply_fpregset call. | |
81 | (store_fpregs): Update fill_fpregset call. | |
82 | (fetch_core_registers): Update supply_gregset, supply_fpregset calls. | |
83 | * s390-nat.c (fetch_regs): Update supply_gregset call. | |
84 | (store_regs): Update fill_gregset call. | |
85 | (fetch_fpregs): Update supply_fpregset call. | |
86 | (store_fpregs): Update fill_fpregset call. | |
87 | ||
88 | * Makefile.in (core-regset.o, procfs.o, proc-service.o): Update | |
89 | dependencies. | |
90 | ||
c410a84c UW |
91 | 2007-05-06 Ulrich Weigand <[email protected]> |
92 | ||
93 | * monitor.c (monitor_supply_register): Add REGCACHE parameter, use | |
94 | it instead of current_regcache. | |
95 | (parse_register_dump): Add REGCACHE parameter, pass it to | |
96 | supply_register callback. | |
97 | (monitor_dump_reg_block): Add REGCACHE parameter, pass it to | |
98 | parse_register_dump. | |
99 | (monitor_dump_regs): Add REGCACHE parameter, pass it to | |
100 | parse_register_dump and dumpregs callback. | |
101 | (monitor_wait): Pass current_regcache to parse_register_dump and | |
102 | monitor_dump_regs. | |
103 | (monitor_fetch_register): Pass current_regcache to | |
104 | monitor_supply_register. | |
105 | (monitor_fetch_registers): Pass current_regcache to | |
106 | monitor_dump_regs. | |
107 | * monitor.h (struct monitor_ops): Add REGCACHE parameter to | |
108 | supply_register and dumpregs callbacks. | |
109 | (monitor_supply_register, monitor_dump_reg_block): Update | |
110 | prototypes. | |
111 | * dbug-rom.c (dbug_supply_register): Add REGCACHE parameter. Pass | |
112 | it to monitor_supply_register. | |
113 | * dink32-rom.c (dink32_supply_register): Likewise. | |
114 | * ppcbug-rom.c (ppcbug_supply_register): Likewise. | |
115 | * m32r-rom.c (m32r_supply_register): Likewise. Also, use REGCACHE | |
116 | instead of current_regcache. | |
117 | ||
468e3d51 UW |
118 | 2007-05-06 Ulrich Weigand <[email protected]> |
119 | ||
120 | * i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset): | |
121 | Add REGCACHE parameter. Use it instead of current_regcache. | |
122 | (i386nto_supply_regset): Add REGCACHE parameter, pass it to | |
123 | i386nto_supply_gregset and i386nto_supply_fpregset. | |
124 | (i386nto_regset_fill): Add REGCACHE parameter; use it instead | |
125 | of current_regcache. | |
126 | ||
127 | * nto-procfs.c (procfs_fetch_registers): Pass current_regcache to | |
128 | nto_supply_ helper functions. | |
129 | (procfs_store_registers): Pass current_regcache to nto_regset_fill. | |
130 | ||
131 | * nto-tdep.c (nto_dummy_supply_regset): Add REGCACHE parameter. | |
132 | ||
133 | * nto-tdep.h (struct nto_target_ops): Add REGCACHE parameter to | |
134 | supply_greget, supply_fpregset, supply_altregset, supply_regset, | |
135 | and regset_fill member function pointers. | |
136 | (nto_dummy_supply_regset): Adapt prototype. | |
137 | ||
4e3269e3 UW |
138 | 2007-05-06 Ulrich Weigand <[email protected]> |
139 | ||
140 | * shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it | |
141 | instead of current_regcache. Make REGS const. | |
142 | (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache. | |
143 | * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update | |
144 | prototypes. | |
145 | * shnbsd-nat.c: Include "regcache.h". | |
146 | (shnbsd_fetch_inferior_registers): Pass current_regcache to | |
147 | shnbsd_supply_reg. | |
148 | (shnbsd_store_inferior_registers): Pass current_regcache to | |
149 | shnbsd_fill_reg. | |
150 | * Makefile.in (shbsd-nat.o): Update dependencies. | |
151 | ||
28f5035f UW |
152 | 2007-05-06 Ulrich Weigand <[email protected]> |
153 | ||
154 | * mips-linux-tdep.c (supply_32bit_reg): Add REGCACHE parameter. Use it | |
155 | instead of current_regcache. | |
156 | (mips_supply_gregset): Likewise. Pass REGCACHE to supply_32bit_reg. | |
157 | Make GREGSETP const, remove superfluous casts. | |
158 | (mips_fill_gregset): Add REGCACHE parameter; replace current_regcache. | |
159 | (mips_supply_fpregset): Likewise. Make FPREGSETP const, remove | |
160 | superfluous casts. | |
161 | (mips_fill_fpregset): Add REGCACHE parameter; replace current_regcache. | |
162 | (supply_64bit_reg): Likewise | |
163 | (mips64_supply_gregset): Likewise. Pass REGCACHE to supply_64bit_reg. | |
164 | Make GREGSETP const, adapt casts accordingly. | |
165 | (mips64_fill_gregset): Add REGCACHE parameter; replace current_regcache. | |
166 | (mips64_supply_fpregset): Likewise. Make FPREGSET const, adapt | |
167 | casts accordingly. | |
168 | (mips64_fill_fpregset): Add REGCACHE parameter; replace current_regcache. | |
169 | (fetch_core_registers): Pass current_regcache to mips{64}_(supply|fill)_ | |
170 | helper routines. | |
171 | * mips-linux-tdep.h (mips_supply_gregset, mips_fill_gregset, | |
172 | mips_supply_fpregset, mips_fill_fpregset, mips64_supply_gregset, | |
173 | mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset): | |
174 | Adapt prototypes. | |
175 | * mips-linux-nat.c: Include "regcache.h". | |
176 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass | |
177 | current_regcache to mips{64}_(supply|fill)_ helper routines. | |
178 | (mips64_linux_regsets_fetch_registers): Likewise. | |
179 | (mips64_linux_regsets_store_registers): Likewise. | |
180 | ||
181 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Add | |
182 | REGCACHE argument; replace current_regcache. Make REGS const. | |
183 | (mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Add REGCACHE argument; | |
184 | replace current_regcache. | |
185 | * mipsnbsd-tdep.h (ipsnbsd_supply_reg, mipsnbsd_supply_fpreg, | |
186 | mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Adapt prototypes. | |
187 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers, | |
188 | mipsnbsd_store_inferior_registers): Pass current_regcache to | |
189 | mipsnbsd_(supply|fill)_... helper routines. | |
190 | ||
191 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
192 | ||
26144df5 UW |
193 | 2007-05-06 Ulrich Weigand <[email protected]> |
194 | ||
195 | * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove. | |
196 | * i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes. | |
197 | * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace | |
198 | i387_fill_fsave and i387_fill_fxsave calls by inline copies. | |
199 | * i386-nto-tdep.c (i386nto_regset_fill): Likewise. | |
200 | * i386gnu-nat.c (store_fpregs): Likewise. | |
201 | * i386v4-nat.c (fill_fpregset): Likewise. | |
202 | * go32-nat.c (store_register, go32_store_registers): Likewise. | |
203 | ||
c6b4e5a2 UW |
204 | 2007-05-06 Ulrich Weigand <[email protected]> |
205 | ||
206 | * cris-tdep.c (supply_gregset): Rename to ... | |
207 | (cris_supply_gregset): ... this. Add REGCACHE parameter. Use it | |
208 | instead of current_regcache. | |
209 | (fetch_core_registers): Update call. Pass current_regcache. | |
210 | ||
d683e2b7 UW |
211 | 2007-05-06 Ulrich Weigand <[email protected]> |
212 | ||
213 | * arnmnbsd-nat.c (supply_gregset): Rename to ... | |
214 | (arm_supply_gregset): ... this. Add REGCACHE parameter. | |
215 | Use it instead of current_regcache. | |
216 | (supply_fparegset): Rename to ... | |
217 | (arm_supply_fparegset): ... this. Add REGCACHE parameter. | |
218 | Use it instead of current_regcache. | |
219 | (fetch_regs, fetch_fp_regs): Update calls. Pass current_regcache. | |
220 | (fetch_core_registers, fetch_elfcore_registers): Likewise. | |
221 | ||
390c1522 UW |
222 | 2007-05-06 Ulrich Weigand <[email protected]> |
223 | ||
224 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs, | |
225 | alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter, | |
226 | use it instead of current_regcache. | |
227 | * alpha-tdep.h (struct regcache): Add forward declaration. | |
228 | (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs, | |
229 | alpha_fill_fp_regs): Update prototypes. | |
230 | ||
231 | * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset, | |
232 | fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines. | |
233 | * alpha-linux-nat.c: Include "regcache.h". | |
234 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass | |
235 | current_regcache to alpha_supply/fill_ routines. | |
236 | ||
237 | * alphabsd-tdep.c: Include "regcache.h". | |
238 | (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter, | |
239 | pass it to alpha_supply_ routines. Make REGS const. | |
240 | (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter, | |
241 | pass it to alpha_fill_ routines. | |
242 | * alphabsd-tdep.h (struct regcache): Add forward declaration. | |
243 | (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg, | |
244 | alphabsd_fill_fpreg): Update prototypes. | |
245 | ||
246 | * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset, | |
247 | fill_fpregset, alphabsd_fetch_inferior_registers, | |
248 | alphabsd_store_inferior_registers): Pass current_regcache to | |
249 | alphabsd_supply/fill_ routines. | |
250 | ||
251 | * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update | |
252 | dependencies. | |
253 | ||
647478e0 UW |
254 | 2007-05-06 Ulrich Weigand <[email protected]> |
255 | ||
256 | * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs, | |
257 | supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it | |
258 | instead of current_regcache. | |
259 | (fetch_regs_user_thread, fetch_regs_kernel_thread): Add | |
260 | REGCACHE parameter, pass it to supply_ routines. | |
261 | (aix_thread_fetch_registers): Pass current_regcache to | |
262 | fetch_regs_user_thread and fetch_regs_kernel_thread. | |
263 | ||
264 | (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32): | |
265 | Add REGCACHE parameter, use it instead of current_regcache. | |
266 | Call regcache_valid_p instead of register_cached. | |
267 | (store_regs_user_thread, store_regs_kernel_thread): Likewise. | |
268 | Also, pass REGCACHE to fill_ routines. | |
269 | (aix_thread_store_registers): Pass current_regcache to | |
270 | store_regs_user_thread and store_regs_kernel_thread. | |
271 | ||
d817e083 UW |
272 | 2007-05-06 Ulrich Weigand <[email protected]> |
273 | ||
274 | * m32r-linux-nat.c (supply_gregset): Do not modify contents | |
275 | pointed to by GREGSETP. | |
276 | ||
6a1872e4 UW |
277 | 2007-05-06 Ulrich Weigand <[email protected]> |
278 | ||
279 | * irix5-nat.c (fill_gregset): Use regcache_raw_collect instead | |
280 | of regcache_raw_read_signed. | |
281 | (fill_fpregset): Use regcache_raw_collect instead of | |
282 | regcache_raw_read. | |
283 | ||
6da397e0 KB |
284 | 2007-05-03 Kevin Buettner <[email protected]> |
285 | ||
286 | * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating | |
287 | point arguments, test explicitly for use of the EABI32 ABI | |
288 | instead of inferring this condition from tests on register | |
289 | sizes. | |
290 | ||
2219d63c KB |
291 | 2007-05-03 Kevin Buettner <[email protected]> |
292 | ||
293 | * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address | |
294 | prior to allocating its location. | |
295 | ||
2afd3f0a MR |
296 | 2007-05-02 Maciej W. Rozycki <[email protected]> |
297 | ||
298 | * mips-tdep.c (mips_o32_push_dummy_call): Remove conditions | |
299 | based on mips_abi_regsize() whose result is known in advance. | |
300 | (mips_o64_push_dummy_call): Likewise. | |
301 | ||
3e00823e UW |
302 | 2007-04-29 Ulrich Weigand <[email protected]> |
303 | ||
304 | * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check. | |
305 | * m68k-tdep.c: Remove code within #ifdef USE_PROC_FS. | |
306 | ||
307 | * mips-linux-nat.c: Include "gregset.h". | |
308 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move | |
309 | from mips-linux-tdep.c. Change parameter type to gdb_gregset_t. | |
310 | * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset, | |
311 | fill_fpregset): Move to mips-linux-nat.c. | |
312 | ||
313 | * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies. | |
314 | ||
81c4a259 UW |
315 | 2007-04-28 Ulrich Weigand <[email protected]> |
316 | ||
317 | * regcache.c (deprecated_read_register_gen): Remove, inline ... | |
318 | (read_register): ... here. | |
319 | (deprecated_write_register_gen): Remove, inline ... | |
320 | (write_register): ... here. | |
321 | * regcache.h (deprecated_read_register_gen): Remove prototype. | |
322 | (deprecated_write_register_gen): Likewise. | |
323 | ||
324 | * remote-sim.c (gdbsim_store_register): Replace call to | |
325 | deprecated_read_register_gen with regcache_cooked_read. | |
326 | * target.c (debug_print_register): Replace calls to | |
327 | deprecated_read_register_gen and read_register with | |
328 | regcache_cooked_read. | |
329 | ||
8bb42077 UW |
330 | 2007-04-28 Ulrich Weigand <[email protected]> |
331 | ||
332 | * hpux-thread.c (hpux_thread_store_registers): Use | |
333 | regcache_raw_collect, not regcache_raw_read. | |
334 | * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply, | |
335 | not regcache_raw_write. | |
336 | ||
6ed7ea50 UW |
337 | 2007-04-28 Ulrich Weigand <[email protected]> |
338 | ||
339 | * gdbarch.sh: Remove deprecated_register_byte. | |
340 | * gdbarch.c, gdbarch.h: Regenerate. | |
341 | * arch-utils.h (generic_register_size, generic_register_byte): Remove. | |
342 | * arch-utils.c (generic_register_size, generic_register_byte): Remove. | |
343 | ||
344 | * regcache.h (regcache_valid_p): Make REGCACHE parameter const. | |
345 | * regcache.c (regcache_valid_p): Allow to query cooked registers in | |
346 | read-only register caches. Make REGCACHE parameter const. | |
347 | (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE. | |
348 | ||
349 | * mi/mi-main.c (old_regs): Remove. | |
350 | (mi_setup_architecture_data, _initialize_mi_main): Remove. | |
351 | (register_changed_p): Reimplement to compare two register caches. | |
352 | (mi_cmd_data_list_changed_registers): Update caller. | |
353 | * mi/mi-main.h (mi_setup_architecture_data): Remove. | |
354 | * mi/mi-interp.c (mi_interpreter_init): Do not call | |
355 | mi_setup_architecture_data. | |
356 | ||
efc72ef5 UW |
357 | 2007-04-28 Ulrich Weigand <[email protected]> |
358 | ||
359 | * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define, | |
360 | inline definition at the places the macros are used. | |
361 | * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise. | |
362 | ||
7a61a01c UW |
363 | 2007-04-28 Ulrich Weigand <[email protected]> |
364 | ||
365 | * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and | |
366 | "gdb_string.h". | |
367 | (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables. | |
368 | (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions. | |
369 | (rs6000_aix32_regset, rs6000_aix64_regset): New variables. | |
370 | (rs6000_aix_regset_from_core_section): New function. | |
371 | (rs6000_aix_init_osabi): Register it. | |
372 | (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and | |
373 | sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000. | |
374 | * rs6000-nat.c (CoreRegs): Do not define type. | |
375 | (fetch_core_registers, rs6000_core_fns): Remove. | |
376 | (_initialize_core_rs6000): Do not register it. Rename to ... | |
377 | (_initialize_rs6000_nat): ... this. | |
378 | * Makefile.in (rs6000-aix-tdep.o): Update dependencies. | |
379 | ||
ace186d4 KB |
380 | 2007-04-27 Kevin Buettner <[email protected]> |
381 | ||
382 | * dwarf2expr.c (unsigned_address_type): Add forward declaration. | |
383 | (dwarf2_read_address): Sign extend return address as required by | |
384 | target architecture. | |
385 | ||
89a7ee67 KB |
386 | 2007-04-27 Kevin Buettner <[email protected]> |
387 | ||
388 | * solib-frv.c (lm_base): Bail out if the main executable has | |
389 | not been relocated. | |
390 | ||
6afb1f32 UW |
391 | 2007-04-27 Ulrich Weigand <[email protected]> |
392 | ||
393 | * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location | |
394 | of FPCR register in fpregset. | |
395 | ||
66a0218a MR |
396 | 2007-04-27 Maciej W. Rozycki <[email protected]> |
397 | ||
398 | * Makefile.in (gdbtk-wrapper.o): Update dependencies. | |
399 | (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise. | |
400 | ||
482f7fee UW |
401 | 2007-04-27 Ulrich Weigand <[email protected]> |
402 | ||
403 | * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove. | |
404 | * rs6000-nat.c (rs6000_wait): New function. | |
405 | (_initialize_core_rs6000): Install it as to_wait target method. | |
406 | * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS. | |
407 | ||
1f480a5e UW |
408 | 2007-04-27 Ulrich Weigand <[email protected]> |
409 | ||
410 | * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove. | |
411 | * fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK. | |
412 | * rs6000-nat.c (super_create_inferior): New variable. | |
413 | (rs6000_create_inferior): Make static. Adapt argument list. Call | |
414 | original version of create_inferior via super_create_inferior. | |
415 | (_initialize_core_rs6000): Install to_create_inferior target method. | |
416 | ||
037a727e UW |
417 | 2007-04-27 Ulrich Weigand <[email protected]> |
418 | ||
419 | * aix-thread.c (aix_thread_xfer_memory): Replace by ... | |
420 | (aix_thread_xfer_partial): ... this. | |
421 | (init_aix_thread_ops): Install to_xfer_partial instead | |
422 | of deprecated_xfer_memory target method. | |
423 | ||
424 | * config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o | |
425 | and inftarg.o, add inf-ptrace.o. | |
426 | * config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS, | |
427 | CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove. | |
428 | * rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h". | |
429 | (fetch_inferior_registers): Rename to ... | |
430 | (rs6000_fetch_inferior_registers): ... this. Make static. | |
431 | (store_inferior_registers): Rename to ... | |
432 | (rs6000_store_inferior_registers): ... this. Make static. | |
433 | (read_word, child_xfer_memory): Remove. | |
434 | (rs6000_xfer_partial): New function. | |
435 | (kernel_u_size): Remove. | |
436 | (_initialize_core_rs6000): Add inf_ptrace-based target. | |
437 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
438 | ||
f7dd0ed7 UW |
439 | 2007-04-27 Ulrich Weigand <[email protected]> |
440 | ||
441 | * inf-ptrace.c: Include "gdb_stdint.h". | |
442 | (inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as | |
443 | intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3. | |
444 | (inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t" | |
445 | before casting CORE_ADDR to PTRACE_TYPE_ARG3. | |
446 | (inf_ptrace_store_register): Likewise. | |
447 | * Makefile.in (inf-ptrace.o): Update dependencies. | |
448 | ||
d9178763 UW |
449 | 2007-04-27 Ulrich Weigand <[email protected]> |
450 | ||
451 | * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules. | |
452 | * configure.tgt (rs6000-*-*): Likewise. | |
453 | * config/rs6000/aix4.mh: Delete file. | |
454 | * config/rs6000/aix4.mt: Delete file. | |
455 | * config/rs6000/rs6000.mh: Delete file. | |
456 | * config/rs6000/rs6000.mt: Delete file. | |
457 | ||
458 | * config/powerpc/nm-aix.h: Delete file. | |
459 | * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h. | |
460 | ||
0d16ee5d UW |
461 | 2007-04-27 Ulrich Weigand <[email protected]> |
462 | ||
463 | * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *". | |
464 | Remove obsolete part of comment. | |
465 | (store_regs_user_thread): Use uint32_t temporaries when calling | |
466 | fill_sprs32. | |
467 | (store_regs_kernel_thread): Likewise. Add assertion to verify | |
468 | correct size of struct ptsprs members. | |
469 | (aix_thread_xfer_memory): Fix type of myaddr. | |
470 | (aix_thread_extra_thread_info): Fix compiler warning. | |
471 | * rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *". | |
472 | (fetch_register, store_register): Adapt callers. | |
473 | ||
1e8877aa UW |
474 | 2007-04-27 Ulrich Weigand <[email protected]> |
475 | ||
476 | * vec.h (vec_free): Rename to vec_free_. Adapt users. | |
477 | ||
b02f9d57 UW |
478 | 2007-04-25 Ulrich Weigand <[email protected]> |
479 | ||
480 | * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h", | |
481 | and "regcache.h". | |
482 | (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New. | |
483 | (alpha_linux_gregset, alpha_linux_fpregset): New variables. | |
484 | (alpha_linux_regset_from_core_section): New function. | |
485 | (alpha_linux_init_abi): Install it. | |
486 | * alpha-linux-nat.c: Do not include "gdbcore.h". Include | |
487 | "alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>, | |
488 | <sys/procfs.h>, and "gregset.h". | |
489 | (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR): | |
490 | Move from config/alpha/nm-linux.h. | |
491 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy | |
492 | from alpha-nat.c. | |
493 | (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c. | |
494 | * alpha-nat.c: Remove #ifdef __linux__ section. | |
495 | (fetch_elf_core_registers, alpha_elf_core_fns): Remove. | |
496 | (_initialize_core_alpha): Do not register alpha_elf_core_fns. | |
497 | (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally. | |
498 | (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h. | |
499 | * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
500 | (NATDEPFILES): Remove alpha-nat.o. | |
501 | * config/alpha/nm-linux.h: Delete file. | |
502 | * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c. | |
503 | * Makefile.in (alpha-linux-nat.o): Update dependencies. | |
504 | (alpha-linux-tdep.o): Likewise. | |
505 | ||
dda0c97e UW |
506 | 2007-04-25 Ulrich Weigand <[email protected]> |
507 | ||
508 | * mips-linux-nat.c: No longer include "gdbcore.h". | |
509 | (mips_linux_register_addr): Move from mips-linux-tdep.c. | |
510 | (mips64_linux_register_addr): Likewise. | |
511 | (mips_linux_register_u_offset): Call mips_linux_register_addr or | |
512 | mips64_linux_register_addr instead of register_addr. | |
513 | * mips-linux-tdep.c (mips_linux_register_addr, | |
514 | mips64_linux_register_addr): Move to mips-linux-nat.c. | |
515 | (register_addr): Remove. | |
516 | (register_addr_data, init_register_addr_data): Remove. | |
517 | (_initialize_mips_linux_tdep): Do not initialize register_addr_data. | |
518 | (set_mips_linux_register_addr): Remove. | |
519 | (mips_linux_init_abi): Do not call set_mips_linux_register_addr. | |
520 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
521 | ||
910122bf UW |
522 | 2007-04-25 Ulrich Weigand <[email protected]> |
523 | ||
524 | * linux-nat.c (linux_register_u_offset): Remove. | |
525 | (linux_target_install_ops): New function. | |
526 | (linux_target): Use it. | |
527 | (linux_trad_target): New function. | |
528 | * linux-nat.h (linux_trad_target): Declare. | |
529 | ||
530 | * alpha-linux-nat.c: Include "gdbcore.h". | |
531 | (alpha_linux_register_u_offset): New function. | |
532 | (_initialize_alpha_linux_nat): Use linux_trad_target. | |
533 | ||
534 | * mips-linux-nat.c: Include "gdbcore.h". | |
535 | (mips_linux_register_u_offset): New function. | |
536 | (_initialize_mips_linux_nat): Use linux_trad_target. | |
537 | ||
538 | * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
539 | * config/arm/nm-linux.h: Delete file. | |
540 | ||
541 | * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove. | |
542 | * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove. | |
543 | ||
544 | * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
545 | * config/ia64/nm-linux.h: Delete file. | |
546 | ||
547 | * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
548 | * config/m32r/nm-linux.h: Delete file. | |
549 | ||
550 | * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
551 | * config/m68k/nm-linux.h: Delete file. | |
552 | ||
553 | * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
554 | * config/pa/nm-linux.h: Delete file. | |
555 | ||
556 | * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
557 | * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise. | |
558 | * config/powerpc/nm-linux.h: Delete file. | |
559 | ||
560 | * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h. | |
561 | * config/s390/nm-linux.h: Delete file. | |
562 | ||
563 | * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
564 | * config/sparc/linux64.mh (NAT_FILE): Likewise. | |
565 | * config/sparc/nm-linux.h: Delete file. | |
566 | ||
567 | * Makefile.in (alpha-linux-nat.o): Update dependencies. | |
568 | (mips-linux-nat.o): Likewise. | |
569 | ||
de732108 UW |
570 | 2007-04-25 Ulrich Weigand <[email protected]> |
571 | ||
572 | * core-aout.c: Delete file. | |
573 | * Makefile.in (ALLDEPFILES): Remove core-aout.c. | |
574 | (core-aout.o): Delete rule. | |
575 | * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove. | |
576 | ||
577 | * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove. | |
578 | ||
579 | * arm-linux-nat.c (arm_linux_kernel_u_size): Remove. | |
580 | * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE, | |
581 | KERNEL_U_ADDR): Remove. | |
582 | ||
583 | * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove. | |
584 | (cannot_fetch_register, cannot_store_register): Remove. | |
585 | (fetch_register): Inline cannot_fetch_register and register_addr. | |
586 | (store_register): Inline cannot_store_register and register_addr. | |
587 | * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o. | |
588 | * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, | |
589 | REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): | |
590 | Remove. | |
591 | ||
592 | * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove. | |
593 | (fetch_register): Inline register_addr. | |
594 | (store_register): Inline register_addr. | |
595 | * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o. | |
596 | * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, | |
597 | U_REGS_OFFSET, REGISTER_U_ADDR): Remove. | |
598 | ||
599 | * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove. | |
600 | * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET, | |
601 | REGISTER_U_ADDR): Remove. | |
602 | ||
603 | * hppa-linux-nat.c (register_addr): Rename to ... | |
604 | (hppa_linux_register_addr): ... this. Make static. | |
605 | (fetch_register, store_register): Adapt callers. | |
606 | * config/pa/nm-linux.h (U_REGS_OFFSET): Remove. | |
607 | ||
608 | * ppc-linux-nat.c (kernel_u_size): Remove. | |
609 | * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove. | |
610 | ||
611 | * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static. | |
612 | * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o. | |
613 | (NAT_FILE): Remove. | |
614 | * config/vax/nm-vax.h: Delete file. | |
615 | ||
1f90c757 MS |
616 | 2007-04-20 Mark Shinwell <[email protected]> |
617 | ||
618 | * MAINTAINERS (Write After Approval): Add myself. | |
619 | ||
bf1242a5 MS |
620 | 2007-04-20 Mark Shinwell <[email protected]> |
621 | ||
622 | * Makefile.in: Adjust dependencies of m68klinux-tdep.c. | |
623 | * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New. | |
624 | (m68k_linux_sigcontext_reg_offset): Fix typo. | |
625 | (target_is_uclinux): New. | |
626 | (m68k_linux_inferior_created): New. | |
627 | (m68k_linux_get_sigtramp_info): Check for uClinux or | |
628 | normal Linux. Use m68k_uclinux_sigcontext_reg_offset for | |
629 | uClinux. | |
630 | (_initialize_m68k_linux_tdep): Register | |
631 | m68k_linux_inferior_created. | |
632 | ||
96998ce7 PA |
633 | 2007-04-19 Pedro Alves <[email protected]> |
634 | ||
635 | * win32-nat.c (win32_detach): Remove delete_command call. | |
636 | Resume inferior with win32_resume instead of win32_continue. | |
637 | ||
7e71daaa JG |
638 | 2007-04-19 Jerome Guitton <[email protected]> |
639 | ||
640 | * ser-mingw.c (fd_is_file): New function. | |
641 | (file_select_thread): New function. | |
642 | (ser_console_wait_handle): Add special handling for files. | |
643 | ||
3d1f72c2 DP |
644 | 2007-04-18 Denis Pilat <[email protected]> |
645 | ||
646 | * dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type | |
647 | when missing from DW_TAG_subrange_type. Remove the handling of null | |
648 | return from die_type. | |
649 | ||
9ecf7166 MR |
650 | 2007-04-18 Maciej W. Rozycki <[email protected]> |
651 | ||
652 | * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last | |
653 | change to rearrange some brackets. | |
654 | (mips_n32n64_push_dummy_call): Likewise. | |
655 | (mips_o32_push_dummy_call): Likewise. | |
656 | (mips_o64_push_dummy_call): Likewise. | |
657 | ||
b79599ff DP |
658 | 2007-04-18 Denis Pilat <[email protected]> |
659 | ||
660 | * infcmd.c (post_create_inferior): Start with a call to | |
3d1f72c2 | 661 | target_terminal_ours. |
b79599ff | 662 | |
06f9a1af MR |
663 | 2007-04-17 Maciej W. Rozycki <[email protected]> |
664 | ||
665 | * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some | |
666 | brackets. | |
667 | (mips_n32n64_push_dummy_call): Likewise. Reformat some | |
668 | expressions. | |
669 | (mips_o32_push_dummy_call): Likewise. | |
670 | (mips_o64_push_dummy_call): Likewise. | |
671 | ||
ad018eee MR |
672 | 2007-04-17 Maciej W. Rozycki <[email protected]> |
673 | ||
674 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a | |
675 | comment. | |
676 | ||
e914cb17 MR |
677 | 2007-04-17 Maciej W. Rozycki <[email protected]> |
678 | ||
679 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a | |
680 | comment. | |
681 | (mips_o32_push_dummy_call): Likewise. | |
682 | ||
91934273 AS |
683 | 2007-04-17 Andreas Schwab <[email protected]> |
684 | ||
685 | * symtab.c (skip_prologue_using_sal): Allow the end of the prologue | |
686 | sal to be bigger than the end of the function. | |
687 | ||
968b5391 MR |
688 | 2007-04-17 Maciej W. Rozycki <[email protected]> |
689 | Nigel Stephens <[email protected]> | |
690 | ||
691 | * mips-tdep.c (mips_o32_push_dummy_call): Take account of | |
692 | argument alignment requirements when calculating stack space | |
693 | required. When aligning an arg register to eight bytes | |
694 | boundary, align stack_offset too. Write floating-point | |
695 | arguments to the appropriate integer register if need go there. | |
696 | (mips_o64_push_dummy_call): Likewise. | |
697 | ||
e0cd558a UW |
698 | 2007-04-14 Ulrich Weigand <[email protected]> |
699 | ||
700 | * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and | |
701 | "sig" arguments, add "regcache" argument. | |
702 | * gdbarch.c, gdbarch.h: Regenerate. | |
703 | ||
704 | * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments. | |
705 | (handle_inferior_event): Call remove_single_step_breakpoints directly | |
706 | instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints. | |
707 | ||
708 | * alpha-tdep.c (alpha_software_single_step): Update argument list. | |
709 | Remove handling of !insert_breakpoints_p case. | |
710 | * arm-tdep.c (arm_software_single_step): Likewise. | |
711 | * cris-tdep.c (cris_software_single_step): Likewise. | |
712 | * mips-tdep.c (mips_software_single_step): Likewise. | |
713 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. | |
714 | * sparc-tdep.c (sparc_software_single_step): Likewise. | |
715 | * spu-tdep.c (spu_software_single_step): Likewise. | |
716 | ||
717 | * alpha-tdep.h (alpha_software_single_step): Update prototype. | |
718 | * mips-tdep.h (mips_software_single_step): Likewise. | |
719 | * rs6000-tdep.h (rs6000_software_single_step): Likewise. | |
720 | * sparc-tdep.h (sparc_software_single_step): Likewise. | |
721 | ||
06a86285 UW |
722 | 2007-04-14 Ulrich Weigand <[email protected]> |
723 | ||
724 | * alpha-tdep.c (alpha_software_single_step): Do not call write_pc | |
725 | when removing single-step breakpoints. | |
726 | ||
25d5ea92 VP |
727 | 2007-04-14 Vladimir Prus <[email protected]> |
728 | ||
729 | * varobj.h (varobj_set_frozen): New | |
730 | (varobj_get_frozen): New. | |
731 | (varobj_update): New parameter explicit. | |
732 | * varobj.c (struct varobj): New fields frozen | |
733 | and not_fetched. | |
734 | (varobj_set_frozen, varobj_get_frozen): New. | |
735 | (install_new_value): Don't fetch values for | |
736 | frozen variable object, or children thereof. Allow | |
737 | a frozen variable object to have non-fetched value. | |
738 | (varobj_update): Allow updating child variables. | |
739 | Don't traverse frozen children. | |
740 | (new_variable): Initialize the frozen field. | |
741 | (c_value_of_variable): Return NULL for frozen | |
742 | variable without any value yet. | |
743 | * mi/mi-cmd-var.c (varobj_update_one): New parameter | |
744 | 'explicit'. | |
745 | (mi_cmd_var_create): Output the 'frozen' field, | |
746 | as soon as testsuite is adjusted to expect that field. | |
747 | (mi_cmd_var_set_frozen): New. | |
748 | (mi_cmd_var_update): Pass the 'explicit' parameter to | |
749 | varobj_update_one. | |
750 | * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'. | |
751 | * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare. | |
752 | ||
6e3bbd1a PB |
753 | 2007-04-13 Paul Brook <[email protected]> |
754 | ||
755 | * target-descriptions.c (tdesc_named_type): Add ieee_single and | |
756 | ieee_double. | |
757 | * doc/gdb.texinfo: Document ieee_single and ieee_double target types. | |
758 | ||
ea35711c DJ |
759 | 2007-04-13 Daniel Jacobowitz <[email protected]> |
760 | ||
761 | * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c, | |
762 | remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h, | |
763 | scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c, | |
764 | ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete. | |
765 | * Makefile.in: Remove references to deleted files. | |
766 | * README: Do not mention deleted ROM monitor interfaces. | |
767 | * defs.h (enum language): Delete language_scm. | |
768 | * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING. | |
769 | (dump_subexp_body_standard): Likewise. | |
770 | * parse.c (operator_length_standard): Likewise. | |
771 | * expression.h (enum exp_opcode): Delete OP_EXPRSTRING. | |
772 | * remote-mips.c: Do not include remote-utils.h. | |
773 | * remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug | |
774 | throughout. | |
775 | * value.c: Do not include scm-lang.h. | |
776 | (unpack_long): Delete scm_unpack call. | |
777 | * config/h8300/h8300.mt, config/mips/embed.mt, | |
778 | config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt, | |
779 | config/sh/embed.mt, config/sh/linux.mt: Remove references to | |
780 | deleted files. | |
781 | * NEWS: Mention removed files. | |
782 | ||
058b9c07 DJ |
783 | 2007-04-13 Daniel Jacobowitz <[email protected]> |
784 | ||
785 | * symfile.c (add_psymbol_with_dem_name_to_list): Remove. | |
786 | * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype. | |
787 | ||
54d61198 DJ |
788 | 2007-04-13 Daniel Jacobowitz <[email protected]> |
789 | ||
790 | * NEWS: Mention removal of HP aCC support. | |
791 | ||
e499d0f1 DJ |
792 | 2007-04-13 Daniel Jacobowitz <[email protected]> |
793 | ||
794 | * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the | |
795 | first entry for static executables. | |
796 | (breakpoint_addr): Delete unused variable. | |
797 | (elf_locate_base): Search for _r_debug in static executables. | |
798 | (enable_break): Do not set breakpoint_addr. Scan solib_break_names | |
799 | also. | |
800 | ||
4d5b2cd7 DJ |
801 | 2007-04-13 Daniel Jacobowitz <[email protected]> |
802 | ||
803 | * breakpoint.c (update_breakpoints_after_exec, print_it_typical) | |
804 | (bpstat_what, print_one_breakpoint, allocate_bp_location) | |
805 | (mention): Remove bp_through_sigtramp support. | |
806 | * breakpoint.h (enum bptype): Remove bp_through_sigtramp. | |
807 | ||
46d57086 DJ |
808 | 2007-04-13 Daniel Jacobowitz <[email protected]> |
809 | ||
810 | * breakpoint.c (bpstat_what): Give step-resume higher priority than | |
811 | shlib events. | |
812 | ||
d3169d93 DJ |
813 | 2007-04-13 Daniel Jacobowitz <[email protected]> |
814 | ||
815 | * infrun.c: Doc fixes. | |
816 | (handle_inferior_event): Clarify debug message. | |
817 | (insert_step_resume_breakpoint_at_sal): Print a debug message. | |
818 | ||
8c9e4384 UW |
819 | 2007-04-12 Ulrich Weigand <[email protected]> |
820 | ||
821 | * configure.tgt (arm-*-nto*, sh-*-nto*): Remove. | |
822 | ||
9418f048 UW |
823 | 2007-04-12 Ulrich Weigand <[email protected]> |
824 | ||
825 | * config/m68k/tm-monitor.h: Delete file. | |
826 | * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove. | |
827 | * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break | |
828 | call moved to ... | |
829 | * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ... | |
830 | * m68klinux-tdep.c (m68k_linux_init_abi): ... here. | |
831 | ||
e6590a1b UW |
832 | 2007-04-12 Luis Machado <[email protected]> |
833 | ||
834 | * gdbarch.sh (software_single_step): Change the return type | |
835 | from void to int and reformatted some comments to <= 80 | |
836 | columns. | |
837 | * gdbarch.c, gdbarch.h: Regenerated. | |
838 | * alpha-tdep.c (alpha_software_single_step): Likewise. | |
839 | * alpha-tdep.h (alpha_software_single_step): Likewise. | |
840 | * arm-tdep.c (arm_software_single_step): Likewise. | |
841 | * cris-tdep.c (cris_software_single_step): Likewise. | |
842 | * mips-tdep.c (mips_software_single_step): Likewise. | |
843 | * mips-tdep.h (mips_software_single_step): Likewise. | |
844 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. | |
845 | * rs6000-tdep.h (rs6000_software_single_step): Likewise. | |
846 | * sparc-tdep.c (sparc_software_single_step): Likewise. | |
847 | * sparc-tdep.h (sparc_software_single_step): Likewise. | |
848 | * spu-tdep.c (spu_software_single_step): Likewise. | |
849 | * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP | |
850 | and act accordingly. | |
851 | ||
58b38ee2 SE |
852 | 2007-04-11 Steve Ellcey <[email protected]> |
853 | ||
854 | * configure.ac (build_warnings): Add -Wno-char-subscripts. | |
855 | * configure: Regenerate. | |
856 | * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts. | |
857 | ||
70f575cc JK |
858 | 2007-04-11 Jan Kratochvil <[email protected]> |
859 | ||
860 | * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'. | |
861 | ||
d77b6808 JK |
862 | 2007-04-11 Jan Kratochvil <[email protected]> |
863 | ||
864 | * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New | |
865 | macros. | |
866 | (TYPE_IS_OPAQUE): Empty vs. opaque structures are now | |
867 | distinct on the TYPE_STUB_SUPPORTED debug targets. | |
868 | * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED. | |
869 | ||
b0b92586 JB |
870 | 2007-04-11 Joel Brobecker <[email protected]> |
871 | ||
872 | * sparc-tdep.c (X_RS2): New macro. | |
873 | (sparc_skip_stack_check): New function. | |
874 | (sparc_analyze_prologue): Adjust PC past stack probing | |
875 | sequence if necessary. | |
876 | ||
a489f789 AS |
877 | 2007-04-10 Andreas Schwab <[email protected]> |
878 | ||
879 | * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR | |
880 | register. | |
881 | ||
b0b13bb4 DJ |
882 | 2007-04-10 Daniel Jacobowitz <[email protected]> |
883 | ||
884 | * breakpoint.c (gdb_breakpoint_query): Really return an | |
885 | enum gdb_rc. | |
886 | (gdb_breakpoint): Likewise. | |
3f11755e DJ |
887 | * thread.c (gdb_list_thread_ids): Likewise. |
888 | (gdb_thread_select): Likewise. | |
b0b13bb4 DJ |
889 | * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc. |
890 | (mi_cmd_thread_list_ids): Remove bogus initialization. | |
891 | ||
1a92f856 DJ |
892 | 2007-04-10 Daniel Jacobowitz <[email protected]> |
893 | ||
894 | * Makefile.in (SFILES): Remove hpacc-abi.c. | |
895 | (COMMON_OBS): Remove hpacc-abi.o. | |
896 | (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE). | |
897 | (hpacc-abi.o, hpread.o): Delete rules. | |
898 | * somread.c: Delete extern declarations from hpread.c. | |
899 | (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs. | |
900 | (som_symfile_finish): Do not call hpread_symfile_finish. | |
901 | (som_symfile_init): Do not call hpread_symfile_init. | |
902 | * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o. | |
903 | * config/pa/hppahpux.mt (TDEPFILES): Likewise. | |
904 | * hpacc-abi.c, hpread.c: Deleted. | |
905 | ||
542c95c2 DJ |
906 | 2007-04-10 Daniel Jacobowitz <[email protected]> |
907 | ||
908 | * solib-svr4.c (enable_break): Simplify return value. | |
909 | (svr4_solib_create_inferior_hook): Do not warn if enable_break fails. | |
910 | ||
cfaefc65 AS |
911 | 2007-04-10 Andreas Schwab <[email protected]> |
912 | ||
913 | * solib-svr4.h (struct link_map_offsets): Remove l_addr_size, | |
914 | l_ld_size, l_next_size, l_prev_size, l_name_size. | |
915 | ||
916 | * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address | |
917 | to extract addresses from link map. | |
918 | (LM_DYNAMIC_FROM_LINK_MAP): Likewise. | |
919 | (LM_NEXT): Likewise. | |
920 | (LM_NAME): Likewise. | |
921 | (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise. | |
922 | (elf_locate_base): Likewise. | |
923 | (open_symbol_file_object): Likewise. | |
924 | (svr4_fetch_objfile_link_map): Likewise. | |
925 | (SOLIB_EXTRACT_ADDRESS): Remove unused macro. | |
926 | (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of | |
927 | l_ld_size. | |
928 | (svr4_ilp32_fetch_link_map_offsets): Don't set removed members. | |
929 | (svr4_lp64_fetch_link_map_offsets): Likewise. | |
930 | ||
931 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set | |
932 | removed members. Set l_ld_offset to -1 if not present. | |
933 | ||
65cc4390 VP |
934 | 2007-04-08 Vladimir Prus <[email protected]> |
935 | ||
936 | Pass stderr of program run with "target remote |" | |
937 | via gdb_stderr. | |
938 | * serial.c (serial_open): Set error_fd to -1. | |
939 | * serial.h (struct serial): New field error_fd. | |
940 | (struct serial_opts): New field avail. | |
941 | * ser-pipe.c (pipe_open): Create another pair | |
942 | of sockets. Pass stderr to gdb. | |
943 | * ser-mingw.c (pipe_windows_open): Pass | |
944 | PEX_STDERR_TO_PIPE to pex_run. Initialize | |
945 | sd->error_fd. | |
946 | (pipe_avail): New. | |
947 | (_initialize_ser_windows): Hook pipe_avail. | |
948 | * ser-base.c (generic_readchar): Check if there's | |
949 | anything in stderr channel and route that to gdb_stderr. | |
950 | ||
e9112110 PA |
951 | 2007-04-03 Pedro Alves <[email protected]> |
952 | ||
953 | * dbxread.c (read_ofile_symtab): Move current_objfile | |
954 | clearing to after end_stabs. | |
955 | ||
7f68ac27 AS |
956 | 2007-04-01 Andreas Schwab <[email protected]> |
957 | ||
958 | * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter | |
959 | gdbarch instead of current_gdbarch. | |
960 | ||
e55dccf0 VP |
961 | 2007-04-01 Vladimir Prus <[email protected]> |
962 | ||
963 | * varobj.c (varobj_create): Keep varobj value | |
964 | NULL when evaluating the type. | |
965 | ||
7c963485 PA |
966 | 2007-03-31 Pedro Alves <[email protected]> |
967 | ||
968 | * NEWS: Mention new Windows CE support. | |
969 | ||
ad527d2e PA |
970 | 2007-03-30 Pedro Alves <[email protected]> |
971 | ||
972 | * configure.tgt: Move mips*-*-pe and sh*-*-pe to | |
973 | the obsoletion stanza. | |
974 | * NEWS: Mention deleted targets. | |
975 | ||
976 | * config/sh/tm-wince.h: Remove. | |
977 | * config/sh/wince.mt: Remove. | |
978 | * config/mips/tm-wince.h: Remove. | |
979 | * config/mips/wince.mt: Remove. | |
980 | ||
981 | * wince.c: Remove. | |
982 | * wince-stub.c: Remove. | |
983 | * wince-stub.h: Remove. | |
984 | * Makefile.in (wince.o): Remove rule. | |
985 | (wince-stub.o): Likewise. | |
986 | ||
987 | * mips-tdep.c (mips_next_pc): Make static. | |
988 | * mips-tdep.h (mips_next_pc): Remove declaration. | |
989 | * arm-tdep.c (arm_pc_is_thumb): Make static. | |
990 | (thumb_get_next_pc): Likewise. | |
991 | (arm_get_next_pc): Likewise. | |
992 | * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration. | |
993 | (arm_pc_is_thumb): Likewise. | |
994 | (thumb_get_next_pc): Likewise. | |
995 | (arm_get_next_pc): Likewise. | |
996 | ||
7ce59000 DJ |
997 | 2007-03-30 Daniel Jacobowitz <[email protected]> |
998 | ||
999 | * MAINTAINERS: Remove d10v entry. | |
1000 | * Makefile.in (SFILES): Remove dwarfread.c. | |
1001 | (COMMON_OBS): Remove dwarfread.o. | |
1002 | (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o) | |
1003 | (remote-est.o, rom68k-rom.o): Delete. | |
1004 | * NEWS: Mention removal of d10v, target abug, target cpu32bug, | |
1005 | target est, target rom68k, and DWARF 1. | |
1006 | * configure.tgt: Mark d10v as removed. | |
1007 | * dwarf2read.c: Doc update. | |
1008 | * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset, | |
1009 | and lnsize. | |
1010 | (elf_locate_sections): Do not set them. | |
1011 | (elf_symfile_read): Do not call dwarf_build_psymtabs. | |
1012 | * symfile.h (dwarf_build_psymtabs): Delete prototype. | |
1013 | * config/m68k/monitor.mt (TDEPFILES): Prune. | |
1014 | * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c, | |
1015 | remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete. | |
1016 | ||
20389057 DJ |
1017 | 2007-03-30 Daniel Jacobowitz <[email protected]> |
1018 | ||
1019 | * doublest.c (convert_floatformat_to_doublest): Use | |
1020 | floatformat_classify. | |
1021 | (floatformat_is_nan): Rename to... | |
1022 | (floatformat_classify): ...this. Return more information. | |
1023 | * doublest.h (enum float_kind): New. | |
1024 | (floatformat_is_nan): Replace prototype... | |
1025 | (floatformat_classify): ...with this one. | |
1026 | * valprint.c (print_floating): Use floatformat_classify. Handle | |
1027 | infinity. | |
1028 | ||
30b50213 DJ |
1029 | 2007-03-30 Daniel Jacobowitz <[email protected]> |
1030 | ||
1031 | * README: Mention ISO C library requirement. | |
1032 | ||
8807d78b DJ |
1033 | 2007-03-30 Daniel Jacobowitz <[email protected]> |
1034 | ||
1035 | * Makefile.in (SFILES): Remove nlmread.c. | |
1036 | (COMMON_OBS): Remove nlmread.o. | |
1037 | (nlmread.o): Delete rule. | |
1038 | * README: Delete reference to remote-st.c. | |
1039 | * acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete. | |
1040 | * defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and | |
1041 | GDB_OSABI_LYNXOS. | |
1042 | * i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete. | |
1043 | (_initialize_i386_tdep): Do not reference them. | |
1044 | * nlmread.c: Delete file. | |
1045 | * osabi.c (gdb_osabi_names): Remove NetWare and LynxOS. | |
1046 | * target.c: Doc update. | |
1047 | * thread.c: Delete commented include. | |
1048 | * config/alpha/tm-alpha.h: Doc update. | |
1049 | ||
ced572fe MR |
1050 | 2007-03-30 Chris Dearman <[email protected]> |
1051 | ||
1052 | * utils.c (string_to_core_addr): Comment typo. | |
1053 | ||
8a9fc081 MR |
1054 | 2007-03-30 Chris Dearman <[email protected]> |
1055 | ||
1056 | * mips-tdep.c: Comment typo. | |
1057 | ||
5f402660 UW |
1058 | 2007-03-29 Ulrich Weigand <[email protected]> |
1059 | ||
1060 | * config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove. | |
1061 | * config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove. | |
1062 | * config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove. | |
1063 | * config/powerpc/nm-ppc64-linux.h: Remove file. | |
1064 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h. | |
1065 | * inferior.h (PTRACE_ARG3_TYPE): Do not define. | |
1066 | (call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3. | |
1067 | * infptrace.c (call_ptrace): Likewise. | |
1068 | * m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define. | |
1069 | (fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3 | |
1070 | and PTRACE_XFER_TYPE by PTRACE_TYPE_RET. | |
1071 | (store_register): Likewise. | |
1072 | ||
bbf90c81 JB |
1073 | 2007-03-29 Joel Brobecker <[email protected]> |
1074 | ||
1075 | * Makefile.in (varobj.o): Add missing dependency. | |
1076 | ||
243c053b MS |
1077 | 2007-03-29 Michael Snyder <[email protected]> |
1078 | ||
1079 | * MAINTAINERS: Update my email address. | |
1080 | ||
0259addd JB |
1081 | 2007-03-29 Joel Brobecker <[email protected]> |
1082 | ||
1083 | Add support for exception handling with multiple versions of | |
1084 | the Ada runtime: | |
1085 | * ada-lang.c: Update general comments on how Ada exception catchpoints | |
1086 | are implemented. | |
1087 | (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name) | |
1088 | (__gnat_raise_nodefer_with_msg): Delete. | |
1089 | (ada_unhandled_exception_name_addr_ftype): New type. | |
1090 | (exception_support_info): New type. | |
1091 | (ada_unhandled_exception_name_addr): Add forward declaration. | |
1092 | (ada_unhandled_exception_name_addr_from_raise): Likewise. | |
1093 | (default_exception_support_info): New constant. | |
1094 | (exception_support_info_fallback): Likewise. | |
1095 | (exception_info): New global variable. | |
1096 | (ada_exception_support_info_sniffer): New function. | |
1097 | (ada_executable_changed_observer): Likewise. | |
1098 | (ada_unhandled_exception_name_addr_from_raise): Renamed from | |
1099 | ada_unhandled_exception_name_addr. | |
1100 | (ada_unhandled_exception_name_addr): Reimplement to match the | |
1101 | latest Ada runtime implementation. | |
1102 | (error_breakpoint_runtime_sym_not_found): Delete. | |
1103 | (ada_exception_sym_name): Get the exception sym name from | |
1104 | exception_info rather than hardcoding it. | |
1105 | (ada_exception_sal): Add call to ada_exception_support_info_sniffer. | |
1106 | Update error handling. | |
1107 | * Makefile.in (ada-lang.o): Add dependency on observer.h. | |
1108 | ||
483367ee DJ |
1109 | 2007-03-29 Daniel Jacobowitz <[email protected]> |
1110 | ||
1111 | * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o) | |
1112 | (remote-st.o, uw-thread.o): Delete. | |
1113 | (HFILES_NO_SRCDIR, ALLDEPFILES): Update. | |
1114 | * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*, | |
1115 | i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*, | |
1116 | i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*, | |
1117 | i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*, | |
1118 | i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and | |
1119 | rs6000-*-lynxos* to an obsoletion stanza. | |
1120 | * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*, | |
1121 | i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*, | |
1122 | and rs6000-*-lynxos* to an obsoletion stanza. Do not mention | |
1123 | i[34567]86-*-netware*. | |
1124 | * NEWS: Mention deleted targets. | |
1125 | ||
1126 | * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c, | |
1127 | uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh, | |
1128 | config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh, | |
1129 | config/i386/i386v4.mh, config/i386/i386v42mp.mh, | |
1130 | config/i386/ncr3000.mh, config/i386/ncr3000.mt, | |
1131 | config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h, | |
1132 | config/i386/nm-i386sco5.h, config/i386/nm-i386v.h, | |
1133 | config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h, | |
1134 | config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt, | |
1135 | config/m68k/tm-cisco.h, config/m68k/tm-os68k.h, | |
1136 | config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt, | |
1137 | config/rs6000/tm-rs6000ly.h: Delete files. | |
1138 | ||
3adda9d8 DJ |
1139 | 2007-03-29 Daniel Jacobowitz <[email protected]> |
1140 | ||
1141 | * defs.h (deprecated_registers_changed_hook): Delete declaration. | |
1142 | * interps.c (clear_interpreter_hooks): Do not clear | |
1143 | deprecated_registers_changed_hook. | |
1144 | * regcache.c (registers_changed): Do not call it. | |
1145 | * top.c (deprecated_registers_changed_hook): Do not define it. | |
1146 | * mi/mi-interp.c (mi_command_loop): Do not clear it. | |
1147 | * tui/tui-hooks.c (tui_install_hooks): Do not install it. | |
1148 | (tui_remove_hooks): Do not remove it. | |
1149 | (tui_selected_frame_level_changed_hook): Check for negative level. | |
1150 | Use get_selected_frame. | |
1151 | (tui_registers_changed_hook): Deleted. | |
1152 | ||
bf362611 JB |
1153 | 2007-03-29 Joel Brobecker <[email protected]> |
1154 | ||
1155 | * stabsread.c (add_undefined_type): Add extra parameter. | |
1156 | Now handles nameless types separately. | |
1157 | (struct nat): New type. | |
1158 | (noname_undefs, noname_undefs_allocated, noname_undefs_length): | |
1159 | New static variables. | |
1160 | (read_type): Update calls to add_undefined_type. | |
1161 | (add_undefined_type_noname): New function. | |
1162 | (add_undefined_type_1): Renames from add_undefined_type. | |
1163 | (cleanup_undefined_types_noname): New function. | |
1164 | (cleanup_undefined_types_1): Renames cleanup_undefined_types. | |
1165 | (cleanup_undefined_types): New handles nameless types separately. | |
1166 | (_initialize_stabsread): Initialize our new static constants. | |
1167 | ||
436868fb DP |
1168 | 2007-03-29 Denis Pilat <[email protected]> |
1169 | ||
1170 | * configure.ac: Test for signal.h. | |
1171 | * configure, config.in: Regenerate. | |
1172 | ||
aaf9e9fd DP |
1173 | 2007-03-29 Denis Pilat <[email protected]> |
1174 | ||
1175 | * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output. | |
1176 | * infrun.c (normal_stop): Remove MI specific frame printing treatment. | |
1177 | ||
68070c10 PA |
1178 | 2007-03-29 Pedro Alves <[email protected]> |
1179 | ||
1180 | * arm-wince-tdep.c: New. | |
1181 | * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h. | |
1182 | (MT_CFLAGS): Delete. | |
1183 | (TM_CLIBS): Delete. | |
1184 | (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o, | |
1185 | solib-legacy.o, solib-svr4.o, and remove wince.o. | |
1186 | * configure.tgt (arm*-*-mingw32ce*): Add. | |
1187 | * signals/signals.c [HAVE_SIGNAL_H]: Check. | |
1188 | (do_target_signal_to_host): Silence 'not used' warning. | |
1189 | * config/arm/tm-wince.h: Remove. | |
1190 | ||
74174d2e UW |
1191 | 2007-03-28 Ulrich Weigand <[email protected]> |
1192 | ||
1193 | * arch-utils.c (legacy_pc_in_sigtramp): Remove. | |
1194 | * arch-utils.h (legacy_pc_in_sigtramp): Remove. | |
1195 | ||
1196 | * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove. | |
1197 | * config/ia64/tm-linux.h: Remove file. | |
1198 | * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback. | |
1199 | * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of | |
1200 | legacy_pc_in_sigtramp. | |
1201 | (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp. | |
1202 | * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static. | |
1203 | Remove func_name argument. | |
1204 | (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp. | |
1205 | ||
1206 | * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine. | |
1207 | * target.c (update_current_target): Add to_have_steppable_watchpoint. | |
1208 | * target.h (struct target_ops): Add to_have_steppable_watchpoint. | |
1209 | (HAVE_STEPPABLE_WATCHPOINT): Define. | |
1210 | ||
1211 | * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o. | |
1212 | * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET, | |
1213 | CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER, | |
1214 | TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT, | |
1215 | STOPPED_BY_WATCHPOINT, target_stopped_data_address, | |
1216 | target_insert_watchpoint, target_remove_watchpoint): Remove. | |
1217 | (FETCH_INFERIOR_REGISTERS): Define. | |
1218 | * ia64-linux-nat.c (ia64_register_addr): Make static. | |
1219 | (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise. | |
1220 | (ia64_linux_insert_watchpoint): Make static. Remove ptid_p argument. | |
1221 | (ia64_linux_remove_watchpoint): Likewise. Add type argument. | |
1222 | (ia64_linux_stopped_data_address): Make static. Add target_ops. | |
1223 | (ia64_linux_stopped_by_watchpoint): Make static. | |
1224 | (ia64_linux_can_use_hw_breakpoint): New function. | |
1225 | (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise. | |
1226 | (ia64_linux_store_register, ia64_linux_store_registers): Likewise. | |
1227 | (_initialize_ia64_linux_nat): Install register and watchpoint ops. | |
1228 | ||
53c5240f PA |
1229 | 2007-03-28 Pedro Alves <[email protected]> |
1230 | ||
1231 | * linespec.c: Include language.h. | |
1232 | (find_methods): Add language parameter. Call | |
1233 | lookup_symbol_in_language. Pass language down. | |
1234 | (add_matching_methods): Likewise. Call | |
1235 | lookup_symbol_in_language. | |
1236 | (add_constructors): Likewise. | |
1237 | (find_method): Pass sym_class to collect_methods. | |
1238 | (collect_methods): Add sym_class parameter. Pass language | |
1239 | down. | |
1240 | * symtab.c (lookup_symbol): Rename to ... | |
1241 | (lookup_symbol_in_language): ... this. Add language | |
1242 | parameter. Use passed language instead of current_language. | |
1243 | (lookup_symbol): New as wrapper around | |
1244 | lookup_symbol_in_language. | |
1245 | (lookup_symbol_aux): Add language parameter. Use passed | |
1246 | language instead of current_language. | |
1247 | (search_symbols): Indent. | |
1248 | * symtab.h (enum language): Forward declare. | |
1249 | (lookup_symbol_in_language): Declare. | |
1250 | (lookup_symbol): Update description. | |
1251 | * ada-lang.h (lookup_symbol_in_language): Remove declaration. | |
1252 | * ada-lang.c (restore_language): Remove. | |
1253 | (lookup_symbol_in_language): Remove. | |
1254 | ||
8671a17b PA |
1255 | 2007-03-27 Pedro Alves <[email protected]> |
1256 | ||
1257 | * breakpoint.c (bpstat_num): Add int *num parameter. | |
1258 | * breakpoint.h (bpstat_num): Likewise. | |
1259 | * infcmd.c (continue_command): Adjust to new bpstat_num | |
1260 | interface. | |
1261 | (program_info): Likewise. | |
1262 | ||
214197f9 UW |
1263 | 2007-03-27 Ulrich Weigand <[email protected]> |
1264 | ||
1265 | * config/sh/tm-sh.h: Remove file. | |
1266 | * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove. | |
1267 | * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove. | |
1268 | * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
1269 | * config/sh/tm-wince.h: Do not include "sh/tm-sh.h". | |
1270 | ||
bac718a6 UW |
1271 | 2007-03-27 Ulrich Weigand <[email protected]> |
1272 | ||
1273 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT, | |
1274 | DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove. | |
1275 | * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT, | |
1276 | DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT. | |
1277 | * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint | |
1278 | sequence if target_shortname is "remote". | |
1279 | ||
de6a76fd DJ |
1280 | 2007-03-27 Anton Blanchard <[email protected]> |
1281 | ||
1282 | * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset | |
1283 | instead of wordsize when looking for the LR in a stack frame. | |
1284 | ||
4fc771b8 DJ |
1285 | 2007-03-27 Andreas Schwab <[email protected]> |
1286 | Daniel Jacobowitz <[email protected]> | |
1287 | ||
1288 | * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to... | |
1289 | (dwarf2_frame_adjust_regnum): ...this. Make static. Add eh_frame_p | |
1290 | argument. Update all callers. | |
1291 | (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum. | |
1292 | (dwarf2_frame_set_eh_frame_regnum): Rename to... | |
1293 | (dwarf2_frame_set_adjust_regnum): ...this. Update argument type. | |
1294 | * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to... | |
1295 | (dwarf2_frame_set_adjust_regnum): ...this. | |
1296 | (dwarf2_frame_eh_frame_regnum): Delete prototype. | |
1297 | * rs6000-tdep.c: Include "dwarf2-frame.h". | |
1298 | (rs6000_adjust_frame_regnum): Define. | |
1299 | (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder. | |
1300 | Register rs6000_adjust_frame_regnum. | |
1301 | ||
1302 | * Makefile.in (rs6000-tdep.o): Update dependencies. | |
1303 | ||
9453113a DJ |
1304 | 2007-03-27 Brooks Moses <[email protected]> |
1305 | ||
1306 | * Makefile.in: Add support for a "pdf" target. | |
1307 | ||
d2449ee8 DJ |
1308 | 2007-03-27 Daniel Jacobowitz <[email protected]> |
1309 | ||
1310 | * amd64-tdep.c (amd64_init_frame_cache): New function. | |
1311 | (amd64_alloc_frame_cache, amd64_skip_prologue): Use it. | |
1312 | ||
a72d8a8e MR |
1313 | 2007-03-26 Nigel Stephens <[email protected]> |
1314 | Maciej W. Rozycki <[email protected]> | |
1315 | ||
1316 | * ui-out.c (ui_out_field_core_addr): Truncate address to | |
1317 | TARGET_ADDR_BIT size before printing. | |
1318 | ||
5200c3f3 | 1319 | 2007-03-22 Nigel Stephens <[email protected]> |
a72d8a8e | 1320 | Maciej W. Rozycki <[email protected]> |
5200c3f3 L |
1321 | |
1322 | * remote-mips.c (mips_xfer_memory): Update prototype. | |
1323 | ||
16708cba JB |
1324 | 2007-03-22 Joel Brobecker <[email protected]> |
1325 | ||
1326 | * symfile.h: #include "symtab.h" | |
1327 | ||
0fe514e3 DP |
1328 | 2007-03-22 Denis Pilat <[email protected]> |
1329 | ||
1330 | * utils.c (pagination_on_command, pagination_off_command): | |
1331 | Remove useless prototypes. | |
1332 | ||
4a52dc15 PM |
1333 | 2007-03-21 Pierre Muller <[email protected]> |
1334 | ||
1335 | Fix PR pascal/2232. | |
1336 | * p-valprint.c (pascal_object_print_value): Use type_name_no_tag | |
1337 | instead of TYPE_NAME for object base class name. | |
1338 | ||
1339 | ||
1c86fa97 KB |
1340 | 2007-03-19 Kevin Buettner <[email protected]> |
1341 | ||
1342 | * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id): | |
1343 | Specify frame type in calls to frame_func_unwind(). | |
1344 | ||
4e463ff5 DJ |
1345 | 2007-03-13 Daniel Jacobowitz <[email protected]> |
1346 | ||
1347 | * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal. | |
1348 | (rs6000_in_function_epilogue_p): Use extract_unsigned_integer. | |
1349 | (refine_prologue_limit): Delete. | |
1350 | (skip_prologue): Don't call it. Use extract_unsigned_integer. | |
1351 | Assume lim_pc is set. Correct check for incomplete prologues. | |
1352 | Do not skip clobbers of the frame pointer. | |
1353 | * symtab.c (skip_prologue_using_sal): Fail if there is only one | |
1354 | sal. | |
1355 | ||
348473d5 NF |
1356 | 2007-03-13 Nathan Froyd <[email protected]> |
1357 | ||
1358 | * frame.c (frame_pop): Check to see whether there's a frame to | |
1359 | which we can pop first. | |
1360 | ||
a2f9cf0d NF |
1361 | 2007-03-13 Nathan Froyd <[email protected]> |
1362 | ||
1363 | * MAINTAINERS (Write After Approval): Add myself. | |
1364 | ||
569631c6 UW |
1365 | 2007-03-09 Markus Deuling <[email protected]> |
1366 | ||
1367 | * infrun.c (breakpoints_failed): Remove unnecessary variable. | |
1368 | (handle_inferior_event): Remove unnecessary braces. | |
1369 | * breakpoint.c (bpstat_what): Remove wrong comment. | |
1370 | ||
fe5febed UW |
1371 | 2007-03-09 Ulrich Weigand <[email protected]> |
1372 | ||
1373 | * spu-tdep.c (spu_in_function_epilogue_p): New function. | |
1374 | (spu_gdbarch_init): Install it. | |
1375 | ||
9dea8ca2 UW |
1376 | 2007-03-08 Ulrich Weigand <[email protected]> |
1377 | ||
1378 | * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported | |
1379 | object types, not 0. | |
1380 | ||
7b3dc0b7 UW |
1381 | 2007-03-08 Ulrich Weigand <[email protected]> |
1382 | ||
1383 | * spu-tdep.c (spu_frame_align): New function. | |
1384 | (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK. | |
1385 | ||
118dfbaf UW |
1386 | 2007-03-08 Ulrich Weigand <[email protected]> |
1387 | ||
1388 | * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit. | |
1389 | (spu_software_single_step): Likewise. | |
1390 | (spu_read_pc, spu_write_pc): New functions. | |
1391 | (spu_gdbarch_init): Install them. | |
1392 | ||
29e4017d UW |
1393 | 2007-03-08 Ulrich Weigand <[email protected]> |
1394 | ||
1395 | * cli/cli-dump.c (struct callback_data): load_offset needs to | |
1396 | have signed long type. | |
1397 | ||
6de5b849 JB |
1398 | 2007-03-07 Joel Brobecker <[email protected]> |
1399 | ||
1400 | * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer): | |
1401 | Revert the previous change that had some unexpected side-effects | |
1402 | on mips32. | |
1403 | (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper | |
1404 | function to get the address of the calling instruction. | |
1405 | ||
7490ba4f DP |
1406 | 2007-03-07 Denis Pilat <[email protected]> |
1407 | ||
1408 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace | |
1409 | get_selected_frame by deprecated_safe_get_selected_frame. | |
1410 | ||
861fb77c MK |
1411 | 2007-03-02 Mark Kettenis <[email protected]> |
1412 | ||
1413 | * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and | |
1414 | "gdb_string.h". Don't include "nbsd-tdep.h". | |
1415 | (SIZEOF_STRUCT_REG): Remove. | |
1416 | (SHNBSD_SIZEOF_GREGS): New. | |
1417 | (shnbsd_supply_gregset, shnbsd_collect_gregset) | |
1418 | (shnbsd_regset_from_core_section): New functions. | |
1419 | (fetch_core_registers, fetch_elfcore_registers): Remove functions. | |
1420 | (shnbsd_supply_reg, shnbsd_fill_reg): Simply call | |
1421 | shnbsd_supply_gregset, shnbsd_collect_gregset. | |
1422 | (shnbsd_gregset): New variable. | |
1423 | (shnbsd_init_abi): Set regset_from_core_section. | |
1424 | (GDB_OSABI_NETBSD_CORE): New define. | |
1425 | (shnbsd_core_osabi_sniffer): New function. | |
1426 | (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer. | |
1427 | * Makefile.in (shnbsd-tdep.o): Update dependencies. | |
1428 | * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove | |
1429 | nbsd-tdep.o. | |
1430 | * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o. | |
1431 | ||
787cbe14 JB |
1432 | 2007-02-28 Joel Brobecker <[email protected]> |
1433 | ||
1434 | * gdbtypes.c (replace_type): Fix typo that caused us to not update | |
1435 | length of the types referenced by the new type CV ring. | |
1436 | ||
35f196d9 DJ |
1437 | 2007-02-28 Daniel Jacobowitz <[email protected]> |
1438 | ||
1439 | * frame.c (frame_pop, frame_observer_target_changed): Call | |
1440 | reinit_frame_cache. | |
1441 | (flush_cached_frames): Rename to reinit_frame_cache and delete | |
1442 | old implementation. | |
1443 | * frame.h (flush_cached_frames): Delete prototype and update comment. | |
1444 | ||
1445 | * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call | |
1446 | reinit_frame_cache instead of flush_cached_frames. Do not call | |
1447 | select_frame after reinit_frame_cache. | |
1448 | * corelow.c (core_open): Likewise. | |
1449 | * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise. | |
1450 | * infrun.c (prepare_to_proceed, context_switch) | |
1451 | (handle_inferior_event): Likewise. | |
1452 | * linux-fork.c (fork_load_infrun_state): Likewise. | |
1453 | * ocd.c (ocd_start_remote): Likewise. | |
1454 | * remote-e7000.c (e7000_start_remote): Likewise. | |
1455 | * remote-mips.c (device): Likewise. | |
1456 | * thread.c (switch_to_thread): Likewise. | |
1457 | * tracepoint.c (finish_tfind_command): Likewise. | |
1458 | * gdbarch.c: Regenerated. | |
1459 | ||
c26f2453 JB |
1460 | 2007-02-28 Jerome Guitton <[email protected]> |
1461 | Joel Brobecker <[email protected]> | |
1462 | ||
1463 | * gdbtypes.c (check_typedef): Do not replace stub type if | |
1464 | the resolved type is not defined in the same objfile. | |
1465 | ||
7d900f1a DJ |
1466 | 2007-02-28 Daniel Jacobowitz <[email protected]> |
1467 | ||
1468 | * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion. | |
1469 | ||
76038652 | 1470 | 2007-02-28 Joel Brobecker <[email protected]> |
52eea4ce JB |
1471 | |
1472 | * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN | |
1473 | symbol for Ada units when the symbol is defined using 't' rather | |
1474 | than 'Tt' as symbol descriptor. | |
1475 | ||
d74fb156 | 1476 | 2007-02-28 Ulrich Weigand <[email protected]> |
1344afe0 UW |
1477 | |
1478 | * config/mips/tm-nbsd.h: Delete file. | |
1479 | * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
1480 | * config/sh/tm-nbsd.h: Delete file. | |
1481 | * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h. | |
1482 | ||
f8d225db JB |
1483 | 2007-02-28 Joel Brobecker <[email protected]> |
1484 | ||
1485 | * mi/mi-cmd-var.c (varobj_update_one): Remove reference to | |
1486 | unused WRONG_PARAM value since it was recently deleted. | |
1487 | ||
1bbfb19a NR |
1488 | 2007-02-28 Vladimir Prus <[email protected]> |
1489 | ||
1490 | * varobj.c (varobj_update): Free temporary vectors. | |
1491 | ||
6f7f3f0d UW |
1492 | 2007-02-28 Ulrich Weigand <[email protected]> |
1493 | ||
1494 | * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h. | |
1495 | * config/powerpc/tm-linux.h: Delete file. | |
1496 | * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h". | |
1497 | (PROCESS_LINENUMBER_HOOK): Do not undefine. | |
1498 | (TEXT_SEGMENT_BASE): Do not redefine. | |
1499 | * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here | |
1500 | from config/rs6000/tm-rs6000.h. | |
1501 | (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise. | |
1502 | * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration. | |
1503 | (TEXT_SEGMENT_BASE): Remove. | |
1504 | (IN_SOLIB_RETURN_TRAMPOLINE): Remove. | |
1505 | (rs6000_in_solib_return_trampoline): Remove. | |
1506 | (SKIP_TRAMPOLINE_CODE): Remove. | |
1507 | (rs6000_skip_trampoline_code): Remove. | |
1508 | (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h. | |
1509 | (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise. | |
1510 | (FP0_REGNUM): Remove. | |
1511 | (rs6000_find_toc_address_hook): Move to rs6000-tdep.h. | |
1512 | (rs6000_set_host_arch_hook): Remove. | |
1513 | * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h). | |
1514 | (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h). | |
1515 | * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base. | |
1516 | * rs6000-aix-tdep.c: Include "ppc-tdep.h". | |
1517 | (rs6000_aix_init_osabi): Set text_segment_base tdep field. | |
1518 | * rs6000-nat.c: Include "rs6000-tdep.h". | |
1519 | (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field. | |
1520 | (set_host_arch): Rename to ... | |
1521 | (rs6000_create_inferior): ... this. Make public. | |
1522 | (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook. | |
1523 | * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove. | |
1524 | (rs6000_create_inferior): Remove. | |
1525 | (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field. | |
1526 | (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum, | |
1527 | set_gdbarch_in_solib_return_trampoline, and | |
1528 | set_gdbarch_skip_trampoline_code. | |
1529 | * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here | |
1530 | from config/rs6000/tm-rs6000.h. | |
1531 | ||
63050a44 | 1532 | 2007-02-27 Joel Brobecker <[email protected]> |
05279ca0 JB |
1533 | |
1534 | * buildsym.c (record_producer): Do nothing if no producer is provided. | |
1535 | ||
63050a44 | 1536 | 2007-02-27 Nick Roberts <[email protected]> |
e0b75a46 NR |
1537 | |
1538 | * varobj.c (varobj_update): Remove unused local. Use gdb_assert | |
1539 | to check changelist is non-NULL. Call error if the frontend tries | |
1540 | to update a non-root variable. | |
1541 | ||
1542 | * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value. | |
1543 | ||
93d42b30 DJ |
1544 | 2007-02-27 Daniel Jacobowitz <[email protected]> |
1545 | ||
1546 | * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id) | |
1547 | (dwarf2_frame_sniffer): Update. | |
1548 | (dwarf2_signal_frame_this_id): New function. | |
1549 | (dwarf2_signal_frame_unwind): Use it. | |
1550 | (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block. | |
1551 | * frame.c (frame_func_unwind): Add this_type argument. | |
1552 | (get_frame_func): Update. | |
1553 | (frame_unwind_address_in_block): Add this_type argument and check it. | |
1554 | Fix a typo. | |
1555 | (get_frame_address_in_block): Update. | |
1556 | * frame.h (enum frame_type): Move higher in the file. | |
1557 | (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type | |
1558 | argument. | |
1559 | ||
1560 | * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c, | |
1561 | arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c, | |
1562 | hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c, | |
1563 | libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c, | |
1564 | m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c, | |
1565 | mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c, | |
1566 | score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c, | |
1567 | sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c, | |
1568 | xstormy16-tdep.c, xtensa-tdep.c: Update calls to | |
1569 | frame_func_unwind and frame_unwind_address_in_block to specify | |
1570 | the frame type. Use frame_unwind_address_in_block instead of | |
1571 | frame_pc_unwind in sniffers. | |
1572 | ||
206415a3 DJ |
1573 | 2007-02-27 Daniel Jacobowitz <[email protected]> |
1574 | ||
1575 | * frame.c (deprecated_selected_frame): Rename to... | |
1576 | (selected_frame): ...this. Make static. | |
1577 | (get_selected_frame, select_frame): Update. | |
1578 | * frame.h (deprected_select_frame): Delete. | |
1579 | (deprecated_safe_get_selected_frame): Update comments. | |
1580 | ||
1581 | * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c, | |
1582 | infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c, | |
1583 | tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c, | |
1584 | parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c, | |
1585 | tui/tui.c: Replace references to deprecated_selected_frame. | |
1586 | ||
7313566f FF |
1587 | 2007-02-27 Fred Fish <[email protected]> |
1588 | ||
1589 | * rs6000-tdep.c (skip_prologue): Recognize addi instructions that | |
1590 | directly decrement the stack pointer, accumulate their operand into | |
1591 | the stack offset, and mark the function as not being frameless. | |
1592 | ||
b6d373df DJ |
1593 | 2007-02-26 Daniel Jacobowitz <[email protected]> |
1594 | ||
1595 | * arch-utils.c (selected_byte_order): New. | |
1596 | * arch-utils.h (selected_byte_order): New prototype. | |
1597 | * remote-sim.c (gdbsim_open): Use selected_byte_order. | |
1598 | ||
2711e456 DJ |
1599 | 2007-02-26 Daniel Jacobowitz <[email protected]> |
1600 | ||
1601 | * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA. | |
1602 | (default_symfile_offsets): Check VMA here. Update section VMAs. | |
1603 | ||
baef701f DJ |
1604 | 2007-02-26 Daniel Jacobowitz <[email protected]> |
1605 | ||
1606 | * remote.c (init_remote_state): Add special handling for placeholder | |
1607 | registers. | |
1608 | ||
05a4558a DJ |
1609 | 2007-02-26 Daniel Jacobowitz <[email protected]> |
1610 | ||
1611 | * Makefile.in (XMLFILES): Include $(TDEP_XML). | |
1612 | (filenames_h): New variable. | |
1613 | (clean): Clean up xml-builtin.c and stamp-xml. | |
1614 | (arm-linux-nat.o): Update. | |
1615 | * config/arm/linux.mh (TDEP_XML): Define. | |
1616 | * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. | |
1617 | (arm_linux_has_wmmx_registers): New. | |
1618 | (GET_THREAD_ID): Fix typo. | |
1619 | (IWMMXT_REGS_SIZE): Define. | |
1620 | (fetch_wmmx_regs, store_wmmx_regs): New. | |
1621 | (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs. | |
1622 | (arm_linux_store_inferior_registers): Use store_wmmx_regs. | |
1623 | (super_xfer_partial, arm_linux_xfer_partial): New. | |
1624 | (_initialize_arm_linux_nat): Use them. | |
1625 | * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT. | |
1626 | (xml_builtin_xfer_partial): New function. | |
1627 | * xml-support.h (xml_builtin_xfer_partial): New prototype. | |
1628 | * NEWS: Update mention of iWMMXt support. | |
1629 | ||
ff6f572f DJ |
1630 | 2007-02-26 Daniel Jacobowitz <[email protected]> |
1631 | ||
1632 | * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves | |
1633 | if there are no FPA registers. | |
1634 | (arm_dwarf_reg_to_regnum): New function. | |
1635 | (arm_register_type, arm_register_name): Return minimal values for | |
1636 | unsupported registers. | |
1637 | (arm_register_sim_regno): Handle iWMMXt registers. | |
1638 | (arm_gdbarch_init): Record missing FPA registers if indicated by | |
1639 | a target description. Recognize iWMMXt registers. Only register | |
1640 | "info float" for FPA. Use ARM_NUM_REGS. Register | |
1641 | arm_dwarf_reg_to_regnum. | |
1642 | * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt | |
1643 | constants. | |
1644 | (struct gdbarch_tdep): Add have_fpa_registers. | |
1645 | * features/xscale-iwmmxt.xml: Update capitalization. | |
1646 | * regformats/arm-with-iwmmxt.dat: Regenerated. | |
1647 | ||
c077150c KB |
1648 | 2007-02-24 Kevin Buettner <[email protected]> |
1649 | ||
1650 | * NEWS (New targets): Add entry for the Toshiba Media Processor. | |
1651 | ||
01c996c1 KB |
1652 | 2007-02-23 Kevin Buettner <[email protected]> |
1653 | ||
1654 | * MAINTAINERS (mep): New target. | |
1655 | ||
aeb43123 KB |
1656 | 2007-02-23 Kevin Buettner <[email protected]> |
1657 | ||
1658 | From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and | |
1659 | Richard Sandiford: | |
1660 | * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables. | |
1661 | (mep-tdep.o): New rule. | |
1662 | * configure.tgt (mep-*-*): New target. | |
1663 | * mep-tdep.c: New file. | |
1664 | * config/mep/mep.mt: New file. | |
1665 | ||
115d86cf UW |
1666 | 2007-02-22 Markus Deuling <[email protected]> |
1667 | ||
1668 | * infrun.c (inferior_stop_reason, print_stop_reason): Remove | |
1669 | BREAKPOINT_HIT and STOP_UNKNOWN. | |
1670 | ||
fef862e5 UW |
1671 | 2007-02-22 Markus Deuling <[email protected]> |
1672 | ||
1673 | * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT. | |
1674 | ||
9a7d5afb JB |
1675 | 2007-02-20 Joel Brobecker <[email protected]> |
1676 | ||
1677 | * gdb_expat.h (XMLCALL): Define if not already defined. | |
1678 | ||
81de920d AS |
1679 | 2007-02-20 Andreas Schwab <[email protected]> |
1680 | ||
1681 | * Makefile.in (symfile.o): Update dependencies. | |
1682 | ||
cb5c8c39 DJ |
1683 | 2007-02-20 Daniel Jacobowitz <[email protected]> |
1684 | ||
1685 | * MAINTAINERS: Disable -Werror for cris simulator. Build | |
1686 | sparc64-solaris2.10 instead of the broken sparc-elf. | |
1687 | * solib-frv.c: Include "solib.h". | |
1688 | * Makefile.in (solib-frv.o): Update. | |
1689 | * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch. | |
1690 | * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int. | |
1691 | (xtensa_frame_this_id, xtensa_frame_prev_register) | |
1692 | (xtensa_push_dummy_call): Use %p. | |
1693 | ||
e6bb342a DJ |
1694 | 2007-02-16 Daniel Jacobowitz <[email protected]> |
1695 | ||
1696 | * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
1697 | ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c, | |
1698 | sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". | |
1699 | * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o) | |
1700 | (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o) | |
1701 | (sparc-linux-tdep.o): Update. | |
1702 | ||
ff7a4c00 MG |
1703 | 2007-02-15 Maxim Grigoriev <[email protected]> |
1704 | ||
1705 | * xtensa-tdep.h (xtensa_reg_mask_t): New. | |
1706 | (xtensa_mask_t): Change mask field to be a separate array. | |
1707 | * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read) | |
1708 | (xtensa_pseudo_register_write, xtensa_unwind_pc) | |
1709 | (xtensa_unwind_dummy_id, xtensa_push_dummy_call) | |
1710 | (xtensa_breakpoint_from_pc): Remove implicit type casting. | |
1711 | * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5) | |
1712 | (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13) | |
1713 | (mask14, mask15): Rename to | |
1714 | (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3) | |
1715 | (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7) | |
1716 | (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11) | |
1717 | (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this. | |
1718 | (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3) | |
1719 | (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7) | |
1720 | (xtensa_submask8, xtensa_submask9, xtensa_submask10) | |
1721 | (xtensa_submask11, xtensa_submask12, xtensa_submask13) | |
1722 | (xtensa_submask14, xtensa_submask15): New. | |
1723 | (rmap): Follow strict aliasing rules doing static initialization. | |
1724 | ||
d9cc5895 DJ |
1725 | 2007-02-13 Daniel Jacobowitz <[email protected]> |
1726 | ||
1727 | * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr | |
1728 | handling from here... | |
1729 | (tdesc_register_type): ...to here. | |
1730 | * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr. | |
1731 | * features/arm-core.xml: Use code_ptr and data_ptr. | |
1732 | ||
8756216b DP |
1733 | 2007-02-13 Denis Pilat <[email protected]> |
1734 | ||
1735 | * varobj.h (enum varobj_update_error): New enum. | |
1736 | * varobj.c (struct varobj_root): Add is_valid member. | |
1737 | (varobj_get_type): Check for invalid varobj. | |
1738 | (varobj_get_attributes): Likewise. | |
1739 | (variable_editable):Likewise. | |
1740 | (varobj_update): Likewise. Use varobj_update_error. | |
1741 | (new_root_variable): Set root varobj as valid by default. | |
1742 | (varobj_invalidate): New function. | |
1743 | * symfile.c (clear_symtab_users): Use varobj_invalidate. | |
1744 | * mi/mi-cmd-var.c (varobj_update_one): Change return type to void. | |
1745 | Use varobj_update_error. | |
1746 | ||
fe8e67fd PM |
1747 | 2007-02-12 Pierre Muller <[email protected]> |
1748 | ||
1749 | Fix PR pascal/2223. | |
1750 | * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as | |
1751 | Pascal language marker. | |
1752 | * dwarf2read.c (set_cu_language): Likewise. | |
1753 | ||
c44537cf CV |
1754 | 2007-02-12 Corinna Vinschen <[email protected]> |
1755 | ||
1756 | * win32-nat.c (win32_wait): Reset terminal pgrp to GDB. | |
1757 | (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp | |
1758 | instead of target_terminal_init since inferior_ptid isn't set yet. | |
1759 | ||
20dad8ea PA |
1760 | 2007-02-10 Pedro Alves <[email protected]> |
1761 | ||
1762 | * MAINTAINERS (Write After Approval): Add myself. | |
1763 | ||
4ac94eda FF |
1764 | 2007-02-09 Fred Fish <[email protected]> |
1765 | ||
1766 | Based on work by Apple Computer, Inc. | |
1767 | * event-top.c (async_request_quit): Call quit() whenever either | |
1768 | quit_flag is set or immediate_quit is set. | |
1769 | ||
b260b6c1 GDR |
1770 | 2007-02-09 Gabriel Dos Reis <[email protected]> |
1771 | ||
1772 | * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's | |
1773 | type to a pointer to const struct block. | |
1774 | (ada_lookup_symbol_list): Don't cast away constness when calling | |
1775 | remove_out_of_scope_renamings. | |
1776 | ||
1777 | 2007-02-09 Gabriel Dos Reis <[email protected]> | |
1778 | ||
1779 | * linux-nat.c (linux_nat_find_memory_regions): Don't check the | |
1780 | address of 'filename'; it is always non null. | |
1781 | ||
0f5d55d8 JB |
1782 | 2007-02-09 Joel Brobecker <[email protected]> |
1783 | ||
1784 | * exec.c (add_to_section_table): Do not discard empty sections. | |
1785 | ||
fb1e4ffc DJ |
1786 | 2007-02-08 Daniel Jacobowitz <[email protected]> |
1787 | ||
1788 | * features/Makefile, features/arm-with-iwmmxt.xml, | |
1789 | features/gdbserver-regs.xsl, features/number-regs.xsl, | |
1790 | features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files. | |
1791 | * regformats/arm-with-iwmmxt.dat: Generate. | |
1792 | * NEWS: Mention iWMMXt. | |
1793 | ||
123dc839 DJ |
1794 | 2007-02-08 Daniel Jacobowitz <[email protected]> |
1795 | ||
1796 | * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o) | |
1797 | (xml-tdesc.o): Update. | |
1798 | * xml-support.c: Add a comment. | |
1799 | (gdb_xml_enums_boolean): New variable. | |
1800 | (gdb_xml_parse_attr_enum): Use strcasecmp. | |
1801 | * xml-support.h (gdb_xml_enums_boolean): Declare. | |
1802 | * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature, | |
1803 | next_regnum, and current_union. | |
1804 | (tdesc_start_feature, tdesc_start_reg, tdesc_start_union) | |
1805 | (tdesc_end_union, tdesc_start_field, tdesc_start_vector) | |
1806 | (field_attributes, union_children, reg_attributes, union_attributes) | |
1807 | (vector_attributes, feature_attributes, feature_children): New. | |
1808 | (target_children): Make static. Add <feature>. | |
1809 | (tdesc_elements): Make static. | |
1810 | * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p) | |
1811 | (struct tdesc_feature, tdesc_feature_p): New types. | |
1812 | (struct target_desc): Add features member. | |
1813 | (struct tdesc_arch_data, tdesc_data): New. | |
1814 | (target_find_description): Clarify error message. Warn about | |
1815 | ignored register descriptions. | |
1816 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) | |
1817 | (tdesc_named_type, tdesc_data_init, tdesc_data_alloc) | |
1818 | (tdesc_data_cleanup, tdesc_numbered_register) | |
1819 | (tdesc_numbered_register_choices, tdesc_find_register) | |
1820 | (tdesc_register_name, tdesc_register_type) | |
1821 | (tdesc_remote_register_number, tdesc_register_reggroup_p) | |
1822 | (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type) | |
1823 | (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers) | |
1824 | (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature) | |
1825 | (tdesc_create_feature, tdesc_record_type): New. | |
1826 | (free_target_description): Free features. | |
1827 | (_initialize_target_descriptions): Initialize tdesc_data. | |
1828 | * arch-utils.c (default_remote_register_number): New. | |
1829 | * arch-utils.h (default_remote_register_number): New prototype. | |
1830 | * target-descriptions.h (set_tdesc_pseudo_register_name) | |
1831 | (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p) | |
1832 | (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup) | |
1833 | (tdesc_numbered_register, tdesc_numbered_register_choices) | |
1834 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) | |
1835 | (tdesc_named_type, tdesc_create_feature, tdesc_record_type) | |
1836 | (tdesc_create_reg): Declare. | |
1837 | * gdbarch.sh (remote_register_number): New entry. | |
1838 | * gdbarch.c, gdbarch.h: Regenerate. | |
1839 | * remote.c (init_remote_state): Use gdbarch_remote_register_number. | |
1840 | * features/gdb-target.dtd: Add feature, reg, vector, union, and field. | |
1841 | ||
1842 | * arm-tdep.c (arm_register_aliases): New. | |
1843 | (arm_register_name_strings): Rename to... | |
1844 | (arm_register_names): ...this. Make const. Delete the old version. | |
1845 | (current_option, arm_register_byte): Delete. | |
1846 | (set_disassembly_style): Simplify. Do not adjust arm_register_names. | |
1847 | (value_of_arm_user_reg): New. | |
1848 | (arm_gdbarch_init): Verify any described registers. Call | |
1849 | tdesc_use_registers. Don't use arm_register_byte. Create aliases | |
1850 | for standard register names. | |
1851 | (_initialize_arm_tdep): Do not adjust arm_register_names. | |
1852 | * user-regs.c (struct user_reg): Add baton member. | |
1853 | (append_user_reg, user_reg_add_builtin, user_regs_init) | |
1854 | (user_reg_add, value_of_user_reg): Use a baton for user | |
1855 | register functions. | |
1856 | * std-regs.c: Update. | |
1857 | * user-regs.h (user_reg_read_ftype, user_reg_add_builtin) | |
1858 | (user_reg_add): Add baton argument. | |
1859 | * NEWS: Mention target description register support. | |
1860 | * features/arm-core.xml, features/arm-fpa.xml: New. | |
1861 | * eval.c (evaluate_subexp_standard): Allow ptype $register | |
1862 | when the program is not running. | |
1863 | ||
87604222 NR |
1864 | 2007-02-09 Nick Roberts <[email protected]> |
1865 | ||
1866 | * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field. | |
1867 | ||
ee4f0f76 DJ |
1868 | 2007-02-08 Thiago Jung Bauermann <[email protected]> |
1869 | ||
1870 | * rs6000-tdep.c (gdb_print_insn_powerpc): Set | |
1871 | info->disassembler_options to "any". | |
1872 | ||
7af9851d DJ |
1873 | 2007-02-08 Daniel Jacobowitz <[email protected]> |
1874 | ||
1875 | * varobj.c (install_new_value): Only call value_get_print_value | |
1876 | if changeable. | |
1877 | ||
8944021f DJ |
1878 | 2007-02-08 Daniel Jacobowitz <[email protected]> |
1879 | ||
1880 | Reported by [email protected]: | |
1881 | * gdb/target.c (target_flash_erase): Do not return void value. | |
1882 | (target_flash_done): Likewise. | |
1883 | * gdb/cli/cli-cmds.c (source_command): Likewise. | |
1884 | ||
1885 | 2007-02-08 Fred Fish <[email protected]> | |
5f960e00 | 1886 | |
4ac94eda | 1887 | Based on work by Apple Computer, Inc. |
5f960e00 FF |
1888 | * event-top.c (handle_sigint): Set quit_flag. |
1889 | (async_request_quit): Don't set quit_flag. Avoid calling quit() | |
1890 | if quit_flag has already been reset. | |
1891 | ||
4998c1df DJ |
1892 | 2007-02-08 Daniel Jacobowitz <[email protected]> |
1893 | ||
1894 | * ser-mingw.c (pipe_windows_close): Move variable initialization back | |
1895 | up. | |
1896 | ||
79da184e FF |
1897 | 2007-02-08 Fred Fish <[email protected]> |
1898 | ||
1899 | * defs.h (request_quit): Remove declaration. | |
1900 | * utils.c (request_quit): Remove definition. | |
1901 | ||
3c77c82a DJ |
1902 | 2007-02-08 Joel Brobecker <[email protected]> |
1903 | Jan Kratochvil <[email protected]> | |
1904 | Daniel Jacobowitz <[email protected]> | |
1905 | ||
1906 | * rs6000-tdep.c (bl_to_blrl_insn_p): New function. | |
1907 | (skip_prologue): Allow bl->blrl used by PIC code. | |
1908 | ||
c1b6e682 DJ |
1909 | 2007-02-08 Mark Kettenis <[email protected]> |
1910 | Daniel Jacobowitz <[email protected]> | |
1911 | ||
1912 | * cp-valprint.c (cp_print_value_fields, cp_print_value): Always | |
1913 | initialize tmp_obstack. | |
1914 | * p-valprint.c (pascal_object_print_value_fields) | |
1915 | (pascal_object_print_value): Likewise. | |
1916 | ||
fe5dedf4 DJ |
1917 | 2007-02-08 Daniel Jacobowitz <[email protected]> |
1918 | ||
1919 | * features/feature_to_c.sh: Use %s to avoid problems with nawk. | |
1920 | ||
3e461478 MK |
1921 | 2007-02-08 Mark Kettenis <[email protected]> |
1922 | ||
1923 | * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". | |
1924 | * Makefile.in (sparcnbsd-tdep.o): Update dependencies. | |
1925 | ||
fc6e0168 DJ |
1926 | 2007-02-07 Daniel Jacobowitz <[email protected]> |
1927 | ||
1928 | * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s) | |
1929 | (xml_cache): New. | |
1930 | (tdesc_parse_xml): Cache expanded descriptions. | |
1931 | ||
108546a0 DJ |
1932 | 2007-02-07 Daniel Jacobowitz <[email protected]> |
1933 | ||
1934 | * Makefile.in (XMLFILES): New. | |
1935 | (COMMON_OBS): Add xml-builtin.o. | |
1936 | (xml-builtin.c, stamp-xml): New rules. | |
1937 | (xml-tdesc.o): Update. | |
1938 | * features/feature_to_c.sh: New file. | |
1939 | * xml-support.c (MAX_XINCLUDE_DEPTH): Define. | |
1940 | (struct gdb_xml_parser): Add dtd_name and is_xinclude. | |
1941 | (gdb_xml_start_element): Initialize scope after possibly reallocating | |
1942 | scopes. Move cleanup later. Handle the XInclude description | |
1943 | specially. | |
1944 | (gdb_xml_end_element): Only parse the body if there is a current element. | |
1945 | Call XML_DefaultCurrent if there is no element. | |
1946 | (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New. | |
1947 | (struct xinclude_parsing_data, xinclude_start_include) | |
1948 | (xinclude_end_include, xml_xinclude_default) | |
1949 | (xml_xinclude_start_doctype, xml_xinclude_end_doctype) | |
1950 | (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes) | |
1951 | (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New. | |
1952 | * xml-support.h (xml_fetch_another, xml_process_xincludes) | |
1953 | (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations. | |
1954 | * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand | |
1955 | XInclude directives. Use the compiled in DTD. | |
1956 | (fetch_xml_from_file): Add baton argument. Treat it as a containing | |
1957 | directory name. Do not warn here. | |
1958 | (file_read_description_xml): Update call. Warn here instead. Pass | |
1959 | a dirname as baton. | |
1960 | (fetch_available_features_from_target): New. | |
1961 | (target_read_description_xml): Use it. | |
1962 | * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd | |
1963 | to handle XInclude. | |
1964 | * features/xinclude.dtd: New file. | |
1965 | ||
b5057acd DJ |
1966 | 2007-02-05 Daniel Jacobowitz <[email protected]> |
1967 | ||
1968 | * linux-thread-db.c (check_for_thread_db): Return early if we have | |
1969 | no libthread_db support. | |
1970 | ||
6a089cf2 DJ |
1971 | 2007-02-05 Daniel Jacobowitz <[email protected]> |
1972 | ||
1973 | * mi/mi-parse.h: Include <sys/time.h>. | |
1974 | ||
9fbcbb40 NR |
1975 | 2007-02-05 Nick Roberts <[email protected]> |
1976 | ||
1977 | * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print | |
1978 | instead of print_variable_value to print values. | |
1979 | ||
b3d2152a NR |
1980 | 2007-02-03 Nick Roberts <[email protected]> |
1981 | ||
1982 | * mi/mi-main.c: Numerous formatting changes. | |
1983 | (mi_cmd_data_write_register_values): Replace clause inadvertantly | |
1984 | removed in my previous change. | |
1985 | ||
79f0a97a NR |
1986 | 2007-02-03 Eli Zaretskii <[email protected]> |
1987 | ||
1988 | * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now): | |
1989 | Use 1000000L instead of 1000000. | |
1990 | ||
95a98c01 | 1991 | 2007-02-03 Nick Roberts <[email protected]> |
cd375699 NR |
1992 | |
1993 | Based on work by Apple Computer, Inc. | |
1994 | ||
1995 | * configure.ac: Test for sys/resource.h and getrusage. | |
1996 | * configure, config.in: Regenerate. | |
1997 | ||
1998 | * mi/mi-main.c: Include <sys/resource.h> if present. | |
1999 | (rusage): Declare if HAVE_GETRUSAGE. | |
2000 | (current_command_ts, do_timings): New static variables. | |
2001 | (timestamp, print_diff_now, print_diff, timeval_diff): | |
2002 | New static timing functions. | |
2003 | (mi_cmd_enable_timings): New function for new MI command. | |
2004 | (captured_mi_execute_command, mi_execute_async_cli_command): | |
2005 | Call timing functions. | |
2006 | ||
2007 | * mi/mi-cmds.c (mi_cmds): Add entry for new MI command | |
2008 | -enable-timings. | |
2009 | ||
2010 | * mi/mi-cmds.h (mi_cmd_enable_timings): New extern. | |
2011 | ||
2012 | * mi/mi-parse.h: (mi_timestamp): New structure. | |
2013 | (mi_parse): Add mi_timestamp* member. | |
2014 | ||
99b3d574 DP |
2015 | 2007-02-02 Denis Pilat <[email protected]> |
2016 | ||
2017 | * thread.c (make_cleanup_restore_current_thread): New function. | |
2018 | (info_threads_command): Use of make_cleanup_restore_current_thread | |
2019 | to restore the current thread and the selected frame. | |
2020 | (restore_selected_frame): New function. | |
2021 | (struct current_thread_cleanup): Add frame_id field. | |
2022 | (do_restore_current_thread_cleanup): Add restoring of the selected | |
2023 | frame. | |
2024 | (make_cleanup_restore_current_thread): Likewise. | |
2025 | (thread_apply_all_command): backup the selected frame while | |
2026 | entering the function and restore it at exit. | |
2027 | (thread_apply_command): Likewise. | |
2028 | ||
d3c598de DP |
2029 | 2007-02-02 Denis Pilat <[email protected]> |
2030 | ||
2031 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
2032 | ||
b69733ab | 2033 | 2007-02-01 Kazuhiro Inaoka <[email protected]> |
3e41d55f KI |
2034 | |
2035 | * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask. | |
2036 | (m32r_store_register): Ditto. | |
2037 | ||
b69733ab | 2038 | 2007-01-30 Vladimir Prus <[email protected]> |
ef7723eb VP |
2039 | |
2040 | * ser-mingw.c (pipe_windows_open) | |
2041 | (pipe_windows_read, pipe_windows_write): Declare | |
2042 | variables at the top of the function. | |
2043 | ||
8da61cc4 DJ |
2044 | 2007-01-29 Daniel Jacobowitz <[email protected]> |
2045 | ||
2046 | * doublest.c (floatformat_from_length): Use the right element from | |
2047 | gdbarch floatformats. | |
2048 | (floatformat_from_type, extract_typed_floating) | |
2049 | (store_typed_floating): Likewise. | |
2050 | * doublest.h: Remove declarations for undefined floatformat arrays. | |
2051 | * gdbarch.sh (float_format, double_format, long_double_format): Change | |
2052 | to pairs. | |
2053 | (pformat): Update for pairs. | |
2054 | * gdbarch.c, gdbarch.h: Regenerated. | |
2055 | * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double) | |
2056 | (floatformats_ieee_double_littlebyte_bigword) | |
2057 | (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext) | |
2058 | (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f) | |
2059 | (floatformats_vax_d): New variables. | |
2060 | (builtin_type_ieee_single, builtin_type_ieee_double) | |
2061 | (builtin_type_arm_ext, builtin_type_ia64_spill) | |
2062 | (builtin_type_ia64_quad): Replace arrays with individual types. | |
2063 | (builtin_type_ieee_single_big, builtin_type_ieee_single_little) | |
2064 | (builtin_type_ieee_double_big, builtin_type_ieee_double_little) | |
2065 | (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext) | |
2066 | (builtin_type_m88110_ext, builtin_type_m88110_harris_ext) | |
2067 | (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword) | |
2068 | (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little) | |
2069 | (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete | |
2070 | unused and endian-specific types. | |
2071 | (recursive_dump_type): Update for floatformat pairs. | |
2072 | (build_flt): Move higher. Handle bit == -1. Take a floatformat pair. | |
2073 | (build_gdbtypes): Use build_flt. | |
2074 | (_initialize_gdbtypes): Update set of initialized types. | |
2075 | * gdbtypes.h: Update declarations to match gdbtypes.c. | |
2076 | (struct main_type): Store a pointer to two floatformats. | |
2077 | * arch-utils.c (default_float_format, default_double_format): Delete. | |
2078 | * arch-utils.h (default_float_format, default_double_format): Delete. | |
2079 | ||
2080 | * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
2081 | ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c, | |
2082 | mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c, | |
2083 | sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c, | |
2084 | vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update. | |
2085 | ||
87680a14 JB |
2086 | 2007-01-29 Joel Brobecker <[email protected]> |
2087 | ||
2088 | * target.c (maintenance_print_target_stack): New function. | |
2089 | (initialize_targets): Add new "maintenance print target-stack" | |
2090 | command. | |
2091 | ||
1c3d648d MK |
2092 | 2007-01-28 Mark Kettenis <[email protected]> |
2093 | ||
2094 | * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero. | |
2095 | ||
607269ae DJ |
2096 | 2007-01-27 Daniel Jacobowitz <[email protected]> |
2097 | ||
2098 | * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long. | |
2099 | (struct dwarf2_loclist_baton): Likewise. | |
2100 | ||
40c03ae8 EZ |
2101 | 2007-01-27 Eli Zaretskii <[email protected]> |
2102 | ||
2103 | * cli/cli-script.c: Include breakpoint.h. | |
2104 | (build_command_line): Require arguments only for if and while | |
2105 | commands. | |
2106 | (get_command_line, execute_user_command, execute_control_command): | |
2107 | Fix wording of warning messages. | |
2108 | (print_command_lines): Print breakpoint commands. | |
2109 | (execute_control_command): Call commands_from_control_command to | |
2110 | handle the `commands' command inside a body of a flow-control | |
2111 | command. | |
2112 | (read_next_line): Recognize the `commands' command and build a | |
2113 | command line structure for it. | |
2114 | (recurse_read_control_structure, read_command_lines): Handle | |
2115 | `commands' similarly to `if' and `while'. | |
2116 | ||
2117 | * breakpoint.c (get_number_trailer): Document the special meaning | |
2118 | of NULL as the first argument PP. | |
2119 | (commands_from_control_command): New function. | |
2120 | ||
2121 | * breakpoint.h (commands_from_control_command): Add prototype. | |
2122 | ||
2123 | * defs.h (commands_control): New enumerated value for enum | |
2124 | command_control_type. | |
2125 | ||
4b9eee8c JB |
2126 | 2007-01-26 Joel Brobecker <[email protected]> |
2127 | ||
2128 | * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name. | |
2129 | (ada_exception_sal): Update accordingly. | |
2130 | ||
e1f48ead JK |
2131 | 2007-01-26 Jan Kratochvil <[email protected]> |
2132 | ||
2133 | * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs. | |
2134 | * NEWS: Describe CHAR array vs. string identifcation rules. | |
2135 | ||
e150acc7 PB |
2136 | 2007-01-25 Paul Brook <[email protected]> |
2137 | ||
2138 | * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error. | |
2139 | ||
10fb19b6 JB |
2140 | 2007-01-24 Jim Blandy <[email protected]> |
2141 | ||
2142 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location | |
2143 | expression is empty, bother to return the 'optimized out' value we | |
2144 | construct. (Thanks to Carl Burch.) | |
2145 | ||
85d93f1d VP |
2146 | 2007-01-24 Vladimir Prus <[email protected]> |
2147 | ||
2148 | * varobj.c (c_value_of_root, c_value_of_child) | |
2149 | (cplus_describe_child): Don't call release_value. | |
2150 | ||
fcbd8a5c TS |
2151 | 2007-01-24 Thiemo Seufer <[email protected]> |
2152 | ||
2153 | * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct | |
2154 | initialization. | |
2155 | ||
2024f65a VP |
2156 | 2007-01-24 Vladimir Prus <[email protected]> |
2157 | ||
2158 | Refactor getting children name, value and type access | |
2159 | for varobjs in C++. | |
2160 | * varobj.c (get_type_deref): Remove. | |
2161 | (adjust_value_for_child_access): New. | |
2162 | (c_number_of_children): Use the above. | |
2163 | (c_describe_child): Likewise. | |
2164 | (enum accessibility): New. | |
2165 | (match_accessibility): New function. | |
2166 | (cplus_describe_child): New function. | |
2167 | (cplus_name_of_child, cplus_value_of_child) | |
2168 | (cplus_type_of_child): Reimplement in terms | |
2169 | of cplus_describe_child. | |
2170 | (cplus_number_of_children): Use | |
2171 | adjust_value_for_child_access. | |
2172 | ||
6e2a9270 VP |
2173 | 2007-01-24 Vladimir Prus <[email protected]> |
2174 | ||
2175 | Fix computation of the 'editable' attribute and | |
2176 | value changeability for for references. | |
2177 | * varobj.c (get_value_type): New function. | |
2178 | (c_variable_editable): Use get_value_type. | |
2179 | (varobj_value_is_changeable): Likewise. | |
2180 | ||
56163ce1 JB |
2181 | 2007-01-24 Joel Brobecker <[email protected]> |
2182 | ||
2183 | * source.c (find_and_open_source): Try rewriting the source | |
2184 | path inside filename if dirname is NULL. | |
2185 | ||
8c6860bb JB |
2186 | 2007-01-24 Joel Brobecker <[email protected]> |
2187 | ||
2188 | * dwarf2read.c (add_partial_symbol): Create an extra partial | |
2189 | symbol in the VAR_DOMAIN for Ada structures, unions or enums. | |
2190 | (new_symbol): Likewise for symbols. | |
2191 | ||
6db6d2ca NR |
2192 | 2007-01-24 Nick Roberts <[email protected]> |
2193 | ||
2194 | * mi/mi-main.c (mi_cmd_execute): Call free_all_values. | |
2195 | ||
7d85ee02 VP |
2196 | 2007-01-23 Vladimir Prus <[email protected]> |
2197 | ||
2198 | * value.c (value_primitive_field): Copy the full 'location' | |
2199 | contents, instead of assuming that copying ADDRESS will | |
2200 | bring over everything in the union. Remove obsolete comment. | |
2201 | ||
f79b9530 DJ |
2202 | 2007-01-23 Masaki Muranaka <[email protected]> |
2203 | ||
2204 | * m32c-tdep.c (make_regs, m32c_analyze_prologue) | |
2205 | (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer) | |
2206 | (m32c_m16c_pointer_to_address): Separate code from declarations. | |
2207 | ||
08d8bcd7 DJ |
2208 | 2007-01-23 Nick Hudson <[email protected]> |
2209 | ||
2210 | * target.c (update_current_target): Correct typo. | |
2211 | ||
57fdbbbe CV |
2212 | 2007-01-22 Masaki Muranaka <[email protected]> |
2213 | ||
2214 | * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a | |
2215 | declaration. | |
2216 | ||
58894217 JK |
2217 | 2007-01-11 Andrew Cagney <[email protected]> |
2218 | Daniel Jacobowitz <[email protected]> | |
2219 | Jan Kratochvil <[email protected]> | |
2220 | ||
2221 | * dwarf2-frame.c (execute_cfa_program): New support of | |
2222 | `DW_CFA_GNU_negative_offset_extended'. | |
2223 | ||
9ebce043 DJ |
2224 | 2007-01-21 Daniel Jacobowitz <[email protected]> |
2225 | ||
2226 | * NEWS: Mention flash support for "load" and new remote packets. | |
2227 | ||
973d738b DJ |
2228 | 2007-01-21 Markus Deuling <[email protected]> |
2229 | ||
2230 | * breakpoint.c (delete_command): Skip redundant loop iterations. | |
2231 | ||
7b9ee6a8 DJ |
2232 | 2007-01-21 Daniel Jacobowitz <[email protected]> |
2233 | ||
2234 | * gdbarch.sh (register_type): Update comment. | |
2235 | * gdbarch.h: Regenerated. | |
2236 | * arch-utils.c (generic_register_size): Call register_type. | |
2237 | * ia64-tdep.c (ia64_extract_return_value): Likewise. | |
2238 | * m32c-tdep.c (check_for_saved): Likewise. | |
2239 | * mips-tdep.c (mips_print_register, print_gp_register_row) | |
2240 | (mips_print_registers_info): Likewise. | |
2241 | * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write): | |
2242 | Likewise. | |
2243 | * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write) | |
2244 | (sh64_do_register, sh64_print_register) | |
2245 | (sh64_media_print_registers_info): Likewise. | |
2246 | * tui/tui-regs.c (tui_register_format): Likewise. | |
2247 | ||
11309657 DJ |
2248 | 2007-01-21 Daniel Jacobowitz <[email protected]> |
2249 | ||
2250 | * objfiles.h (ALL_PRIMARY_SYMTABS): Define. | |
2251 | ||
2252 | * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list) | |
2253 | (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS. | |
2254 | * cp-support.c (make_symbol_overload_list_qualified): Likewise. | |
2255 | * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
2256 | (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols) | |
2257 | (make_symbol_completion_list): Likewise. | |
2258 | ||
cb1df416 DJ |
2259 | 2007-01-21 Jan Kratochvil <[email protected]> |
2260 | Daniel Jacobowitz <[email protected]> | |
2261 | ||
2262 | * buildsym.c (end_symtab): Use preallocated symtab if available. | |
2263 | Fill in SYMBOL_SYMTAB. | |
2264 | * buildsym.h (struct subfile): Add symtab member. | |
2265 | * dwarf2read.c (struct dwarf2_cu): Add line_header. | |
2266 | (struct file_entry): Add symtab. | |
2267 | (free_cu_line_header): New function. | |
2268 | (read_file_scope): Use it. Save line_header in the cu. Process | |
2269 | lines before DIEs. | |
2270 | (add_file_name): Initialize new symtab member. | |
2271 | (dwarf_decode_lines): Create symtabs for included files. | |
2272 | (new_symbol): Set SYMBOL_SYMTAB. | |
2273 | * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB. | |
2274 | (search_symbols): Likewise. | |
2275 | * symtab.h (struct symbol): Add symtab member. | |
2276 | (SYMBOL_SYMTAB): Define. | |
2277 | ||
727da900 DJ |
2278 | 2007-01-20 Daniel Jacobowitz <[email protected]> |
2279 | ||
2280 | * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO. | |
2281 | ||
7b6b9e83 DJ |
2282 | 2007-01-20 Daniel Jacobowitz <[email protected]> |
2283 | ||
2284 | * arch-utils.c (show_endian): Correct reversed condition. | |
2285 | ||
e767400c JK |
2286 | 2007-01-19 Jan Kratochvil <[email protected]> |
2287 | ||
2288 | * MAINTAINERS (Write After Approval): Add myself. | |
2289 | ||
b20d8971 VP |
2290 | 2007-01-16 Daniel Jacobowitz <[email protected]> |
2291 | Vladimir Prus <[email protected]> | |
2292 | ||
2293 | Fix 'selected frame' varobjs. | |
2294 | * varobj.c (struct varobj): Remove the error field. | |
2295 | (varobj_set_value): Don't check var->error. | |
2296 | (install_new_value): Don't set var->error. | |
2297 | (varobj_update): Always pass the new value | |
2298 | of the root via install_new_value. | |
2299 | (create_child): Don't set error field. | |
2300 | (new_variable): Likewise. | |
2301 | (c_value_of_root): Always reevaluate the value | |
2302 | of selected frame varobjs in the selected frame. | |
2303 | Don't call reinit_frame_cache. | |
2304 | ||
7ef2b397 JB |
2305 | 2007-01-15 Joel Brobecker <[email protected]> |
2306 | ||
2307 | * source.c (_initialize_source): Improve the help text of | |
2308 | the substitute-path commands. | |
2309 | ||
1208538e MK |
2310 | 2007-01-14 Mark Kettenis <[email protected]> |
2311 | ||
2312 | * frv-tdep.c (frv_gdbarch_init, frv_register_name) | |
2313 | (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address) | |
2314 | (frv_skip_prologue): Remove prototypes. | |
2315 | (frv_adjust_breakpoint_address): Renamed from | |
2316 | frv_gdbarch_adjust_breakpoint_address. | |
2317 | (frv_gdbarch_init): Adjust. | |
2318 | ||
765f065a MK |
2319 | 2007-01-13 Mark Kettenis <[email protected]> |
2320 | ||
5e66aab2 MK |
2321 | * gdbarch.sh (deprecated_extract_return_value) |
2322 | (deprecated_store_return_value): Remove. | |
2323 | (extract_return_value, store_return_value): Remove default values. | |
2324 | * gdbarch.c, gdbarch.h: Regenerate. | |
2325 | * arch-utils.c, arch-utils.h (legacy_extract_return_value) | |
2326 | (legacy_store_return_value): Remove. | |
2327 | * regcache.c, regcache.h (deprecated_grub_regcache_for_registers): | |
2328 | Remove. | |
2329 | ||
56178203 MK |
2330 | * mi/mi-main.c: Remove obsolete comment. |
2331 | ||
23303b2e MK |
2332 | * regcache.c, regcache.h (deprecated_register_bytes) |
2333 | (deprecated_read_register_bytes) | |
2334 | (deprecated_write_register_bytes): Remove. | |
2335 | ||
765f065a MK |
2336 | * frame.c (get_frame_register_bytes, put_frame_register_bytes): |
2337 | Don't forget to move destination pointer. | |
2338 | ||
610acfff MK |
2339 | 2007-01-01 Mark Kettenis <[email protected]> |
2340 | ||
2341 | * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove. | |
2342 | ||
12102450 UW |
2343 | 2007-01-11 Ulrich Weigand <[email protected]> |
2344 | ||
2345 | * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace | |
2346 | past entry function with recent newlib. | |
2347 | ||
c8b2f53c VP |
2348 | 2007-01-11 Vladimir Prus <[email protected]> |
2349 | ||
2350 | * gdb.texinfo (GDB/MI Variable Objects): Improve the | |
2351 | introduction. Specify -var-update more exactly. | |
2352 | ||
d57df5e4 DJ |
2353 | 2007-01-11 Daniel Jacobowitz <[email protected]> |
2354 | ||
2355 | * frame.c (get_prev_frame_1): Check PC_REGNUM before using it. | |
2356 | ||
03f597d5 JB |
2357 | 2007-01-10 Jim Blandy <[email protected]> |
2358 | ||
2359 | * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted | |
2360 | the Global Maintainers' invitation to be a global maintainer. | |
2361 | ||
fd48f117 DJ |
2362 | 2007-01-10 Daniel Jacobowitz <[email protected]> |
2363 | ||
2364 | * infrun.c (singlestep_pc): New variable. | |
2365 | (resume): Set singlestep_pc. | |
2366 | (context_switch): Add a debugging message. Flush the frame cache. | |
2367 | (handle_inferior_event): Add debugging messages. Handle thread | |
2368 | hops when a software single step has completed. Let context_switch | |
2369 | handle flushing the frame cache. | |
2370 | ||
23181151 DJ |
2371 | 2007-01-09 Daniel Jacobowitz <[email protected]> |
2372 | ||
2373 | * NEWS: Mention target descriptions, "set tdesc filename", | |
2374 | "unset tdesc filename", "show tdesc filename", and | |
2375 | qXfer:features:read. | |
2376 | * arch-utils.c (choose_architecture_for_target): New function. | |
2377 | (gdbarch_info_fill): Call it. | |
2378 | * target-descriptions.c (struct property): Make members non-const. | |
2379 | (struct target_desc): Add arch member. | |
2380 | (target_description_filename): New variable. | |
2381 | (target_find_description): Try via XML first. | |
2382 | (tdesc_architecture): New. | |
2383 | (free_target_description, make_cleanup_free_target_description): New. | |
2384 | (set_tdesc_property): Call xstrdup. | |
2385 | (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist) | |
2386 | (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd) | |
2387 | (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd) | |
2388 | (show_tdesc_filename_cmd, _initialize_target_descriptions): New. | |
2389 | * target-descriptions.h (tdesc_architecture) | |
2390 | (make_cleanup_free_target_description, set_tdesc_architecture): New | |
2391 | prototypes. | |
2392 | * Makefile.in (SFILES): Add xml-tdesc.c. | |
2393 | (COMMON_OBS): Add xml-tdesc.o. | |
2394 | (target-descriptions.o): Update. | |
2395 | (xml-tdesc.o): New rule. | |
2396 | * xml-tdesc.c, xml-tdesc.h: New files. | |
2397 | * remote.c (PACKET_qXfer_features): New enum. | |
2398 | (remote_protocol_features): Add qXfer:features:read. | |
2399 | (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES. | |
2400 | (_initialize_remote): Register qXfer:features:read. | |
2401 | * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES. | |
2402 | * features/gdb-target.dtd: New file. | |
2403 | ||
3e9cb5f4 DJ |
2404 | 2007-01-09 Daniel Jacobowitz <[email protected]> |
2405 | ||
2406 | * copyright.sh: Clarify error. | |
2407 | ||
818f79f6 DJ |
2408 | 2007-01-09 Jan Kratochvil <[email protected]> |
2409 | ||
2410 | * symtab.c (matching_bfd_sections): Fix VMA matching for | |
2411 | prelinked objects. | |
2412 | ||
f7a6bb70 DJ |
2413 | 2007-01-09 Jan Kratochvil <[email protected]> |
2414 | ||
2415 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle | |
2416 | nested symbols. | |
2417 | ||
20ac0504 DJ |
2418 | 2007-01-09 Daniel Jacobowitz <[email protected]> |
2419 | ||
2420 | Updated copyright notices for most files. | |
2421 | ||
85bb0718 DJ |
2422 | 2007-01-09 Daniel Jacobowitz <[email protected]> |
2423 | ||
2424 | * copyright.sh (prunes): Add step-line.inp and step-line.c. | |
2425 | ||
aa28a74e DJ |
2426 | 2007-01-09 Daniel Jacobowitz <[email protected]> |
2427 | ||
2428 | * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside | |
2429 | exec_prefix. | |
2430 | (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being | |
2431 | '${prefix}'. | |
2432 | * configure, config.in: Regenerate. | |
2433 | * defs.h (debug_file_directory): Declare. | |
2434 | * main.c (captured_main): Canonicalize gdb_sysroot. Assume | |
2435 | TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and | |
2436 | relocate it if DEBUGDIR_RELOCATABLE. | |
2437 | * symfile.c (debug_file_directory): Make non-static. | |
2438 | (find_separate_debug_file): Look for debug info for SYSROOT/PATH | |
2439 | in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT. | |
2440 | (_initialize_symfile): Don't initialize debug_file_directory here. | |
2441 | ||
1cfd2c3e JB |
2442 | 2007-01-09 Jim Blandy <[email protected]> |
2443 | ||
2444 | * score-tdep.c (score_push_dummy_call): Don't mix declarations and | |
2445 | statements. | |
2446 | ||
5efde112 DJ |
2447 | 2007-01-09 Daniel Jacobowitz <[email protected]> |
2448 | ||
2449 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use | |
2450 | frame_unwind_register to recurse. | |
2451 | * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise. | |
2452 | (alpha_heuristic_frame_prev_register): Likewise. | |
2453 | * h8300-tdep.c (h8300_frame_prev_register): Likewise. | |
2454 | * m32c-tdep.c (m32c_prev_register): Likewise. | |
2455 | * frame.c (frame_register_unwind_location): Remove FIXME. | |
2456 | ||
4de1f557 DJ |
2457 | 2007-01-09 Daniel Jacobowitz <[email protected]> |
2458 | Eli Zaretskii <[email protected]> | |
2459 | ||
2460 | * copyright.sh: New file. | |
2461 | ||
ca4ca11e DJ |
2462 | 2007-01-09 Daniel Jacobowitz <[email protected]> |
2463 | ||
2464 | * configure.ac: Check for XML_StopParser. | |
2465 | * xml-support.c (gdb_xml_body_text): Check for an error. | |
2466 | (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser. | |
2467 | (gdb_xml_end_element_wrapper): Likewise. | |
2468 | * config.in, configure: Regenerated. | |
2469 | ||
57e66780 DJ |
2470 | 2007-01-08 Daniel Jacobowitz <[email protected]> |
2471 | ||
2472 | * varobj.c (install_new_value): Always update print_value. | |
2473 | (value_get_print_value): Immediately return NULL for missing | |
2474 | values. | |
2475 | ||
b523a1fd JB |
2476 | 2007-01-08 Jim Blandy <[email protected]> |
2477 | ||
2478 | * configure.ac: Tighten pattern for extracting value of | |
2479 | DEPRECATED_TM_FILE from the target makefile fragment. | |
2480 | * configure: Regenerated. | |
2481 | ||
3d799a95 DJ |
2482 | 2007-01-08 Daniel Jacobowitz <[email protected]> |
2483 | ||
2484 | * linux-nat.c (struct simple_pid_list): Add status. | |
2485 | (add_to_pid_list): Record the PID's status. | |
2486 | (linux_record_stopped_pid): Likewise. Make static. | |
2487 | (pull_pid_from_list): Return the saved status. | |
2488 | (linux_nat_handle_extended): Deleted. | |
2489 | (linux_handle_extended_wait): Combine with linux_nat_handle_extended. | |
2490 | Make static. Handle non-SIGSTOP for a new thread's first signal. | |
2491 | (flush_callback): Handle unexpected pending signals. | |
2492 | (linux_nat_wait): Update calls to changed functions. | |
2493 | * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait): | |
2494 | Remove prototypes for newly static functions. | |
2495 | ||
9acbedc0 UW |
2496 | 2007-01-08 Ulrich Weigand <[email protected]> |
2497 | ||
2498 | * gdbarch.sh (value_from_register): New gdbarch function. | |
2499 | * gdbarch.c, gdbarch.h: Regenerate. | |
2500 | * findvar.c (default_value_from_register): New function. | |
2501 | (value_from_register): Use gdbarch_value_from_register. | |
2502 | * value.h (default_value_from_register): Declare. | |
2503 | * spu-tdep.c (spu_convert_register_p, spu_register_to_value, | |
2504 | spu_value_to_register): Remove. | |
2505 | (spu_value_from_register): New function. | |
2506 | (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
2507 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
2508 | Call set_gdbarch_value_from_register. | |
2509 | * s390-tdep.c (s390_convert_register_p, s390_register_to_value, | |
2510 | s390_value_to_register): Remove. | |
2511 | (s390_value_from_register): New function. | |
2512 | (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
2513 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
2514 | Call set_gdbarch_value_from_register. | |
2515 | ||
f822c95b DJ |
2516 | 2007-01-08 Daniel Jacobowitz <[email protected]> |
2517 | ||
2518 | * NEWS: Add "set sysroot" and "show sysroot". | |
2519 | * solib.c (solib_absolute_prefix): Delete. Replace | |
2520 | all uses with gdb_sysroot. | |
2521 | (_initialize_solib): Add "set sysroot" and "show sysroot". | |
2522 | Make "solib-absolute-prefix" an alias to it. | |
2523 | ||
00fa51f6 UW |
2524 | 2007-01-08 Ulrich Weigand <[email protected]> |
2525 | ||
2526 | * frame.c (get_frame_register_bytes): New function. | |
2527 | (put_frame_register_bytes): Likewise. | |
2528 | * frame.h (get_frame_register_bytes): Declare. | |
2529 | (put_frame_register_bytes): Likewise. | |
2530 | * findvar.c (value_from_register): Always construct lval_register | |
2531 | values. Use get_frame_register_bytes. | |
2532 | * valops.c (value_assign): Use get_frame_register_bytes and | |
2533 | put_frame_register_bytes. | |
2534 | ||
a95c9d06 JB |
2535 | 2007-01-08 Jim Blandy <[email protected]> |
2536 | ||
2537 | * MAINTAINERS: Update Stan Shebs' email address. | |
2538 | ||
4ed6b5be JB |
2539 | 2007-01-07 Joel Brobecker <[email protected]> |
2540 | ||
2541 | * ada-lang.c (is_known_support_routine): Improve the implementation. | |
2542 | ||
9bbc9174 JB |
2543 | 2007-01-06 Joel Brobecker <[email protected]> |
2544 | ||
2545 | * ada-lang.c: Add include of source.h. | |
2546 | (is_known_support_routine): Improve the check verifying that the file | |
2547 | associated to this frame exists. | |
2548 | * Makefile.in (ada-lang.o): Add dependency on source.h. | |
2549 | ||
44a81774 JB |
2550 | 2007-01-07 Jim Blandy <[email protected]> |
2551 | ||
2552 | * ax-general.c (ax_const_l): Select proper opcode for the given | |
2553 | value. | |
2554 | ||
fcd19eb1 | 2555 | 2007-01-05 Vladimir Prus <[email protected]> |
6fe1a487 NR |
2556 | |
2557 | * varobj.c (c_value_of_root): Don't select frame if variable | |
2558 | object is out of scope. | |
2559 | ||
fcd19eb1 | 2560 | 2007-01-05 Nick Roberts <[email protected]> |
3fa6deb5 NR |
2561 | |
2562 | * varobj.c (struct varobj): New member print_value. | |
2563 | (install_new_value): Compare last printed value with current one | |
2564 | instead of contents. | |
2565 | (new_variable): Initialize var->print_value to NULL. | |
2566 | (free_variable): Free var->print_value. | |
2567 | (value_get_print_value): New function derived from | |
2568 | c_value_of_variable. | |
2569 | (c_value_of_variable): Use value_get_print_value. | |
2570 | ||
92a56b20 JB |
2571 | 2007-01-05 Joel Brobecker <[email protected]> |
2572 | ||
2573 | * i386-tdep.c (i386_analyze_stack_align): Add comment. | |
2574 | ||
0e420bd8 JB |
2575 | 2007-01-05 Joel Brobecker <[email protected]> |
2576 | ||
2577 | * NEWS: Add entries for new catch commands. | |
2578 | ||
b69733ab | 2579 | 2007-01-05 Joel Brobecker <[email protected]> |
fa4028e9 JB |
2580 | |
2581 | * dwarf2read.c (partial_die_info): Add field has_byte_size. | |
2582 | (add_partial_symbol): Correct identification of external references. | |
2583 | (process_structure_scope): Likewise. | |
2584 | (read_partial_die): Handle DW_AT_byte_size attribute. | |
2585 | ||
2586 | 2007-01-05 Daniel Jacobowitz <[email protected]> | |
d097fa3e DJ |
2587 | |
2588 | * xml-support.c (gdb_xml_end_element): Remove wrong backslashes. | |
2589 | ||
8e38af42 NR |
2590 | 2007-01-05 Nick Roberts <[email protected]> |
2591 | ||
2592 | * varobj.c (get_type_deref): Fix variable objects for references to | |
2593 | pointers. | |
2594 | ||
d1c79ecd DJ |
2595 | 2007-01-04 Daniel Jacobowitz <[email protected]> |
2596 | ||
2597 | * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs | |
2598 | with no symbols. | |
2599 | ||
e776119f DJ |
2600 | 2007-01-04 Daniel Jacobowitz <[email protected]> |
2601 | ||
2602 | * memory-map.c (struct_memory_map_parsing_data): Remove most | |
2603 | members. Make property_name an array. | |
2604 | (free_memory_map_parsing_data, memory_map_start_element) | |
2605 | (memory_map_end_element, memory_map_character_data): Delete. | |
2606 | (memory_map_start_memory, memory_map_end_memory) | |
2607 | (memory_map_start_property, memory_map_end_property): New functions. | |
2608 | (property_attributes, memory_children, memory_type_enum) | |
2609 | (memory_attributes, memory_map_children, memory_map_elements): New. | |
2610 | (parse_memory_map): Rewrite. | |
2611 | * xml-support.c (debug_xml): New. | |
2612 | (xml_get_required_attribute, xml_get_integer_attribute) | |
2613 | (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser): | |
2614 | Delete. | |
2615 | (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text) | |
2616 | (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup) | |
2617 | (gdb_xml_start_element, gdb_xml_start_element_wrapper) | |
2618 | (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup) | |
2619 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse) | |
2620 | (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest) | |
2621 | (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support): | |
2622 | New. | |
2623 | * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler) | |
2624 | (enum gdb_xml_attribute_flag, struct gdb_xml_attribute) | |
2625 | (enum gdb_xml_element_flag, struct gdb_xml_element) | |
2626 | (gdb_xml_element_start_handler, gdb_xml_element_end_handler) | |
2627 | (struct gdb_xml_enum): New. | |
2628 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug) | |
2629 | (gdb_xml_error, gdb_xml_parse_attr_ulongest) | |
2630 | (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes. | |
2631 | (xml_get_required_attribute, xml_get_integer_attribute) | |
2632 | (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes. | |
2633 | * Makefile.in (xml_support_h, xml-support.o): Update. | |
2634 | ||
5e572bb4 DJ |
2635 | 2007-01-04 Daniel Jacobowitz <[email protected]> |
2636 | ||
2637 | * Makefile.in (eval.o): Update dependencies. | |
2638 | * eval.c: Include "ui-out.h" and "exceptions.h". | |
2639 | (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable. | |
2640 | Use value_zero if an error occurs when avoiding side effects. | |
2641 | * varobj.c (c_value_of_root): Initialize new_val. | |
2642 | ||
74a44383 DJ |
2643 | 2007-01-04 Daniel Jacobowitz <[email protected]> |
2644 | ||
2645 | * varobj.c (varobj_list_children): Stop if the number of children is | |
2646 | unknown. | |
2647 | (c_number_of_children): | |
2648 | ||
e8d2d628 MK |
2649 | 2007-01-04 Mark Kettenis <[email protected]> |
2650 | ||
2651 | * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE. | |
2652 | (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start) | |
2653 | (alpha_heuristic_frame_unwind_cache, alpha_next_pc) | |
2654 | (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and | |
2655 | sizeof, instead of hardcoded constants. | |
2656 | ||
c941839d DJ |
2657 | 2007-01-04 Daniel Jacobowitz <[email protected]> |
2658 | ||
2659 | * CONTRIBUTE: Use sourceware.org. | |
2660 | ||
303b6f5d | 2661 | 2007-01-04 Daniel Jacobowitz <[email protected]> |
2d0720d9 | 2662 | |
303b6f5d DJ |
2663 | * buildsym.c (start_subfile): Handle producer. |
2664 | (record_producer): New function. | |
2665 | * buildsym.h (struct subfile): Include producer. | |
2666 | (record_producer): New prototype. | |
2667 | * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation. | |
2668 | (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and | |
2669 | armcc_cfa_offsets_reversed. | |
2670 | (execute_cfa_program): Handle armcc_cfa_offsets_sf. | |
2671 | (dwarf2_frame_find_quirks): New function. | |
2672 | (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed. | |
2673 | (decode_frame_entry_1): Record the CIE version. Record the | |
2674 | augmentation. Skip armcc augmentations. | |
2675 | * dwarf2read.c (read_file_scope): Save the producer. | |
2676 | * symtab.h (struct symtab): Rename unused version member to | |
2677 | producer. | |
2d0720d9 | 2678 | |
aa79a185 DJ |
2679 | 2007-01-04 Daniel Jacobowitz <[email protected]> |
2680 | ||
2681 | * configure.ac (build_warnings): Use -Wall and | |
2682 | -Wdeclaration-after-statement. | |
2683 | * configure: Regenerated. | |
2684 | ||
bbec2603 VP |
2685 | 2007-01-04 Vladimir Prus <[email protected]> |
2686 | ||
2687 | Simplify access to variours properties of child | |
2688 | variable objects in C. | |
2689 | * varobj.c (value_struct_element_index): New function. | |
2690 | (c_describe_child): New function. | |
2691 | (c_name_of_child, c_value_of_child) | |
2692 | (c_type_of_child): Rewrite to use c_describe_child. | |
2693 | ||
28335dcc VP |
2694 | 2007-01-04 Vladimir Prus <[email protected]> |
2695 | ||
2696 | gdb/ | |
2697 | * varobj.c: Include "vec.h". | |
2698 | (varobj_p): New typedef, declare vector of those. | |
2699 | (struct varobj): Use vector for the 'children' member. | |
2700 | (child_exists): Remove. | |
2701 | (save_child_in_parent): Remove. | |
2702 | (remove_child_from_parent): Remove. | |
2703 | (struct varobj_child): Remove. | |
2704 | (struct vstack): Remove. | |
2705 | (vpush, vpop): Remove. | |
2706 | (varobj_list_children): Adjust to work work vector. | |
2707 | (varobj_update): Likewise. Use vectors for | |
2708 | working stack and result. | |
2709 | (delete_variable_1): Likewise. | |
2710 | * Makefile.in (varobj.o): Update dependencies. | |
2711 | ||
b2c2bd75 VP |
2712 | 2007-01-04 Vladimir Prus <[email protected]> |
2713 | ||
2714 | Port from Apple's version. | |
2715 | gdb/ | |
2716 | * varobj.c (type_changeable): Rename to... | |
2717 | (varobj_value_is_changeable_p): ...this. Adjust all callers. | |
2718 | (is_root_p): New function. Use it everywhere. | |
2719 | ||
bdfb3870 JB |
2720 | 2007-01-04 Jim Blandy <[email protected]> |
2721 | ||
2722 | * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup', | |
2723 | then plain 'fixup'. | |
2724 | ||
5d15052e JB |
2725 | 2007-01-04 Joel Brobecker <[email protected]> |
2726 | ||
2727 | * hpread.c (hpread_start_psymtab): Remove unnecessary extern. | |
2728 | ||
53103997 JB |
2729 | 2007-01-04 Joel Brobecker <[email protected]> |
2730 | ||
2731 | * hpread.c (hpread_type_lookup): Fix compilation failure. | |
2732 | ||
27fd2f50 Q |
2733 | 2007-01-04 Qinwei <[email protected]> |
2734 | ||
2735 | * NEWS: New port to S+core. | |
2736 | * MAINTAINERS (Write After Approval, Responsible Maintainers): | |
2737 | Add myself. | |
2738 | ||
2739 | * Makefile.in: Add dependencies for S+core files. | |
2740 | * configure.tgt (score*, score-*-*): Add S+core target. | |
2741 | * config/score/embed.mt: New file. | |
2742 | * score-tdep.c: New file. | |
2743 | * score-tdep.h: New file. | |
2744 | ||
a6cfbe68 JB |
2745 | 2007-01-04 Joel Brobecker <[email protected]> |
2746 | ||
2747 | * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with | |
2748 | the appropriate type rather than a bogus void type. | |
2749 | ||
67cf15b7 | 2750 | 2007-01-04 Joel Brobecker <[email protected]> |
f7f9143b JB |
2751 | |
2752 | * ada-lang.h (ada_find_printable_frame): Remove. | |
2753 | (ada_exception_catchpoint_p, ada_decode_exception_location) | |
2754 | (ada_decode_assert_location): Add declaration. | |
2755 | * ada-lang.c: Add include of annotate.h and valprint.h. | |
2756 | (exception_catchpoint_kind): New enum. | |
2757 | (function_name_from_pc, is_known_support_routine) | |
2758 | (ada_find_printable_frame, ada_unhandled_exception_name_addr) | |
2759 | (ada_exception_name_addr_1, ada_exception_name_addr) | |
2760 | (print_it_exception, print_one_exception, print_mention_exception) | |
2761 | (print_it_catch_exception, print_one_catch_exception) | |
2762 | (print_mention_catch_exception, catch_exception_breakpoint_ops) | |
2763 | (print_it_catch_exception_unhandled) | |
2764 | (print_one_catch_exception_unhandled) | |
2765 | (print_mention_catch_exception_unhandled, print_it_catch_assert) | |
2766 | (print_one_catch_assert, print_mention_catch_assert) | |
2767 | (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found) | |
2768 | (ada_get_next_arg, catch_ada_exception_command_split) | |
2769 | (ada_exception_sym_name, ada_exception_sym_name) | |
2770 | (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string) | |
2771 | (ada_parse_catchpoint_condition, ada_exception_sal) | |
2772 | (ada_decode_exception_location) | |
2773 | (ada_decode_assert_location): New function. | |
2774 | (catch_exception_unhandled_breakpoint_ops): New global variable. | |
2775 | (catch_assert_breakpoint_ops): New global variable. | |
2776 | * breakpoint.c: Add include of ada-lang.h. | |
2777 | (print_one_breakpoint): Do not print the condition for Ada | |
2778 | exception catchpoints. | |
2779 | (create_ada_exception_breakpoint): New function. | |
2780 | (catch_ada_exception_command, catch_assert_command): New function. | |
2781 | (catch_command_1): Add support for the new "catch exception" and | |
2782 | "catch assert" commands. | |
2783 | (_initialize_breakpoint): Add help description for the new catch | |
2784 | commands. | |
2785 | * Makefile.in (ada-lang.o): Add dependency on annotate.h and | |
2786 | valprint.h. | |
2787 | (breakpoint.o): Add dependency on ada-lang.h. | |
2788 | ||
05cfdb42 DJ |
2789 | 2007-01-03 Pedro Alves <[email protected]> |
2790 | ||
2791 | * coffread.c (cs_to_section): If bfd_section is found, always | |
2792 | return its section index. | |
2793 | (coff_symtab_read): Determine the minimal_symbol_type using the | |
2794 | bfd_section flags. | |
2795 | ||
2e03ee74 DJ |
2796 | 2007-01-03 Jan Kratochvil <[email protected]> |
2797 | Daniel Jacobowitz <[email protected]> | |
2798 | ||
2799 | * Makefile.in (top.o): Update. | |
2800 | * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result) | |
2801 | (saved_after_char_processing_hook, gdb_readline_wrapper_line) | |
2802 | (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup): | |
2803 | New. | |
2804 | (gdb_readline_wrapper): Rewrite to use asynchronous readline. | |
2805 | ||
1c63d086 MK |
2806 | 2007-01-03 Mark Kettenis <[email protected]> |
2807 | ||
2808 | * arm-linux-tdep.c (arm_linux_extract_return_value): Remove. | |
2809 | (arm_linux_init_abi): Don't set deprecated_extract_return_value. | |
2810 | ||
d5d6fca5 DJ |
2811 | 2007-01-03 Daniel Jacobowitz <[email protected]> |
2812 | ||
2813 | * ada-lang.c (find_struct_field): Initialize *byte_offset_p. | |
2814 | * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i. | |
2815 | * c-typeprint.c (c_type_print_varspec_suffix): Don't test length | |
2816 | greater than or equal to zero. | |
2817 | * m2-typeprint.c (m2_array): Likewise. | |
2818 | * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise. | |
2819 | * gdbtypes.c (copy_type_recursive): Correct == typo. | |
2820 | * i386-tdep.c (i386_skip_prologue): Remove stray semicolon. | |
2821 | * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer | |
2822 | greater than zero. | |
2823 | * macroscope.c (sal_macro_scope): Don't name a local variable "main". | |
2824 | (default_macro_scope): Remove unused variable. | |
2825 | * prologue-value.h (pv_area_find_reg): Don't name an argument | |
2826 | "register". | |
2827 | * remote-fileio.c (remote_fio_func_map): Add missing braces. | |
2828 | * remote.c (sigint_remote_twice_token, sigint_remote_token): Change | |
2829 | type. | |
2830 | (cleanup_sigint_signal_handler): Remove casts. | |
2831 | * valprint.c (val_print): Use a volatile local for the modified | |
2832 | argument. | |
2833 | * varobj.c (languages): Remove extra array dimension. | |
2834 | (varobj_create): Correct access to languages array. | |
2835 | * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add | |
2836 | missing braces. | |
2837 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise. | |
2838 | * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise. | |
2839 | * mi/mi-getopt.c (mi_valid_noargs): Likewise. | |
2840 | * mi/mi-main.c (mi_cmd_data_read_memory): Likewise. | |
2841 | (mi_cmd_data_write_memory): Likewise. | |
2842 | * signals/signals.c (target_signal_to_string): Cast to int before | |
2843 | comparing. | |
2844 | * tui/tui-layout.c (init_and_make_win): Take and return a void *. | |
2845 | Update all callers. | |
2846 | ||
0d5de010 DJ |
2847 | 2007-01-03 Daniel Jacobowitz <[email protected]> |
2848 | ||
2849 | * NEWS: Mention pointer to member improvements. | |
2850 | * Makefile.in (gnu-v3-abi.o): Delete special rule. | |
2851 | (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update. | |
2852 | * ada-valprint.c (ada_print_scalar): Update for new type codes. | |
2853 | * c-typeprint.c (c_print_type): Update for new type codes. | |
2854 | (c_type_print_varspec_prefix, c_type_print_varspec_suffix) | |
2855 | (c_type_print_base): Likewise. | |
2856 | (c_type_print_args): Rewrite. | |
2857 | * c-valprint.c (c_val_print): Update for new type codes. Remove | |
2858 | support for references to members. Treat methods like functions. | |
2859 | * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size) | |
2860 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New. | |
2861 | * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size) | |
2862 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes. | |
2863 | (struct cp_abi_ops): Add corresponding members. | |
2864 | * cp-valprint.c (cp_print_class_method): Delete. | |
2865 | (cp_find_class_member): New function. | |
2866 | (cp_print_class_member): Use it. Simplify support for bogus | |
2867 | member pointers. | |
2868 | * dwarf2read.c (quirk_gcc_member_function_pointer): Use | |
2869 | lookup_methodptr_type. | |
2870 | (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type. | |
2871 | * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for | |
2872 | OP_SCOPE. Update call to value_aggregate_elt. Rewrite member | |
2873 | pointer support. | |
2874 | (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle | |
2875 | references returned by user defined operators. | |
2876 | * f-typeprint.c (f_print_type, f_type_print_varspec_prefix) | |
2877 | (f_type_print_varspec_suffix): Remove support for member pointers. | |
2878 | * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type | |
2879 | and adjusted. | |
2880 | (smash_to_memberptr_type): Likewise, from smash_to_member_type. | |
2881 | (lookup_methodptr_type): New. | |
2882 | (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR. | |
2883 | (recursive_dump_type): Update for new types. | |
2884 | * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with | |
2885 | TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR. | |
2886 | (lookup_memberptr_type, lookup_methodptr_type) | |
2887 | (smash_to_memberptr_type): New prototypes. | |
2888 | (smash_to_method_type): Formatting fix. | |
2889 | (lookup_member_type, smash_to_member_type): Delete prototypes. | |
2890 | * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New. | |
2891 | Do not rely on debug information for the vptr or the method's | |
2892 | enclosing type. Handle function descriptors for IA64. | |
2893 | (gnuv3_virtual_fn_field): Rewrite using the new functions. | |
2894 | (gnuv3_find_method_in, gnuv3_print_method_ptr) | |
2895 | (gnuv3_method_ptr_size, gnuv3_make_method_ptr) | |
2896 | (gnuv3_method_ptr_to_value): New. | |
2897 | (init_gnuv3_ops): Set new members of gnu_v3_abi_ops. | |
2898 | * hpread.c (hpread_type_lookup): Update for new types. | |
2899 | * infcall.c (value_arg_coerce): Likewise. | |
2900 | * m2-typeprint.c (m2_print_type): Remove explicit support | |
2901 | for member pointers. | |
2902 | * m2-valprint.c (m2_val_print): Likewise. | |
2903 | * p-typeprint.c (pascal_type_print_varspec_prefix) | |
2904 | (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise. | |
2905 | * p-valprint.c (pascal_val_print): Likewise. | |
2906 | (pascal_object_print_class_method, pascal_object_print_class_member): | |
2907 | Delete. | |
2908 | * p-lang.h (pascal_object_print_class_method) | |
2909 | (pascal_object_print_class_member): Delete prototypes. | |
2910 | * stabsread.c (read_type): Update for new types. | |
2911 | * typeprint.c (print_type_scalar): Likewise. | |
2912 | * valops.c (value_struct_elt_for_reference, value_namespace_elt) | |
2913 | (value_maybe_namespace_elt, value_aggregate_elt): Add want_address | |
2914 | argument. Construct a pointer to member if the address of a | |
2915 | function or data member is requested. | |
2916 | (value_cast_pointers): Don't modify the input value. | |
2917 | (value_cast): Adjust pointer to member handling for new types. | |
2918 | Allow null pointer to member constants. Don't modify the input | |
2919 | value. | |
2920 | (value_ind): Remove pointer to member check. Handle function | |
2921 | descriptors for function pointers. | |
2922 | (value_struct_elt, value_find_oload_method_list, check_field): | |
2923 | Remove pointer to member checks. | |
2924 | * value.c (unpack_long): Allow pointers to data members. | |
2925 | (value_from_longest): Allow member pointers. | |
2926 | * value.h (value_aggregate_elt): Add want_address. | |
2927 | * varobj.c (c_variable_editable): Remove check for members. | |
2928 | * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta. | |
2929 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors | |
2930 | in virtual tables. | |
2931 | (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors. | |
2932 | * c-lang.h (cp_print_class_method): Delete prototype. | |
2933 | * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta. | |
2934 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
2935 | * gdbarch.c, gdbarch.h: Regenerated. | |
2936 | ||
d217aaed MK |
2937 | 2007-01-01 Mark Kettenis <[email protected]> |
2938 | ||
2939 | * rs6000-tdep.c (rs6000_use_struct_convention) | |
2940 | (rs6000_extract_return_value, rs6000_store_return_value) | |
2941 | (rs6000_extract_struct_value_address): Remove. | |
2942 | (rs6000_return_value): New function. | |
2943 | (rs6000_gdbarch_init): Don't set deprecated_extract_return_value, | |
2944 | store_return_value, deprecated_extract_struct_value_address and | |
2945 | deprecated_use_struct_convention. Use rs6000_return_value | |
2946 | instead. | |
2947 | ||
02296b29 NR |
2948 | 2007-01-02 Nick Roberts <[email protected]> |
2949 | ||
2950 | * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete, | |
2951 | -display-disable, -display-enable, -display-insert and | |
2952 | -display-list. | |
2953 | ||
b69733ab | 2954 | 2007-01-01 Joel Brobecker <[email protected]> |
ce186b30 JB |
2955 | |
2956 | * breakpoint.c (remove_breakpoint): Remove dead code. | |
2957 | ||
2958 | 2007-01-01 Nick Roberts <[email protected]> | |
ab9245ed NR |
2959 | |
2960 | * varobj.c: Include block.h. | |
2961 | (c_value_of_root): Check scope within nested statements. | |
2962 | ||
9f3a1602 MK |
2963 | 2007-01-01 Mark Kettenis <[email protected]> |
2964 | ||
2965 | * mi/mi-main.c (mi_cmd_data_write_register_values): Use | |
2966 | regcache_cooked_write_signed instead of | |
2967 | deprecated_write_register_bytes. | |
2968 | ||
12349ccd JB |
2969 | 2007-01-01 Joel Brobecker <[email protected]> |
2970 | ||
2971 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006. | |
2972 | ||
8c48ebcf JB |
2973 | 2007-01-01 Joel Brobecker <[email protected]> |
2974 | ||
2975 | Followed the Start of New Year Procedure: | |
2976 | * ChangeLog-2006: New file, containing all the entries for 2006. | |
2977 | * ChangeLog: Removed all 2006 entries, and changed the reference | |
2978 | to the previous ChangeLog to point to ChangeLog 2006. | |
2979 | * top.c (print_gdb_version): Update copyright year. | |
2980 | ||
154927ff MK |
2981 | 2007-01-01 Mark Kettenis <[email protected]> |
2982 | ||
2983 | * Makefile.in (remote-sds.o): Remove. | |
2984 | * remote-sds.c: Delete. | |
2985 | ||
8c48ebcf | 2986 | For older changes see ChangeLog-2006. |
c906108c SS |
2987 | \f |
2988 | Local Variables: | |
2989 | mode: change-log | |
2990 | left-margin: 8 | |
2991 | fill-column: 74 | |
2992 | version-control: never | |
2993 | End: |