]>
Commit | Line | Data |
---|---|---|
db034ac5 AC |
1 | 2002-08-01 Andrew Cagney <[email protected]> |
2 | ||
3 | * NEWS: Menion that CHILL has been made obsolete. | |
4 | ||
5 | * gdbtypes.c (chill_varying_type): Make chill references obsolete. | |
6 | * gdbserver/Makefile.in: Ditto. | |
7 | * stabsread.c (read_range_type): Ditto. | |
8 | * gdbtypes.h: Ditto. | |
9 | * language.c (binop_type_check): Ditto. | |
10 | (binop_result_type): Ditto. | |
11 | (integral_type): Ditto. | |
12 | (character_type): Ditto. | |
13 | (string_type): Ditto. | |
14 | (boolean_type): Ditto. | |
15 | (structured_type): Ditto. | |
16 | (lang_bool_type): Ditto. | |
17 | (binop_type_check): Ditto. | |
18 | * language.h (_LANG_chill): Ditto. | |
19 | * dwarfread.c (set_cu_language): Ditto. | |
20 | * dwarfread.c (CHILL_PRODUCER): Ditto. | |
21 | * dwarfread.c (handle_producer): Ditto. | |
22 | * expression.h (enum exp_opcode): Ditto. | |
23 | * eval.c: Ditto for comments. | |
24 | * typeprint.c (typedef_print) [_LANG_chill]: Ditto. | |
25 | * expprint.c (print_subexp): Ditto. | |
26 | (print_subexp): Ditto. | |
27 | * valops.c (value_cast): Ditto. | |
28 | (search_struct_field): Ditto. | |
29 | * value.h (COERCE_VARYING_ARRAY): Ditto. | |
30 | * symfile.c (init_filename_language_table): Ditto. | |
31 | (add_psymbol_with_dem_name_to_list): Ditto. | |
32 | * valarith.c (value_binop): Ditto. | |
33 | (value_neg): Ditto. | |
34 | * valops.c (value_slice): Ditto. | |
35 | * symtab.h (union language_specific): Ditto. | |
36 | (SYMBOL_INIT_LANGUAGE_SPECIFIC): Ditto. | |
37 | (SYMBOL_DEMANGLED_NAME): Ditto. | |
38 | (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. | |
39 | * defs.h (enum language): Ditto. | |
40 | * symtab.c (got_symtab): Ditto. | |
41 | * utils.c (fprintf_symbol_filtered): Ditto. | |
42 | ||
43 | * ch-typeprint.c: Make file obsolete. | |
44 | * ch-valprint.c: Make file obsolete. | |
45 | * ch-lang.h: Make file obsolete. | |
46 | * ch-exp.c: Make file obsolete. | |
47 | * ch-lang.c: Make file obsolete. | |
48 | ||
49 | * Makefile.in (FLAGS_TO_PASS): Do not pass CHILL or CHILLFLAGS or | |
50 | CHILL_LIB. | |
51 | (TARGET_FLAGS_TO_PASS): Ditto. | |
52 | (CHILLFLAGS): Obsolete. | |
53 | (CHILL): Obsolete. | |
54 | (CHILL_FOR_TARGET): Obsolete. | |
55 | (CHILL_LIB): Obsolete. | |
56 | (SFILES): Remove ch-exp.c, ch-lang.c, ch-typeprint.c and | |
57 | ch-valprint.c. | |
58 | (HFILES_NO_SRCDIR): Remove ch-lang.h. | |
59 | (COMMON_OBS): Remove ch-valprint.o, ch-typeprint.o, ch-exp.o and | |
60 | ch-lang.o. | |
61 | (ch-exp.o, ch-lang.o, ch-typeprint.o, ch-valprint.o): Delete | |
62 | targets. | |
63 | ||
8aaf0b47 JB |
64 | 2002-07-31 Joel Brobecker <[email protected]> |
65 | ||
66 | * dwarf2read.c (set_cu_language): Add handler for LANG_Ada95. | |
67 | This does not change anything at the moment, but will be helpful | |
68 | later when full Ada support is integrated. | |
69 | ||
f3a7b3a5 KB |
70 | 2002-07-31 Kevin Buettner <[email protected]> |
71 | ||
72 | * mips-tdep.c (_initialize_mips_tdep): Add "n64" to "set mips abi" | |
73 | help message. | |
74 | ||
fb850278 KB |
75 | 2002-07-31 Kevin Buettner <[email protected]> |
76 | ||
77 | * mips-tdep.c (mips_push_arguments): Fetch gdbarch_tdep struct | |
78 | and save it in a local variable. Use variable in later test. | |
79 | ||
e3bddbfa KB |
80 | 2002-07-31 Kevin Buettner <[email protected]> |
81 | ||
82 | * mips-tdep.c (mips_find_abi_section): Add N64 ABI recognition | |
83 | test. (Thanks to Daniel Jacobowitz.) | |
84 | ||
28d169de KB |
85 | 2002-07-31 Kevin Buettner <[email protected]> |
86 | ||
87 | * mips-tdep.c (enum mips_abi): Add MIPS_ABI_N64. | |
88 | (mips_abi_strings): Add "n64". | |
89 | (mips_gdbarch_init): Add test for n64 abi. Add MIPS_ABI_N64 case. | |
90 | ||
7fe7e44e KB |
91 | 2002-07-31 Kevin Buettner <[email protected]> |
92 | ||
93 | * config/mips/tm-irix6.h (MIPS_REGSIZE): Define to be 8. | |
94 | (REGISTER_VIRTUAL_TYPE): Some registers are now 64 bits wide. | |
95 | ||
c6caf090 KB |
96 | 2002-07-31 Kevin Buettner <[email protected]> |
97 | ||
98 | * utils.c (host_pointer_to_address, address_to_host_pointer): | |
99 | Use gdb_assert() instead of explicit call to internal_error(). | |
100 | ||
c41669e0 KB |
101 | 2002-07-30 Kevin Buettner <[email protected]> |
102 | ||
103 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
104 | ||
105 | From Nicholas Duffek: | |
106 | * Makefile.in (ALLDEPFILES): Add aix-thread.c. | |
107 | (aix-thread.o): New rule. | |
108 | * configure.host (gdb_host): Set to aix432 on AIX 4.3.2+. | |
109 | * config/powerpc/aix432.mh: New file. | |
110 | ||
2fda4977 DJ |
111 | 2002-07-30 Daniel Jacobowitz <[email protected]> |
112 | ||
113 | * ppc-linux-tdep.c (ELF_NGREG, ELF_NFPREG, ELF_NVRREG) | |
114 | (ELF_FPREGSET_SIZE, ELF_GREGSET_SIZE): New enums. | |
115 | (fetch_core_registers, ppc_linux_supply_gregset) | |
116 | (ppc_linux_supply_fpregset): New functions. | |
117 | (ppc_linux_regset_core_fns): New. | |
118 | (_initialize_ppc_linux_tdep): Call add_core_fns. | |
119 | * ppc-tdep.h: Add prototypes for ppc_linux_supply_fpregset | |
120 | and ppc_linux_supply_gregset. | |
121 | * ppc-linux-nat.c (supply_gregset): Call ppc_linux_supply_gregset. | |
122 | (supply_fpregset): Call ppc_linux_supply_fpregset. | |
123 | * config/powerpc/linux.mh (NATDEPFILES): Remove core-regset.o and | |
124 | corelow.o. | |
125 | * config/powerpc/linux.mt (TDEPFILES): Add corelow.o. | |
126 | ||
729051e6 DJ |
127 | 2002-07-30 Daniel Jacobowitz <[email protected]> |
128 | ||
129 | * symtab.c (lookup_symbol): Demangle before lowercasing. | |
130 | ||
5f8a3188 AC |
131 | 2002-07-30 Andrew Cagney <[email protected]> |
132 | ||
133 | * symtab.h: Replace #include "gdb_obstack.h" with opaque | |
134 | declaration. | |
135 | * cli/cli-cmds.c, cli/cli-script.c: Include "gdb_string.h". | |
136 | * gnu-v3-abi.c, arc-tdep.c, cli/cli-decode.c: Ditto. | |
137 | * avr-tdep.c, mon960-rom.c, i960-tdep.c: Ditto. | |
138 | * arch-utils.c, cli/cli-setshow.c: Unconditionally include | |
139 | "gdb_string.h". | |
140 | * Makefile.in (cli-script.o, cli-cmds.o): Update dependencies. | |
141 | (gnu-v3-abi.o, cli-setshow.o, i960-tdep.o): Ditto. | |
142 | (cli-decode.o, mi-cmd-var.o, mi-cmd-disas.o): Ditto. | |
143 | (avr-tdep.o, mon960-rom.o): Ditto. | |
144 | (aout_stabs_gnu_h): Define. | |
145 | (symtab_h): Remove $(gdb_obstack_h). | |
146 | ||
67f07146 JB |
147 | 2002-07-30 Jim Blandy <[email protected]> |
148 | ||
149 | Patch from David Carlton <[email protected]>: | |
150 | * gdbinit.in: Move the `dir' commands that add GDB's own source | |
151 | directory to the search path to the end, so that the `gdb' source | |
152 | directory will be searched first. | |
153 | ||
04ea0df1 AC |
154 | 2002-07-29 Andrew Cagney <[email protected]> |
155 | ||
156 | * gdb_obstack.h: New file. | |
157 | * symtab.h: Include "gdb_obstack.h" instead of "obstack.h". | |
158 | (obstack_chunk_alloc, obstack_chunk_free): Delete macros. | |
159 | * objfiles.h: Include "gdb_obstack.h". | |
160 | * Makefile.in (gdb_obstack_h): Define. | |
161 | (symtab_h): Add $(gdb_obstack_h). | |
162 | (objfiles_h): Add $(gdb_obstack_h). | |
163 | ||
164 | * objfiles.c: Include "gdb_obstack.h" instead of "obstack.h". | |
165 | * macrotab.c, cp-valprint.c, dbxread.c: Ditto. | |
166 | * ch-typeprint.c, ch-valprint.c, dstread.c: Ditto. | |
167 | * macroexp.c, p-typeprint.c, stabsread.c: Ditto. | |
168 | * symtab.c, f-typeprint.c, mdebugread.c: Ditto. | |
169 | * p-valprint.c, symmisc.c, typeprint.c: Ditto. | |
170 | * symfile.c, coffread.c, c-typeprint.c: Ditto. | |
171 | * buildsym.c, bcache.c, ada-typeprint.c: Ditto. | |
172 | ||
173 | * Makefile.in (bcache.o): Update dependencies. | |
174 | (buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto. | |
175 | (ch-valprint.o, coffread.o, cp-valprint.o): Ditto. | |
176 | (dbxread.o, dstread.o, f-typeprint.o): Ditto. | |
177 | (objfiles.o, p-typeprint.o, p-valprint.o): Ditto. | |
178 | (stabsread.o, symfile.o, symmisc.o): Ditto. | |
179 | (symtab.o, typeprint.o, macroexp.o): Ditto. | |
180 | (macrotab.o, mdebugread.o): Ditto. | |
181 | (f_lang_h, coff_sym_h, coff_symconst_h): Define. | |
182 | (coff_ecoff_h, aout_aout64_h): Define. | |
183 | (aout_stabs_gnu_h, libaout_h): Define. | |
184 | ||
d138e37a AC |
185 | 2002-07-29 Andrew Cagney <[email protected]> |
186 | ||
187 | * regcache.c (struct regcache_descr): Rename nr_registers to | |
188 | nr_cooked_registers. Revise comments describing the structure | |
189 | member fields. | |
190 | (init_regcache_descr): Update. | |
191 | (init_legacy_regcache_descr): Update. | |
192 | (read_register_gen, write_register_gen): When a cooked register in | |
193 | the raw register range, directly access the value from the raw | |
194 | register cache. | |
195 | ||
460e6ec3 AC |
196 | 2002-07-29 Andrew Cagney <[email protected]> |
197 | ||
198 | * z8k-tdep.c: Do not include "obstack.h". | |
199 | * h8300-tdep.c, h8500-tdep.c: Ditto. | |
200 | * m68hc11-tdep.c, sh-tdep.c: Ditto. | |
201 | * valprint.c, v850-tdep.c: Ditto. | |
202 | * d10v-tdep.c, mn10300-tdep.c: Ditto. | |
203 | * mn10200-tdep.c: Ditto. | |
204 | ||
205 | * Makefile.in (z8k-tdep.o): Update dependencies. | |
206 | (m68hc11-tdep.o, valprint.o): Ditto. | |
207 | (v850-tdep.o, d10v-tdep.o): Ditto. | |
208 | (mn10300-tdep.o, sparc-tdep.o): Ditto. | |
209 | (sh-tdep.o, h8500-tdep.o, h8300-tdep.o): Ditto. | |
210 | (m32r-tdep.o, mn10200-tdep.o): Specify dependencies. | |
211 | (sh_opc_h, gdb_sim_sh_h): Define. | |
212 | (elf_sh_h, elf_bfd_h): Define. | |
213 | (opcode_m68hc11_h): Define. | |
214 | (OPCODES_SRC, OPCODES_DIR): define. | |
215 | (OPCODES): Use $(OPCODES_DIR). | |
216 | (gdb_sim_d10v_h): Rename sim_d10v_h. | |
217 | (gdb_sim_arm_h): Rename sim_arm_h. | |
218 | ||
790c9cf0 KB |
219 | 2002-07-26 Kevin Buettner <[email protected]> |
220 | ||
221 | * utils.c (host_pointer_to_address, address_to_host_pointer): | |
222 | Change internal_error() message to indicate function responsible | |
223 | for the error. | |
224 | ||
9647fa49 KB |
225 | 2002-07-26 Kevin Buettner <[email protected]> |
226 | ||
227 | * ui-out.c (ui_out_field_core_addr): Remove unnecessary cast in | |
228 | calls to local_hex_string_custom(). | |
229 | ||
dabbe2c0 KB |
230 | 2002-07-26 Kevin Buettner <[email protected]> |
231 | ||
232 | * irix5-nat.c: Move IRIX shared library support from here... | |
233 | * solib-irix.c: ...to here. Revised substantially to work with | |
234 | generic solib framework. | |
235 | ||
b96d0a4e KB |
236 | * osabi.h (gdb_osabi): Add new enum constant GDB_OSABI_IRIX. |
237 | * osabi.c (gdb_osabi_names): Add corresponding string for Irix. | |
238 | * mips-irix-tdep.c: New file. | |
239 | ||
313fb2f6 KB |
240 | * Makefile.in (ALLDEPFILES): Add mips-irix-tdep.c and solib-irix.c. |
241 | (mips-irix-tdep.o, solib-irix.o): New rules. | |
242 | * config/mips/irix5.mt (TDEPFILES): Add mips-irix-tdep.o, solib.o, | |
243 | solib-irix.o. | |
244 | * config/mips/irix6.mt (TDEPFILES): Likewise. | |
245 | * config/mips/irix6.mh (NATDEPFILES): Remove solib.o. | |
246 | ||
ab2eaf26 KB |
247 | 2002-07-26 Kevin Buettner <[email protected]> |
248 | ||
177e4768 | 249 | * aix-thread.c (coff/internal.h, bfd/libcoff.h, pthread.h): Remove |
ab2eaf26 KB |
250 | disabled (via ``#if 0'') includes. |
251 | ||
7244546a KB |
252 | 2002-07-26 Kevin Buettner <[email protected]> |
253 | ||
254 | * aix-thread.c (special_register_p, supply_sprs64, supply_sprs32) | |
255 | (fetch_regs_user_thread, fetch_regs_kernel_thread, fill_sprs64) | |
256 | (fill_sprs32, store_regs_user_thread, store_regs_kernel_thread): | |
257 | Add support for the fpscr register. | |
258 | * rs6000-nat.c (regmap, fetch_inferior_registers) | |
259 | (store_inferior_registers, fetch_core_registers): Likewise. | |
260 | ||
dd7be90a KB |
261 | 2002-07-26 Kevin Buettner <[email protected]> |
262 | ||
263 | * rs6000-nat.c (language.h): Include. | |
264 | (special_regs): Delete this array. | |
265 | (regmap): New function. | |
266 | (fetch_register, store_register): Use regmap() to map gdb | |
267 | register numbers to ptrace register numbers. Also, use | |
268 | outputs from regmap() to make decisions regarding type of | |
269 | ptrace() call to make. In particular, don't compare against | |
270 | FIRST_UISA_SP_REGNUM or LAST_UISA_SP_REGNUM. | |
271 | (fetch_inferior_registers, store_inferior_registers): Where | |
272 | possible, obtain register numbers from tdep struct. Don't | |
273 | refer to FIRST_UISA_SP_REGNUM or LAST_UISA_SP_REGNUM. | |
274 | * config/rs6000/tm-rs6000.h (FIRST_UISA_SP_REGNUM) | |
275 | (LAST_UISA_SP_REGNUM): Delete. | |
276 | ||
11bf77db KB |
277 | 2002-07-25 Kevin Buettner <[email protected]> |
278 | ||
279 | * rs6000-nat.c (ppc-tdep.h): Include. | |
d959a6ab KB |
280 | (fetch_registers, store_register, fetch_core_registers): Don't |
281 | access registers[] directly. Instead, use supply_register() or | |
11bf77db KB |
282 | regcache_collect() as appropriate. |
283 | (find_toc_address): Format hex address with local_hex_string(). | |
284 | ||
06afebeb AC |
285 | 2002-07-25 Andrew Cagney <[email protected]> |
286 | ||
287 | * config/djgpp/fnchange.lst: Rename bfd/elf32-fr30.c and | |
288 | bfd/elf32-frv.c. | |
289 | ||
8c554d79 TT |
290 | 2002-07-24 Tom Tromey <[email protected]> |
291 | ||
292 | * jv-exp.y: Marked all strings with _(). | |
293 | (ClassInstanceCreationExpression, ArrayCreationExpression): Use | |
294 | internal_error. | |
295 | (MethodInvocation, CastExpression, parse_number, yyerror, | |
296 | java_type_from_name, push_expression_name, yylex): Typo fixes. | |
297 | ||
e4c242d9 DJ |
298 | 2002-07-24 Daniel Jacobowitz <[email protected]> |
299 | ||
300 | * ui-file.c (struct tee_file, tee_file_new, tee_file_delete) | |
301 | (tee_file_flush, tee_file_write, tee_file_fputs) | |
302 | (tee_file_isatty): New. | |
303 | * ui-file.h (tee_file_new): Add prototype. | |
304 | ||
ebf56fd3 AS |
305 | 2002-07-24 Aidan Skinner <[email protected]> |
306 | ||
307 | * ada-lang.c: Change k&r style function definitions to prototyped | |
308 | form. | |
309 | * ada-typeprint.c: Change k&r style function definitions to prototyped | |
310 | form. | |
311 | * ada-valprint.c: Change k&r style function definitions to prototyped | |
312 | form. | |
313 | ||
7fb623f7 AC |
314 | 2002-07-24 Andrew Cagney <[email protected]> |
315 | ||
316 | * README: Remove reference to remote-bug. | |
317 | * Makefile.in (ALLDEPFILES): Remove m88k-nat.c, m88k-tdep.c and | |
318 | remote-bug.c. | |
319 | (m88k-nat.o): Delete rule. | |
320 | (m88k-tdep.o): Delete rule. | |
321 | (remote-bug.o): Delete rule. | |
322 | * MAINTAINERS: Mark as obsolete. | |
323 | * elfread.c (elf_symtab_read): Mention that m88k is obsolete. | |
324 | * m88k-tdep.c: Make file obsolete. | |
325 | * config/m88k/m88k.mh: Ditto. | |
326 | * config/m88k/delta88v4.mh: Ditto. | |
327 | * config/m88k/delta88v4.mt: Ditto. | |
328 | * config/m88k/delta88.mt: Ditto. | |
329 | * config/m88k/delta88.mh: Ditto. | |
330 | * remote-bug.c: Ditto. | |
331 | * config/m88k/tm-delta88.h: Ditto. | |
332 | * config/m88k/nm-delta88v4.h: Ditto. | |
333 | * config/m88k/xm-delta88.h: Ditto. | |
334 | * config/m88k/xm-dgux.h: Ditto. | |
335 | * config/m88k/tm-m88k.h: Ditto. | |
336 | * config/m88k/nm-m88k.h: Ditto. | |
337 | * config/m88k/tm-delta88v4.h: Ditto. | |
338 | * m88k-nat.c: Ditto. | |
339 | * cxux-nat.c: Ditto. | |
340 | * configure.host: Make m88*-motorola-sysv4*, m88*-motorola-sysv* | |
341 | and m88*-*-* obsolete. | |
342 | * configure.tgt: Make m88*-motorola-sysv4*, m88*-motorola-* and | |
343 | m88*-*-* obsolete. | |
344 | ||
37611a2b AC |
345 | 2002-07-24 Andrew Cagney <[email protected]> |
346 | ||
347 | * findvar.c (extract_unsigned_integer): Make `addr' parameter | |
348 | constant. Same for local pointer variables. | |
349 | (extract_signed_integer): Ditto. | |
350 | * defs.h (extract_unsigned_integer): Update. | |
351 | (extract_signed_integer): Update. | |
352 | ||
18ff0538 KB |
353 | 2002-07-24 Kevin Buettner <[email protected]> |
354 | ||
355 | * gdbserver/configure.in (unistd.h): Add to AC_CHECK_HEADERS list. | |
356 | * gdbserver/configure: Regenerate. | |
357 | * gdbserver/config.in: Regenerate. | |
358 | ||
1aaa5f99 AC |
359 | 2002-07-24 Andrew Cagney <[email protected]> |
360 | ||
361 | * regcache.c (regcache_raw_write): Change buf parameter to a | |
362 | constant void pointer. | |
363 | (regcache_raw_read): Change buf parameter to a void pointer. | |
364 | (legacy_write_register_gen): Change myaddr parameter a constant | |
365 | void pointer. | |
366 | (supply_register): Change val parameter to a const void pointer. | |
367 | * regcache.h (regcache_raw_write): Update declaration. | |
368 | (regcache_raw_read): Update declaration. | |
369 | (supply_register): Update declaration. | |
370 | ||
b4f5539f TT |
371 | 2002-07-24 Tom Tromey <[email protected]> |
372 | ||
373 | * defs.h (gdb_readline_wrapper): Declare. | |
374 | * utils.c (prompt_for_continue): Use gdb_readline_wrapper. | |
375 | * tracepoint.c (read_actions): Use gdb_readline_wrapper. | |
376 | * top.c (gdb_readline_wrapper): New function. | |
377 | (command_line_input): Use it. | |
378 | ||
0818c12a AC |
379 | 2002-07-24 Andrew Cagney <[email protected]> |
380 | ||
381 | * regcache.h (regcache_raw_read, regcache_raw_write): Replace | |
382 | regcache_read and regcache_write. | |
383 | (regcache_raw_read_as_address): Replace regcache_read_as_address. | |
384 | * regcache.c: Update. | |
385 | * sh-tdep.c (sh64_push_arguments): Update comment. | |
386 | (sh_pseudo_register_read): Update. | |
387 | (sh_pseudo_register_write): Update. | |
388 | (sh4_register_read): Update. | |
389 | (sh4_register_write): Update. | |
390 | (sh64_pseudo_register_read): Update. | |
391 | (sh64_pseudo_register_write): Update. | |
392 | (sh64_register_read): Update. | |
393 | (sh64_register_write): Update. | |
394 | * i386-tdep.c (i386_extract_return_value): Update. | |
395 | (i386_extract_struct_value_address): Update. | |
396 | (i386_extract_return_value): Update. | |
397 | * blockframe.c (generic_read_register_dummy): Update. | |
398 | (generic_call_dummy_register_unwind): Update | |
399 | * infrun.c (write_inferior_status_register): Update. | |
400 | ||
f7321c06 JB |
401 | 2002-07-23 Jim Blandy <[email protected]> |
402 | ||
403 | * parser-defs.h (expression_context_pc): Make this extern. | |
404 | (Thanks to Michael Snyder.) | |
405 | ||
2037aebb AC |
406 | 2002-07-23 Andrew Cagney <[email protected]> |
407 | ||
408 | GDB 5.2.1 released from 5.2 branch. | |
409 | * NEWS: Mention changes in 5.2.1 including addition of AVR target. | |
410 | * README: Update to mention 5.2.1. | |
411 | ||
66504d44 MS |
412 | 2002-07-23 Mark Salter <[email protected]> |
413 | ||
414 | * remote.c (remote_read_bytes): Fix check for error. | |
415 | ||
27bae383 KB |
416 | 2002-07-22 Kevin Buettner <[email protected]> |
417 | ||
418 | * aix-thread.c (language.h): Include. | |
419 | (ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs) | |
420 | (pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc): | |
421 | Print newlines at end of debug messages. | |
422 | (pdc_symbol_addrs, pdc_read_regs, pdc_write_regs, pdc_read_data) | |
423 | (pdc_write_data): Use local_hex_string() instead of %llx formats. | |
424 | ||
425 | 2002-07-22 Kevin Buettner <[email protected]> | |
426 | ||
427 | * aix-thread.c (ppc-tdep.h): Include. | |
428 | (special_register_p): New function. | |
429 | (supply_sprs64, supply_sprs32, fill_sprs64, fill_sprs32) | |
430 | (store_regs_user_thread): Use register number information from | |
431 | gdbarch_tdep struct instead of hardcoded offsets relative to | |
432 | FIRST_UISA_SP_REGNUM. | |
433 | (fetch_regs_kernel_thread, store_regs_kernel_thread): Call | |
434 | special_register_p() instead of using FPLAST_REGNUM and | |
435 | LAST_UISA_SP_REGNUM as lower and upper bounds on the special | |
436 | register numbers. Also, don't assume that LAST_UISA_SP_REGNUM | |
437 | will be MQ's register number. | |
438 | ||
439 | 2002-07-22 Michael Snyder <[email protected]> | |
206d3d3c KB |
440 | |
441 | * aix-thread.c (ops): Rename to aix_thread_ops. | |
442 | (base_ops): Rename to base_target. | |
443 | (ops_attach): Rename to aix_thread_attach. | |
444 | (ops_detach): Rename to aix_thread_detach. | |
445 | (ops_resume): Rename to aix_thread_detach. | |
446 | (ops_wait): Rename to aix_thread_wait. | |
447 | (ops_kill): Rename to aix_thread_kill. | |
448 | (init_ops): Rename to init_aix_thread_ops. | |
449 | (ops_fetch_register): Rename to aix_thread_fetch_register. | |
450 | (ops_store_register): Rename to aix_thread_store_register. | |
451 | (ops_mourn_inferior): Rename to aix_thread_mourn_inferior. | |
452 | (ops_thread_alive): Rename to aix_thread_thread_alive. | |
453 | (ops_extra_thread_info: Rename to aix_thread_extra_thread_info. | |
454 | (ops_pid_to_str): Rename to aix_thread_pid_to_str. | |
455 | (ops_xfer_memory): Rename to aix_thread_xfer_memory. | |
456 | (fetch_regs_lib): Rename to fetch_regs_user_thread. | |
457 | (fetch_regs_kern): Rename to fetch_regs_kernel_thread. | |
458 | (store_regs_lib): Rename to store_regs_user_thread. | |
459 | (store_regs_kern): Rename to store_regs_kernel_thread. | |
460 | ||
27bae383 | 461 | 2002-07-22 Michael Snyder <[email protected]> |
cbe92db4 KB |
462 | |
463 | * aix-thread.c (ops_prepare_to_store): Eliminate. | |
464 | (init_ops): Don't initialize ops.prepare_to_store. | |
465 | (store_regs_kern): Pre-fetch register buffers from child, | |
466 | because some registers may not be in the cache. Copy | |
467 | regs from register cache only if they are cached. | |
468 | (store_regs_lib): Copy regs from register cache only | |
469 | if they are cached. | |
470 | (fill_sprs32, (fill_sprs64, fill_fprs, fill_gprs32, | |
471 | fill_gprs64): Ditto. | |
472 | ||
61c5da0b KB |
473 | 2002-07-22 Kevin Buettner <[email protected]> |
474 | ||
475 | * aix-thread.c (gdb_assert.h): Include. | |
476 | (fill_sprs64, fill_sprs32): Add selected asserts to make sure that | |
477 | register sizes (from register cache) match size of buffer holding | |
478 | register data. | |
479 | (fill_sprs32): Change parameter types to match those in the ptrace() | |
480 | buffer. | |
481 | (store_regs_lib): Likewise, but for 32-bit temporary variables. | |
482 | (ops_prepare_to_store): Rename loop variable ``i'' to ``regno''. | |
483 | ||
484 | 2002-07-22 Michael Snyder <[email protected]> | |
485 | ||
486 | * aix-thread.c (supply_sprs64): Cosmetic change. | |
487 | (supply_sprs32): Cosmetic change. | |
488 | (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs32): New funcs. | |
489 | (fill_sprs64): Use regcache_collect instead of read_register. | |
490 | (store_regs_lib): Use regcache_collect instead of | |
491 | read_register. Use fill_sprs32 instead of fill_sprs64, | |
492 | if debugging a 32-bit architecture. | |
493 | (store_regs_kern): Use fill_gprs64 etc. to pull the values | |
494 | out of the register cache, instead of passing a pointer into | |
495 | the register cache directly to ptrace. Use regcache_collect | |
496 | insteaad of read_register. | |
497 | (ops_prepare_to_store): Use target_read_registers instead | |
498 | of read_register_bytes. | |
499 | ||
36479eb1 AS |
500 | 2002-07-20 Aidan Skinner <[email protected]> |
501 | ||
502 | * MAINTAINERS: Add self under write after approval. | |
503 | ||
80ae6ee2 AS |
504 | 2002-07-20 Aidan Skinner <[email protected]> |
505 | ||
506 | * ada-tasks.c: Change k&r style function definitions to prototyped | |
507 | form. | |
508 | ||
8a8ab2b9 AC |
509 | 2002-07-19 Andrew Cagney <[email protected]> |
510 | ||
511 | * Makefile.in (x86-64-tdep.o): Add $(objfiles_h). | |
512 | * x86-64-tdep.c: Include "objfiles.h". | |
513 | (x86_64_gdbarch_init): Set in_solib_call_trampoline to | |
514 | in_plt_section. From 2002-07-18 Michal Ludvig <[email protected]>. | |
515 | ||
fb16b900 ML |
516 | 2002-07-17 Michal Ludvig <[email protected]> |
517 | ||
518 | * dwarf2cfi.c (execute_stack_op): Complain on unknown DW_OP_ value. | |
519 | (update_context): Initialise cfa variable. | |
520 | ||
0fe7bf7b MS |
521 | 2002-07-17 Michael Snyder <[email protected]> |
522 | ||
523 | * aix-thread.c: Shorten some long lines. | |
524 | Bring comments into line with code spec. | |
525 | ||
488f131b JB |
526 | 2002-07-18 Joel Brobecker <[email protected]> |
527 | ||
528 | * infrun.c: Re-indent using gdb_indent.sh. | |
529 | ||
46c415d2 JB |
530 | 2002-07-18 Joel Brobecker <[email protected]> |
531 | ||
532 | * infrun.c (handle_inferior_event): Remove unneeded extra brace. | |
533 | Leave the indentation temporarily untouched, to minimize the diffs. | |
534 | ||
cdecafbe EZ |
535 | 2002-07-18 Elena Zannoni <[email protected]> |
536 | ||
537 | * stabsread.c: Make os9k sections of the code obsolete, | |
538 | for real this time. | |
539 | * stabsread.h: Make os9k sections of the code obsolete. | |
540 | ||
7b6aa020 ML |
541 | 2002-07-18 Michal Ludvig <[email protected]> |
542 | ||
09ec9b38 ML |
543 | * linux-low.c (regsets_store_inferior_registers): Add free() |
544 | at the end of a loop to prevent memory leak. | |
545 | * linux-x86-64-low.c (x86_64_regmap): Add CS, SS registers. | |
546 | (X86_64_NUM_GREGS): Count it from the size of x86_64_regmap. | |
7b6aa020 ML |
547 | * config/sparc/tm-sp64linux.h: Make the rest of #endif |
548 | line a comment. | |
4894ac5d | 549 | * Makefile.in (x86-64-linux-nat.o): Remove dependency on i387-tdep.h |
7b6aa020 | 550 | |
233282cd JB |
551 | 2002-07-17 Jim Blandy <[email protected]> |
552 | ||
553 | * macrocmd.c (info_macro_command): Remove newline from error | |
554 | message. | |
555 | ||
7b6aa020 | 556 | 2002-07-17 J"orn Rennecke <[email protected]> |
2f14585c JR |
557 | |
558 | * sh-tdep.c (sh_dsp_register_sim_regno): New function. | |
559 | (sh_gdbarch_init): Use it for sh-dsp. | |
560 | ||
f7ef9339 KB |
561 | 2002-07-16 Kevin Buettner <[email protected]> |
562 | ||
563 | * dwarf2read.c (read_initial_length): Handle older, non-standard, | |
564 | 64-bit DWARF2 format. | |
565 | ||
8dd72958 JB |
566 | 2002-07-16 Joel Brobecker <[email protected]> |
567 | ||
568 | * proc-api.c: use HAVE_SYS_PROC_H macro to avoid including | |
569 | <sys/proc.h> when not available. | |
570 | ||
a99a9e1b AC |
571 | 2002-07-16 Andrew Cagney <[email protected]> |
572 | ||
573 | * NEWS: Mention that the i[34]86-*-os9k has been made obsolete. | |
574 | * stabsread.c: Make os9k sections of the code obsolete. | |
575 | * configure.tgt: Make i[3456]86-*-os9k target obsolete. | |
576 | * config/i386/i386os9k.mt: Make file obsolete. | |
577 | * Makefile.in (ALLDEPFILES): Remove remote-os9k.c. | |
578 | (COMMON_OBS): Remove os9kread.o | |
579 | (SFILES): Remove os9kread.c. | |
580 | (os9kread.o, remote-os9k.o): Make target obsolete. | |
581 | * remote-os9k.c: Make file obsolete. | |
582 | * os9kread.c: Make file obsolete. | |
583 | * Makefile.in | |
584 | ||
7a3085c1 AC |
585 | 2002-07-16 Andrew Cagney <[email protected]> |
586 | ||
587 | * NEWS: Mention that the FR30 has been made obsolete. | |
588 | * fr30-tdep.c: Make file obsolete. | |
589 | * config/fr30/tm-fr30.h: Ditto. | |
590 | * config/fr30/fr30.mt: Ditto. | |
591 | * configure.tgt: Make fr30-*-elf obsolete. | |
592 | * MAINTAINERS: Make fr30-elf obsolete. | |
593 | ||
28a93f5a PM |
594 | 2002-07-16 Pierre Muller <[email protected]> |
595 | ||
596 | * blockframe.c (get_pc_function_start): return 0 if the minimal symbol | |
597 | found is not inside a section. | |
598 | ||
be006b8b KB |
599 | 2002-07-15 Kevin Buettner <[email protected]> |
600 | ||
601 | * aix-thread.c (ptrace_check): Use safe_strerror() instead of | |
602 | strerror(). | |
603 | (pdc_realloc): Use xrealloc() instead of realloc(). | |
604 | ||
14fa3751 KB |
605 | 2002-07-15 Kevin Buettner <[email protected]> |
606 | ||
607 | * aix-thread.c (PD_ERROR, CALL_BASE): Delete. | |
608 | (ops_resume, ops_wait, fetch_regs_lib, store_regs_lib) | |
609 | (ops_xfer_memory, ops_kill): Don't use PD_ERROR or CALL_BASE | |
610 | macros. | |
611 | ||
42cc437f KB |
612 | 2002-07-15 Kevin Buettner <[email protected]> |
613 | ||
614 | * aix-thread.c (ptrace_check): Eliminate goto. | |
615 | (sync_threadlists): Eliminate gotos. Also, fix array overrun | |
616 | problem. | |
617 | ||
8e2c28d4 KB |
618 | 2002-07-15 Kevin Buettner <[email protected]> |
619 | ||
620 | * aix-thread.c (gdbcmd.h): Include. | |
621 | (DEBUG, DBG, DBG2, dbg): Eliminate. | |
622 | (debug_aix_thread): New static global. | |
623 | (ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs) | |
624 | (pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc) | |
625 | (fetch_regs_lib, store_regs_lib, store_regs_kern): Rewrite | |
626 | invocations to DBG and DBG2 macros to test against | |
627 | ``debug_aix_thread'' and call fprintf_unfiltered(). | |
628 | (_initialize_aix_thread): Add new command "set debug aix-thread". | |
629 | ||
30413464 AC |
630 | 2002-07-15 Andrew Cagney <[email protected]> |
631 | ||
632 | From Gerhard Tonn <[email protected]>: | |
633 | * s390-nat.c (fill_fpregset, fill_gregset): Use regcache_collect | |
634 | instead of supply_register. | |
635 | ||
7c43edc1 AC |
636 | 2002-07-15 Andrew Cagney <[email protected]> |
637 | ||
638 | * dwarf2cfi.c: Include "gdb_assert.h". | |
639 | (frame_state_for): Use gdb_assert to check that fde->cie_ptr is | |
640 | non-NULL. | |
641 | (update_context): Do not use __func__. Add missing ``break''. | |
642 | (update_context): Do not use __func__. | |
643 | ||
9364a0ef EZ |
644 | 2002-07-15 Elena Zannoni <[email protected]> |
645 | ||
646 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove variable print_insn | |
647 | and its setting. Set gdbarch instruction printing functions | |
648 | directly. For non-rs6000 case use new function | |
649 | gdb_print_insn_powerpc. | |
650 | (gdb_print_insn_powerpc): New function. | |
651 | ||
3fbeef0b AC |
652 | 2002-07-13 Andrew Cagney <[email protected]> |
653 | ||
92eb23c5 | 654 | * NEWS: Mention that the d30v has been marked obsolete. |
3fbeef0b AC |
655 | * MAINTAINERS: Note that d30v / d30v-elf has been made obsolete. |
656 | * configure.tgt: Mark d30v-*-* as obsolete. | |
657 | * d30v-tdep.c: Mark file as obsolete. | |
658 | * config/d30v/d30v.mt: Ditto. | |
659 | * config/d30v/tm-d30v.h: Ditto. | |
660 | ||
aacb1f0a AS |
661 | 2002-07-13 Aidan Skinner <[email protected]> |
662 | ||
663 | * ada-tasks.c (add_task_entry): replace calls to | |
664 | malloc() with xmalloc | |
665 | * ada-tasks.c (init_task_list): replace calls to free with xfree() | |
666 | ||
667 | * ada-lang.c (replace_operator_with_call, fill_in_ada_prototype, | |
668 | ada_finish_decode_line_1, all_sals_for_line | |
669 | ada_breakpoint_rewrite): replace calls to free() with xfree() | |
670 | ||
c11d79f2 KB |
671 | 2002-07-12 Kevin Buettner <[email protected]> |
672 | ||
673 | From Nicholas Duffek (with minor changes by Martin Hunt, | |
674 | Louis Hamilton, and Kevin Buettner): | |
675 | * aix-thread.c: New file. | |
676 | ||
8e19ed76 PS |
677 | 2002-07-12 Petr Sorfa <[email protected]> |
678 | ||
679 | * dwarf2read.c (dwarf2_invalid_attrib_class): New | |
680 | complaint for invalid attribute class or form. | |
681 | (read_func_scope): DW_AT_frame_base | |
682 | better handling of DW_AT_block*. | |
683 | (dwarf2_add_member_fn): DW_AT_vtable_elem_location | |
684 | better handling of DW_AT_block*. | |
685 | (read_common_block): DW_AT_location | |
686 | better handling of DW_AT_block*. | |
687 | (read_partial_die): DW_AT_location better handling | |
688 | of DW_AT_block*. | |
689 | (new_symbol): DW_AT_external better handling of | |
690 | DW_AT_block*. Proper initialization of variable | |
691 | "addr". | |
692 | (attr_form_is_block): New function that returns true | |
693 | if the attribute's form is of DW_FORM_block*. | |
694 | ||
295401f7 DJ |
695 | 2002-07-12 Peter Schauer <[email protected]> |
696 | ||
697 | * valops.c (find_method_list): Remove comment about | |
698 | removed STATIC_MEMFUNCP argument. | |
699 | (value_find_oload_method_list): Likewise. | |
700 | ||
e42dc924 KB |
701 | 2002-07-12 Kevin Buettner <[email protected]> |
702 | ||
703 | From Nicholas Duffek: | |
704 | * rs6000-nat.c (vmap_ldinfo, xcoff_relocate_core): Call | |
705 | target_new_objfile_hook. | |
706 | ||
6904b546 KB |
707 | 2002-07-12 Kevin Buettner <[email protected]> |
708 | ||
709 | From Nicholas Duffek: | |
710 | * xcoffread.c (scan_xcoff_symtab): Recognize XMC_TD as a data storage | |
711 | csect. | |
712 | ||
53fe9346 AC |
713 | 2002-07-12 Andrew Cagney <[email protected]> |
714 | ||
715 | * MAINTAINERS: Mention --enable-sim-build-warnings. | |
716 | (m68hc11-elf): Disable sim build warnings. | |
717 | (m32r-elf): Mark as broken obsolete candidate. | |
718 | (x86_64-linux-gnu): Mark as buildable with -Werror. | |
719 | (arm-elf): Change -w to ``,'' which enables warnings but not | |
720 | -Werror. | |
721 | ||
af5f3db6 AC |
722 | 2002-07-12 Andrew Cagney <[email protected]> |
723 | ||
724 | * bcache.h: Update copyright. | |
725 | (struct bstring, struct bcache): Move definition to "bcache.c". | |
726 | Replaced by opaque declaration. | |
727 | (bcache_xfree): Replace free_bcache. | |
728 | (bcache_xmalloc, bcache_memory_used): Declare. | |
729 | ||
730 | * bcache.c: Update copyright. | |
731 | (struct bstring, struct bcache): Moved to here from "bcache.h". | |
732 | Update comments. | |
733 | (bcache_xmalloc, bcache_memory_used): New functions. | |
734 | (bcache_xfree): Replace function free_bcache. | |
735 | ||
736 | * Makefile.in (objfiles.o): Add $(bcache_h). | |
737 | (objfiles_h): Remove $(bcache_h). | |
738 | (symfile.o): Add $(bcache_h). | |
739 | ||
740 | * symmisc.c: Update copyright. | |
741 | (print_symbol_bcache_statistics): Pass psymbol_cache by value. | |
742 | (print_objfile_statistics): Use bcache_memory_used. | |
743 | ||
744 | * symfile.c: Include "bcache.h". | |
745 | (reread_symbols): Use bcache_xfree. | |
746 | (reread_symbols): Use bcache_xmalloc and bcache_xfree. | |
747 | (add_psymbol_to_list): Pass psymbol_cache by value. | |
748 | (add_psymbol_with_dem_name_to_list): Ditto. | |
749 | ||
750 | * objfiles.h: Update copyright. | |
751 | (struct bcache): Declare opaque. Do not include "bcache.h". | |
752 | (struct objfile): Change psymbol_cache and macro_cache to ``struct | |
753 | bcache'' pointers. | |
754 | * dwarf2read.c (macro_start_file): Pass macro_cache by value. | |
755 | ||
756 | * objfiles.c: Include "bcache.h". Update copyright. | |
757 | (allocate_objfile): Use bcache_xmalloc to create psymbol_cache and | |
758 | macro_cache. | |
759 | (free_objfile): Use bcache_xfree. | |
760 | ||
444199e7 GS |
761 | 2002-07-11 Grace Sainsbury <[email protected]> |
762 | ||
763 | * monitor.c (monitor_fetch_register): Make name a constant. | |
764 | (monitor_store_register): Same. | |
765 | ||
261397f8 DJ |
766 | 2002-07-11 Daniel Jacobowitz <[email protected]> |
767 | ||
768 | Based on patch from Daniel Berlin <[email protected]>. | |
769 | * buildsym.c: Include "demangle.h" for SYMBOL_INIT_DEMANGLED_NAME. | |
770 | (finish_block) For non-function blocks, hash the symbol table. For | |
771 | function blocks, mark the symbol table as unhashed. | |
772 | * minsyms.c (msymbol_hash): Return hash value without taking modulus. | |
773 | (msymbol_hash_iw): Likewise. | |
774 | (add_minsym_to_hash_table): Take modulus of msymbol_hash's return | |
775 | value. | |
776 | (add_minsym_to_demangled_hash_table): Likewise for msymbol_hash_iw. | |
777 | (lookup_minimal_symbol): Likewise for both. | |
778 | * symtab.h (struct block): Add `hashtable' flag. Comment the | |
779 | hashtable. | |
780 | (BLOCK_HASHTABLE, BLOCK_BUCKETS, BLOCK_BUCKET): New macro. | |
781 | (ALL_BLOCK_SYMBOLS): Update. | |
782 | (BLOCK_SHOULD_SORT): Do not sort hashed blocks. | |
783 | (struct symbol): Add `hash_next' pointer. | |
784 | * symtab.c (lookup_block_symbol): Search using the hash table when | |
785 | possible. | |
786 | (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS. | |
787 | (search_symbols, find_addr_symbol): Likewise. | |
788 | ||
789 | * dstread.c (process_dst_block): Clear hashtable bit for new block. | |
790 | (read_dst_symtab): Likewise. | |
791 | * jv-lang.c (get_java_class_symtab): Likewise. | |
792 | * mdebugread.c: Include "gdb_assert.h". | |
793 | (shrink_block): Assert that the block being modified is not hashed. | |
794 | * coffread.c (patch_opaque_types): Use ALL_BLOCK_SYMBOLS. | |
795 | * symmisc.c (free_symtab_block): Walk the hash table when freeing | |
796 | symbols. | |
797 | (dump_symtab): Recognize hashed blocks. | |
798 | * printcmd.c (print_frame_args): Assert that function blocks do not | |
799 | have hashed symbol tables. | |
800 | * ada-lang.c (symtab_for_sym): Use ALL_BLOCK_SYMBOLS. | |
801 | (fill_in_ada_prototype, debug_print_block): Likewise. | |
802 | (ada_add_block_symbols): Use ALL_BLOCK_SYMBOLS. Handle hash tables. | |
803 | ||
6f0eaa01 CV |
804 | 2002-07-11 Corinna Vinschen <[email protected]> |
805 | ||
806 | * stack.c (print_frame): Use result of frame_address_in_block() | |
807 | instead of fi->pc when evaluating symbols. | |
808 | (backtrace_command_1): Ditto. | |
809 | ||
a208b0cb AC |
810 | 2002-07-11 Andrew Cagney <[email protected]> |
811 | ||
812 | * cris-tdep.c (cris_saved_pc_after_call): Fix parameter type. | |
813 | Make static. | |
814 | ||
815 | * arm-tdep.c (arm_register_name): Make return type constant. | |
816 | ||
a6b6b089 AC |
817 | 2002-07-10 Andrew Cagney <[email protected]> |
818 | ||
5ae5f592 AC |
819 | * win32-nat.c (has_detach_ability): Convert to strict ISO C |
820 | prototype. | |
821 | * top.c (gdb_rl_operate_and_get_next_completion): Ditto. | |
822 | * s390-tdep.c (s390_fp_regnum): Ditto. | |
823 | (s390_read_fp): Ditto. | |
824 | (s390_pop_frame): Ditto. | |
825 | (_initialize_s390_tdep): Ditto. | |
826 | * remote.c (get_remote_state): Ditto. | |
827 | * procfs.c (mappingflags): Ditto. | |
828 | * memattr.c (_initialize_mem): Ditto. | |
829 | * mcore-tdep.c (mcore_pop_frame): Ditto. | |
830 | * m68klinux-nat.c (_initialize_m68k_linux_nat): Ditto. | |
831 | * m68k-tdep.c (m68k_register_bytes_ok): Ditto. | |
832 | * language.c (set_case_str): Ditto. | |
833 | * gnu-v3-abi.c (vtable_address_point_offset): Ditto. | |
834 | * frv-tdep.c (new_variant): Ditto. | |
835 | (frv_stopped_data_address): Ditto. | |
836 | * dwarf2cfi.c (fde_chunks_need_space): Ditto. | |
837 | (context_alloc): Ditto. | |
838 | (frame_state_alloc): Ditto. | |
839 | (unwind_tmp_obstack_init): Ditto. | |
840 | (unwind_tmp_obstack_free): Ditto. | |
841 | (cfi_read_fp): Ditto. | |
842 | * cris-tdep.c (cris_saved_pc_after_call): Ditto. | |
843 | (cris_pop_frame): Ditto. | |
844 | * c-lang.c (scanning_macro_expansion): Ditto. | |
845 | (finished_macro_expansion): Ditto. | |
846 | (c_preprocess_and_parse): Ditto. | |
847 | * gdbarch.sh: Ditto. | |
848 | * gdbarch.h, gdbarch.c: Regenerate. | |
849 | * config/mn10200/tm-mn10200.h: Adjust indentation. | |
850 | * target.c: Adjust indentation. | |
851 | * symtab.h: Adjust indentation. | |
852 | * stabsread.h: Adjust indentation. | |
853 | * remote-es.c: Adjust indentation. | |
854 | * os9kread.c: Adjust indentation. | |
855 | ||
856 | 2002-07-10 Andrew Cagney <[email protected]> | |
857 | ||
a6b6b089 AC |
858 | * wince.c (_initialize_wince): Rename _initialize_inftarg. |
859 | * win32-nat.c (_initialize_win32_nat): Rename _initialize_inftarg. | |
860 | ||
a1789893 GS |
861 | 2002-07-10 Grace Sainsbury <[email protected]> |
862 | ||
863 | * NEWS: Mention m68k, mcore multi-arching. | |
864 | * MAINTAINERS: Change status of m68k, mcore to reflect | |
865 | multi-arching. | |
866 | ||
02f0d45d DJ |
867 | 2002-07-10 Daniel Jacobowitz <[email protected]> |
868 | ||
869 | * valops.c (find_overload_match): Free oload_syms. | |
870 | ||
f15f768e JB |
871 | 2002-07-09 Joel Brobecker <[email protected]> |
872 | ||
873 | Define HAVE_SYS_PROC_H if sys/proc.h exists | |
874 | * configure.in: Add check for sys/proc.h | |
875 | * config.in: Regenerate. | |
876 | * configure: Regenerate. | |
877 | ||
902a7139 GS |
878 | 2002-07-09 Grace Sainsbury <[email protected]> |
879 | ||
880 | * config/m68k/tm-m68k.h: Remove macros wrapped in | |
881 | #if !GDB_MULTI_ARCH. | |
882 | ||
82e0fd98 DB |
883 | 2002-07-09 David O'Brien <[email protected]> |
884 | ||
885 | * gdbserver/gdbreplay.c (stdlib.h, unistd.h): Conditionaly include. | |
886 | (perror_with_name, remote_close, remote_open, expect, play): Static. | |
887 | ||
a534e424 AC |
888 | 2002-07-08 Andrew Cagney <[email protected]> |
889 | ||
890 | * config.in, configure: Regenerate. | |
891 | ||
9b94f7bf MK |
892 | 2002-07-08 Mark Kettenis <[email protected]> |
893 | ||
894 | * dwarf2cfi.c: Include "gcore.h". | |
895 | (execute_stack_op): Fix implementation of the | |
896 | DW_OP_deref and DW_OP_deref_size operators by letting do their | |
897 | lookup in the target. | |
898 | ||
1d34db41 MK |
899 | 2002-07-07 Mark Kettenis <[email protected]> |
900 | ||
901 | From Peter Schauer <[email protected]>: | |
902 | * i386-sol2-tdep.c (i386_sol2_init_abi): Correct value for | |
903 | tdep->sc_sp_offset. | |
904 | ||
79d5b63a DJ |
905 | 2002-07-05 Daniel Jacobowitz <[email protected]> |
906 | ||
907 | Fix PR gdb/595, gdb/602 | |
908 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Remove unused variables. | |
909 | Don't call value_cast, just read the vtable pointer; update comments | |
910 | to match. | |
911 | ||
3bb912e8 GS |
912 | 2002-07-05 Grace Sainsbury <[email protected]> |
913 | ||
914 | * config/mcore/tm-mcore.h: Remove file. | |
915 | * config/mcore/mcore.mt: Remove definition of TM_FILE | |
916 | * configure.tgt: Set gdb_multi_arch to yes for the mcore target. | |
917 | ||
ca39387d MK |
918 | 2002-07-05 Mark Kettenis <[email protected]> |
919 | ||
920 | * i386bsd-tdep.c: Include "gdb_string.h". | |
921 | ||
efdc1108 GS |
922 | 2002-07-04 Grace Sainsbury <[email protected]> |
923 | ||
924 | * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Set to 2. | |
925 | (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG,RETVAL_REGNUM): Move to | |
926 | mcore-tdep. | |
927 | (REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER) | |
928 | (TARGET_VIRTUAL_FRAME_POINTER, BELIEVE_PCC_PROMOTION): Remove. | |
929 | * mcore-tdep.c (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG) | |
930 | (RETVAL_REGNUM): Move macros from tm-mcore.h | |
931 | (mcore_reg_struct_has_addr): New function. | |
932 | (mcore_gdbarch_init): Added initializations for the macros removed | |
933 | from tm-mcore.h. | |
934 | ||
bb21884d MK |
935 | 2002-07-04 Mark Kettenis <[email protected]> |
936 | ||
937 | * osabi.c (generic_elf_osabi_sniffer): Add check for FreeBSD 3.x's | |
938 | traditonal string branding within the ELF header. | |
939 | ||
228c6d41 DJ |
940 | 2002-07-04 Daniel Jacobowitz <[email protected]> |
941 | ||
942 | * symtab.c (remove_params): New function. | |
943 | (make_symbol_overload_list): Use it instead of cplus_demangle. | |
944 | (overload_list_add_symbol): Likewise. Reorder. Fix memory leak. | |
945 | ||
2404952e MK |
946 | 2002-07-04 Mark Kettenis <[email protected]> |
947 | ||
e5e4acad MK |
948 | * i386obsd-nat.c (_initialize_i386obsd_nat): Fix typo in prototype. |
949 | ||
baadce09 MK |
950 | * i386bsd-tdep.c (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end): |
951 | New variables. | |
952 | (i386nbsd_init_abi): Use these to initialize tdep->sigtramp_start | |
953 | and tdep->sigtramp_end. | |
954 | * i386obsd-nat.c: New file. | |
955 | * config/i386/obsd.mh (NATDEPFILES): Add i386obsd-nat.o. | |
956 | ||
2404952e MK |
957 | * dwarf2cfi.c (cfi_pop_frame): Use alloca() for regbuf. |
958 | Don't call get_current_frame(). | |
959 | ||
9b4f1ba7 PM |
960 | 2002-07-04 Pierre Muller <[email protected]> |
961 | ||
962 | * i386-nat.c (child_post_startup_inferior): New function | |
963 | calling i386_cleanup_dregs if | |
964 | I386_USE_GENERIC_WATCHPOINTS is defined. | |
965 | * config/i386/nm-i386.h: define CHILD_POST_STARTUP_INFERIOR | |
966 | conditional to acknowledge that i386-nat.c has its | |
967 | own child_post_startup_inferior function. | |
968 | ||
c0d1d883 MK |
969 | 2002-07-04 Mark Kettenis <[email protected]> |
970 | ||
00f8375e MK |
971 | * i386-tdep.h (I386_MAX_REGISTER_SIZE): New define. |
972 | * i386-tdep.c (i386_do_pop_frame): Use I386_MAX_REGISTER_SIZE | |
973 | instead of MAX_REGISTER_RAW_SIZE. | |
974 | (i386_extract_return_value, i386_extract_struct_value_address): | |
975 | Convert to use regcache. | |
976 | (i386_gdbarch_init): Set max_register_raw_size and | |
977 | max_register_virtual_size to I386_MAX_REGISTER_SIZE. | |
978 | Set extract_return_value and extract_struct_value_address instead | |
979 | of their deprecated variants. | |
980 | ||
c0d1d883 MK |
981 | Convert i386 target to generic dummy frames. |
982 | * i386-tdep.c: Include "symfile.h". | |
983 | (i386_frameless_signal_p): Consider a function to be frameless if | |
984 | the pc points at the first instruction of the function. | |
985 | (i386_frame_chain): Handle (generic) call dummies. | |
986 | (i386_frame_saved_pc): Likewise. | |
987 | (i386_frame_init_saved_regs): Remove code dealing with call | |
988 | dummies on the stack. | |
989 | (i386_push_dummy_frame): Removed. | |
990 | (i386_call_dummy_words): Removed. | |
991 | (i386_fix_call_dummy): Removed. | |
992 | (i386_push_return_address): New function. | |
993 | (i386_do_pop_frame): Renamed from i386_pop_frame. Add FRAME | |
994 | parameter, and don't call get_current_frame. | |
995 | (i386_pop_frame): New function. | |
996 | (i386_gdbarch_init): Set use_generic_dummy_frames to 1, set | |
997 | call_dummy_location to AT_ENTRY_POINT, set call_dummy_address to | |
998 | entry_point_address, set call_dummy_breakpoint_offset to 0, set | |
999 | call_dummy_length to 0, set call_dummy_words to NULL, set | |
1000 | sizeof_call_dummy_words to 0, set fix_call_dummy to | |
1001 | generic_fix_call_dummy, set pc_in_call_dummy to | |
1002 | pc_in_call_dummy_at_entry_point, set push_dummy_frame to | |
1003 | generic_push_dummy_frame, set push_return_address to | |
1004 | i386_push_return_address and set frame_chain_valid to | |
1005 | generic_file_frame_chain_valid. | |
1006 | ||
638c1580 ML |
1007 | 2002-07-04 Michal Ludvig <[email protected]> |
1008 | ||
1009 | * gdbserver/linux-x86-64-low.c (x86_64_regmap): Make it an array of | |
1010 | byte offsets instead of an array of indexes. | |
1011 | (x86_64_store_gregset, x86_64_store_fpregset): Parameter made const. | |
1012 | ||
049ee0e4 AC |
1013 | 2002-07-03 Andrew Cagney <[email protected]> |
1014 | ||
1015 | * gdbarch.sh (struct regcache): Add opaque declaration. | |
1016 | (EXTRACT_RETURN_VALUE): New architecture method. | |
1017 | (EXTRACT_STRUCT_VALUE_ADDRESS): Ditto. | |
1018 | * gdbarch.h, gdbarch.c: Regenerate. | |
1019 | * arch-utils.c (legacy_extract_return_value): New function. | |
1020 | * arch-utils.h (legacy_extract_return_value): Declare. | |
1021 | * values.c (value_being_returned): Re-enable code handling | |
1022 | EXTRACT_STRUCT_VALUE_ADDRESS. Move | |
1023 | deprecated_grub_regcache_for_registers call to block handling | |
1024 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. | |
1025 | (EXTRACT_RETURN_VALUE): Do not define. | |
1026 | ||
4e0d9804 GS |
1027 | 2002-07-03 Grace Sainsbury <[email protected]> |
1028 | ||
1029 | * config/mcore/tm-mcore.h (REGISTER_BYTES, NUM_REGS, PC_REGNUM) | |
1030 | (SP_REGNUM, FP_REGNUM, FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK) | |
1031 | (BREAKPOINT_FROM_PC, INNER_THAN, SAVED_PC_AFTER_CALL) | |
1032 | (INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS, INIT_FRAME_PC) | |
1033 | (FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC) | |
1034 | (STORE_RETURN_VALUE, DEPRECATED_EXTRACT_RETURN_VALUE) | |
1035 | (STORE_STRUCT_RETURN, DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS) | |
1036 | (SKIP_PROLOGUE, FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS) | |
1037 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, POP_FRAME) | |
1038 | (PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME, PUSH_ARGUMENTS): Remove. | |
1039 | * mcore-tdep.c (mcore_init_extra_frame_info): Add fromleaf | |
1040 | argument so the function fits the prototype in the architecture | |
1041 | vector. | |
1042 | (mcore_pop_frame): Remove argument so the function fits the | |
1043 | prototype. Use get_current_frame instead of the argument. | |
1044 | (mcore_push_arguments): Change type of struct_return so the | |
1045 | function can be used in the architecture vector. | |
1046 | (mcore_store_struct_return): Add. | |
1047 | (mcore_frame_init_saved_regs): Add. | |
1048 | (mcore_gdbarch_init): Add function calls to replace the macros | |
1049 | removed from tm-mcore.h | |
1050 | ||
36160dc4 AC |
1051 | 2002-07-03 Andrew Cagney <[email protected]> |
1052 | ||
1053 | * infcmd.c (print_return_value): Remove compatibility code calling | |
1054 | deprecated_grub_regcache_for_registers. | |
1055 | ||
1056 | * values.c: Include "regcache.h". | |
1057 | (value_being_returned): Update. Use | |
1058 | deprecated_grub_regcache_for_registers to extract the register | |
1059 | buffer address. | |
1060 | * value.h (value_being_returned): Change ``retbuf'' parameter to a | |
1061 | ``struct regcache''. | |
1062 | * Makefile.in (values.o): Add dependency on $(regcache_h). | |
1063 | ||
1064 | * inferior.h (run_stack_dummy): Change type of second parameter to | |
1065 | a ``struct regcache''. | |
1066 | * valops.c (hand_function_call): Change type of retbuf to ``struct | |
1067 | regcache''. Allocate using regcache_xmalloc, clean using | |
1068 | make_cleanup_regcache_xfree. | |
1069 | * infcmd.c (run_stack_dummy): Update. Use | |
1070 | regcache_cpu_no_passthrough instead of memcpy to copy the buffer. | |
1071 | ||
1072 | * regcache.c (do_regcache_xfree): New function. | |
1073 | (make_cleanup_regcache_xfree): New function. | |
1074 | * regcache.h (make_cleanup_regcache_xfree): Declare. | |
1075 | ||
e64d9b3d MH |
1076 | 2002-07-03 Martin M. Hunt <[email protected]> |
1077 | ||
4dd79c29 MH |
1078 | * event-top.c (command_line_handler): Don't read past |
1079 | beginning of buffer. | |
e64d9b3d | 1080 | |
4dd79c29 MH |
1081 | 2002-07-03 Martin M. Hunt <[email protected]> |
1082 | ||
e64d9b3d MH |
1083 | * varobj.c (struct varobj_root): Change frame from CORE_ADDR to |
1084 | struct frame_id. | |
1085 | (varobj_create): Store frame_id for root. | |
1086 | (varobj_gen_name): Use xasprintf. | |
1087 | (varobj_update): Save and restore frame using get_frame_id() and | |
1088 | frame_find_by_id(). | |
1089 | (create_child): Use xasprintf. | |
1090 | (new_root_variable): Initialize frame_id. | |
1091 | (c_name_of_child): Use xasprintf. Call find_frame_by_id(). | |
1092 | (c_value_of_variable): Use xasprintf. Move mem_fileopen call | |
1093 | to prevent memory leak. | |
1094 | ||
26e6c56a AC |
1095 | 2002-07-03 Andrew Cagney <[email protected]> |
1096 | ||
1097 | * valops.c (hand_function_call): Move declaration of retbuf to | |
1098 | start of function, allocate using malloc, add a cleanup but before | |
1099 | the inf_status cleanup, cleanup the buffer. Rename local variable | |
1100 | old_chain to inf_status_cleanup. | |
1101 | ||
f436dd25 MH |
1102 | 2002-07-03 Martin M. Hunt <[email protected]> |
1103 | ||
1104 | * top.c (execute_command): Use cmd_func() and cmd_func_p(). | |
1105 | ||
1106 | * cli/cli-decode.c (cmd_func_p): New function. | |
1107 | (cmd_func): New function. | |
1108 | ||
1109 | * command.h: Add cmd_func() and cmd_func_p(). | |
1110 | ||
4cfe2084 GS |
1111 | 2002-07-03 Grace Sainsbury <[email protected]> |
1112 | ||
1113 | * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Add macro. Set to 0. | |
1114 | (REGISTER_SIZE): Remove. | |
1115 | (MAX_REGISTER_RAW_SIZE): Remove. | |
1116 | (REGISTER_VIRTUAL_TYPE): Remove. | |
1117 | (MAX_REGISTER_VIRTUAL_SIZE): Remove. | |
1118 | (REGISTER_NAME): Remove. | |
1119 | (USE_GENERIC_DUMMY_FRAMES): Remove. | |
1120 | (CALL_DUMMY): Remove. | |
1121 | (CALL_DUMMY_START_OFFSET): Remove. | |
1122 | (CALL_DUMMY_BREAKPOINT_OFFSET): Remove. | |
1123 | (CALL_DUMMY_LOCATION): Remove. | |
1124 | (FIX_CALL_DUMMY): Remove. | |
1125 | (CALL_DUMMY_ADDRESS): Remove. | |
1126 | (SIZEOF_CALL_DUMMY_WORDS): Remove. | |
1127 | (SAVE_DUMMY_FRAME_TOS): Remove. | |
1128 | * mcore-tdep.c (MCORE_REG_SIZE, MCORE_NUM_REGS): Add macros. | |
1129 | (mcore_register_virtual_type): New function. | |
1130 | (mcore_register_byte): New function. | |
1131 | (mcore_register_size): New function. | |
1132 | (mcore_register_name): New function. | |
1133 | (mcore_gdbarch_init): New function. Add set_gdbarch calls for | |
1134 | macros removed from tm-mcore.h. | |
1135 | (mcore_dump_tdep): Add. | |
1136 | (_initialize_mcore_tdep): Add gdbarch_register call. | |
1137 | ||
4fd667e9 MK |
1138 | 2002-07-03 Mark Kettenis <[email protected]> |
1139 | ||
1140 | * i386-tdep.c (i386_frameless_signal_p): Provide an argument in to | |
1141 | frameless_look_for_prologue, such that we actually call this | |
1142 | function. | |
1143 | ||
42f99ac2 JB |
1144 | 2002-07-02 Joel Brobecker <[email protected]> |
1145 | ||
1146 | * frame.h (frame_address_in_block): New function. | |
1147 | ||
1148 | * blockframe.c (frame_address_in_block): New function extracted | |
1149 | from get_frame_block(). | |
1150 | (get_frame_block): Use frame_address_in_block(). | |
1151 | (block_innermost_frame): Use frame_address_in_block() to match | |
1152 | the frame pc address against the block boundaries rather than | |
1153 | the frame pc directly. This prevents a failure when a frame pc | |
1154 | is actually a return-address pointing immediately after the end | |
1155 | of the given block. | |
1156 | ||
103a1597 | 1157 | 2002-07-02 Grace Sainsbury <[email protected]> |
83b4a0fe GS |
1158 | |
1159 | * MAINTAINERS: Add self under write after approval. | |
1160 | ||
1161 | 2002-07-02 Grace Sainsbury <[email protected]> | |
1162 | ||
103a1597 GS |
1163 | * m68k-tdep.c (m68k_remote_breakpoint_from_pc): Add. Currently not |
1164 | used in architecture vector. The default is | |
1165 | m68k_local_breakpoint_from_pc. | |
1166 | (m68k_local_breakpoint_from_pc): Add. | |
1167 | (enum): Add register numbers from tm-m68k.h. | |
1168 | (m68k_gdbarch_init): Add breakpoint_from_pc to architecture | |
1169 | vector. | |
1170 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Set to | |
1171 | GDB_MULTI_ARCH_PARTIAL. | |
1172 | (BPT_VECTOR, REGISTER_BYTES_FP, REGISTER_BYTES_NOFP) | |
1173 | (NUM_FREGS, SIG_PC_FP_OFFSET, SP_ARG0, REMOTE_BPT_VECTOR): Move to | |
1174 | m68k-tdep.c. | |
1175 | (BREAKPOINT, REMOTE_BREAKPOINT): Remove. | |
1176 | (A1_REGNUM, FP0_REGNUM, FPC_REGNUM, FPS_REGNUM, FPI_REGNUM): Move | |
1177 | to enum in m68k-tdep.c | |
1178 | ||
7a5a0534 JB |
1179 | 2002-07-02 Joel Brobecker <[email protected]> |
1180 | ||
1181 | * solib-osf.c (open_map): Compute the list of shared libraries | |
1182 | loaded by the inferior, rather than the list of libraries loaded | |
1183 | by GDB itself. Otherwise, GDB ends up reading the symbols from | |
1184 | the wrong shared libraries... | |
1185 | ||
6f558d74 MK |
1186 | 2002-07-02 Mark Kettenis <[email protected]> |
1187 | ||
b7d15bf7 MK |
1188 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Make static. |
1189 | (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONEXT_SP_OFFSET): Remove | |
1190 | macros. | |
1191 | (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp): | |
1192 | Remove functions. | |
1193 | (FRAMELESS_SIGNAL): Remove function. | |
1194 | (i386_linux_frame_chain, i386_linux_frame_saved_pc, | |
1195 | i386_linux_saved_pc_after_call): Removed. | |
1196 | (i386_linux_init_abi): Initialize tdep->sigcontext_addr, | |
1197 | tdep->sc_pc_offset and tdep->sc_sp_offset. Don't override | |
1198 | frame_chain, frame_saved_pc and saved_pc_after_call any longer. | |
1199 | ||
6bff26de MK |
1200 | * i386-tdep.c (i386_frameless_signal_p): New function. |
1201 | (i386_frame_chain): Deal with frameless signals. | |
1202 | (i386_sigtramp_saved_sp): New function. | |
1203 | (i386_frame_saved_pc): Deal with frameless signals. | |
1204 | (i386_saved_pc_after_call): Make sure the correct value is | |
1205 | returned just after entry into a sigtramp. | |
1206 | * i386bsd-tdep.c (i386bsd_sc_sp_offset, i386nbsd_sc_sp_offset, | |
1207 | i386fbsd4_sc_sp_offset): New variables. | |
1208 | (i386bsd_init_abi, i386nbsd_init_abi, i386fbsd4_init_abi): Use | |
1209 | these variables to initialize tdep->sc_sp_offset. * i386bsd-nat.c | |
1210 | (_initialize_i386bsd_nat): Add sanity check for sc_sp_offset | |
1211 | similiar to what we already did for sc_pc_offset. | |
1212 | * i386-sol2-tdep.c (i386_sol2_init_abi): Initialize | |
1213 | tdep->sc_sp_offset. | |
1214 | ||
6f558d74 MK |
1215 | * i386nbsd-tdep.c (fetch_elfcore_registers): Wrap long line. |
1216 | ||
145564b7 ML |
1217 | 2002-07-02 Michal Ludvig <[email protected]> |
1218 | ||
1219 | * config/i386/tm-x86-64linux.h: New. | |
1220 | * config/i386/x86-64linux.mt: Add GDB_MULTI_ARCH and TM_FILE | |
1221 | definitions. | |
1222 | * config/i386/nm-x86-64.h: Rename to ... | |
1223 | * config/i386/nm-x86-64linux.h: ... this one. | |
1224 | * config/i386/x86-64linux.mh: Reflect the above change. | |
1225 | ||
3a1e71e3 MK |
1226 | 2002-07-01 Mark Kettenis <[email protected]> |
1227 | ||
21d0e8a4 MK |
1228 | * i386-tdep.h (struct gdbarch_tdep): Replace sigtramp_saved_pc |
1229 | with sigcontext_addr. Add sc_sp_offset. | |
1230 | (i386bsd_sigtramp_saved_pc): Remove prototype. | |
1231 | (i386bsd_sicontext_addr): Add prototype. | |
1232 | * i386-tdep.c (i386_sigtramp_saved_pc): New function. | |
1233 | (i386_frame_saved_pc): Rewrite to call i386_sigtramp_saved_pc. | |
1234 | (i386_svr4_sigtramp_saved_pc): Removed. | |
1235 | (i386_svr4_sigcontext_addr): New function. | |
1236 | (i386_svr4_init_abi): Don't initialize tdep->sigtramp_saved_pc. | |
1237 | Initialize tdep->sigcontext_addr instead. Initialize | |
1238 | tdep->sc_pc_offset and tdep->sc_sp_offset. | |
1239 | (i386_gdbarch_init): Likewise. | |
1240 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Don't make it static | |
1241 | any more. | |
1242 | (i386bsd_sigtramp_saved_pc): Remove function. | |
1243 | (i386bsd_init_abi): Don't initialize tdep->sigtramp_saved_pc. | |
1244 | Initialize tdep->sigcontext_addr instead. Initialize | |
1245 | tdep->sc_pc_offset. | |
1246 | * i386-linux-tdep.c (i386_linux_init_abi): Remove initialization | |
1247 | of tdep->sigtramp_saved_pc. | |
1248 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't initialize | |
1249 | tdep->sigtramp_saved_pc. Initialize tdep->sigcontext_addr | |
1250 | instead. | |
1251 | ||
3a1e71e3 MK |
1252 | * i386-tdep.c (i386_frameless_function_invocation, |
1253 | i386_frame_num_args, i386_frame_init_saved_regs, | |
1254 | i386_skip_prologue, i386_push_dummy_frame, i386_fix_call_dummy, | |
1255 | i386_pop_frame, i386_push_arguments, i386_store_struct_return, | |
1256 | i386_extract_return_value, i386_store_return_value, | |
1257 | i386_extract_struct_value_address, i386_register_virtual_type, | |
1258 | i386_register_convertible, i386_register_convert_to_virtual, | |
1259 | i386_register_convert_to_raw, i386_svr4_sigtramp_saved_pc, | |
1260 | i386_go32_init_abi, i386_nw_init_abi, i386_gdbarch_init): Make | |
1261 | static. | |
1262 | ||
52e9098c MK |
1263 | 2002-07-01 Mark Kettenis <[email protected]> |
1264 | ||
77b13a25 MK |
1265 | * i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed. |
1266 | ||
52e9098c MK |
1267 | * config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Removed. |
1268 | * i386-sol2-tdep.c (i386_sol2_init_abi): Adjust for the removal of | |
1269 | this macro. Include "value.h". | |
1270 | ||
1b372fff AS |
1271 | 2002-06-30 Aidan Skinner <[email protected]> |
1272 | ||
1273 | * ada-exp.tab.c: remove as it's a generated file | |
1274 | * ada-lex.c: remove as it's a generated file | |
1275 | ||
9c5045b5 MK |
1276 | 2002-06-30 Mark Kettenis <[email protected]> |
1277 | ||
4a93c5bb MK |
1278 | * config/i386/tm-i386.h (struct frame_info, struct |
1279 | frame_saved_regs, struct value, struct type): Remove forward | |
1280 | declarations. | |
1281 | ||
322d4fe0 MK |
1282 | * config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS] |
1283 | (FILL_FPXREGSET, HAVE_SSE_REGS): Remove define. | |
1284 | * config/i386/nm-linux.h [HAVE_PTRACE_GETFPXREGS] | |
1285 | (FILL_FPXREGSET): Define. | |
1286 | ||
fdd8263d MK |
1287 | * config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define. |
1288 | ||
482e577b MK |
1289 | * configure.tgt (i[3456]86-*-openbsd*): Fold into |
1290 | i[3456]86-*-netbsd* case. | |
1291 | * config/i386/tm-obsd.h: Removed. | |
1292 | * config/i386/obsd.mt: Removed. | |
1293 | * config/i386/obsd.mh (NATDEPFILES): Remove corelow.o and | |
1294 | core-aout.o. | |
1295 | (MH_CFLAGS): Add -DYYDEBUG=0. | |
1296 | ||
6916549a MK |
1297 | * i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to |
1298 | i386nbsd_sc_pc_offset on OpenBSD too. | |
1299 | ||
9c5045b5 MK |
1300 | * config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS] |
1301 | (IN_SOLIB_CALL_TRAMPOLINE): Remove define. | |
1302 | * config/i386/tm-nbsdaout.h (IN_SOLIB_CALL_TRAMPOLINE): Remove | |
1303 | define. | |
1304 | * i386bsd-tdep.c: Include "arch-utils.h". | |
1305 | (i386bsd_aout_in_solib_call_trampoline): New function. | |
1306 | (i386bsd_init_abi): Set in_solib_call_trampoline to | |
1307 | i386bsd_aout_in_solib_call_trampoline. | |
1308 | (i386nbsdelf_init_abi, i386fbsd_init_abi): Set | |
1309 | in_solib_call_trampoline to generic_in_solib_call_trampoline. | |
1310 | ||
aa84d1bb AC |
1311 | 2002-06-28 Andrew Cagney <[email protected]> |
1312 | ||
1313 | * macrotab.h: Do not include "obstack.h" or "bcache.h". | |
1314 | (struct obstack, struct bcache): Add opaque declarations. | |
1315 | * Makefile.in (macrotab_h): Update | |
1316 | ||
b4d83933 AC |
1317 | 2002-06-28 Andrew Cagney <[email protected]> |
1318 | ||
1319 | * blockframe.c (generic_find_dummy_frame): Change return type to | |
1320 | ``struct regcache''. | |
1321 | (struct dummy_frame): Replace field ``registers'' with regcache, a | |
1322 | struct regcache object. | |
1323 | (generic_find_dummy_frame): Update. | |
1324 | (generic_push_dummy_frame): Update. Use regcache_xfree, | |
1325 | regcache_xmalloc and regcache_cpy. | |
1326 | (generic_pop_dummy_frame): Update. Use regcache_cpy and | |
1327 | regcache_xfree. | |
1328 | (deprecated_generic_find_dummy_frame): Update. | |
1329 | (generic_read_register_dummy): Update. Use | |
1330 | regcache_read_as_address. | |
1331 | (generic_call_dummy_register_unwind): Update. Use regcache_read. | |
1332 | (generic_get_saved_register): Update. Use regcache_read. | |
1333 | ||
08c0b5bc AC |
1334 | 2002-06-28 Andrew Cagney <[email protected]> |
1335 | ||
1336 | * Makefile.in (objfiles_h): Add $(bcache_h). | |
1337 | * objfiles.h: Include "bcache.h". | |
1338 | ||
1339 | * Makefile.in (symtab_h): Remove $(bcache_h). | |
1340 | * symtab.h: Do not include "bcache.h". | |
1341 | ||
1f89801a AC |
1342 | 2002-06-28 Andrew Cagney <[email protected]> |
1343 | ||
1344 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to | |
1345 | generic_func_frame_chain_valid. | |
1346 | ||
b9644b58 DB |
1347 | 2002-06-28 David O'Brien <[email protected]> |
1348 | ||
1349 | * config/i386/nm-fbsd.h: Include <sys/param.h>. | |
1350 | * config/i386/tm-fbsd.h: Likewise. | |
1351 | ||
dd486634 AC |
1352 | 2002-06-28 Andrew Cagney <[email protected]> |
1353 | ||
1354 | * rs6000-tdep.c (rs6000_gdbarch_init): Use | |
1355 | generic_unwind_get_saved_register. | |
1356 | ||
0b434a00 AC |
1357 | 2002-06-27 Andrew Cagney <[email protected]> |
1358 | ||
1359 | From 2002-06-27 John David Anglin <[email protected]>: | |
1360 | * regcache.c (supply_register): Add missing argument to | |
1361 | register_buffer call. | |
1362 | ||
f30e5a77 AC |
1363 | 2002-06-27 Andrew Cagney <[email protected]> |
1364 | ||
1365 | * Makefile.in (init.c): Drop -e option to grep. Not necessary and | |
1366 | Solaris /bin/grep does not not like it. From Peter Schauer. | |
1367 | ||
9f064c95 TT |
1368 | 2002-06-26 Tom Tromey <[email protected]> |
1369 | ||
1370 | * command.h (add_setshow_cmd): Declare. | |
1371 | (add_setshow_cmd_full): Declare. | |
1372 | * cli/cli-decode.c (add_setshow_cmd): No longer static. Now | |
1373 | returns void. Use add_setshow_cmd_full. | |
1374 | (add_setshow_cmd_full): New function. | |
1375 | (add_setshow_auto_boolean_cmd): Use add_setshow_cmd_full. | |
1376 | (add_setshow_boolean_cmd): Likewise. | |
1377 | ||
099c7589 JT |
1378 | 2002-06-26 Jason Thorpe <[email protected]> |
1379 | ||
1380 | * config/vax/tm-vax.h: Protect from multiple inclusion. | |
1381 | (TARGET_UPAGES, TARGET_NBPG, STACK_END_ADDR) | |
1382 | (SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Move to... | |
1383 | * config/vax/tm-vaxbsd.h: ...here. New file. | |
1384 | * config/vax/vax.mt (TM_FILE): Set to tm-vaxbsd.h. | |
1385 | ||
1d049c5e JT |
1386 | 2002-06-26 Jason Thorpe <[email protected]> |
1387 | ||
1388 | * config/vax/tm-vax.h (BREAKPOINT): Remove. | |
1389 | (BELIEVE_PCC_PROMOTION): Remove. | |
1390 | (AP_REGNUM): Move to... | |
1391 | * config/vax/nm-vax.h: ...here. | |
1392 | * vax-tdep.c: Use VAX_AP_REGNUM instead of AP_REGNUM. | |
1393 | (vax_breakpoint_from_pc): New function. | |
1394 | (vax_gdbarch_init): Initialize gdbarch_breakpoint_from_pc | |
1395 | and gdbarch_believe_pcc_promotion. | |
1396 | ||
4791e091 JT |
1397 | 2002-06-26 Jason Thorpe <[email protected]> |
1398 | ||
1399 | * Makefile.in (vax_tdep_h): Define. | |
1400 | (vax-tdep.o): Use $(vax_tdep_h). | |
1401 | * vax-tdep.c (vax_gdbarch_init): Use generic OS ABI framework. | |
1402 | (vax_dump_tdep): New function. | |
1403 | (_initialize_vax_tdep): Register vax_dump_tdep. | |
1404 | * vax-tdep.h: Include osabi.h. | |
1405 | (struct gdbarch_tdep): New. | |
1406 | ||
da130f98 AC |
1407 | 2002-06-26 Andrew Cagney <[email protected]> |
1408 | ||
1409 | * frame.h (deprecated_generic_find_dummy_frame): Rename | |
1410 | generic_find_dummy_frame. | |
1411 | * blockframe.c (generic_find_dummy_frame): Make static. | |
1412 | (deprecated_generic_find_dummy_frame): New function. | |
1413 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Replace | |
1414 | generic_find_dummy_frame with deprecated_find_dummy_frame. | |
1415 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
1416 | (sh_fp_frame_init_saved_regs): Ditto. | |
1417 | * s390-tdep.c (s390_frame_saved_pc_nofix): Ditto. | |
1418 | (s390_frame_chain): Ditto. | |
1419 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
1420 | ||
6300c360 GS |
1421 | 2002-06-26 Grace Sainsbury <[email protected]> |
1422 | ||
1423 | * config/m68k/tm-m68k.h: Rearrange code so macros not in the | |
1424 | gdbarch vector are at the top. | |
1425 | (NUM_REGS): Remove. | |
1426 | (FP_REGNUM, SP_REGNUM, PS_REGNUM, PC_REGNUM, FP0_REGNUM): Remove. | |
1427 | (FRAME_ARGS_ADDRESS): Remove. | |
1428 | (FRAME_LOCALS_ADDRESS): Remove. | |
1429 | (FRAME_NUM_ARGS): Remove. | |
1430 | (FRAME_ARGS_SKIP): Remove. | |
1431 | * m68k-tdep.c (enum): Add eumeration of special register numbers. | |
1432 | (m68k_gdbarch_init): Add gdbarch initializations for macros | |
1433 | undefined in tm-m68k.h | |
1434 | ||
1c617db8 GS |
1435 | 2002-06-26 Grace Sainsbury <[email protected]> |
1436 | ||
1437 | * monitor.h: Add the function regname to monitor_ops | |
1438 | structure. This way NUM_REGS does not have to be a constant. | |
1439 | * monitor.c (monitor_fetch_register): Added support for regname | |
1440 | function. The function is called if the array regnames is NULL. | |
1441 | (monitor_store_register): Same. | |
da130f98 AC |
1442 | * cpu32bug-rom.c (cpu32bug_regname): Add function. Replaces |
1443 | regnames array. | |
1c617db8 GS |
1444 | (init_cpu32bug_cmds): set cpu32bug_cmds.regnames to NULL, |
1445 | cpu32bug_cmds.regname to point to new function. | |
1446 | * abug-rom.c (abug_regname): Same as above. | |
1447 | (init_abug_cmds): Same. | |
1448 | * dbug-rom.c (dbug_regname): Same as above. | |
1449 | (init_dbug_cmds): Same. | |
1450 | * remote-est.c (est_regname): Same. | |
1451 | (init_est_cmds): Same. | |
1452 | * rom68k-rom.c (rom68k_regname): Same. | |
1453 | (init_rom68k_cmds): Same. | |
1454 | ||
ea9365bb TT |
1455 | 2002-06-25 Tom Tromey <[email protected]> |
1456 | ||
1457 | * breakpoint.c (delete_command): Don't repeat `delete' commands. | |
1458 | ||
72cec141 AC |
1459 | 2002-06-25 Andrew Cagney <[email protected]> |
1460 | ||
1461 | * infrun.c (stop_registers): Change variable's type to ``struct | |
1462 | regcache'''. | |
1463 | (xmalloc_inferior_status): Delete function. | |
1464 | (free_inferior_status): Delete function. | |
1465 | (normal_stop): Use regcache_cpy. | |
1466 | (struct inferior_status): Change type of fields ``stop_registers'' | |
1467 | and ``registers'' to ``struct regcache''. | |
1468 | (write_inferior_status_register): Use regcache_write. | |
1469 | (save_inferior_status): Instead of calling | |
1470 | xmalloc_inferior_status, allocate the inf_status buffer directly. | |
1471 | Use regcache_dup_no_passthrough and regcache_dup to save the | |
1472 | buffers. | |
1473 | (restore_inferior_status): Use regcache_xfree and regcache_cpy. | |
1474 | Replace the stop_registers regcache instead of overriding it. Use | |
1475 | regcache_xfree. Instead of calling free_inferior_status, xfree | |
1476 | the buffer directly. | |
1477 | (discard_inferior_status): Use regcache_xfree. Instead of calling | |
1478 | free_inferior_status, xfree the buffer directly. | |
1479 | (build_infrun): Use regcache_xmalloc. | |
1480 | (_initialize_infrun): Delete redundant call to build_infrun. | |
1481 | ||
1482 | * Makefile.in (infcmd.o): Add $(regcache_h). | |
1483 | ||
1484 | * infcmd.c: Include "regcache.h". | |
1485 | (run_stack_dummy): Use deprecated_grub_regcache_for_registers to | |
1486 | obtain the address of `stop_registers' register buffer. | |
1487 | (print_return_value): Ditto. | |
1488 | ||
1489 | * inferior.h (struct regcache): Add opaque declaration. | |
1490 | (stop_registers): Change variable's declared type to ``struct | |
1491 | regcache''. | |
1492 | ||
defc6f8c TT |
1493 | 2002-06-24 Tom Tromey <[email protected]> |
1494 | ||
c0e624e7 TT |
1495 | * cli/cli-decode.c (add_show_from_set): Fixed typo in comment. |
1496 | * target.c (initialize_targets): Fixed typo in | |
1497 | trust-readonly-sections `show' documentation. | |
1498 | ||
defc6f8c TT |
1499 | * main.c: Marked all strings with _(). |
1500 | ||
2b236d82 DH |
1501 | 2002-06-24 Don Howard <[email protected]> |
1502 | ||
1503 | * memattr.c (create_mem_region): Treat hi == 0 as a special case | |
1504 | that means max CORE_ADDR+1. | |
1505 | (lookup_mem_region): Ditto. | |
1506 | (mem_info_command): Ditto. | |
1507 | ||
942dc0e9 GS |
1508 | 2002-06-24 Grace Sainsbury <[email protected]> |
1509 | ||
1510 | * config/m68k/tm-m68k.h (DECR_PC_AFTER_BREAK): Remove. | |
1511 | (REGISTER_BYTES_OK): Remove. | |
1512 | (REGISTER_BYTES): Remove. | |
1513 | (STORE_STRUCT_RETURN): Remove. | |
1514 | (DEPRECATED_EXTRACT_RETURN_VALUE): Remove. | |
1515 | (STORE_RETURN_VALUE): Remove. | |
1516 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
1517 | (FRAME_CHAIN): Remove. | |
1518 | (FRAMELESS_FUNCTION_INVOCATION): Remove. | |
1519 | (FRAME_SAVED_PC): Remove. | |
1520 | * m68k-tdep.c (m68k_register_bytes_ok):Add. | |
1521 | (m68k_store_struct_return): Add. | |
1522 | (m68k_deprecated_extract_return_value): Add. | |
1523 | (m68k_deprecated_extract_struct_value_address): Add. | |
1524 | (m68k_store_return_value): Add. | |
1525 | (m68k_frame_chain): Add. | |
1526 | (m68k_frameless_function_invocation): Add. | |
1527 | (m68k_frame_saved_pc): Add. | |
1528 | (m68k_gdbarch_init): added set_gdbarch calls for new | |
1529 | functions and deleted macros. | |
1530 | ||
03c30d4d TT |
1531 | 2002-06-23 Tom Tromey <[email protected]> |
1532 | ||
1533 | * Makefile.in (HFILES_NO_SRCDIR): Remove old files. | |
1534 | (ALLDEPFILES): Likewise. | |
1535 | (udiheaders): Removed. | |
1536 | (udip2soc.o): Likewise. | |
1537 | (udi2go32.o): Likewise. | |
1538 | (udr.o): Likewise. | |
1539 | (HFILES_WITH_SRCDIR): Don't mention udiheaders. | |
1540 | ||
37e71372 AC |
1541 | 2002-06-22 Andrew Cagney <[email protected]> |
1542 | ||
06a6ac57 AC |
1543 | * infrun.c (_initialize_infrun): Delete unnecessary call to |
1544 | build_infrun. | |
1545 | ||
37e71372 AC |
1546 | * regcache.h: Update comments describing the regcache_cpy family |
1547 | of functions. | |
1548 | (regcache_save, regcache_restore): Delete declaration. | |
1549 | (regcache_save_no_passthrough): Delete declaration. | |
1550 | (regcache_restore_no_passthrough): Delete declaration. | |
1551 | * regcache.c (regcache_save): Delete function. | |
1552 | (regcache_save_no_passthrough): Delete function. | |
1553 | (regcache_restore): Delete function. | |
1554 | (regcache_restore_no_passthrough): Delete function. | |
1555 | ||
78f6d055 AC |
1556 | 2002-06-21 Andrew Cagney <[email protected]> |
1557 | ||
1558 | * config/m68k/tm-m68k.h: Fix typo. | |
1559 | (FRAME_INIT_SAVED_REGS): Define when non-multi-arch. | |
1560 | (m68k_frame_init_saved_regs): Declare. | |
1561 | ||
78b119cb JB |
1562 | 2002-06-21 Jim Blandy <[email protected]> |
1563 | ||
1564 | Remove some vestiges of Harris 88k support. | |
1565 | * dwarf2read.c (decode_locdesc): Remove `#if' block for Harris 88k | |
1566 | register numbering quirk. | |
1567 | * elfread.c (elf_symtab_read): Remove `#if' block for skipping | |
1568 | odd symbols occurring in Harris 88k ELF targets. | |
1569 | ||
0fbb3da7 TT |
1570 | 2002-06-21 Tom Tromey <[email protected]> |
1571 | ||
1572 | * gdb_locale.h: New file. | |
1573 | * Makefile.in (GDB_CFLAGS): Define LOCALEDIR. | |
1574 | (defs_h): Added gdb_locale.h. | |
1575 | * configure, config.in: Rebuilt. | |
1576 | * configure.in (PACKAGE): Define. | |
1577 | * defs.h: Include gdb_locale.h. | |
1578 | * main.c (captured_main): Call setlocale, bindtextdomain, | |
1579 | textdomain. | |
1580 | ||
456f8b9d DB |
1581 | 2002-06-21 Dave Brolley <[email protected]> |
1582 | ||
1583 | From Stan Shebs, Jim Blandy, Mark Salter, Kevin Buettner: | |
1584 | * config/frv/frv.mt: New file. | |
1585 | * config/frv/tm-frv.h: New file. | |
1586 | * configure.tgt: Support frv-*-*. | |
1587 | * Makefile.in (frv-tdep.o): New target. | |
1588 | * frv-tdep.c: New file. | |
1589 | * NEWS: Mention frv. | |
1590 | ||
cdd463f9 DB |
1591 | 2002-06-21 Dave Brolley <[email protected]> |
1592 | ||
1593 | * MAINTAINERS: Add self to "Write After Approval" list. | |
1594 | ||
5d3ed2e3 GS |
1595 | 2002-06-21 Grace Sainsbury <[email protected]> |
1596 | ||
1597 | * config/m68k/tm-m68k.h (REGISTER_BYTE, REGISTER_RAW_SIZE) | |
1598 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
1599 | (REGISTER_VIRTUAL_TYPE, REGISTER_NAMES, TARGET_LONG_DOUBLE_FORMAT) | |
1600 | (FUNCTION_START_OFFSET, SKIP_PROLOGUE, SAVED_PC_AFTER_CALL) | |
1601 | (INNER_THAN, STACK_ALIGN, REGISTER_SIZE): Remove macros. | |
1602 | ||
1603 | * m68k-tdep.c: Include arch-utils.h | |
1604 | (m68k_register_raw_size): Add. | |
1605 | (m68k_register_virtual_size): Add. | |
1606 | (m68k_register_virtual_type): Add. | |
1607 | (m68k_register_name): Add. | |
1608 | (m68k_stack_align): Add. | |
1609 | (m68k_register_byte): Add. | |
1610 | (m68k_gdbarch_init): Add set_gdbarch calls for macros removed in | |
1611 | tm-m68k.h. | |
1612 | ||
7f8e7424 GS |
1613 | 2002-06-21 Grace Sainsbury <[email protected]> |
1614 | ||
a2c6a6d5 | 1615 | * m68k-tdep.c (m68k_frame_init_saved_regs): Replace |
7f8e7424 GS |
1616 | m68k_find_saved_regs. |
1617 | (m68k_pop_frame): Removed saved_regs structure, and replaced | |
5d3ed2e3 | 1618 | references to it with frame->saved_regs. |
7f8e7424 GS |
1619 | (m68k_gdbarch_init): Added function calls to initialize the |
1620 | gdbarch structure. | |
a2c6a6d5 GS |
1621 | (m68k_fix_call_dummy): Add. |
1622 | * config/m68k/tm-m68k.h: (FRAME_FIND_SAVED_REGS): Remove. | |
1623 | (CALL_DUMMY): Remove. | |
1624 | (CALL_DUMMY_LENGTH): Remove. | |
1625 | (CALL_DUMMY_START_OFFSET): Remove. | |
1626 | (CALL_DUMMY_BREAKPOINT_OFFSET): Remove. | |
1627 | (FIX_CALL_DUMMY): Remove. | |
1628 | (PUSH_DUMMY_FRAME): Remove. | |
1629 | (POP_FRAME): Remove. | |
7f8e7424 | 1630 | |
f461f5cf PM |
1631 | 2002-06-19 Pierre Muller <[email protected]> |
1632 | ||
1633 | * parse.c (parse_fprintf): New function used to avoid calls to | |
1634 | fprintf in bison parser generated debug code. | |
1635 | * parser-defs.h: Declaration of new parse_fprintf function. | |
1636 | * ada-exp.y, c-exp.y, f-exp.y, jv-exp.y, m2-exp.y, p-exp.y: | |
1637 | Set YYDEBUG to 1 by default. | |
1638 | Set YYFPRINTF as parse_fprintf. | |
1639 | ||
7f0c12ed ML |
1640 | 2002-06-21 Michal Ludvig <[email protected]> |
1641 | ||
1642 | * dwarf2cfi.c (read_encoded_pointer): Don't handle pointer | |
1643 | encoding anymore. | |
1644 | (pointer_encoding, enum ptr_encoding): New. | |
1645 | (execute_cfa_program): Take care about pointer encoding. | |
1646 | (dwarf2_build_frame_info): Only call parse_frame_info for | |
1647 | .debug_frame and .eh_frame. | |
1648 | (parse_frame_info): New, derived from former dwarf2_build_frame_info. | |
1649 | fixed augmentation handling, added relative addressing, | |
1650 | ignore duplicate FDEs. Added comments. | |
19d833a2 | 1651 | * dwarf2cfi.c: Reindented. |
7f0c12ed | 1652 | |
87c4a039 EZ |
1653 | 2002-06-20 Elena Zannoni <[email protected]> |
1654 | ||
1655 | * event-top.c (command_handler): Don't use space_at_cmd_start | |
1656 | unless there is sbrk() on the host. Assign time and space data | |
1657 | to union fields of the appropriate length. | |
1658 | ||
1cf877ad ML |
1659 | 2002-06-20 Michal Ludvig <[email protected]> |
1660 | ||
1661 | * x86-64-tdep.c (x86_64_register_nr2name): Rename to | |
1662 | x86_64_register_name. Return type changed to 'const char *'. | |
1663 | (x86_64_register_name2nr): Rename to x86_64_register_number. | |
1664 | (x86_64_gdbarch_init): Update to reflect the change. | |
1665 | * x86-64-tdep.h: Ditto. | |
1666 | * x86-64-linux-nat.c (x86_64_fxsave_offset) | |
1667 | (supply_fpregset): Ditto. | |
1668 | ||
3fadccb3 AC |
1669 | 2002-06-19 Andrew Cagney <[email protected]> |
1670 | ||
1671 | * regcache.h: Update copyright. | |
1672 | (struct regcache, struct gdbarch): Add opaque declarations. | |
1673 | (current_regcache): Declare global variable. | |
1674 | (regcache_read, regcache_write): Add gdbarch parameter. | |
1675 | (regcache_save, regcache_save_no_passthrough) | |
1676 | (regcache_restore, regcache_restore_no_passthrough) | |
1677 | (regcache_dup, regcache_dup_no_passthrough) | |
1678 | (regcache_cpy, regcache_cpy_no_passthrough) | |
1679 | (deprecated_grub_regcache_for_registers) | |
1680 | (deprecated_grub_regcache_for_register_valid) | |
1681 | (regcache_valid_p): Add function declarations. | |
1682 | ||
1683 | * regcache.c: Update copyright. | |
1684 | (regcache_descr_handle): New global variable. | |
1685 | (struct regcache_descr): Define. | |
1686 | (init_legacy_regcache_descr, init_regcache_descr): New functions. | |
1687 | (regcache_descr, xfree_regcache_descr): New functions. | |
1688 | (struct regcache): Define. | |
1689 | (regcache_xmalloc, regcache_xfree): New functions. | |
1690 | (regcache_cpy, regcache_cpy_no_passthrough): New functions. | |
1691 | (regcache_dup, regcache_dup_no_passthrough): New functions. | |
1692 | (regcache_valid_p, regcache_read_as_address): New functions. | |
1693 | (deprecated_grub_regcache_for_registers): New function. | |
1694 | (deprecated_grub_regcache_for_register_valid): New function. | |
1695 | (current_regcache): New global variable. | |
1696 | (register_buffer): Add regcache parameter. Update calls. | |
1697 | (regcache_read, regcache_write): Add regcache parameter. Rewrite. | |
1698 | (read_register_gen, write_register_gen): Update register_buffer | |
1699 | call. Test for legacy_p instead of gdbarch_register_read_p or | |
1700 | gdbarch_register_write_p. | |
1701 | (regcache_collect): Update register_buffer call. | |
1702 | (build_regcache): Rewrite. Use deprecated grub functions. | |
1703 | (regcache_save, regcache_save_no_passthrough): New functions. | |
1704 | (regcache_restore, regcache_restore_no_passthrough): New | |
1705 | functions. | |
1706 | (_initialize_regcache): Create the regcache_data_handle. Swap | |
1707 | current_regcache global variable. | |
1708 | ||
1709 | * sh-tdep.c (sh_pseudo_register_read): Add current_regcache | |
1710 | parameter to regcache_read and regcache_write calls. | |
1711 | (sh4_register_read): Ditto. | |
1712 | (sh64_pseudo_register_read): Ditto. | |
1713 | (sh64_register_read): Ditto. | |
1714 | (sh_pseudo_register_write): Ditto. | |
1715 | (sh4_register_write): Ditto. | |
1716 | (sh64_pseudo_register_write): Ditto. | |
1717 | (sh64_register_write): Ditto. | |
1718 | ||
1719 | * defs.h (XCALLOC): Define. | |
1720 | ||
152d9db6 GS |
1721 | 2002-06-19 Grace Sainsbury <[email protected]> |
1722 | ||
1723 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Added (set to 0). | |
1724 | * m68k-tdep.c (m68k_gdbarch_init): Added. | |
1725 | (m68k_dump_tdep): Added. | |
1726 | ||
170911c7 DJ |
1727 | 2002-06-19 Daniel Jacobowitz <[email protected]> |
1728 | ||
1729 | * ada-lang.c (fill_in_ada_prototype): Update comment. | |
1730 | ||
2e4ebe70 DJ |
1731 | 2002-06-19 Daniel Jacobowitz <[email protected]> |
1732 | ||
1733 | * mips-tdep.c (enum mips_abi): Explicitly start at 0. Add | |
1734 | MIPS_ABI_LAST. | |
1735 | (mips_abi_string, mips_abi_strings): New. | |
1736 | (struct gdbarch_tdep): Remove mips_abi_string, add found_abi. | |
1737 | (mips_gdbarch_init): Set tdep->found_abi. Don't set | |
1738 | tdep->mips_abi_string. Honor mips_abi_string. Default to | |
1739 | O32 if no ABI is found. | |
1740 | (mips_dump_tdep): Use mips_abi_strings. | |
1741 | (mips_abi_update): New function. | |
1742 | (_initialize_mips_tdep): Initialize mips_abi_string. Add | |
1743 | ``set mips abi'' and ``show mips abi''. Check the size of | |
1744 | mips_abi_strings. | |
1745 | ||
16775908 AC |
1746 | 2002-06-19 Andrew Cagney <[email protected]> |
1747 | ||
1748 | * i386-linux-tdep.c (i386_linux_register_name): Make return type | |
1749 | constant. | |
1750 | ||
5051bfa4 | 1751 | 2002-06-18 Joel Brobecker <[email protected]> |
16775908 | 1752 | |
5051bfa4 JB |
1753 | * alpha-tdep.c (heuristic_proc_desc): Compute the size of the |
1754 | current frame using only the first stack size adjustment. All | |
1755 | subsequent size adjustments are not considered to be part of | |
1756 | the "static" part of the current frame. | |
1757 | Compute the address of the saved registers relative to the | |
1758 | Frame Pointer ($fp) instead of the Stack Pointer if $fp is | |
1759 | in use in this frame. | |
1760 | ||
56468235 DH |
1761 | 2002-06-18 Don Howard <[email protected]> |
1762 | ||
1763 | * valops.c (value_ind): Use value_at_lazy() when dereferencing | |
1764 | type int expressions. Thanks to Jim Blandy <[email protected]> for | |
1765 | suggesting this solution. | |
1766 | ||
0b624158 AC |
1767 | 2002-06-18 Andrew Cagney <[email protected]> |
1768 | ||
1769 | * config/romp/xm-rtbsd.h: Delete file. | |
1770 | * config/romp/rtbsd.mh: Delete file. | |
1771 | ||
221ea385 KS |
1772 | 2002-06-18 Keith Seitz <[email protected]> |
1773 | ||
1774 | * breakpoint.c (condition_command): Post breakpoint_modify | |
1775 | when a condition is added to an existing breakpoint. | |
1776 | (commands_command): Likewise for commands. | |
1777 | (set_ignore_count): Likewise for ignore counts. | |
1778 | If no tty, do not simply return, still need to send event | |
1779 | notification. | |
1780 | (ignore_command): Only print a newline if the command came | |
1781 | from a tty. | |
1782 | Don't call breakpoints_changed, since this is now properly | |
1783 | handled by set_ignore_count. | |
1784 | ||
5402eed1 AC |
1785 | 2002-06-18 Andrew Cagney <[email protected]> |
1786 | ||
1787 | * MAINTAINERS: Note that cris-elf target can be compiled with | |
1788 | -Werror. | |
1789 | * cris-tdep.c (cris_register_name): Make return type constant. | |
1790 | (cris_breakpoint_from_pc): Ditto. | |
1791 | ||
cc22880b ML |
1792 | 2002-06-18 Michal Ludvig <[email protected]> |
1793 | ||
1794 | * frame.h (struct frame_info): Change type of context to | |
1795 | 'struct context'. | |
1796 | ||
fa88f677 AC |
1797 | 2002-06-17 Andrew Cagney <[email protected]> |
1798 | ||
1799 | * gdbarch.sh (REGISTER_NAME): Change return type a constant string | |
1800 | pointer. | |
1801 | * gdbarch.h, gdbarch.c: Regenerate. | |
1802 | * config/mips/tm-mips.h (mips_register_name): Update. | |
1803 | * i386-tdep.h (i386_register_name): Update. | |
1804 | * mips-tdep.c (mips_register_name): Update | |
1805 | * alpha-tdep.c (alpha_register_name): Update. | |
1806 | * arch-utils.c (legacy_register_name): Update. | |
1807 | * arch-utils.h (legacy_register_name): Update. | |
1808 | * avr-tdep.c (avr_register_name): Update. | |
1809 | * ia64-tdep.c (ia64_register_name): Update. | |
1810 | * i386-tdep.c (i386_register_name): Update. | |
1811 | * sparc-tdep.c (sparc32_register_name): Update. | |
1812 | (sparc64_register_name): Update. | |
1813 | (sparclite_register_name): Update. | |
1814 | (sparclet_register_name): Update. | |
1815 | * sh-tdep.c (sh_generic_register_name): Update. | |
1816 | (sh_sh_register_name): Update. | |
1817 | (sh_sh3_register_name): Update. | |
1818 | (sh_sh3e_register_name): Update. | |
1819 | (sh_sh_dsp_register_name): Update. | |
1820 | (sh_sh3_dsp_register_name): Update. | |
1821 | (sh_sh4_register_name): Update. | |
1822 | (sh_sh64_register_name): Update. | |
1823 | * s390-tdep.c (s390_register_name): Update. | |
1824 | * rs6000-tdep.c (rs6000_register_name): Update. | |
1825 | * ns32k-tdep.c (ns32k_register_name_32082): Update. | |
1826 | (ns32k_register_name_32382): Update. | |
1827 | * d10v-tdep.c (d10v_ts2_register_name): Update. | |
1828 | (d10v_ts3_register_name): Update. | |
1829 | * xstormy16-tdep.c (xstormy16_register_name): Update. | |
1830 | * vax-tdep.c (vax_register_name): Update. | |
1831 | * v850-tdep.c (v850_register_name): Update. | |
1832 | * m68hc11-tdep.c (m68hc11_register_name): Update. | |
1833 | * mn10300-tdep.c (mn10300_generic_register_name): Update. | |
1834 | (am33_register_name): Update. | |
1835 | ||
ea1e7ef6 GS |
1836 | 2002-06-17 Grace Sainsbury <[email protected]> |
1837 | ||
1838 | * m68k-tdep.c: Reindented. | |
1839 | ||
9b02dd1b AC |
1840 | 2002-06-17 Andrew Cagney <[email protected]> |
1841 | ||
1842 | * gdb_indent.sh: Add prgregset_t, fpregset_t, and gregset_t to the | |
1843 | list of predefined types. | |
1844 | ||
8758dec1 MK |
1845 | 2002-06-16 Mark Kettenis <[email protected]> |
1846 | ||
b6197528 MK |
1847 | * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE, |
1848 | REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, | |
1849 | REGISTER_CONVERT_TO_RAW): Remove defines. | |
1850 | (i386_register_virtual_type, i386_register_convertible, | |
1851 | i386_register_convert_to_virtual, i386_register_convert_to_raw): | |
1852 | Remove prototypes. | |
1853 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the | |
1854 | macros mentioned above. | |
1855 | ||
82b47e62 MK |
1856 | * config/i386/tm-i386lynx.h (SAVED_PC_AFTER_CALL): Remove define. |
1857 | (i386lynx_saved_pc_after_call): Remove prototype. | |
1858 | * i386ly-tdep.c: Include "i386-tdep.h". | |
1859 | (i386lynx_saved_pc_after_call): Make static. Use | |
1860 | read_memory_nobpt instead of read_memory. Use | |
1861 | read_memory_unsigned_integer instead of read_memory_integer. | |
1862 | (i386lynx_init_abi): New function. | |
1863 | (i386lynx_coff_osabi_sniffer): New function. | |
1864 | (_initialize_i386bsd_tdep): New function. | |
1865 | ||
8758dec1 MK |
1866 | * config/i386/tm-i386.h (PARM_BOUNDARY, CALL_DUMMY, |
1867 | CALL_DUMMY_LENGTH, CALL_DUMMY_START_OFFSET, | |
1868 | CALL_DUMMY_BREAKPOINT_OFFSET, FIX_CALL_DUMMY): Remove defines. | |
1869 | (i386_fix_call_dummy): Remove prototype. | |
1870 | * i386-tdep.c (i386_call_dummy_words): New variable. | |
1871 | (i386_gdbarch_init): Adjust for removal of the | |
1872 | macros mentioned above. | |
1873 | ||
e9e68a56 AC |
1874 | 2002-06-15 Andrew Cagney <[email protected]> |
1875 | ||
1876 | * command.h (add_setshow_auto_boolean_cmd): Replace | |
1877 | add_set_auto_boolean_cmd. | |
1878 | * cli/cli-decode.c (add_setshow_auto_boolean_cmd): Replace | |
1879 | add_set_auto_boolean_cmd. | |
1880 | * cli/cli-decode.h (add_set_auto_boolean_cmd): Delete declaration. | |
1881 | * mips-tdep.c (_initialize_mips_tdep): Update ``set mips | |
1882 | mask-address'' command. | |
1883 | (show_mask_address): Add cmd parameter. | |
1884 | * remote.c (add_packet_config_cmd): Update. Change type of | |
1885 | set_func and show_func to cmd_sfunc_ftype. | |
1886 | (_initialize_remote): Update `set remote Z-packet' | |
1887 | (show_remote_protocol_qSymbol_packet_cmd): Add cmd parameter. | |
1888 | (show_remote_protocol_e_packet_cmd): Ditto. | |
1889 | (show_remote_protocol_E_packet_cmd): Ditto. | |
1890 | (show_remote_protocol_P_packet_cmd): Ditto. | |
1891 | (show_remote_protocol_Z_software_bp_packet_cmd): Ditto. | |
1892 | (show_remote_protocol_Z_hardware_bp_packet_cmd): Ditto. | |
1893 | (show_remote_protocol_Z_write_wp_packet_cmd): Ditto. | |
1894 | (show_remote_protocol_Z_read_wp_packet_cmd): Ditto. | |
1895 | (show_remote_protocol_Z_access_wp_packet_cmd): Ditto. | |
1896 | (show_remote_protocol_Z_packet_cmd): Ditto. | |
1897 | (show_remote_protocol_binary_download_cmd): Ditto. | |
1898 | (show_remote_cmd): Pass NULL to all of above. | |
1899 | ||
fc08ec52 MK |
1900 | 2002-06-15 Mark Kettenis <[email protected]> |
1901 | ||
1902 | * config/i386/tm-i386.h (PUSH_ARGUMENTS, STORE_STRUCT_RETURN, | |
1903 | DEPRECATED_EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, | |
1904 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS, PUSH_DUMMY_FRAME, | |
1905 | POP_FRAME): Remove defines. | |
1906 | (i386_push_arguments, i386_store_struct_return, | |
1907 | i386_extract_return_value, i386_store_return_value, | |
1908 | i386_extract_struct_value_address, i386_push_dummy_frame, | |
1909 | i386_pop_frame): Renove prototypes. | |
1910 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the | |
1911 | macros mentioned above. | |
1912 | ||
e707bbc2 AC |
1913 | 2002-06-15 Andrew Cagney <[email protected]> |
1914 | ||
1915 | * cli/cli-decode.c (add_setshow_boolean_cmd): Replace | |
1916 | add_set_boolean_cmd. | |
1917 | (add_setshow_cmd): New function. | |
1918 | * command.h (add_setshow_boolean_cmd): Replace | |
1919 | add_set_boolean_cmd. | |
1920 | * remote-rdi.c (_initialize_remote_rdi): Update ``set rdiheartbeat'' | |
1921 | and ``set rdiromatzero''. | |
1922 | * maint.c (_initialize_maint_cmds): Update commented out code. | |
1923 | * cli/cli-decode.h (add_set_boolean_cmd): Delete declaration. | |
1924 | * target.c (initialize_targets): Update `set | |
1925 | trust-readonly-sections'. | |
1926 | * remote.c (_initialize_remote): Update `set remotebreak'. | |
1927 | ||
42fdc8df MK |
1928 | 2002-06-15 Mark Kettenis <[email protected]> |
1929 | ||
93924b6b MK |
1930 | * config/i386/tm-i386.h (FUNCTION_START_OFFSET, INNER_THAN, |
1931 | BREAKPOINT, DECR_PC_AFTER_BREAK): Removed. | |
1932 | * i386-tdep.c (i386_skip_prologue): Adjust function signature to | |
1933 | fit into multi-arch framework. | |
1934 | (i386_breakpoint_from_pc): New function. | |
1935 | (i386_gdbarch_init): Adjust for removal of the macros mentioned | |
1936 | above. | |
1937 | ||
42fdc8df MK |
1938 | * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION, |
1939 | FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, | |
1940 | FRAME_ARGS_SKIP, FRAME_INIT_SAVED_REGS): Remove defines. | |
1941 | (i386_frameless_function_invocation, i386_frame_num_args, | |
1942 | i386_frame_init_saved_regs): Remove prototypes. | |
1943 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the | |
1944 | macros mentioned above. | |
1945 | ||
9773a94b AC |
1946 | 2002-06-15 Andrew Cagney <[email protected]> |
1947 | ||
1948 | * cli/cli-decode.c (set_cmd_cfunc): Update. | |
1949 | (set_cmd_sfunc): Update. | |
1950 | * command.h (cmd_cfunc_ftype, cmd_sfunc_ftype): Declare. | |
1951 | (set_cmd_sfunc, set_cmd_cfunc): Update. | |
1952 | * cli/cli-decode.h: Update. | |
1953 | ||
6e157172 MK |
1954 | 2002-06-15 Mark Kettenis <[email protected]> |
1955 | ||
1956 | * i386-sol2-tdep.c (i386_sol2_osabi_sniffer): New function. | |
1957 | (_initialize_i386_sol2_tdep): Register i386_sol2_osabi_sniffer. | |
1958 | ||
7f19b9a2 AC |
1959 | 2002-06-15 Andrew Cagney <[email protected]> |
1960 | ||
1961 | * defs.h (auto_boolean): Declare enum. | |
1962 | * command.h (cmd_auto_boolean): Delete enum. | |
1963 | * mips-tdep.c (mask_address_var): Update. | |
1964 | (mips_mask_address_p): Update. | |
1965 | (show_mask_address): Update. | |
1966 | * remote.c (struct packet_config): Update. | |
1967 | (update_packet_config): Update. | |
1968 | (show_packet_config_cmd): Update. | |
1969 | (packet_ok): Update. | |
1970 | (add_packet_config_cmd): Update. | |
1971 | (_initialize_remote): | |
1972 | * command.h: Update. | |
1973 | * cli/cli-setshow.c (parse_auto_binary_operation): Update. | |
1974 | (do_setshow_command): Update. | |
1975 | * cli/cli-decode.c (add_set_auto_boolean_cmd): Update. | |
1976 | * cli/cli-decode.h: Update. | |
1977 | ||
1cf88de5 MK |
1978 | 2002-06-15 Mark Kettenis <[email protected]> |
1979 | ||
22ba8cf2 MK |
1980 | * config/i386/tm-cygwin.h, config/i386/tm-fbsd.h, |
1981 | config/i386/tm-go32.h, config/i386/tm-i386gnu.h, | |
1982 | config/i386/tm-i386sol2.h, config/i386/tm-i386v4.h, | |
1983 | config/i386/tm-linux.h, config/i386/tm-nbsd.h, | |
1984 | config/i386/tm-obsd.h (HAVE_I387_REGS): Remove define. | |
1985 | * config/i386/tm-i386.h: Unconditionally define FLOAT_INFO. | |
1986 | ||
762c5349 MK |
1987 | * i386-tdep.c (i386_coff_osabi_sniffer): Add "coff-go32" to the |
1988 | list of DJGPP COFF targets. | |
1989 | ||
091198bb MK |
1990 | * config/i386/tm-i386.h (REGISTER_SIZE): Remove define. |
1991 | (NUM_GREGS, NUM_FREGS, NUM_SSE_REGS): Remove defines. | |
1992 | (FP_REGNUM, SP_REGNUM, PC_REGNUM, PS_REGNUM): Remove defines. | |
1993 | (FP0_REGNUM): Remove define. | |
1994 | (MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE, | |
1995 | MAX_REGISTER_VIRTUAL_SIZE): Remove define. | |
1996 | (i386_register_virtual_size): Remove protoype. | |
1997 | * i386-tdep.c (i386_register_virtual_size): Removed. | |
1998 | (i386_extract_return_value, i386_store_return_value): Use | |
1999 | FP0_REGNUM instead of NUM_FREGS to determine whether the | |
2000 | floating-point registers are available. | |
2001 | (i386_gdbarch_init): Tweak FIXME about FPU registers. | |
2002 | Adjust for removal of macros mentioned above. | |
2003 | ||
2004 | 2002-06-15 Mark Kettenis <[email protected]> | |
2005 | ||
fcc9bf01 MK |
2006 | * i386v4-nat.c: Include "i386-tdep.h". Reformat and tweak various |
2007 | comments. | |
2008 | (fill_gregset, supply_gregset, supply_fpregset, fill_fpregset): | |
2009 | Remove prototypes. | |
2010 | (supply_gregset, fill_gregset): Remove use of register keyword and | |
2011 | remove declaration for regmap. Use I386_NUM_GREGS instead of | |
2012 | NUM_REGS and NUM_FREGS. | |
2013 | (FPREGSET_FSAVE_OFFSET): Remove. | |
2014 | (supply_fpregset, fill_fpregset): Use FPO_REGNUM instead of | |
2015 | NUM_FREGS to determine whether the floating-point registers are | |
2016 | available. | |
2017 | ||
65e78234 MK |
2018 | * i386gnu-nat.c (supply_gregset, gnu_fetch_registers, |
2019 | gnu_store_registers): Replace usage of NUM_GREGS with | |
2020 | I386_NUM_GREGS. | |
2021 | ||
98df6387 MK |
2022 | * i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER, |
2023 | OLD_CANNOT_STORE_REGISTER, supply_gregset, fill_gregset): Replace | |
2024 | usage of NUM_GREGS with I386_NUM_GREGS. | |
2025 | ||
099a9414 MK |
2026 | * i386-linux-nat.c (fill_gregset): Remove redundant parentheses. |
2027 | ||
57976e88 MK |
2028 | * i386bsd-nat.c: Include "i386-tdep.h". |
2029 | (supply_gregset, fill_gregset): Replace usage of NUM_GREGS with | |
2030 | I386_NUM_GREGS. | |
2031 | ||
b335f4a6 MK |
2032 | * i386v-nat.c: Remove copnditional inclusion of <asm/debugreg.h>, |
2033 | and associated comment. They no longer make any sense, since we | |
2034 | don't use this file anymore on Linux. | |
2035 | ||
1cf88de5 MK |
2036 | * config/i386/tm-i386.h (MAX_NUM_REGS): Removed. |
2037 | * i386-tdep.c (i386_register_offset, i386_register_size): Use | |
2038 | I386_SSE_NUM_REGS instead of MAX_NUM_REGS for the number of | |
2039 | elements in these arrays. | |
2040 | (_initialize_i386_tdep): Use I386_SSE_NUM_REGS instead of | |
2041 | MAX_NUM_REGS. | |
2042 | ||
daa66587 MK |
2043 | 2002-06-15 Mark Kettenis <[email protected]> |
2044 | ||
2045 | * osabi.h (gdb_osabi): Add GDB_OSABI_LYNXOS. | |
2046 | * osabi.c (gdb_osabi_names): Add entry for "LynxOS". | |
2047 | ||
26e9b323 AC |
2048 | 2002-06-14 Andrew Cagney <[email protected]> |
2049 | ||
2050 | * gdbarch.sh (DEPRECATED_EXTRACT_RETURN_VALUE): Rename | |
2051 | EXTRACT_RETURN_VALUE. | |
2052 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Rename | |
2053 | EXTRACT_STRUCT_VALUE_ADDRESS. | |
2054 | * gdbarch.h, gdbarch.c: Regenerate. | |
2055 | ||
2056 | * values.c (value_being_returned): Handle | |
2057 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. | |
2058 | (EXTRACT_RETURN_VALUE): Define as DEPRECATED_EXTRACT_RETURN_VALUE. | |
2059 | ||
2060 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
2061 | * arm-tdep.c (arm_gdbarch_init): Update. | |
2062 | * avr-tdep.c (avr_gdbarch_init): Update. | |
2063 | * cris-tdep.c (cris_gdbarch_init): Update. | |
2064 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
2065 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
2066 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
2067 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
2068 | * s390-tdep.c (s390_gdbarch_init): Update. | |
2069 | * sh-tdep.c (sh_gdbarch_init): Update. | |
2070 | * s390-tdep.c (s390_gdbarch_init): Update. | |
2071 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
2072 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
2073 | * v850-tdep.c (v850_gdbarch_init): Update. | |
2074 | * vax-tdep.c (vax_gdbarch_init): Update. | |
2075 | * x86-64-tdep.c (x86_64_gdbarch_init): Update. | |
2076 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
2077 | ||
2078 | * config/arc/tm-arc.h: Update. | |
2079 | * config/d30v/tm-d30v.h: Update. | |
2080 | * config/fr30/tm-fr30.h: Update. | |
2081 | * config/h8300/tm-h8300.h: Update. | |
2082 | * config/h8500/tm-h8500.h: Update. | |
2083 | * config/i386/tm-i386.h: Update. | |
2084 | * config/i386/tm-ptx.h: Update. | |
2085 | * config/i386/tm-symmetry.h: Update. | |
2086 | * config/i960/tm-i960.h: Update. | |
2087 | * config/m32r/tm-m32r.h: Update. | |
2088 | * config/m68k/tm-delta68.h: Update. | |
2089 | * config/m68k/tm-linux.h: Update. | |
2090 | * config/m68k/tm-m68k.h: Update. | |
2091 | * config/m88k/tm-m88k.h: Update. | |
2092 | * config/mcore/tm-mcore.h: Update. | |
2093 | * config/mips/tm-mips.h: Update. | |
2094 | * config/mn10200/tm-mn10200.h: Update. | |
2095 | * config/pa/tm-hppa.h: Update. | |
2096 | * config/pa/tm-hppa64.h: Update. | |
2097 | * config/sparc/tm-sp64.h: Update. | |
2098 | * config/sparc/tm-sparc.h: Update. | |
2099 | * config/sparc/tm-sparclet.h: Update. | |
2100 | * config/z8k/tm-z8k.h: Update. | |
2101 | ||
5179e78f AC |
2102 | 2002-06-14 Andrew Cagney <[email protected]> |
2103 | ||
2104 | * Makefile.in (i386_linux_tdep_h): Define. | |
2105 | (i386_tdep_h, i387_tdep_h): Define. | |
2106 | (i386-linux-nat.o): Add $(i386_linux_tdep_h), | |
2107 | $(i386_tdep_h) and $(i387_tdep_h). | |
2108 | * i386-linux-nat.c: Include "i386-linux-tdep.h". | |
2109 | ||
8201327c MK |
2110 | 2002-06-14 Mark Kettenis <[email protected]> |
2111 | ||
edf393ac MK |
2112 | * config/i386/tm-i386.h (START_INFERIOR_TRAPS_EXPECTED): Removed. |
2113 | Already covered by the default. | |
2114 | ||
896fb97d MK |
2115 | * config/i386/tm-i386.h (TARGET_LONG_DOUBLE_FORMAT, |
2116 | TARGET_LONG_DOUBLE_BIT): Remove. * i386-tdep.c | |
2117 | (i386_gdbarch_init): Initialize long_double_format and long_double | |
2118 | bit. | |
2119 | ||
8201327c MK |
2120 | * config/i386/i386sol2.mt (TDEPFILES): Add i386-sol2-tdep.o and |
2121 | i386bsd-tdep.o. Remove solib.o, solib-svr4.o and solib-legacy.o. | |
2122 | Move these to ... | |
2123 | * config/i386/i386sol2.mh: ... here. | |
2124 | * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Remove define. | |
2125 | (sigtramp_saved_pc, I386V4_SIGTRAMP_SAVED_PC): Don't #undef. | |
2126 | (SIGCONTEXT_PC_OFFSET): Remove define. | |
2127 | (IN_SIGTRAMP): Remove define. | |
2128 | * i386-sol2-tdep.c: New file. | |
2129 | ||
2130 | * config/i386/i386nw.mt (TM_FILE): Change to tm-i386.h. | |
2131 | * config/i386/tm-i386nw.h: Removed. | |
2132 | ||
2133 | * config/i386/tm-fbsd.h (STAB_REG_TO_REGNUM, | |
2134 | USE_STRUCT_CONVENTION): Remove defines. | |
2135 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. | |
2136 | (get_longjmp_target): Remove prototype. | |
2137 | (IN_SIGTRAMP): Remove define. | |
2138 | (i386bsd_in_sigtramp): Remove prototype. | |
2139 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Turn into a | |
2140 | function. Update comment accordingly | |
2141 | (SIGTRAMP_START, SIGTRAMP): Adjust definition accordingly. | |
2142 | (FRAME_SAVED_PC): Remove define. | |
2143 | (i386bsd_frame_saved_pc): Remove prototype. | |
2144 | * config/i386/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC, | |
2145 | GET_LONGJMP_TARGET): Remove defines. | |
2146 | (get_longjmp_target): Remove prototype. | |
2147 | (IN_SIGTRAMP): Remove define. | |
2148 | (i386bsd_in_sigtramp): Remove prototype. | |
2149 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Turn into a | |
2150 | function. Update comment accordingly | |
2151 | (SIGTRAMP_START, SIGTRAMP): Adjust definition accordingly. | |
2152 | (FRAME_SAVED_PC): Remove define. | |
2153 | (i386bsd_frame_saved_pc): Remove prototype. | |
2154 | * config/i386/tm-nbsdaout.h (i386nbsd_aout_use_struct_convention): | |
2155 | Remove prototype. | |
2156 | (USE_STRUCT_CONVENTION): Remove prototype. | |
2157 | * i386bsd-nat.c (i386bsd_sigcontext_pc_offset): Remove | |
2158 | declaration. | |
2159 | (_initialize_i386bsd_nat): Revise logic to determine some | |
2160 | constants at compile time when compiling a native GDB. Warn if | |
2161 | things don't match up with what we expect. | |
2162 | * i386bsd-tdep.c (i386bsd_sigtramp_start, i386bsd_sigtramp_end): | |
2163 | Remove variables. | |
2164 | (i386bsd_in_sigtramp): Rename tp i386bsd_pc_in_sigtramp. Rewrite | |
2165 | to use date stored in `struct gdbarch_tdep'. | |
2166 | (i386bsd_sigcontext_offset): Remove varaible. | |
2167 | (i386bsd_sigtramp_saved_pc): Make public. Rewrite to use data | |
2168 | stored in `struct gdbarch_tdep'. | |
2169 | (i386bsd_frame_saved_pc): Make static. | |
2170 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): New functions. | |
2171 | (i386bsd_sc_pc_offset, i386nbsd_sc_pc_offset, | |
2172 | i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, | |
2173 | i386fbsd4_sc_pc_offset): New variables. | |
2174 | (i386bsd_init_abi, i386nbsd_init_abi, i386nbsdelf_init_abi, | |
2175 | i386fbsdaout_init_abi, i386fbsd_init_abi, i386fbsd4_init_abi): New | |
2176 | functions. | |
2177 | (i386bsd_aout_osabi_sniffer, _initialize_i386bsd_tdep): New | |
2178 | functions. | |
2179 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Fix type in comment. | |
2180 | Modify the value of i386fbsd_sigtramp_start and | |
2181 | i386fbsd_sigtramp_end instead of i386bsd_sigtramp_start and | |
2182 | i386fbsd_sigtramp_end. | |
2183 | * i386nbsd-tdep.c: (i386nbsd_aout_use_struct_convention): Remove | |
2184 | function. | |
2185 | ||
2186 | * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Move | |
2187 | define to i386-linux-tdep.h. | |
2188 | (NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME, | |
2189 | REGISTER_BYTE, REGISTER_RAW_SIZE, STAB_REG_TO_REGNUM): Remove | |
2190 | defines. | |
2191 | (i386_linux_register_name, i386_linux_register_byte, | |
2192 | i386_linux_register_raw_size): Remove prototypes. | |
2193 | (i386_linux_svr4_fetch_link_map_offsets): Remove prototype. | |
2194 | (SVR4_FETCH_LINK_MAP_OFFSETS): Remove define. | |
2195 | (IN_SIGTRAMP, FRAME_CHAIN, FRAME_SAVED_PC, SAVED_PC_AFTER_CALL, | |
2196 | TARGET_WRITE_PC): Remove defines. | |
2197 | (i386_linux_in_sigtramp, i386_linux_frame_chain, | |
2198 | i386_linux_frame_saved_pc, i386_linux_saved_pc_after_call, | |
2199 | i386_linux_write_pc): Remove prototypes. | |
2200 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. | |
2201 | (get_longjmp_target): Remove prototype. | |
2202 | * i386-linux-tdep.h: New file. | |
2203 | * i386-linux-nat.c: Include "i386-linux-tdep.h". | |
2204 | * i386-linux-tdep.c: Include "i386-tdep.h" and | |
2205 | "i386-linux-tdep.h". | |
2206 | (i386_linux_register_name, i386_linux_register_byte, | |
2207 | i386_linux_register_raw_size, i386_linux_in_sigtramp, | |
2208 | i386_linux_write_pc, i386_linux_svr4_fetch_link_map_offsets): | |
2209 | Make static. | |
2210 | (i386_linux_init_abi): New function. | |
2211 | (_initialize_i386_linux_tdep): New function. | |
2212 | ||
2213 | * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Remove define. | |
2214 | (i386_saved_pc_after_call): Remove prototype. | |
2215 | (MAX_NUM_REGS): Increase to deal with Linux's orig_eax "register". | |
2216 | (REGISTER_NAME, STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM, | |
2217 | DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): Remove defines. | |
2218 | (i386_register_name, i386_stab_reg_to_regnum, | |
2219 | i386_dwarf_reg_to_regnum): Remove prototypes. | |
2220 | (SIZEOF_GREGS, SIZEOF_FPU_REGS, SIZEOF_FPU_CTL_REGS, | |
2221 | SIZEOF_SSE_REGS): Remove defines. | |
2222 | (REGISTER_BYTES): Remove define. | |
2223 | (REGISTER_BYTE, REGISTER_RAW_SIZE): Remove defines. | |
2224 | (i386_register_byte, i386_register_raw_size): Remove prototypes. | |
2225 | (FRAME_CHAIN, FRAME_SAVED_PC): Remove defines. | |
2226 | (i386_frame_chain, i386_frame_saved_pc): Remove prototypes. | |
2227 | * config/i386/tm-i386v4.h (FRAME_CHAIN_VALID): Remove define. | |
2228 | (JB_ELEMENT_SIZE, JB_PC, JB_EBX, JB_ESI, JB_EDI, JB_EBP, JB_ESP, | |
2229 | JB_EDX, GET_LONGJMP_TARGET): Remove defines. | |
2230 | (get_longjmp_target): Remove prototype. | |
2231 | (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP): Remove defines. | |
2232 | (sigtramp_saved_pc): Remove define. | |
2233 | (i386v4_sigtramp_saved_pc): Remove prototype. | |
2234 | * config/i386/tm-go32.h (FRAME_CHAIN, | |
2235 | FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC): Remove defines. | |
2236 | (i386go32_frame_saved_pc): Remove prototype. | |
2237 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. | |
2238 | (get_longjmp_target): Remove prototype. | |
2239 | * i386-tdep.h: Include "osabi.h". | |
2240 | (enum i386_abi): Removed. | |
2241 | (enum struct_return): New enum. | |
2242 | (struct gdbarch_tdep): Remove abi member, add osabi, jb_pc_offset, | |
2243 | struct_return, sigtramp_saved_pc, sigtramp_start, sigtramp_end and | |
2244 | sc_pc_offset members. | |
2245 | (i386_gdbarch_register_os_abi): Remove prototype. | |
2246 | (I386_NUM_GREGS, I386_NUM_FREGS, I386_NUM_XREGS, | |
2247 | I386_SSE_NUM_REGS): New defines. | |
2248 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS, | |
2249 | I386_SSE_SIZEOF_REGS): New defines. | |
2250 | (i386_register_name, i386_register_byte, i386_register_raw_size): | |
2251 | New prototypes. | |
2252 | (i386_elf_init_abi, i386_svr4_init_abi): New prototypes. | |
2253 | (i386bsd_sigtramp_saved_pc): New prototype. | |
2254 | * i386-tdep.c: Don't include "elf-bfd.h". | |
2255 | (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum, | |
2256 | i386_frame_chain, i386_saved_pc_after_call): Make static. | |
2257 | (i386_frame_saved_pc): Rewrite to call architecture dependent | |
2258 | function to deal with signal handlers. Make static. | |
2259 | (i386go32_frame_saved_pc): Removed. | |
2260 | [GET_LONGJMP_TARGET] (JB_PC, JB_ELEMENT_SIZE, get_longjmp_target): | |
2261 | Removed. | |
2262 | (i386_get_longjmp_target): New function. | |
2263 | (default_struct_convention, pcc_struct_convention, | |
2264 | reg_struct_convention, valid_conventions, struct_convention): New | |
2265 | variables. | |
2266 | (i386_use_struct_convention): New function. | |
2267 | (i386v4_sigtramp_saved_pc): Renamed to | |
2268 | i386_svr4_sigtramp_saved_pc. Made static. Moved. | |
2269 | (i386_pc_in_sigtramp): New function. | |
2270 | (i386_abi_names): Removed. | |
2271 | (ABI_TAG_OS_GNU_LINUX, ABI_TAG_OS_GNU_HURD, | |
2272 | ABI_TAG_OS_GNU_SOLARIS, ABI_TAG_OS_FREEBSD, ABI_TAG_OS_NETBSD): | |
2273 | Removed. | |
2274 | (process_note_sections, i386_elf_abi_from_note, i386_elf_abi, | |
2275 | i386_gdbarch_register_os_abi): Removed. | |
2276 | (struct i386_abi_handler): Removed. | |
2277 | (i386_abi_handler_list): Removed. | |
2278 | (i386_svr4_pc_in_sigtramp, i386_go32_pc_in_sigtramp): New | |
2279 | functions. | |
2280 | (i386_elf_init_abi, i386_svr4_init_abi, i386_go32_init_abi, | |
2281 | i386_nw_init_abi): New functions. | |
2282 | (i386_gdbarch_init): Rewritten to use generic OS ABI framework. | |
2283 | Use set_gdbarch_xxx() calls instead of relying on macros for a | |
2284 | number of calls. | |
2285 | (i386_coff_osabi_sniffer, i386_nlm_osabi_sniffer): New functions. | |
2286 | (_initialize_i386_tdep): Add new 'struct-convcention' command. | |
2287 | Register the various architecture variants defined in this file. | |
2288 | ||
ad2f7632 DJ |
2289 | 2002-06-14 Daniel Jacobowitz <[email protected]> |
2290 | ||
2291 | * gdbtypes.h (TYPE_FLAG_VARARGS): Update comment. | |
2292 | (struct main_type): Remove arg_types member. Update comments for | |
2293 | struct field. | |
2294 | (TYPE_ARG_TYPES): Remove. | |
2295 | (TYPE_FN_FIELD_ARGS): Update. | |
2296 | (smash_to_method_type): Update prototype. | |
2297 | ||
2298 | * c-typeprint.c (cp_type_print_method_args): Take method type | |
2299 | instead of argument list. Use new argument layout. Simplify. | |
2300 | (c_type_print_args): Use new argument layout. Simplify. | |
2301 | (c_type_print_base): Update call to cp_type_print_method_args. | |
2302 | * dwarf2read.c (dwarf2_add_member_fn): Remove unneeded type | |
2303 | argument; use die->type instead. Update call to | |
2304 | smash_to_method_type. | |
2305 | (read_structure_scope): Update call to dwarf2_add_member_fn. | |
2306 | * gdbtypes.c (allocate_stub_method): Update comment. | |
2307 | (smash_to_method_type): Take new NARGS and VARARGS arguments. | |
2308 | Use new argument layout. | |
2309 | (check_stub_method): Use new argument layout. Don't count | |
2310 | void as an argument. | |
2311 | (print_arg_types): Update comments. Use new argument layout. | |
2312 | (recursive_dump_type): Don't print arg_types member. | |
2313 | * hpread.c (hpread_read_struct_type): Use new argument layout. | |
2314 | (fixup_class_method_type): Likewise. | |
2315 | (hpread_type_lookup): Likewise. | |
2316 | * stabsread.c (read_type): Update calls to read_args and | |
2317 | smash_to_method_type. | |
2318 | (read_args): Use new argument layout. Simplify. | |
2319 | * valops.c (typecmp): Use new argument layout. Update parameters | |
2320 | and comments. Simplify. | |
2321 | (hand_function_call): Use new argument layout. | |
2322 | (search_struct_method): Update call to typecmp. | |
2323 | (find_overload_match): Use new argument layout. | |
2324 | ||
6da02953 DJ |
2325 | 2002-06-13 Daniel Jacobowitz <[email protected]> |
2326 | ||
2327 | * NEWS: Mention multithreaded debug support for gdbserver. | |
2328 | ||
519b2366 DJ |
2329 | 2002-06-13 Daniel Jacobowitz <[email protected]> |
2330 | ||
2331 | * MAINTAINERS: Mention NEWS. | |
2332 | ||
a7f48742 DJ |
2333 | 2002-06-13 Daniel Jacobowitz <[email protected]> |
2334 | ||
2335 | * gdbserver/regcache.c: Add comment. | |
2336 | ||
6c0d6680 DJ |
2337 | 2002-06-13 Daniel Jacobowitz <[email protected]> |
2338 | ||
2339 | * mips-tdep.c (PROC_SYMBOL): Add warning comment. | |
2340 | (struct mips_objfile_private, compare_pdr_entries): New. | |
2341 | (non_heuristic_proc_desc): Read the ".pdr" section if it | |
2342 | is present. | |
2343 | ||
6529d2dd AC |
2344 | 2002-06-12 Andrew Cagney <[email protected]> |
2345 | ||
2346 | * arm-tdep.c (arm_push_arguments): Rewrite using a two-pass loop. | |
2347 | (arm_debug): New static variable. | |
2348 | (_initialize_arm_tdep): Add ``set debug arm'' command. | |
2349 | ||
26216b98 AC |
2350 | 2002-06-12 Andrew Cagney <[email protected]> |
2351 | ||
2352 | * Makefile.in (sim_arm_h): Define. | |
2353 | (arm-tdep.o): Add $(sim_arm_h) and $(gdb_assert_h). | |
2354 | * arm-tdep.c: Include "gdb/sim-arm.h" and "gdb_assert.h". | |
2355 | (arm_register_sim_regno): New function, map an internal REGNUM | |
2356 | onto a simulator register number. | |
2357 | (arm_gdbarch_init): Set register_sim_regno. | |
2358 | ||
814b3ba0 AH |
2359 | 2002-06-09 Aldy Hernandez <[email protected]> |
2360 | ||
2361 | * MAINTAINERS: Add self. | |
2362 | ||
475b0867 JB |
2363 | 2002-06-11 Jim Blandy <[email protected]> |
2364 | ||
919d772c JB |
2365 | * source.c (source_info): Mention whether the symtab has |
2366 | information about preprocessor macros. | |
2367 | ||
475b0867 JB |
2368 | Call the command `info macro', not `show macro'. |
2369 | * macrocmd.c (info_macro_command): Renamed from `show_macro_command'. | |
2370 | Fix error message. | |
2371 | (_initialize_macrocmd): Register `info_macro_command' in | |
2372 | `infolist', not `showlist'. | |
2373 | ||
9e364162 DJ |
2374 | 2002-06-11 Daniel Jacobowitz <[email protected]> |
2375 | ||
2376 | * mips-tdep.c (MIPS_FPU_TYPE, FP_REGISTER_DOUBLE, MIPS_EABI) | |
2377 | (MIPS_LAST_FP_ARG_REGNUM, MIPS_LAST_ARG_REGNUM) | |
2378 | (MIPS_DEFAULT_SAVED_REGSIZE, MIPS_REGS_HAVE_HOME_P) | |
2379 | (MIPS_DEFAULT_STACK_ARGSIZE, GDB_TARGET_IS_MIPS64) | |
2380 | (MIPS_DEFAULT_MASK_ADDRESS_P): Remove obsolete definitions. Define | |
2381 | unconditionally. | |
2382 | (set_mipsfpu_single_command, set_mipsfpu_double_command) | |
2383 | (set_mipsfpu_none_command): Remove if (GDB_MULTI_ARCH). | |
2384 | (_initialize_mips_tdep): Remove dead code. | |
2385 | * config/mips/tm-irix5.h (MIPS_LAST_ARG_REGNUM) | |
2386 | (MIPS_DEFAULT_STACK_ARGSIZE, MIPS_REGS_HAVE_HOME_P): Remove. | |
2387 | * config/mips/tm-irix6.h (MIPS_LAST_ARG_REGNUM) | |
2388 | (MIPS_DEFAULT_STACK_ARGSIZE, MIPS_REGS_HAVE_HOME_P): Remove. | |
2389 | * config/mips/tm-mips.h (MIPS_EABI, MIPS_LAST_ARG_REGNUM, | |
2390 | MIPS_LAST_FP_ARG_REGNUM): Remove. | |
2391 | ||
2392 | 2002-06-11 Daniel Jacobowitz <[email protected]> | |
2393 | ||
2394 | * gdbserver/thread-db.c: New file. | |
2395 | * gdbserver/proc-service.c: New file. | |
2396 | * gdbserver/acinclude.m4: New file. | |
2397 | * gdbserver/Makefile.in: Add GDBSERVER_LIBS, gdb_proc_service_h, | |
2398 | proc-service.o, and thread-db.o. | |
2399 | (linux-low.o): Add USE_THREAD_DB. | |
2400 | * gdbserver/acconfig.h: Add HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, | |
2401 | HAVE_LWPID_T, HAVE_PSADDR_T, and PRFPREGSET_T_BROKEN. | |
2402 | * gdbserver/aclocal.m4: Regenerated. | |
2403 | * gdbserver/config.in: Regenerated. | |
2404 | * gdbserver/configure: Regenerated. | |
2405 | * gdbserver/configure.in: Check for proc_service.h, sys/procfs.h, | |
2406 | thread_db.h, and linux/elf.h headrs. | |
2407 | Check for lwpid_t, psaddr_t, prgregset_t, prfpregset_t, and | |
2408 | PRFPREGSET_T_BROKEN. Introduce srv_thread_depfiles and USE_THREAD_DB. | |
2409 | Check for -lthread_db and thread support. | |
2410 | * gdbserver/configure.srv: Enable thread_db support for ARM, i386, MIPS, | |
2411 | PowerPC, and SuperH. | |
2412 | * gdbserver/i387-fp.c: Constify arguments. | |
2413 | * gdbserver/i387-fp.h: Likewise. | |
2414 | * gdbserver/inferiors.c: (struct thread_info): Renamed from | |
2415 | `struct inferior_info'. Remove PID member. Use generic inferior | |
2416 | list header. All uses updated. | |
2417 | (inferiors, signal_pid): Removed. | |
2418 | (all_threads): New variable. | |
2419 | (get_thread): Define. | |
2420 | (add_inferior_to_list): New function. | |
2421 | (for_each_inferior): New function. | |
2422 | (change_inferior_id): New function. | |
2423 | (add_inferior): Removed. | |
2424 | (remove_inferior): New function. | |
2425 | (add_thread): New function. | |
2426 | (free_one_thread): New function. | |
2427 | (remove_thread): New function. | |
2428 | (clear_inferiors): Use for_each_inferior and free_one_thread. | |
2429 | (find_inferior): New function. | |
2430 | (find_inferior_id): New function. | |
2431 | (inferior_target_data): Update argument type. | |
2432 | (set_inferior_target_data): Likewise. | |
2433 | (inferior_regcache_data): Likewise. | |
2434 | (set_inferior_regcache_data): Likewise. | |
2435 | * gdbserver/linux-low.c (linux_bp_reinsert): Remove. | |
2436 | (all_processes, stopping_threads, using_thrads) | |
2437 | (struct pending_signals, debug_threads, pid_of): New. | |
2438 | (inferior_pid): Replace with macro. | |
2439 | (struct inferior_linux_data): Remove. | |
2440 | (get_stop_pc, add_process): New functions. | |
2441 | (linux_create_inferior): Restore SIGRTMIN+1 before calling exec. | |
2442 | Use add_process and add_thread. | |
2443 | (linux_attach_lwp): New function, based on old linux_attach. Use | |
2444 | add_process and add_thread. Set stop_expected for new threads. | |
2445 | (linux_attach): New function. | |
2446 | (linux_kill_one_process): New function. | |
2447 | (linux_kill): Kill all LWPs. | |
2448 | (linux_thread_alive): Use find_inferior_id. | |
2449 | (check_removed_breakpoints, status_pending_p): New functions. | |
2450 | (linux_wait_for_process): Renamed from linux_wait_for_one_inferior. | |
2451 | Update. Use WNOHANG. Wait for cloned processes also. Update process | |
2452 | struct for the found process. | |
2453 | (linux_wait_for_event): New function. | |
2454 | (linux_wait): Use it. Support LWPs. | |
2455 | (send_sigstop, wait_for_sigstop, stop_all_processes) | |
2456 | (linux_resume_one_process, linux_continue_one_process): New functions. | |
2457 | (linux_resume): Support LWPs. | |
2458 | (REGISTER_RAW_SIZE): Remove. | |
2459 | (fetch_register): Use register_size instead. Call supply_register. | |
2460 | (usr_store_inferior_registers): Likewise. Call collect_register. | |
2461 | Fix recursive case. | |
2462 | (regsets_fetch_inferior_registers): Improve error message. | |
2463 | (regsets_store_inferior_registers): Add debugging. | |
2464 | (linux_look_up_symbols): Call thread_db_init if USE_THREAD_DB. | |
2465 | (unstopped_p, linux_signal_pid): New functions. | |
2466 | (linux_target_ops): Add linux_signal_pid. | |
2467 | (linux_init_signals): New function. | |
2468 | (initialize_low): Call it. Initialize using_threads. | |
2469 | * gdbserver/regcache.c (inferior_regcache_data): Add valid | |
2470 | flag. | |
2471 | (get_regcache): Fetch registers lazily. Add fetch argument | |
2472 | and update all callers. | |
2473 | (regcache_invalidate_one, regcache_invalidate): New | |
2474 | functions. | |
2475 | (new_register_cache): Renamed from create_register_cache. | |
2476 | Return the new regcache. | |
2477 | (free_register_cache): Change argument to a void *. | |
2478 | (registers_to_string, registers_from_string): Call get_regcache | |
2479 | with fetch flag set. | |
2480 | (register_data): Make static. Pass fetch flag to get_regcache. | |
2481 | (supply_register): Call get_regcache with fetch flag clear. | |
2482 | (collect_register): Call get_regcache with fetch flag set. | |
2483 | (collect_register_as_string): New function. | |
2484 | * gdbserver/regcache.h: Update. | |
2485 | * gdbserver/remote-utils.c (putpkt): Flush after debug output and use | |
2486 | stderr. | |
2487 | Handle input interrupts while waiting for an ACK. | |
2488 | (input_interrupt): Use signal_pid method. | |
2489 | (getpkt): Flush after debug output and use stderr. | |
2490 | (outreg): Use collect_register_as_string. | |
2491 | (new_thread_notify, dead_thread_notify): New functions. | |
2492 | (prepare_resume_reply): Check using_threads. Set thread_from_wait | |
2493 | and general_thread. | |
2494 | (look_up_one_symbol): Flush after debug output. | |
2495 | * gdbserver/server.c (step_thread, server_waiting): New variables. | |
2496 | (start_inferior): Don't use signal_pid. Update call to mywait. | |
2497 | (attach_inferior): Update call to mywait. | |
2498 | (handle_query): Handle qfThreadInfo and qsThreadInfo. | |
2499 | (main): Don't fetch/store registers explicitly. Use | |
2500 | set_desired_inferior. Support proposed ``Hs'' packet. Update | |
2501 | calls to mywait. | |
2502 | * gdbserver/server.h: Update. | |
2503 | (struct inferior_list, struct_inferior_list_entry): New. | |
2504 | * gdbserver/target.c (set_desired_inferior): New. | |
2505 | (write_inferior_memory): Constify. | |
2506 | (mywait): New function. | |
2507 | * gdbserver/target.h: Update. | |
2508 | (struct target_ops): New signal_pid method. | |
2509 | (mywait): Removed macro, added prototype. | |
2510 | ||
2511 | * gdbserver/linux-low.h (regset_func): Removed. | |
2512 | (regset_fill_func, regset_store_func): New. | |
2513 | (enum regset_type): New. | |
2514 | (struct regset_info): Add type field. Use new operation types. | |
2515 | (struct linux_target_ops): stop_pc renamed to get_pc. | |
2516 | Add decr_pc_after_break and breakpoint_at. | |
2517 | (get_process, get_thread_proess, get_process_thread) | |
2518 | (strut process_info, all_processes, linux_attach_lwp) | |
2519 | (thread_db_init): New. | |
2520 | ||
2521 | * gdbserver/linux-arm-low.c (arm_get_pc, arm_set_pc, | |
2522 | arm_breakpoint, arm_breakpoint_len, arm_breakpoint_at): New. | |
2523 | (the_low_target): Add new members. | |
2524 | * gdbserver/linux-i386-low.c (i386_store_gregset, i386_store_fpregset) | |
2525 | (i386_store_fpxregset): Constify. | |
2526 | (target_regsets): Add new kind identifier. | |
2527 | (i386_get_pc): Renamed from i386_stop_pc. Simplify. | |
2528 | (i386_set_pc): Add debugging. | |
2529 | (i386_breakpoint_at): New function. | |
2530 | (the_low_target): Add new members. | |
2531 | * gdbserver/linux-mips-low.c (mips_get_pc, mips_set_pc) | |
2532 | (mips_breakpoint, mips_breakpoint_len, mips_reinsert_addr) | |
2533 | (mips_breakpoint_at): New. | |
2534 | (the_low_target): Add new members. | |
2535 | * gdbserver/linux-ppc-low.c (ppc_get_pc, ppc_set_pc) | |
2536 | (ppc_breakpoint, ppc_breakpoint_len, ppc_breakpoint_at): New. | |
2537 | (the_low_target): Add new members. | |
2538 | * gdbserver/linux-sh-low.c (sh_get_pc, sh_set_pc) | |
2539 | (sh_breakpoint, sh_breakpoint_len, sh_breakpoint_at): New. | |
2540 | (the_low_target): Add new members. | |
2541 | * gdbserver/linux-x86-64-low.c (target_regsets): Add new kind | |
2542 | identifier. | |
2543 | ||
23aa4c72 ML |
2544 | 2002-06-11 Michal Ludvig <[email protected]> |
2545 | ||
2546 | * dwarf2cfi.c (unwind_tmp_obstack_init): New. | |
2547 | (unwind_tmp_obstack_free, parse_frame_info) | |
2548 | (update_context, cfi_read_fp, cfi_write_fp) | |
2549 | (cfi_frame_chain, cfi_init_extra_frame_info) | |
2550 | (cfi_virtual_frame_pointer): Use the above function. | |
264d1763 | 2551 | * dwarf2cfi.c: Reindented (using 'indent dwarf2cfi.c'). |
23aa4c72 | 2552 | |
70eb15a4 CV |
2553 | 2002-06-11 Corinna Vinschen <[email protected]> |
2554 | ||
2555 | * v850-tdep.c (v850_type_is_scalar): New function. | |
2556 | (v850_use_struct_convention): Match current gcc implementation | |
2557 | as close as possible. | |
2558 | (v850_push_arguments): Fix stack_offset handling. Don't write | |
2559 | struct_addr into register. This is done by v850_store_struct_return. | |
2560 | (v850_extract_return_value): Care for structs. | |
2561 | (v850_store_return_value): Ditto. | |
2562 | (v850_store_struct_return): Actually write address. | |
2563 | ||
482a4d06 ML |
2564 | 2002-06-11 Michal Ludvig <[email protected]> |
2565 | ||
2566 | * x86-64-tdep.c (x86_64_skip_prologue): Fix to work on functions | |
2567 | without debug information too. | |
2568 | ||
d855c300 AC |
2569 | 2002-06-10 Andrew Cagney <[email protected]> |
2570 | ||
2571 | * gdbarch.sh (PRINT_FLOAT_INFO): Add frame and ui_file parameters. | |
2572 | Make multi-arch pure. | |
2573 | * gdbarch.h, gdbarch.c: Re-generate. | |
2574 | * arm-tdep.c (arm_print_float_info): Update. | |
2575 | * arch-utils.h (default_print_float_info): Update. | |
2576 | * arch-utils.c (default_print_float_info): Update. | |
2577 | * infcmd.c (float_info): Update call. | |
2578 | ||
dd12a101 AC |
2579 | 2002-06-10 Andrew Cagney <[email protected]> |
2580 | ||
2581 | * Makefile.in (init.c): Move the call to _initialize_gdbtypes to | |
2582 | the front of the initialize list. | |
2583 | ||
101dcfbe AC |
2584 | 2002-06-10 Andrew Cagney <[email protected]> |
2585 | ||
2586 | * infrun.c (struct inferior_status): Replace fields | |
2587 | selected_frame_address and selected_level with field | |
2588 | selected_frame_id. | |
2589 | (save_inferior_status): Update. Use get_frame_id. | |
2590 | (struct restore_selected_frame_args): Delete. | |
2591 | (restore_selected_frame): Update. Use frame_find_by_id. | |
2592 | (restore_inferior_status): Update. | |
2593 | ||
2594 | * breakpoint.h (struct breakpoint): Change type of | |
2595 | watchpoint_frame to frame_id. | |
2596 | * breakpoint.c (insert_breakpoints): Use frame_find_by_id. Remove | |
2597 | call to get_current_frame. | |
2598 | (do_enable_breakpoint): Use frame_find_by_id. Remove call to | |
2599 | get_current_frame. | |
2600 | (watchpoint_check): Use frame_find_by_id. | |
2601 | ||
2602 | * frame.h (record_selected_frame): Delete declaration. | |
2603 | * stack.c (record_selected_frame): Delete function. | |
2604 | ||
2605 | * frame.h (struct frame_id): Define. | |
2606 | (get_frame_id): Declare. | |
2607 | (frame_find_by_id): Declare. | |
2608 | * frame.c (frame_find_by_id): New function. | |
2609 | (get_frame_id): New function. | |
2610 | ||
304270b6 AV |
2611 | 2002-06-10 Andrey Volkov <[email protected]> |
2612 | ||
2613 | * ser-e7kpc.c: Fix duplicated define and call of | |
2614 | _initialize_ser_e7000pc | |
2615 | ||
2f2cf184 DJ |
2616 | 2002-06-09 Daniel Jacobowitz <[email protected]> |
2617 | ||
2618 | * signals/signals.c (target_signal_from_host): Fix #ifdef | |
2619 | SIGRTMIN case. | |
2620 | (do_target_signal_to_host): Likewise. | |
2621 | ||
caaa3122 DJ |
2622 | 2002-06-09 Daniel Jacobowitz <[email protected]> |
2623 | ||
2624 | * mips-tdep.c (mips_find_abi_section): New function. | |
2625 | (mips_gdbarch_init): Call it. | |
2626 | ||
6ac5df3a MK |
2627 | 2002-06-09 Mark Kettenis <[email protected]> |
2628 | ||
2629 | * solib-svr4.c (init_fetch_link_map_offsets): Simply return | |
2630 | legacy_fetch_link_map_offsets. Adjust comment to reflect reality | |
2631 | after Andrew's 2002-06-08 gdbarch change. | |
2632 | ||
82ea117a MK |
2633 | 2002-06-09 Mark Kettenis <[email protected]> |
2634 | ||
2635 | * i386-linux-nat.c (suppy_gregset): Don't supply | |
2636 | I386_LINUX_ORIG_EAX_REGNUM if there isn't room for it in GDB's | |
2637 | register cache. | |
2638 | (fill_gregset): Don't fetch it under the same circumstances. | |
2639 | ||
3c25f8c7 AC |
2640 | 2002-06-09 Andrew Cagney <[email protected]> |
2641 | ||
2642 | * Makefile.in (callback_h): Define. | |
2643 | (remote_sim_h): Update path to remote-sim.h. | |
2644 | (remote-rdp.o): Add $(callback_h). | |
2645 | (remote-sim.o): Use $(callback_h). | |
2646 | * remote-sim.c: Include "gdb/callback.h" and "gdb/remote-sim.h". | |
2647 | * remote-rdp.c: Include "gdb/callback.h". | |
2648 | ||
1029b7fa MK |
2649 | 2002-06-09 Mark Kettenis <[email protected]> |
2650 | ||
2651 | * osabi.h (gdb_osabi): Add GDB_OSABI_GO32 and GDB_OSABI_NETWARE. | |
2652 | * osabi.c (gdb_osabi_names): Add "DJGPP" and "NetWare". | |
2653 | ||
616675d3 AC |
2654 | 2002-06-08 Andrew Cagney <[email protected]> |
2655 | ||
a3efda28 AC |
2656 | * sparcl-tdep.c: Use __CYGWIN__ instead of __CYGWIN32__. |
2657 | * rdi-share/serpardr.c: Ditto. | |
2658 | * rdi-share/unixcomm.c: Ditto. | |
2659 | * rdi-share/serdrv.c: Ditto. | |
2660 | * rdi-share/hostchan.h: Ditto. | |
2661 | * rdi-share/hostchan.c: Ditto. | |
2662 | * rdi-share/host.h: Ditto. | |
2663 | * rdi-share/devsw.c: Ditto. | |
2664 | ||
c5f10366 AC |
2665 | * objfiles.h: Change type of obj_private to void pointer. |
2666 | * pa64solib.c: Update copyright. Don't include "assert.h", use | |
2667 | strcmp instead of STREQ, use LONGEST, do not use PTR | |
2668 | * somsolib.c: Ditto. | |
2669 | ||
616675d3 AC |
2670 | * config/djgpp/fnchange.lst: Fix problems with bfd/elf32-i386.c, |
2671 | bfd/elf32-i386qnx.c, bfd/elf32-sh.c, bfd/elf32-sh64-nbsd.c, | |
2672 | bfd/elf64-sh64-nbsd.c bfd/elf64-sh64.c. | |
2673 | ||
e4b415d9 AC |
2674 | 2002-06-08 Andrew Cagney <[email protected]> |
2675 | ||
2676 | * frame.c (GET_SAVED_REGISTER): Delete macro definition. | |
2677 | (default_get_saved_register): Delete function. | |
2678 | * gdbarch.sh (GET_SAVED_REGISTER): Set default to | |
2679 | generic_unwind_get_saved_register. | |
2680 | * gdbarch.h, gdbarch.c: Re-generate. | |
2681 | ||
ca0d0b52 AC |
2682 | 2002-06-08 Andrew Cagney <[email protected]> |
2683 | ||
2684 | * gdbarch.sh (FRAME_CHAIN_VALID): Set default to | |
2685 | generic_func_frame_chain_valid. | |
2686 | * gdbarch.h, gdbarch.c: Re-generate. | |
2687 | * blockframe.c (generic_func_frame_chain_valid): Only check | |
2688 | PC_IN_CALL_DUMMY when generic dummy frames. Don't worry about | |
2689 | passing FP to PC_IN_CALL_DUMMY. | |
2690 | Fix PR gdb/360. | |
2691 | ||
76860b5f AC |
2692 | 2002-06-08 Andrew Cagney <[email protected]> |
2693 | ||
2694 | * gdbarch.sh (struct gdbarch_data): Add field init_p. | |
2695 | (register_gdbarch_data): Initialize init_p. | |
2696 | (gdbarch_data): Initialize data pointer using the init function. | |
2697 | (init_gdbarch_data): Delete function. | |
2698 | (gdbarch_update_p): Update. | |
2699 | (initialize_non_multiarch): Update. | |
2700 | (struct gdbarch): Add field initialized_p. | |
2701 | * gdbarch.h, gdbarch.c: Re-generate. | |
2702 | ||
8dda9770 ML |
2703 | 2002-06-07 Michal Ludvig <[email protected]> |
2704 | ||
2705 | * x86-64-linux-nat.c (x86_64_fxsave_offset): New. | |
2706 | (supply_fpregset, fill_fpregset): Don't call i387_*_fxsave, | |
2707 | better do the things actually here. | |
2708 | * x86-64-tdep.c (x86_64_register_name2nr): New. | |
2709 | (x86_64_register_name): Renamed to x86_64_register_nr2name. | |
2710 | (x86_64_gdbarch_init): Respect the above change. | |
2711 | * x86-64-tdep.h (x86_64_register_name2nr) | |
2712 | (x86_64_register_nr2name): Add prototypes. | |
2713 | * config/i386/x86-64linux.mt (TDEPFILES): Remove i387-tdep.o. | |
2714 | ||
3d79a47c MS |
2715 | 2002-06-06 Michael Snyder <[email protected]> |
2716 | ||
7bd91a28 MS |
2717 | * d10v-tdep.c (d10v_push_arguments): Handle struct_return. |
2718 | Delete extra braces and re-indent. | |
2719 | (d10v_store_return_value): Char return values | |
3d79a47c MS |
2720 | must be shifted over by one byte in R0. |
2721 | (d10v_extract_return_value): Delete extra braces, re-indent. | |
2722 | ||
095a4c96 EZ |
2723 | 2002-06-06 Elena Zannoni <[email protected]> |
2724 | ||
2725 | * d10v-tdep.c (d10v_read_sp, d10v_read_fp): Add prototype. | |
2726 | (d10v_register_virtual_type): Make $fp and $sp be pointer to data. | |
2727 | (d10v_integer_to_address): Rewrite. | |
2728 | (d10v_frame_init_saved_regs): When reading fp and sp registers use | |
2729 | the d10v specific functions which take care of converting to the | |
2730 | correct space. | |
2731 | ||
e8a77ca4 EZ |
2732 | 2002-06-06 Elena Zannoni <[email protected]> |
2733 | ||
2734 | * config/djgpp/fnchange.lst: Add testsuite files altivec-abi.c, | |
2735 | altivec-abi.exp, altivec-regs.c, altivec-regs.exp. | |
2736 | ||
4f2e4a4f AC |
2737 | 2002-06-02 Andrew Cagney <[email protected]> |
2738 | ||
2739 | * config/alpha/nm-linux.h: Add "config/" prefix to tm, nm and xm | |
2740 | includes. | |
2741 | * config/tm-linux.h: Ditto. | |
2742 | * config/alpha/tm-alphalinux.h: Ditto. | |
2743 | * config/arm/nm-linux.h, config/arm/tm-linux.h: Ditto. | |
2744 | * config/arm/xm-nbsd.h, config/i386/nm-gnu.h: Ditto. | |
2745 | * config/i386/nm-i386lynx.h, config/i386/nm-i386sol2.h: Ditto. | |
2746 | * config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h: Ditto. | |
2747 | * config/i386/nm-linux.h, config/i386/nm-m3.h: Ditto. | |
2748 | * config/i386/nm-ptx4.h, config/i386/nm-x86-64.h: Ditto. | |
2749 | * config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h: Ditto. | |
2750 | * config/i386/tm-i386m3.h, config/i386/tm-i386sco5.h: Ditto. | |
2751 | * config/i386/tm-i386v4.h, config/i386/tm-linux.h: Ditto. | |
2752 | * config/i386/tm-ptx4.h, config/i386/tm-vxworks.h: Ditto. | |
2753 | * config/i386/xm-i386v4.h, config/i386/xm-nbsd.h: Ditto. | |
2754 | * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto. | |
2755 | * config/i960/tm-vx960.h, config/ia64/nm-aix.h: Ditto. | |
2756 | * config/ia64/nm-linux.h, config/ia64/tm-aix.h: Ditto. | |
2757 | * config/ia64/tm-linux.h, config/ia64/xm-aix.h: Ditto. | |
2758 | * config/m68k/nm-linux.h, config/m68k/nm-m68klynx.h: Ditto. | |
2759 | * config/m68k/nm-sysv4.h, config/m68k/tm-linux.h: Ditto. | |
2760 | * config/m68k/tm-m68klynx.h, config/m68k/tm-m68kv4.h: Ditto. | |
2761 | * config/m68k/tm-sun2os4.h, config/m68k/tm-sun3os4.h: Ditto. | |
2762 | * config/m68k/tm-vx68.h, config/m68k/xm-m68kv4.h: Ditto. | |
2763 | * config/m68k/xm-nbsd.h, config/m88k/nm-delta88v4.h: Ditto. | |
2764 | * config/m88k/tm-delta88v4.h, config/m88k/xm-delta88v4.h: Ditto. | |
2765 | * config/mips/nm-irix5.h, config/mips/nm-linux.h: Ditto. | |
2766 | * config/mips/tm-linux.h, config/mips/tm-mips64.h: Ditto. | |
2767 | * config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h: Ditto. | |
2768 | * config/mips/tm-vxmips.h, config/mips/xm-irix5.h: Ditto. | |
2769 | * config/mips/xm-mipsv4.h, config/ns32k/xm-nbsd.h: Ditto. | |
2770 | * config/pa/nm-hppao.h, config/powerpc/nm-linux.h: Ditto. | |
2771 | * config/powerpc/tm-linux.h, config/powerpc/tm-vxworks.h: Ditto. | |
2772 | * config/powerpc/xm-aix.h, config/rs6000/nm-rs6000ly.h: Ditto. | |
2773 | * config/rs6000/tm-rs6000ly.h, config/rs6000/xm-aix4.h: Ditto. | |
2774 | * config/sh/tm-linux.h, config/sparc/nm-linux.h: Ditto. | |
2775 | * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4sol2.h: Ditto. | |
2776 | * config/sparc/tm-linux.h, config/sparc/tm-sp64linux.h: Ditto. | |
2777 | * config/sparc/tm-sp64sim.h, config/sparc/tm-sparclynx.h: Ditto. | |
2778 | * config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h: Ditto. | |
2779 | * config/sparc/tm-vxsparc.h, config/sparc/xm-sun4sol2.h: Ditto. | |
2780 | ||
ae2ab2ce AS |
2781 | 2002-05-04 Aidan Skinner <[email protected]> |
2782 | ||
2783 | * ada-exp.tab.c: New file | |
2784 | * ada-exp.y: New file | |
2785 | * ada-lang.c: New file | |
2786 | * ada-lang.h: New file | |
2787 | * ada-lex.c: New file | |
2788 | * ada-lex.l: New file | |
2789 | * ada-tasks.c: New file | |
2790 | * ada-typeprint.c: New file | |
2791 | * ada-valprint.c: New file | |
2792 | ||
0ddd0135 JT |
2793 | 2002-06-02 Jason Thorpe <[email protected]> |
2794 | ||
2795 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't set | |
2796 | use_struct_convention to ppc_sysv_abi_broken_use_struct_convention. | |
2797 | ||
750fbacc JT |
2798 | 2002-06-02 Jason Thorpe <[email protected]> |
2799 | ||
2800 | * config/rs6000/aix4.mt (TDEPFILES): Use ppc-sysv-tdep.o | |
2801 | insetead of ppc-linux-tdep.o. | |
2802 | * config/rs6000/rs6000.mt (TDEPFILES): Likewise. | |
2803 | * config/rs6000/rs6000lynx.mt (TDEPFILES): Likewise. | |
2804 | ||
df94e18a AC |
2805 | 2002-06-02 Andrew Cagney <[email protected]> |
2806 | ||
2807 | 2002-05-07 Christian Groessler <[email protected]> | |
2808 | * z8k-tdep.c (z8k_print_register_hook): Fix display of 32 and 64 | |
2809 | bit register contents for little endian hosts. | |
2810 | ||
1a38ab75 AC |
2811 | 2002-06-01 Andrew Cagney <[email protected]> |
2812 | ||
2813 | * MAINTAINERS: Mention that any `HP/UX reader' can be changed by | |
2814 | any maintainer. | |
2815 | ||
8b1632ac AC |
2816 | 2002-06-01 Andrew Cagney <[email protected]> |
2817 | ||
2818 | * gdbarch.h: Regenerate. | |
2819 | ||
627054c8 AC |
2820 | 2002-06-01 Andrew Cagney <[email protected]> |
2821 | ||
2822 | * MAINTAINERS: Add everyone to write-after-approval list. | |
2823 | ||
4f460812 AC |
2824 | 2002-06-01 Andrew Cagney <[email protected]> |
2825 | ||
2826 | * stack.c (frame_info): Use frame_register_unwind instead of | |
2827 | saved_regs. Mention when the SP is on the stack or in a register. | |
2828 | ||
2829 | * frame.h (frame_register_unwind_ftype): Define. Document. | |
2830 | (struct frame_info): Add field register_unwind and | |
2831 | register_unwind_cache. | |
2832 | (frame_register_unwind): Declare. | |
2833 | (generic_unwind_get_saved_register): Declare. | |
2834 | ||
2835 | * frame.c (frame_register_unwind): New function. | |
2836 | (generic_unwind_get_saved_register): New function. | |
2837 | ||
2838 | * blockframe.c (generic_call_dummy_register_unwind): New function. | |
2839 | (frame_saved_regs_register_unwind): New function. | |
2840 | (set_unwind_by_pc): New function. | |
2841 | (create_new_frame): New function. | |
2842 | (get_prev_frame): New function. | |
2843 | ||
de888f76 AC |
2844 | 2002-05-30 Andrew Cagney <[email protected]> |
2845 | ||
2846 | * a29k-share/: Delete directory. | |
2847 | * remote-vx29k.c: Delete file. | |
2848 | ||
2f2c3626 JT |
2849 | 2002-05-30 Jason Thorpe <[email protected]> |
2850 | ||
2851 | * config/djgpp/fnchange.lst: Add ns32knbsd-nat.c, ns32knbsd-tdep.c, | |
2852 | ppcnbsd-nat.c, ppcnbsd-tdep.c, sparcnbsd-nat.c, and sparcnbsd-tdep.c. | |
2853 | ||
9ce5c36a JT |
2854 | 2002-05-30 Jason Thorpe <[email protected]> |
2855 | ||
2856 | * Makefile.in (ALLDEPFILES): Add sparc64nbsd-nat.c, | |
2857 | sparcnbsd-nat.c, and sparcnbsd-tdep.c. | |
2858 | (sparc64nbsd-nat.o) | |
2859 | (sparcnbsd-nat.o) | |
2860 | (sparcnbsd-tdep.o): New dependency lists. | |
2861 | * NEWS: Note new UltraSPARC NetBSD native configuration. | |
2862 | * configure.host (sparc64-*-netbsd*): New host. | |
2863 | * configure.tgt (sparc-*-netbsdelf*) | |
2864 | (sparc-*-netbsd*): Set gdb_target to nbsd. | |
2865 | (sparc64-*-netbsd*): New target. | |
2866 | * sparc64nbsd-nat.c: New file. | |
2867 | * sparcnbsd-nat.c: New file. | |
2868 | * sparcnbsd-tdep.c: New file. | |
2869 | * sparcnbsd-tdep.h: New file. | |
2870 | * config/sparc/nbsd.mt: New file. | |
2871 | * config/sparc/nbsd64.mh: New file. | |
2872 | * config/sparc/nbsd64.mt: New file. | |
2873 | * config/sparc/nbsdaout.mh (NATDEPFILES): Remove corelow.o, | |
2874 | sparc-nat.o, and solib.o. Add sparcnbsd-nat.o. | |
2875 | (HOST_IPC): Remove. | |
2876 | * config/sparc/nbsdaout.mt: Remove. | |
2877 | * config/sparc/nbsdelf.mh (NATDEPFILES): Remove corelow.o, | |
2878 | sparc-nat.o, and solib.o. Add sparcnbsd-nat.o. | |
2879 | (HOST_IPC): Remove. | |
2880 | * config/sparc/nbsdelf.mt: Remove. | |
2881 | * config/sparc/nm-nbsd.h: Update copyright years. Remove all | |
2882 | sparc-nat.c compatiblity defines. | |
2883 | * config/sparc/tm-nbsd.h: Update copyright years. Include solib.h. | |
2884 | (GDB_MULTI_ARCH): Set to GDB_MULTI_ARCH_PARTIAL. | |
2885 | * config/sparc/tm-nbsd64.h: New file. | |
2886 | * config/sparc/tm-nbsdaout.h: Remove. | |
2887 | * config/sparc/xm-nbsd.h: Remove. | |
2888 | ||
ef3cf062 JT |
2889 | 2002-05-30 Jason Thorpe <[email protected]> |
2890 | ||
2891 | * Makefile.in (sparc-tdep.o): Add osabi.h to dependency list. | |
2892 | * sparc-tdep.c: Include osabi.h. | |
2893 | (gdbarch_tdep): Add osabi member. | |
2894 | (_initialize_sparc_tdep): Use gdbarch_register. | |
2895 | (sparc_gdbarch_init): Use generic OS ABI framework. | |
2896 | (sparc_dump_tdep): New function. | |
2897 | ||
ee8ff470 KB |
2898 | 2002-05-30 Kevin Buettner <[email protected]> |
2899 | ||
2900 | * corefile.c (do_captured_read_memory_integer): Return non-zero | |
2901 | result. | |
2902 | (safe_read_memory_integer): Copy result of memory read when | |
2903 | status is non-zero. Also, add comments. | |
2904 | ||
7b112f9c JT |
2905 | 2002-05-20 Jason Thorpe <[email protected]> |
2906 | ||
2907 | * Makefile.in (ppc_tdep_h): Define. | |
2908 | (ppc-linux-nat.o) | |
2909 | (ppc-linux-tdep.o) | |
2910 | (rs6000-tdep.o): Use $(ppc_tdep_h). | |
2911 | (ppc-sysv-tdep.o) | |
2912 | (ppcnbsd-nat.o) | |
2913 | (ppcnbsd-tdep.o): New dependency lists. | |
2914 | * ppc-tdep.h: Use generic OS ABI framework. | |
357edbbc JT |
2915 | * ppc-linux-tdep.c (_initialize_ppc_linux_tdep) |
2916 | (ppc_linux_init_abi): New functions. | |
7b112f9c JT |
2917 | (ppc_sysv_abi_broken_use_struct_convention) |
2918 | (ppc_sysv_abi_use_struct_convention) | |
2919 | (ppc_sysv_abi_push_arguments): Move to... | |
2920 | * ppc-sysv-tdep.c: ...here. | |
2921 | * ppcnbsd-nat.c: Don't include gdbcore.h and regcache.h. | |
2922 | * rs6000-tdep.c (process_note_abi_tag_sections) | |
2923 | (get_elfosabi): Remove. | |
2924 | (rs6000_gdbarch_init): Use generic OS ABI framework. | |
2925 | (rs6000_dump_tdep): New function. | |
2926 | (_initialize_rs6000_tdep): Use gdbarch_register. | |
2927 | * config/powerpc/linux.mt (TDEPFILES): Add ppc-sysv-tdep.o. | |
2928 | * config/powerpc/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. | |
2929 | * config/powerpc/aix.mt (TDEPFILES): Use ppc-sysv-tdep.o instead | |
2930 | of ppc-linux-tdep.o. | |
2931 | * config/powerpc/nbsd.mt (TDEPFILES): Likewise. | |
2932 | * config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise. | |
2933 | * config/powerpc/ppc-sim.mt (TDEPFILES): Likewise. | |
2934 | * config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise. | |
2935 | * config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise. | |
2936 | * config/powerpc/vxworks.mt (TDEPFILES): Likewise. | |
2937 | ||
480dd42a JB |
2938 | 2002-05-29 Jim Blandy <[email protected]> |
2939 | ||
2940 | * macroscope.c (default_macro_scope): Put `void' in empty argument | |
2941 | list. | |
2942 | ||
4182591f AC |
2943 | 2002-05-29 Andrew Cagney <[email protected]> |
2944 | ||
2945 | * Makefile.in (arch-utils.o): Add $(sim_regno_h). | |
2946 | * arch-utils.c: Include "sim-regno.h". | |
2947 | * gdbarch.sh: Don't include "sim-regno.h". | |
2948 | * gdbarch.h, gdbarch.c: Regenerate. | |
2949 | * sim-regno.h (legacy_register_sim_regno): Move declaration from | |
2950 | here. | |
2951 | * arch-utils.h (legacy_register_sim_regno): To here. | |
2952 | * remote-sim.c (legacy_register_sim_regno): Move function from | |
2953 | here. | |
2954 | * arch-utils.c (legacy_register_sim_regno): To here. | |
2955 | ||
8238d0bf AC |
2956 | 2002-05-28 Andrew Cagney <[email protected]> |
2957 | ||
2958 | * sim-regno.h: New file. | |
2959 | * Makefile.in (sim_regno_h): Define. | |
2960 | (d10v-tdep.o, remote-sim.o): Add dependency on $(sim_regno_h). | |
2961 | * remote-sim.c: Include "sim-regno.h" and "gdb_assert.h". | |
2962 | (legacy_register_sim_regno): New function. | |
2963 | (one2one_register_sim_regno): New function. | |
2964 | (gdbsim_fetch_register): Rewrite. | |
2965 | (gdbsim_store_register): Only store a register when | |
2966 | REGISTER_SIM_REGNO is valid. | |
2967 | * d10v-tdep.c: Include "sim-regno.h". | |
2968 | (d10v_ts2_register_sim_regno): Add legacy_regiter_sim_regno check. | |
2969 | (d10v_ts3_register_sim_regno): Ditto. | |
2970 | * gdbarch.sh: Include "sim-regno.h". | |
2971 | (REGISTER_SIM_REGNO): Set default to legacy_register_sim_regno. | |
2972 | * gdbarch.h, gdbarch.c: Regenerate. | |
2973 | * arch-utils.h (default_register_sim_regno): Delete declaration. | |
2974 | * arch-utils.c (default_register_sim_regno): Delete function. | |
2975 | ||
485721b1 JT |
2976 | 2002-05-28 Jason Thorpe <[email protected]> |
2977 | ||
2978 | * ppcnbsd-nat.c: Rewrite. | |
2979 | * ppcnbsd-tdep.c: New file. | |
2980 | * ppcnbsd-tdep.h: New file. | |
2981 | * config/powerpc/nbsd.mh (NATDEPFILES): Remove corelow.o, | |
2982 | solib.o, and solib-svr4.o. | |
2983 | * config/powerpc/nbsd.mt (TDEPFILES): Add ppcnbsd-tdep.o, | |
2984 | nbsd-tdep.o, and corelow.o. | |
2985 | ||
697f244d AC |
2986 | 2002-05-28 Andrew Cagney <[email protected]> |
2987 | ||
2988 | * MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to use | |
2989 | `tr' and `sed'. Mention that `broken' targets are not expected to | |
2990 | build. | |
2991 | ||
f08caad1 | 2992 | 2002-05-27 Michal Ludvig <[email protected]> |
b1ab997b ML |
2993 | |
2994 | * x86-64-tdep.c (x86_64_skip_prologue): Remove obsolete note. | |
2995 | Let PC point right after the prologue before looking up symbols. | |
2996 | ||
3139facc MH |
2997 | 2002-05-27 Martin M. Hunt <[email protected]> |
2998 | ||
2999 | * i386-tdep.c (i386_register_virtual_type): Return | |
3000 | builtin_type_vec128i for SSE registers. | |
3001 | ||
3002 | * gdbtypes.h (builtin_type_vec128i): Declare. | |
3003 | ||
3004 | * gdbtypes.c (build_builtin_type_vec128i): New function. | |
3005 | (builtin_type_v2_double, builtin_type_v4_int64): New types. | |
3006 | (builtin_type_vec128i): New type for SSE2 128-bit registers. | |
3007 | (build_gdbtypes): Initialize new builtin vector types. | |
3008 | (_initialize_gdbtypes): Register new vector types with gdbarch. | |
3009 | ||
6e3ba3b8 JT |
3010 | 2002-05-26 Jason Thorpe <[email protected]> |
3011 | ||
3012 | * MAINTAINERS: ns32k is not longer an obsolete candidate, | |
3013 | since it has been multi-arch'd. | |
3014 | * NEWS: Note that ns32k-*-* is now partial multi-arch. | |
3015 | Move Alpha and VAX multi-arch news entries to same section | |
3016 | as other multi-arch news. | |
3017 | ||
93d5585d JT |
3018 | 2002-05-26 Jason Thorpe <[email protected]> |
3019 | ||
3020 | * ns32k-tdep.c: include gdbtypes.h, inferior.h, regcache.h, | |
3021 | target.s, arch-utils.h, ns32k-tdep.h. Make many functions | |
3022 | static. Rename some register numbers to put them in ns32k-tdep | |
3023 | private namespace. | |
3024 | (ns32k_get_saved_register, ns32k_gdbarch_init_32082, | |
3025 | ns32k_gdbarch_init_32382, ns32k_gdbarch_init, ns32k_dump_tdep): New | |
3026 | functions. | |
3027 | (_initialize_ns32k_tdep): Use gdbarch_register. | |
3028 | * ns32k-tdep.h: New file. | |
3029 | * ns32knbsd-tdep.c: New file. | |
3030 | * config/ns32k/nbsdaout.mt (TDEPFILES): Add ns32knbsd-tdep.o. | |
3031 | * config/ns32k/tm-nbsd.h: Include "ns32k/tm-ns32k.h". | |
3032 | (IN_SOLIB_CALL_TRAMPOLINE, REGISTER_NAME, NUM_REGS, | |
3033 | REGISTER_BYTES, REGISTER_BYTE): Remove. | |
3034 | * config/ns32k/tm-ns32k.h: New file. | |
3035 | * config/ns32k/tm-umax.h: Remove. | |
3036 | ||
efb2c70e JT |
3037 | 2002-05-26 Jason Thorpe <[email protected]> |
3038 | ||
3039 | * ns32k-tdep.c (ns32k_saved_pc_after_call, | |
3040 | ns32k_store_struct_return, ns32k_extract_return_value, | |
3041 | ns32k_store_return_value, ns32k_extract_struct_value_address): New | |
3042 | functions. | |
3043 | * config/ns32k/tm-umax.h (SAVED_PC_AFTER_CALL): Define as | |
3044 | ns32k_saved_pc_after_call. | |
3045 | (STORE_STRUCT_RETURN): Define as ns32k_store_struct_return. | |
3046 | (EXTRACT_RETURN_VALUE): Define as ns32k_extract_return_value. | |
3047 | (STORE_RETURN_VALUE): Define as ns32k_store_return_value. | |
3048 | (EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
3049 | ns32k_extract_struct_value_address. | |
3050 | ||
7bcc927b JT |
3051 | 2002-05-26 Jason Thorpe <[email protected]> |
3052 | ||
3053 | * ns32k-tdep.c (ns32k_call_dummy_words, sizeof_ns32k_call_dummy_words, | |
3054 | ns32k_fix_call_dummy): New. | |
3055 | * config/ns32k/tm-umax.h (CALL_DUMMY_WORDS): Define as | |
3056 | ns32k_call_dummy_words. | |
3057 | (SIZEOF_CALL_DUMMY_WORDS): Define as sizeof_ns32k_call_dummy_words. | |
3058 | (CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_ADDR, | |
3059 | CALL_DUMMY_NARGS): Remove. | |
3060 | (FIX_CALL_DUMMY): Define as ns32k_fix_call_dummy. | |
3061 | ||
78f9d765 JT |
3062 | 2002-05-26 Jason Thorpe <[email protected]> |
3063 | ||
3064 | * ns32k-tdep.c (ns32k_breakpoint_from_pc, ns32k_frame_chain, | |
3065 | ns32k_frame_saved_pc, ns32k_frame_args_address, | |
3066 | ns32k_frame_locals_address, ns32k_frame_init_saved_regs, | |
3067 | ns32k_push_dummy_frame, ns32k_pop_frame): New functions. | |
3068 | * config/ns32k/tm-nbsd.h (FRAME_SAVED_PC): Remove. | |
3069 | * config/ns32k/tm-umax.h (INNER_THAN): Define as core_addr_lessthan. | |
3070 | (BREAKPOINT_FROM_PC): Define as ns32k_breakpoint_from_pc. | |
3071 | (BREAKPOINT): Remove.. | |
3072 | (FRAME_CHAIN): Define as ns32k_frame_chain. | |
3073 | (FRAME_SAVED_PC): Define as ns32k_frame_saved_pc. | |
3074 | (FRAME_ARGS_ADDRESS): Define as ns32k_frame_args_address. | |
3075 | (FRAME_LOCALS_ADDRESS): Define as ns32k_frame_locals_address. | |
3076 | (FRAME_FIND_SAVED_REGS): Remove. | |
3077 | (FRAME_INIT_SAVED_REGS): Define as ns32k_frame_init_saved_regs. | |
3078 | (PUSH_DUMMY_FRAME): Define as ns32k_push_dummy_frame. | |
3079 | (POP_FRAME): Define as ns32k_pop_frame. | |
3080 | ||
f2c762e0 JT |
3081 | 2002-05-26 Jason Thorpe <[email protected]> |
3082 | ||
3083 | * ns32k-tdep.c (ns32k_register_byte_32082, | |
3084 | ns32k_register_byte_32382, ns32k_register_raw_size, | |
3085 | ns32k_register_virtual_size, ns32k_register_virtual_type): New | |
3086 | functions. | |
3087 | * config/ns32k/tm-nbsd.h (REGISTER_BYTE): Define as | |
3088 | ns32k_register_byte_32382. | |
3089 | * config/ns32k/tm-umax.h: Update copyright years. | |
3090 | (REGISTER_BYTE): Define as ns32k_register_byte_32082. | |
3091 | (REGISTER_RAW_SIZE): Define as ns32k_register_raw_size. | |
3092 | (REGISTER_VIRTUAL_SIZE): Define as ns32k_register_virtual_size. | |
3093 | (REGISTER_VIRTUAL_TYPE): Define as ns32k_register_virtual_type. | |
3094 | (ns32k_get_enter_addr): Fix prototype. | |
3095 | ||
af137673 JT |
3096 | 2002-05-26 Jason Thorpe <[email protected]> |
3097 | ||
3098 | * ns32k-tdep.c: Update copyright years. | |
3099 | (ns32k_register_name_32082): New function. | |
3100 | (ns32k_register_name_32382): Ditto. | |
3101 | * config/ns32k/tm-nbsd.h (REGISTER_NAMES): Remove. | |
3102 | (REGISTER_NAME): Define as ns32k_register_name_32382. | |
3103 | * config/ns32k/tm-umax.h (REGISTER_NAMES): Remove. | |
3104 | (REGISTER_NAME): Define as ns32k_register_name_32082. | |
3105 | ||
a8bc7b56 JB |
3106 | 2002-05-24 Jim Blandy <[email protected]> |
3107 | ||
3108 | * dwarf2read.c (free_line_header): Use xfree, not free. | |
3109 | ||
83a45910 JT |
3110 | 2002-05-24 Jason Thorpe <[email protected]> |
3111 | ||
3112 | * config/djgpp/fnchange.lst: Add alphabsd-nat.c, | |
3113 | alphabsd-tdep.c, mipsnbsd-nat.c, and mipsnbsd-tdep.c | |
3114 | ||
0db71247 AC |
3115 | 2002-05-23 Andrew Cagney <[email protected]> |
3116 | ||
3117 | * PROBLEMS: Mention s390 and FreeBSD 4.4 build problems. | |
3118 | ||
b9e5e4dd AC |
3119 | 2002-05-23 Andrew Cagney <[email protected]> |
3120 | ||
3121 | From Ross Alexander at NEC Europe: | |
3122 | * config/pa/hpux11w.mh (NATDEPFILES): Add solib.o. | |
3123 | ||
de530e84 MS |
3124 | 2002-05-23 Michael Snyder <[email protected]> |
3125 | ||
3126 | * cli/cli-dump.c (restore_command): Use parse_and_eval_long | |
3127 | for input, rather than parse_and_eval_address. | |
3128 | ||
b91b96f4 AC |
3129 | 2002-05-23 Andrew Cagney <[email protected]> |
3130 | ||
3131 | * d10v-tdep.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h". | |
3132 | * Makefile.in (sim_d10v_h): Update definition. | |
3133 | ||
8b279e7a AC |
3134 | 2002-05-24 Andrew Cagney <[email protected]> |
3135 | ||
3136 | * d10v-tdep.c (d10v_gdbarch_init): Revert old code included in | |
3137 | change `2002-05-22 Michael Snyder' below. | |
3138 | (d10v_push_arguments): Ditto. | |
3139 | (d10v_extract_return_value): Ditto. | |
3140 | ||
0a3d0425 JB |
3141 | 2002-05-23 Jim Blandy <[email protected]> |
3142 | ||
3143 | * macrotab.c (check_for_redefinition): Don't complain if the new | |
3144 | definition is the same as the previous one. Take more arguments | |
3145 | to allow the comparison. | |
3146 | (macro_define_object, macro_define_function): Pass more arguments | |
3147 | to check_for_redefinition. | |
3148 | ||
78eac43e MS |
3149 | 2002-05-22 Michael Snyder <[email protected]> |
3150 | ||
3151 | * d10v-tdep.c: Change a few macros to enums for ease of debugging. | |
3152 | (d10v_frame_chain_valid): Add PC_IN_CALL_DUMMY clause. | |
3153 | (d10v_frame_saved_pc): Add PC_IN_CALL_DUMMY clause. | |
3154 | (d10v_frame_chain): Bail immediately if PC_IN_CALL_DUMMY. | |
3155 | Don't bail if return_pc is PC_IN_CALL_DUMMY. | |
3156 | Add a temp variable to save a call (and a memory read). | |
3157 | (d10v_init_extra_frame_info): Get fi->pc from callee's return_pc | |
3158 | if possible (so that PC_IN_CALL_DUMMY will work). | |
3159 | ||
9bc1edb8 CV |
3160 | 2002-05-22 Corinna Vinschen <[email protected]> |
3161 | ||
3162 | * MAINTAINERS: Remove status `OBSOLETE' from v850. | |
3163 | ||
005ef3d2 ML |
3164 | 2002-05-22 Michal Ludvig <[email protected]> |
3165 | ||
3166 | * dwarf2cfi.c (frame_state_for): Added safety check for a valid | |
3167 | fde->cie_ptr. | |
3168 | (dwarf2_build_frame_info): Corrected handling of eh_frame. | |
3169 | (dwarf2_build_frame_info): Add offset to fde->initial_location | |
3170 | so that frames of shared libraries are mapped correctly. | |
6c3eb890 ML |
3171 | (execute_stack_op): Change type of 'result' from ULONGEST to |
3172 | CORE_ADDR. | |
005ef3d2 | 3173 | |
fcf4f891 JT |
3174 | 2002-05-22 Jason Thorpe <[email protected]> |
3175 | ||
3176 | * config/alpha/tm-nbsd.h: Include solib.h. | |
3177 | ||
cfef91e4 JT |
3178 | 2002-05-22 Jason Thorpe <[email protected]> |
3179 | ||
3180 | * alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Don't make | |
3181 | assumptions about the host's byte order. | |
3182 | ||
9964235a JT |
3183 | 2002-05-22 Jason Thorpe <[email protected]> |
3184 | ||
3185 | * Makefile.in (alphanbsd-tdep.o, shnbsd-tdep.o): Add solib-svr4.h | |
3186 | to dependency list. | |
3187 | * alphanbsd-tdep.c: Include solib-svr4.h. | |
3188 | * shnbsd-tdep.c: Ditto. | |
3189 | ||
9eeef8ef JT |
3190 | 2002-05-22 Jason Thorpe <[email protected]> |
3191 | ||
3192 | * Makefile.in (armnbsd-tdep.o): Add solib-svr4.h and | |
3193 | nbsd-tdep.h to dependency list. | |
3194 | * configure.host (arm*-*-netbsdelf*, arm*-*-netbsd*, | |
3195 | i[3456]86-*-netbsdaout*, i[3456]86-*-netbsd*, m68*-*-netbsd*, | |
3196 | ns32k-*-netbsd*, sparc-*-netbsdaout*, sparc-*-netbsd*): Use | |
3197 | nbsdaout.mh and nbsdelf.mh consistently. | |
3198 | * configure.tgt (i[3456]86-*-netbsd*, m68*-*-netbsd*, | |
3199 | ns32k-*-netbsd*, sparc-*-netbsdelf*, sparc-*-netbsd*) Use | |
3200 | nbsdaout.mt and nbsdelf.mh consistently. | |
3201 | * armnbsd-tdep.c: Include nbsd-tdep.h and solib-svr4.h. | |
3202 | (arm_netbsd_elf_init_abi): Use set_solib_svr4_fetch_link_map_offsets | |
3203 | to set nbsd_ilp32_solib_svr4_fetch_link_map_offsets. | |
3204 | * config/nm-nbsd.h: Garbage-collect SVR4_SHARED_LIBS. Move | |
3205 | a.out shared library stuff from here... | |
3206 | * config/nm-nbsdaout.h: ...to here. | |
3207 | * config/tm-nbsd.h: Remove. | |
3208 | * config/alpha/nm-nbsd.h (SVR4_SHARED_LIBS): Remove. | |
3209 | * config/arm/nbsd.mh: Remove. | |
3210 | * config/arm/nbsd.mt (TDEPFILES): Remove solib-sunos.o, add | |
3211 | nbsd-tdep.o. | |
3212 | * config/arm/nbsdaout.mh: New file. | |
3213 | * config/arm/nbsdelf.mh: New file. | |
3214 | * config/arm/nm-nbsdaout.h: New file. | |
3215 | * config/i386/nbsd.mh: Remove. | |
3216 | * config/i386/nbsd.mt: Remove. | |
3217 | * config/i386/nbsdaout.mh: New file. | |
3218 | * config/i386/nbsdaout.mt: New file. | |
3219 | * config/i386/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. | |
3220 | * config/i386/nbsdelf.mt (TM_FILE): Use tm-nbsd.h. | |
3221 | * config/i386/nm-nbsd.h (REGISTER_U_ADDR, | |
3222 | i386_register_u_addr): Remove. | |
3223 | * config/i386/nm-nbsdaout.h: New file. | |
3224 | * config/i386/nm-nbsdelf.h: Remove. | |
3225 | * config/i386/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
3226 | (USE_STRUCT_CONVENTION): Remove. | |
3227 | * config/i386/tm-nbsdaout.h: New file. | |
3228 | * config/i386/tm-nbsdelf.h: Remove. | |
3229 | * config/m68k/nbsd.mh: Remove. | |
3230 | * config/m68k/nbsd.mt: Remove. | |
3231 | * config/m68k/nbsdaout.mh: New file. | |
3232 | * config/m68k/nbsdaout.mt: New file. | |
3233 | * config/m68k/nm-nbsd.h: Use config/nm-nbsd.h. | |
3234 | * config/m68k/nm-nbsdaout.h: New file. | |
3235 | * config/m68k/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
3236 | (IN_SOLIB_CALL_TRAMPOLINE): Define. | |
3237 | * config/ns32k/nbsd.mh: Remove. | |
3238 | * config/ns32k/nbsd.mt: Remove. | |
3239 | * config/ns32k/nbsdaout.mh: New file. | |
3240 | * config/ns32k/nbsdaout.mt: New file. | |
3241 | * config/ns32k/nm-nbsd.h: Include config/nm-nbsd.h. | |
3242 | * config/ns32k/nm-nbsdaout.h: New file. | |
3243 | * config/ns32k/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
3244 | (IN_SOLIB_CALL_TRAMPOLINE): Define. | |
3245 | * config/powerpc/nm-nbsd.h: Include config/nm-nbsd.h. | |
3246 | (SVR4_SHARED_LIBS): Remove. | |
3247 | * config/powerpc/tm-nbsd.h: Dont' include config/tm-nbsd.h. | |
3248 | * config/sparc/nbsd.mh: Remove. | |
3249 | * config/sparc/nbsd.mt: Remove. | |
3250 | * config/sparc/nbsdaout.mh: New file. | |
3251 | * config/sparc/nbsdaout.mt: New file. | |
3252 | * config/sparc/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. | |
3253 | * config/sparc/nbsdelf.mt: New file. | |
3254 | * config/sparc/nm-nbsdaout.h: New file. | |
3255 | * config/sparc/nm-nbsdelf.h: Remove. | |
3256 | * config/sparc/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
3257 | * config/sparc/tm-nbsdaout.h: New file. | |
3258 | ||
257ce470 JT |
3259 | 2002-05-21 Jason Thorpe <[email protected]> |
3260 | ||
3261 | * Makefile.in (ALLDEPFILES): Add mipsnbsd-nat.c and | |
3262 | mipsnbsd-tdep.c | |
3263 | (mipsnbsd-nat.o, mipsnbsd-tdep.o): New dependency lists. | |
3264 | ||
76a6d5fe JT |
3265 | 2002-05-21 Jason Thorpe <[email protected]> |
3266 | ||
3267 | * Makefile.in (ALLDEPFILES): Add shnbsd-tdep.c and | |
3268 | shnbsd-nat.c. | |
3269 | (shnbsd-tdep.o, shnbsd-nat.o): New dependency lists. | |
3270 | ||
45888261 JT |
3271 | 2002-05-21 Jason Thorpe <[email protected]> |
3272 | ||
3273 | * NEWS: Note new MIPS NetBSD native configuration. | |
3274 | * configure.host (mips*-*-netbsd*): New host. | |
3275 | * configure.tgt (mips*-*-netbsd*): New target. | |
3276 | * mipsnbsd-nat.c: New file. | |
3277 | * mipsnbsd-tdep.c: New file. | |
3278 | * mipsnbsd-tdep.h: New file. | |
3279 | * config/mips/nbsd.mh: New file. | |
3280 | * config/mips/nbsd.mt: New file. | |
3281 | * config/mips/nm-nbsd.h: New file. | |
3282 | * config/mips/tm-nbsd.h: New file. | |
3283 | ||
70f80edf JT |
3284 | 2002-05-21 Jason Thorpe <[email protected]> |
3285 | ||
3286 | * Makefile.in (SFILES): Add osabi.c. | |
3287 | (COMMON_OBS): Add osabi.o. | |
3288 | (osabi.o): New dependency list. | |
3289 | * osabi.c: New file. | |
3290 | * osabi.h: New file. | |
3291 | * doc/gdbint.texinfo: Document new generic OS ABI framework. | |
3292 | ||
3293 | * Makefile.in (alpha_tdep_h): Define and use instead of | |
3294 | alpha-tdep.h. | |
3295 | * alpha-tdep.c (alpha_abi_names, process_note_abi_tag_sections, | |
3296 | get_elfosabi, alpha_abi_handler_list, alpha_gdbarch_register_os_abi): | |
3297 | Remove. | |
3298 | (alpha_gdbarch_init, alpha_dump_tdep): Use generic OS ABI framework. | |
3299 | * alpha-tdep.h: Include osabi.h. | |
3300 | (alpha_abi): Remove. | |
3301 | (gdbarch_tdep): Use generic OS ABI framework. | |
3302 | * alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Use | |
3303 | gdbarch_register_osabi. | |
3304 | * alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise. | |
3305 | * alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise. | |
3306 | * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise. | |
3307 | ||
3308 | * Makefile.in (sh_tdep_h): Add osabi.h. | |
3309 | * sh-tdep.h (sh_osabi): Remove. | |
3310 | (gdbarch_tdep): Use generic OS ABI framework. | |
3311 | * sh-tdep.c (sh_osabi_names, process_note_abi_tag_sections, | |
3312 | sh_osabi_handler_list, sh_gdbarch_register_os_abi): Remove. | |
3313 | (sh_gdbarch_init, sh_dump_tdep): Use generic OS ABI framework. | |
3314 | * shnbsd-tdep.c (_initialize_shnbsd_tdep): Use gdbarch_register_osabi. | |
3315 | ||
3316 | * Makefile.in (arm_tdep_h): Define and use instead of arm-tdep.h. | |
3317 | * arm-linux-tdep.c (_initialize_arm_linux_tdep): Use | |
3318 | gdbarch_register_osabi. | |
3319 | * arm-tdep.c (arm_abi_names, process_note_abi_tag_sections, | |
3320 | arm_abi_handler_list, arm_gdbarch_register_os_abi): Remove. | |
3321 | (get_elfosabi): Rename to... | |
3322 | (arm_elf_osabi_sniffer): ...this. Adjust to use generic OS | |
3323 | ABI framework support routines. | |
3324 | (arm_gdbarch_init): Use generic OS ABI framework. | |
3325 | (arm_dump_tdep): Likewise. | |
3326 | (_initialize_arm_tdep): Likewise. | |
3327 | * arm-tdep.h: Include osabi.h. | |
3328 | (arm_abi): Remove. | |
3329 | (gdbarch_tdep): Remove arm_abi and abi_name members. Add | |
3330 | osabi member. | |
3331 | (arm_gdbarch_register_os_abi): Remove prototype. | |
3332 | * armnbsd-tdep.c (arm_netbsd_aout_osabi_sniffer): New function. | |
3333 | (_initialize_arm_netbsd_tdep): Use gdbarch_register_osabi. | |
3334 | ||
3335 | * Makefile.in (mips-tdep.o): Add osabi.h to dependency list. | |
3336 | * mips-tdep.c: Include osabi.h. | |
3337 | (gdbarch_tdep, mips_gdbarch_init, mips_dump_tdep): Use generic | |
3338 | OS ABI framework. | |
3339 | ||
d194345b KH |
3340 | 2002-05-20 Kazu Hirata <[email protected]> |
3341 | ||
3342 | * h8300-tdep.c: Fix formatting. | |
3343 | ||
70c6b0d1 EZ |
3344 | 2002-05-20 Elena Zannoni <[email protected]> |
3345 | ||
3346 | * rs6000-tdep.c (rs6000_do_registers_info): Simplify code for | |
3347 | printing vector registers. | |
3348 | ||
165b8e33 AC |
3349 | 2002-05-19 Andrew Cagney <[email protected]> |
3350 | ||
3351 | From Fernando Nasser: | |
3352 | * remote.c (remote_async_open_1): Re-throw the exception when the | |
3353 | connection fails. | |
3354 | (remote_cisco_open): Ditto. | |
3355 | (remote_open_1): Ditto. | |
3356 | ||
36918e70 AC |
3357 | 2002-05-19 Andrew Cagney <[email protected]> |
3358 | ||
3359 | * remote.c (remote_start_remote_dummy): Add uiout parameter. | |
3360 | (remote_start_remote): Add uiout parameter. Pass through to | |
3361 | remote_start_remote_dummy. | |
3362 | (remote_open_1): Use catch_exception instead of catch_errors. | |
3363 | (remote_async_open_1): Ditto. | |
3364 | (remote_cisco_open): Ditto. | |
3365 | ||
ae44c0c4 AC |
3366 | 2002-05-19 Andrew Cagney <[email protected]> |
3367 | ||
3368 | * remote.c (remote_start_remote): Replace PTR with void pointer. | |
3369 | (sigint_remote_twice_token, sigint_remote_token): Ditto. Make | |
3370 | static. | |
3371 | ||
8efe637d AC |
3372 | 2002-05-18 Andrew Cagney <[email protected]> |
3373 | ||
3374 | * gdb_indent.sh: Allow the script to be run in the sim directory. | |
3375 | ||
2f1b5984 MK |
3376 | 2002-05-18 Mark Kettenis <[email protected]> |
3377 | ||
f0f625e2 MK |
3378 | * config/i386/nm-cygwin.h (NO_PTRACE_H): Remove define. |
3379 | * config/i386/nm-go32.h (NO_PTRACE_H): Remove define. | |
3380 | ||
2f1b5984 MK |
3381 | * corelow.c (core_open): Only call set_gdbarch_from_file if |
3382 | exec_bfd is NULL. | |
3383 | ||
fc974602 AV |
3384 | 2002-05-17 Andrey Volkov <[email protected]> |
3385 | ||
3386 | * h8300-tdep.c: Add support of EXR register | |
3387 | * config/h8300/tm-h8300.h: Ditto. | |
3388 | ||
906709f4 AV |
3389 | 2002-05-17 Andrey Volkov <[email protected]> |
3390 | ||
3391 | * h8300-tdep.c: Add additional CCR flags (I,UI,H,U) | |
3392 | ||
6e591d68 AV |
3393 | 2002-05-17 Andrey Volkov <[email protected]> |
3394 | ||
3395 | * h8300-tdep.c: Change literal regnums to REGNO. | |
3396 | ||
84f0252a JB |
3397 | 2002-05-17 Jim Blandy <[email protected]> |
3398 | ||
e0e9281e JB |
3399 | * NEWS: Note addition of macro support. |
3400 | ||
84f0252a JB |
3401 | Expand preprocessor macros in C expressions. |
3402 | * c-lang.h: #include "macroexp.h", for macro_lookup_ftype. | |
3403 | (scan_macro_expansion, scanning_macro_expansion, | |
3404 | finished_macro_expansion): New function declarations. | |
3405 | (expression_macro_lookup_func, expression_macro_lookup_baton): New | |
3406 | variable declarations. | |
3407 | * parser-defs.h (expression_context_pc): New declaration. | |
3408 | * parse.c (expression_context_pc): New variable. | |
3409 | (parse_exp_1): Set expression_context_pc, as well as | |
3410 | expression_context_block. | |
3411 | * c-exp.y (yylex): If we're not already reading the result of a | |
3412 | macro expansion, try to macro-expand the next token. When we're | |
3413 | done scanning a macro expansion, switch back to the mainline text. | |
3414 | Commas and `if's in a macro's expansion don't terminate the input. | |
3415 | * c-lang.c: #include "macroscope.h" and "gdb_assert.h". | |
3416 | (macro_original_text, macro_expanded_text, | |
3417 | expression_macro_lookup_func, expression_macro_lookup_baton): New | |
3418 | variables. | |
3419 | (scan_macro_expansion, scanning_macro_expansion, | |
3420 | finished_macro_expansion, scan_macro_cleanup, null_macro_lookup, | |
3421 | c_preprocess_and_parse): New functions. | |
3422 | (c_language_defn, cplus_language_defn, asm_language_defn): Call | |
3423 | c_preprocess_and_parse, instead of c_parse. | |
3424 | * Makefile.in (c_lang_h): Note that this #includes macroexp.h. | |
3425 | (c-lang.o): Note dependency on macroscope.h and gdb_assert.h. | |
3426 | ||
1c509ca8 JR |
3427 | Fri May 17 14:26:19 2002 J"orn Rennecke <[email protected]> |
3428 | ||
3429 | * sh-tdep.c (gdb_print_insn_sh64): Delete. | |
3430 | (gdb_print_insn_sh): Just set info->endian and use print_insn_sh. | |
3431 | (sh_gdbarch_init): Always use gdb_print_insn_sh. | |
3432 | ||
2250ee0c CV |
3433 | 2002-05-17 Corinna Vinschen <[email protected]> |
3434 | ||
3435 | * NEWS: Add section for multi-arched targets. Add v850 to that section. | |
3436 | ||
ab3b8126 JT |
3437 | 2002-05-17 Jason Thorpe <[email protected]> |
3438 | ||
3439 | * Makefile.in (sh_tdep_h): Define and use. | |
3440 | * config/sh/tm-sh.h (sh_osabi, sh_abi, gdbarch_tdep, | |
3441 | register enum): Move to... | |
3442 | * * sh-tdep.h: ...here. | |
3443 | * sh-tdep.c: Include sh-tdep.h. | |
3444 | * sh3-rom.c: Likewise. | |
3445 | * shnbsd-tdep.c: Likewise. | |
3446 | ||
ed9d4749 MS |
3447 | 2002-05-16 Michael Snyder <[email protected]> |
3448 | ||
3449 | * arm-tdep.c: Spelling fix in comment. | |
3450 | ||
2e276125 JB |
3451 | 2002-05-16 Jim Blandy <[email protected]> |
3452 | ||
6821892e JB |
3453 | Add commands for manually expanding macros and showing their |
3454 | definitions. | |
3455 | * macrocmd.c, macroscope.c, macroscope.h: New files. | |
3456 | * Makefile.in (SFILES): Add macrocmd.c, macroscope.c. | |
3457 | (macroscope_h): New variable. | |
3458 | (HFILES_NO_SRCDIR): Add macroscope.h. | |
3459 | (COMMON_OBS): Add macrocmd.o, macroscope.o. | |
3460 | (macroscope.o, macrocmd.o): New rules. | |
3461 | ||
2e276125 JB |
3462 | Teach the Dwarf 2 reader to read macro information. |
3463 | * dwarf2read.c: #include "macrotab.h". | |
3464 | (dwarf_macinfo_buffer): New variable. | |
3465 | (struct dwarf2_pinfo): New members: dwarf_macinfo_buffer, and | |
3466 | dwarf_macinfo_size. | |
3467 | (DWARF_MACINFO_BUFFER, DWARF_MACINFO_SIZE): New macros. | |
3468 | (dwarf2_missing_macinfo_section, dwarf2_macros_too_long, | |
3469 | dwarf2_macros_not_terminated, dwarf2_macro_outside_file, | |
3470 | dwarf2_macro_unmatched_end_file, dwarf2_macro_malformed_definition, | |
3471 | dwarf2_macro_spaces_in_definition): New complaints. | |
3472 | (dwarf2_has_info): Initialize dwarf_macinfo_offset. | |
3473 | (dwarf2_build_psymtabs): Read the .dwarf_macinfo section. | |
3474 | (dwarf2_build_psymtabs_hard): Record the buffer and its size in | |
3475 | the partial symbol table. | |
3476 | (psymtab_to_symtab_1): Set the macinfo buffer and size globals | |
3477 | from what's recorded in the partial symbol table. | |
3478 | (read_file_scope): If the compilation unit has a | |
3479 | `DW_AT_macro_info' attribute, read its macro information. | |
3480 | * Makefile.in (dwarf2read.o): Depend on macrotab.h. | |
3481 | ||
2f53fe6c DJ |
3482 | 2002-05-16 Daniel Jacobowitz <[email protected]> |
3483 | ||
3484 | Fix PR gdb/546 | |
3485 | * ser-tcp.c: Don't include <netinet/udp.h>. | |
3486 | ||
2be99286 SC |
3487 | 2002-05-16 Stephane Carrez <[email protected]> |
3488 | ||
3489 | * MAINTAINERS: Update my email address. | |
3490 | ||
c9af212b | 3491 | 2002-05-16 Richard Earnshaw <[email protected]> |
8501bbeb RE |
3492 | |
3493 | * config/arm/nm-nbsd.h: Use "config/nm-nbsd.h" to include generic | |
3494 | include file of the same name. | |
3495 | ||
bf5f1a52 CV |
3496 | 2002-05-16 Corinna Vinschen <[email protected]> |
3497 | ||
3498 | * configure.tgt: Mark v850 as multi-arched. | |
3499 | * config/v850/tm-v850.h: Remove file. | |
3500 | * config/v850/v850.mt: Eliminate TM_FILE. | |
3501 | ||
435e042a CV |
3502 | 2002-05-16 Corinna Vinschen <[email protected]> |
3503 | ||
3504 | * v850-tdep.c: Full multi-arch. | |
3505 | * config/v850/tm-v850.h: Eliminate or move to v850-tdep.c everything. | |
3506 | Define GDB_MULTI_ARCH to 2. | |
3507 | ||
9819c6c8 PM |
3508 | 2002-05-16 Pierre Muller <[email protected]> |
3509 | ||
3510 | * p-exp.y (current_type): New static variable. | |
3511 | Carries the type of the expression at the position that is parsed. | |
3512 | (push_current_type, pop_current_type): Two new functions. Used | |
3513 | to store/restore current_type in expression on specific tokens. | |
c9af212b RE |
3514 | (search_field): New static variable. Set to one after parsing a point |
3515 | as at that point only a FIELDNAME token should be searched. | |
9819c6c8 PM |
3516 | (FIELDNAME): New token. After a point only a token belonging to |
3517 | current_type type definition is allowed. | |
3518 | (all over token rules): reset and change current_type according | |
3519 | to rules. | |
3520 | (exp '[' rule): insert implicit array index field if | |
3521 | exp is a pascal string type. | |
3522 | ||
3a06899a CV |
3523 | 2002-05-16 Corinna Vinschen <[email protected]> |
3524 | ||
3525 | * v850-tdep.c: Fix comment for v850_scan_prologue. Remove extra | |
3526 | frame info. Use frame_info's saved_regs instead of matching member | |
3527 | in extra_frame_info throughout. | |
3528 | (v850_frame_init_saved_regs): New function. | |
3529 | (v850_init_extra_frame_info): Move most functionality into | |
3530 | v850_frame_init_saved_regs(). | |
3531 | * config/v850/tm-v850.h (EXTRA_FRAME_INFO): Remove definition. | |
3532 | (v850_frame_find_saved_regs): Remove declaration. | |
3533 | (FRAME_FIND_SAVED_REGS): Remove definition. | |
3534 | (v850_frame_init_saved_regs): Add declaration. | |
3535 | (FRAME_INIT_SAVED_REGS): Add definition. | |
3536 | ||
6ed14b0e CV |
3537 | 2002-05-16 Corinna Vinschen <[email protected]> |
3538 | ||
3539 | * v850-tdep.c: Begin multi-arch'ing v850. | |
3540 | (v850_target_architecture_hook): Remove function. | |
3541 | (v850_gdbarch_init): New function. Add code previously in | |
3542 | v850_target_architecture_hook(). | |
3543 | (_initialize_v850_tdep): Don't set target_architecture_hook. | |
3544 | Call register_gdbarch_init() instead. | |
3545 | ||
42725910 DJ |
3546 | 2002-05-16 Daniel Jacobowitz <[email protected]> |
3547 | ||
3548 | * gdbtypes.h (struct cplus_struct_type): Remove args field. | |
3549 | * hpread.c (hpread_read_struct_type): Remove assignments to args. | |
3550 | (fixup_class_method_type): Likewise. | |
3551 | ||
0bc68c49 DJ |
3552 | 2002-05-15 Daniel Jacobowitz <[email protected]> |
3553 | ||
3554 | From Martin Pool <[email protected]>: | |
3555 | * gdbserver/server.c (gdbserver_usage): New function. | |
3556 | (main): Call it. | |
3557 | ||
99d9066e JB |
3558 | 2002-05-15 Jim Blandy <[email protected]> |
3559 | ||
3560 | Add macro structures to GDB's symbol tables. Nobody puts anything | |
3561 | in them yet. | |
3562 | * symtab.h (struct symtab): New member: `macro_table'. | |
3563 | * buildsym.h (pending_macros): New global variable. | |
3564 | * buildsym.c: #include "macrotab.h". | |
3565 | (buildsym_init): Initialize `pending_macros'. | |
3566 | (end_symtab): If we found macro information while reading a CU's | |
3567 | debugging info, do build a symtab structure for it. Make the | |
3568 | symtab point to the macro information, and clear the | |
3569 | `pending_macros' pointer which held it while we were reading the | |
3570 | debug info. | |
3571 | (really_free_pendings): Free any pending macro table. | |
3572 | * objfiles.h (struct objfile): New member: `macro_cache'. | |
3573 | * objfiles.c (allocate_objfile): Set allocate and free functions | |
3574 | for the macro cache's objstack. | |
3575 | (free_objfile): Empty the macro cache's obstack. | |
3576 | * symfile.c (reread_symbols): Empty the macro cache's obstack, and | |
3577 | set new allocate and free functions for it. | |
3578 | * solib-sunos.c (allocate_rt_common_objfile): Set allocate and | |
3579 | free functions for the macro cache's objstack. (Why is this | |
3580 | function building its own objfile?) | |
3581 | * symmisc.c (print_objfile_statistics): Print statistics on the | |
3582 | macro bcache. | |
3583 | * Makefile.in: Note that buildsym.o depends on macrotab.h. | |
3584 | ||
c899585b RE |
3585 | 2002-05-15 Richard Earnshaw <[email protected]> |
3586 | ||
3587 | * config/arm/nm-nbsd.h: Use <> for include of config/nm-nbsd.h. | |
3588 | (REGISTER_U_ADDR): Delete definition. | |
3589 | (arm_register_u_addr): Delete declaration. | |
3590 | ||
a6cdd8c5 RE |
3591 | 2002-05-15 Richard Earnshaw <[email protected]> |
3592 | ||
3593 | * arm-linux-tdep.c (ARM_LINUX_JB_PC): Renamed from JB_PC. | |
3594 | (ARM_LINUX_JB_ELEMENT_SIZE): Likewise. | |
3595 | ||
fd3a5ca1 DJ |
3596 | 2002-05-14 Daniel Jacobowitz <[email protected]> |
3597 | ||
3598 | * gdbserver/mem-break.c (reinsert_breakpoint_by_bp): Correct typo | |
3599 | stop_at -> stop_pc. | |
3600 | ||
c97dcfc7 AC |
3601 | 2002-05-14 Andrew Cagney <[email protected]> |
3602 | ||
3603 | * regcache.c (register_valid): Revise comments refering to "Not | |
3604 | available" and "unavailable". | |
3605 | * frame.c (frame_register_read): Ditto. | |
3606 | * findvar.c (value_of_register): Ditto. | |
3607 | ||
93021b7d AC |
3608 | 2002-05-15 Andrew Cagney <[email protected]> |
3609 | ||
3610 | * Makefile.in (remote_sim_h): Replace remote-sim_h. | |
3611 | (remote-sim.o): Update dependencies. | |
3612 | (d10v-tdep.o): Specify dependencies. | |
3613 | (sim_d10v_h): Define. | |
3614 | ||
a86bc61c JB |
3615 | 2002-05-14 Jim Blandy <[email protected]> |
3616 | ||
3617 | * macroexp.c (init_buffer, gather_arguments, expand): Use NULL, not 0. | |
3618 | * macrotab.c (macro_lookup_inclusion, find_definition, | |
3619 | new_macro_table): Same. | |
3620 | ||
3621 | * macroexp.c (currently_rescanning, expand): Use `strcmp () == 0', | |
3622 | not `! strcmp ()'. This is a dubious improvement. | |
3623 | * macrotab.c (macro_lookup_inclusion, find_definition): Same. | |
3624 | ||
3625 | * macrotab.c (macro_lookup_inclusion): Initialize `best_depth', | |
3626 | although it's not necessary, to avoid a warning. | |
3627 | ||
2fdde8f8 DJ |
3628 | 2002-05-14 Daniel Jacobowitz <[email protected]> |
3629 | ||
3630 | * gdbtypes.h: Update accessor macros to use TYPE_MAIN_TYPE. | |
3631 | (TYPE_CONST, TYPE_VOLATILE, TYPE_CODE_SPACE, TYPE_DATA_SPACE): Use | |
3632 | TYPE_INSTANCE_FLAGS. | |
3633 | (struct main_type): New. | |
3634 | (struct type): Move most members to struct main_type. Change | |
3635 | cv_type and as_type to new type_chain member. Add instance_flags. | |
3636 | (TYPE_MAIN_TYPE, TYPE_CHAIN, TYPE_INSTANCE_FLAGS): New macros. | |
3637 | (TYPE_CV_TYPE, TYPE_AS_TYPE): Remove. | |
3638 | (finish_cv_type): Remove prototype. | |
3639 | * gdbtypes.c (alloc_type): Update comment. Allocate TYPE_MAIN_TYPE. | |
3640 | Set TYPE_CHAIN. | |
3641 | (alloc_type_instance): New function. | |
3642 | (smash_type): New function. | |
3643 | (make_pointer_type, make_reference_type, make_function_type) | |
3644 | (smash_to_member_type, smash_to_method_type): Call smash_type. | |
3645 | (make_qualified_type): New function. | |
3646 | (make_type_with_address_space): Call make_qualified_type. | |
3647 | (make_cv_type): Likewise. | |
3648 | (finish_cv_type): Remove unnecessary function. | |
3649 | (replace_type): Update comment. Copy TYPE_MAIN_TYPE. | |
3650 | (recursive_dump_type): Dump TYPE_CHAIN and TYPE_INSTANCE_FLAGS; | |
3651 | remove TYPE_CV_TYPE and TYPE_AS_TYPE. | |
3652 | * c-typeprint.c (c_type_print_modifier): Use TYPE_INSTANCE_FLAGS. | |
3653 | * dwarf2read.c (read_structure_scope): Don't call finish_cv_type. | |
3654 | * hpread.c (hpread_read_struct_type): Likewise. | |
3655 | * stabsread.c (read_struct_type): Likewise. | |
3656 | ||
843fedf4 EZ |
3657 | 2002-05-14 Elena Zannoni <[email protected]> |
3658 | ||
3659 | * configure.tgt: Add a catch all sh* target, for cases like | |
3660 | sh[2,3,4]-elf and sh-hms. | |
3661 | ||
05a6c72c KS |
3662 | 2002-05-14 Keith Seitz <[email protected]> |
3663 | ||
3664 | * event-loop.c (create_file_handler): Don't do anything but | |
3665 | update data when we are given a fd which we are already | |
3666 | monitoring. | |
3667 | ||
5d085aaf ML |
3668 | 2002-05-14 Michal Ludvig <[email protected]> |
3669 | ||
3670 | * dwarf2cfi.c (context_cpy): Copy registers correctly. | |
3671 | (update_context): Use __func__ in warnings. | |
3672 | ||
9db8d71f DJ |
3673 | 2002-05-14 Daniel Jacobowitz <[email protected]> |
3674 | ||
3675 | * ser-tcp.c: Include <netinet/udp.h>. Rename tcp_open | |
3676 | and tcp_close to net_open and net_close. | |
3677 | (net_open): Accept "udp:" and "tcp:" specifications. Connect | |
3678 | using UDP if requested. Don't try to disable Nagle on UDP | |
3679 | sockets. | |
3680 | * remote.c (remote_serial_open): New function. Warn about UDP. | |
3681 | (remote_open_1, remote_async_open_1, remote_cisco_open): Call it. | |
3682 | ||
5dbc6baa EZ |
3683 | 2002-05-13 Elena Zannoni <[email protected]> |
3684 | ||
3685 | * MAINTAINERS: List sh-elf as buildable with ,-Werror. | |
3686 | ||
cc3023f7 EZ |
3687 | 2002-05-13 Elena Zannoni <[email protected]> |
3688 | ||
3689 | * configure.tgt: Remove sh-hms target. | |
3690 | * MAINTAINERS: Don't list sh-hms as a separate target. | |
3691 | ||
ec2bcbe7 JB |
3692 | 2002-05-13 Jim Blandy <[email protected]> |
3693 | ||
3694 | Add first preprocessor macro-expansion files. | |
3695 | * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. | |
3696 | * Makefile.in (SFILES): Add macrotab.c, macroexp.c. | |
3697 | (splay_tree_h, macroexp_h, macrotab_h): New variable. | |
3698 | (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. | |
3699 | (COMMON_OBS): Add macrotab.o, macroexp.o. | |
3700 | (macroexp.o, macrotab.o): New rules. | |
3701 | ||
6d531722 AC |
3702 | 2002-05-13 Andrew Cagney <[email protected]> |
3703 | ||
3704 | * config/m88k/tm-m88k.h: Update copyright. | |
3705 | (m88k_target_write_pc): Declare | |
3706 | (TARGET_WRITE_PC): Redefine using m88k_target_write_pc. | |
3707 | (M88K_NNPC_REGNUM): Rename NNPC_REGNUM. | |
3708 | (SHIFT_INST_REGS): Update definition. | |
3709 | * m88k-tdep.c (m88k_target_write_pc): New function. Implement | |
3710 | using old definition of TARGET_WRITE_PC. | |
3711 | * regcache.c (generic_target_write_pc): Delete code handling | |
3712 | NNPC_REGNUM. | |
3713 | * gdbarch.sh (NNPC_REGNUM): Delete. | |
3714 | * gdbarch.h, gdbarch.c: Regenerate. | |
3715 | ||
3e3f2739 RE |
3716 | 2002-05-13 Richard Earnshaw <[email protected]> |
3717 | ||
3718 | * builtin-regs.c (value_of_builtin_reg): Correctly calculate the | |
3719 | builtin reg number. | |
3720 | ||
0004e5a2 DJ |
3721 | 2002-05-13 Daniel Jacobowitz <[email protected]> |
3722 | ||
3723 | * ax-gdb.c (gen_sign_extend, gen_fetch, gen_usual_unary) | |
3724 | (gen_cast, gen_scale, gen_add, gen_sub, gen_binop, gen_deref) | |
3725 | (gen_address_of, gen_struct_ref, gen_repeat): Use type | |
3726 | access macros. | |
3727 | * c-typeprint.c (cp_type_print_method_args): Likewise. | |
3728 | (c_type_print_args): Likewise. | |
3729 | * d10v-tdep.c (d10v_push_arguments): Likewise. | |
3730 | (d10v_extract_return_value): Likewise. | |
3731 | * expprint.c (print_subexp): Likewise. | |
3732 | * gdbtypes.c (lookup_primitive_typename): Likewise. | |
3733 | (lookup_template_type, add_mangled_type, print_arg_types): Likewise. | |
3734 | * gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_STUB) | |
3735 | (TYPE_TARGET_STUB, TYPE_STATIC, TYPE_CONST, TYPE_VOLATILE) | |
3736 | (TYPE_PROTOTYPED, TYPE_INCOMPLETE, TYPE_CODE_SPACE, TYPE_VARARGS) | |
3737 | (TYPE_VECTOR): Likewise. | |
3738 | * hpread.c (hpread_read_struct_type) | |
3739 | (fix_static_member_physnames, fixup_class_method_type) | |
3740 | (hpread_type_lookup): Likewise. | |
3741 | * mdebugread.c (parse_symbol, parse_type): Likewise. | |
3742 | * p-lang.c (is_pascal_string_type): Likewise. | |
3743 | * valops.c (hand_function_call): Likewise. | |
3744 | * x86-64-tdep.c (classify_argument): Likewise. | |
3745 | ||
3746 | * hpread.c (hpread_read_function_type) | |
3747 | (hpread_read_doc_function_type): Call replace_type. | |
3748 | * dstread.c (create_new_type): Delete. | |
3749 | (decode_dst_structure, process_dst_function): Call alloc_type. | |
3750 | Use type access macros. | |
3751 | ||
dff95cc7 MK |
3752 | 2002-05-12 Mark Kettenis <[email protected]> |
3753 | ||
3754 | * i387-tdep.c (i387_supply_fxsave): Skip the SSE registers if | |
3755 | the're not supported by the current architecture. | |
3756 | (i387_fill_fxsave): Likewise. | |
3757 | ||
bbcd32ad FF |
3758 | 2002-05-12 Fred Fish <[email protected]> |
3759 | ||
3760 | * symfile.c (default_symfile_offsets): Arrange for uninitialized | |
3761 | sect_index_xxx members to index the first slot in section_offsets | |
3762 | if all of the section_offsets are zero. | |
3763 | ||
89cf4787 MK |
3764 | 2002-05-12 Mark Kettenis <[email protected]> |
3765 | ||
3766 | * configure.tgt (sparc-*openbsd): Remove entry accidentially | |
3767 | checked in with last change. | |
3768 | ||
1f77ffc5 MK |
3769 | 2002-05-12 Mark Kettenis <[email protected]> |
3770 | ||
3771 | * configure.tgt (i[3456]86-*-unixware*, i[3456]86-*-unixware2*): | |
3772 | Remove targets. These are canonicalized to i386-*-sysv4.2uw by | |
3773 | config.sub. | |
3774 | ||
89b8b4a9 DJ |
3775 | 2002-05-12 Daniel Jacobowitz <[email protected]> |
3776 | ||
3777 | * Makefile.in: Update dependencies. | |
3778 | ||
14a5e767 AC |
3779 | 2002-05-11 Andrew Cagney <[email protected]> |
3780 | ||
3781 | * language.c (local_hex_string_custom): Simplify. Do not depend | |
3782 | on PRINTF_HAS_LONG_LONG or CC_HAS_LONG_LONG. | |
3783 | ||
3784 | * memattr.c (mem_info_command): Replace calls to | |
3785 | longest_local_hex_string and longest_local_hex_string_custom. | |
3786 | * buildsym.c (make_blockvector): Ditto. | |
3787 | * solib.c (info_sharedlibrary_command): Ditto. | |
3788 | * tracepoint.c (tracepoints_info): Ditto. | |
3789 | * symtab.c (print_msymbol_info): Ditto. | |
3790 | ||
3791 | * language.c (local_hex_string): Delete. | |
3792 | (local_hex_string_custom): Delete. | |
3793 | (longest_local_hex_string): Rename to local_hex_string. | |
3794 | (longest_local_hex_string_custom): Rename to | |
3795 | local_hex_string_custom. | |
3796 | * language.h (local_hex_string): Change parameter type to LONGEST. | |
3797 | (local_hex_string_custom): Ditto. | |
3798 | (longest_local_hex_string): Delete declaration. | |
3799 | (longest_local_hex_string_custom): Ditto. | |
3800 | ||
3801 | * solib.c: Update copyright. | |
3802 | * memattr.c: Update copyright. | |
3803 | ||
13d01224 AC |
3804 | 2002-05-11 Andrew Cagney <[email protected]> |
3805 | ||
3806 | * arch-utils.h (legacy_register_to_value): Declare. | |
3807 | (legacy_value_to_register): Declare. | |
3808 | (legacy_convert_register_p): Declare. | |
3809 | * arch-utils.c (legacy_register_to_value): New function. | |
3810 | (legacy_value_to_register): New function. | |
3811 | (legacy_convert_register_p): New function. | |
3812 | ||
3813 | * gdbarch.sh (REGISTER_TO_VALUE): Define. | |
3814 | (VALUE_TO_REGISTER): Define. | |
3815 | (CONVERT_REGISTER_P): Define. | |
3816 | * gdbarch.h, gdbarch.c: Regenerate. | |
3817 | ||
3818 | * valops.c (value_assign): Use CONVERT_REGISTER_P and | |
3819 | VALUE_TO_REGISTER. | |
3820 | * findvar.c (value_from_register): Use REGISTER_TO_VALUE and | |
3821 | CONVERT_REGISTER_P. | |
3822 | ||
4a1970e4 DJ |
3823 | 2005-05-11 Daniel Jacobowitz <[email protected]> |
3824 | Peter Schauer <[email protected]> | |
3825 | ||
3826 | * Makefile.in: Update dependencies for valops.c. | |
3827 | * valops.c: Include "gdb_assert.h". | |
3828 | (typecmp): Skip THIS parameter to methods. | |
3829 | (find_method_list): Remove static_memfuncp argument, | |
3830 | update callers. Check for stub methods. | |
3831 | (find_value_oload_method_list): Don't set *static_memfuncp. | |
3832 | (find_overload_match): Don't check for stub methods. Assert | |
3833 | that methods are not stubbed. Handle static methods. | |
3834 | (value_find_oload_method_list): Remove static_memfuncp argument. | |
3835 | * gdbtypes.c (check_stub_method): Do not add THIS pointer | |
3836 | to the argument list for static stub methods. | |
3837 | * value.h (value_find_oload_method_list): Update prototype. | |
3838 | ||
b2e75d78 AC |
3839 | 2002-05-11 Andrew Cagney <[email protected]> |
3840 | ||
3841 | * arch-utils.h (generic_register_size): Declare. | |
3842 | (generic_register_raw_size, generic_register_virtual_size): Delete | |
3843 | declarations. | |
3844 | * arch-utils.c (generic_register_raw_size): Delete. | |
3845 | (generic_register_size): New function. | |
3846 | (generic_register_virtual_size): Delete. | |
3847 | ||
3848 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Make | |
3849 | default generic_register_size. | |
3850 | * gdbarch.h, gdbarch.c: Re-generate. | |
3851 | ||
3852 | * d10v-tdep.c (d10v_gdbarch_init): Use generic_register_size for | |
3853 | register_virtual_size. | |
3854 | * x86-64-tdep.c (x86_64_gdbarch_init): Ditto. | |
3855 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
3856 | ||
451fbdda AC |
3857 | 2002-05-11 Andrew Cagney <[email protected]> |
3858 | ||
3859 | * gdbarch.sh (gdbarch_data): Add gdbarch parameter. | |
3860 | * gdbarch.h, gdbarch.c: Regenerate. | |
3861 | * gnu-v3-abi.c: Update copyright. | |
3862 | (vtable_address_point_offset): Update. | |
3863 | (gnuv3_rtti_type): Update. | |
3864 | (gnuv3_baseclass_offset): Update. | |
3865 | * solib-svr4.c (svr4_fetch_link_map_offsets): Update. | |
3866 | (init_fetch_link_map_offsets): Update. | |
3867 | * remote.c (get_remote_state): Update. | |
3868 | ||
6d2f5cea DJ |
3869 | 2002-05-11 Daniel Jacobowitz <[email protected]> |
3870 | ||
3871 | * TODO: Remove value_headof/value_from_vtable_info comment. | |
3872 | * printcmd.c (print_command_1): Don't call value_from_vtable_info. | |
3873 | * values.c (value_headof, value_from_vtable_info): Delete. | |
3874 | * value.h (value_from_vtable_info): Delete prototype. | |
3875 | ||
d2324da4 AC |
3876 | 2002-05-11 Andrew Cagney <[email protected]> |
3877 | ||
3878 | * Makefile.in: Replace gdb_assert.h with $(gdb_assert_h), | |
3879 | gdb_string.h with $(gdb_string_h) and gdb_regex.h with | |
3880 | $(gdb_regex_h). | |
3881 | (gdb_assert_h): Define. | |
3882 | (gdb_wait_h): Define. | |
3883 | (gdb_regex_h): Define. | |
3884 | ||
5c717440 DJ |
3885 | 2002-05-11 Daniel Jacobowitz <[email protected]> |
3886 | ||
3887 | From Peter Schauer <[email protected]>: | |
3888 | * linespec.c (find_methods): Handle GCC 3.x template constructors. | |
3889 | ||
6c7861b3 JT |
3890 | 2002-05-11 Jason Thorpe <[email protected]> |
3891 | ||
3892 | * nbsd-tdep.c: Fix comment. | |
3893 | ||
ea5bc2a6 JT |
3894 | 2002-05-11 Jason Thorpe <[email protected]> |
3895 | ||
3896 | * Makefile.in (ALLDEPFILES): Add nbsd-tdep.c. | |
3897 | (alphanbsd-tdep.o): Add nbsd-tdep.h to dependency list. | |
3898 | (nbsd-tdep.o): New dependency list. | |
3899 | * alphanbsd-tdep.c: Don't include solib-svr4.h. Include | |
3900 | nbsd-tdep.h. | |
3901 | (alphanbsd_solib_svr4_fetch_link_map_offsets): Remove. | |
3902 | (alphanbsd_init_abi): Use nbsd_lp64_solib_svr4_fetch_link_map_offsets. | |
3903 | * nbsd-tdep.c: New file. | |
3904 | * nbsd-tdep.h: New file. | |
3905 | * shnbsd-tdep.c: Don't include solib-svr4.h. Include | |
3906 | nbsd-tdep.h. | |
3907 | (shnbsd_solib_svr4_fetch_link_map_offsets): Remove. | |
3908 | (shnbsd_init_abi): Use nbsd_ilp32_solib_svr4_fetch_link_map_offsets. | |
3909 | * config/alpha/nbsd.mt (TDEPFILES): Add nbsd-tdep.o. | |
3910 | * config/sh/nbsd.mt (TDEPFILES): Ditto. | |
3911 | ||
b28da865 JT |
3912 | 2002-05-11 Jason Thorpe <[email protected]> |
3913 | ||
3914 | * config/alpha/nbsd.mh (NATDEPFILES): Remove corelow.o. | |
3915 | * config/alpha/nbsd.mt (TDEPFILES): Add corelow.o. | |
3916 | * config/i386/nbsd.mh (NATDEPFILES): Remove corelow.o. | |
3917 | * config/i386/nbsd.mt (TDEPFILES): Add corelow.o. | |
3918 | * config/i386/nbsdelf.mh (NATDEPFILES): Remove corelow.o. | |
3919 | * config/i386/nbsdelf.mt (TDEPFILES): Add corelow.o. | |
3920 | ||
4b8ff1fa JT |
3921 | 2002-05-11 Jason Thorpe <[email protected]> |
3922 | ||
3923 | * config/i386/nbsd.mh (NATDEPFILES): Use line continuations. | |
3924 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
3925 | * config/m68k/nbsd.mh (NATDEPFILES): Likewise. | |
3926 | * config/ns32k/nbsd.mh (NATDEPFILES): Likewise. | |
3927 | * config/powerpc/nbsd.mh (NATDEPFILES): Likewise. | |
3928 | * config/sparc/nbsd.mh (NATDEPFILES): Likewise. | |
3929 | * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise. | |
3930 | ||
dfe6eb1f JT |
3931 | 2002-05-11 Jason Thorpe <[email protected]> |
3932 | ||
3933 | * i386nbsd-nat.c: Delete file. Move fetch_core_registers and | |
3934 | fetch_elfcore_registers to... | |
3935 | * i386nbsd-tdep.c: ...here. | |
3936 | (i386nbsd_use_struct_convention): Rename to... | |
3937 | (i386nbsd_aout_use_struct_convention): ...this. | |
3938 | (i386nbsd_supply_reg): New function. | |
3939 | (i386nbsd_fill_reg): New function. | |
3940 | (fetch_core_registers): Use i386nbsd_supply_reg. | |
3941 | (fetch_elfcore_registers): Likewise. | |
3942 | (_initialize_i386nbsd_tdep): New function. | |
3943 | * config/i386/nbsd.mh (NATDEPFILES): Remove i386nbsd-nat.o. | |
3944 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
3945 | * config/i386/nbsdelf.mt (TDEPFILES): Add i386nbsd-tdep.o. | |
3946 | * config/i386/tm-nbsd.h (i386nbsd_use_struct_convention): Rename to... | |
3947 | (i386nbsd_aout_use_struct_convention): ...this. | |
3948 | ||
20cb8cda JT |
3949 | 2002-05-11 Jason Thorpe <[email protected]> |
3950 | ||
3951 | * shnbsd-nat.c (fetch_inferior_registers): Use shnbsd_supply_reg. | |
3952 | (store_inferior_registers): Use shnbsd_fill_reg. | |
3953 | * shnbsd-tdep.c (sh_nbsd_supply_registers, | |
3954 | sh_nbsd_supply_register): Collapse into... | |
3955 | (shnbsd_supply_reg): ...this. | |
3956 | (sh_nbsd_fill_registers, sh_nbsd_fill_register): Collapse into... | |
3957 | (shnbsd_fill_reg): ...this. | |
3958 | (sh_nbsd_solib_svr4_fetch_link_map_offsets): Rename to... | |
3959 | (shnbsd_solib_svr4_fetch_link_map_offsets): ...this. | |
3960 | (fetch_core_registers): Use shnbsd_supply_reg. | |
3961 | (fetch_elfcore_registers): Use shnbsd_supply_reg. | |
3962 | (sh_nbsd_core_fns): Rename to... | |
3963 | (shnbsd_core_fns): ...this. | |
3964 | (sh_nbsd_elfcore_fns): Rename to... | |
3965 | (shnbsd_elfcore_fns): ...this. | |
3966 | (sh_nbsd_init_abi): Rename to... | |
3967 | (shnbsd_init_abi): ...this. | |
3968 | (_initialize_sh_nbsd_tdep): Rename to... | |
3969 | (_initialize_shnbsd_tdep): ...this. | |
3970 | * shnbsd-tdep.h (sh_nbsd_supply_registers, | |
3971 | sh_nbsd_supply_register, sh_nbsd_fill_registers, | |
3972 | sh_nbsd_fill_register): Remove prototypes. | |
3973 | (shnbsd_supply_reg, shnbsd_fill_reg): Add prototypes. | |
3974 | ||
e750d25e JT |
3975 | 2002-05-11 Jason Thorpe <[email protected]> |
3976 | ||
3977 | * Makefile.in (ALLDEPFILES): Remove i387-nat.c. | |
3978 | (i387-nat.o): Delete dependency list. | |
3979 | (go32-nat.o): Change i387-nat.h to i387-tdep.h. | |
3980 | (x86-64-linux-nat.o): Likewise. | |
3981 | * i387-nat.c: Delete file, moving contents to... | |
3982 | * i387-tdep.c: ...here. | |
3983 | * i387-nat.h: Rename... | |
3984 | * i387-tdep.h: ...to this. | |
3985 | * go32-nat.c: Include i387-tdep.h instead of i387-nat.h. | |
3986 | * i386-linux-nat.c: Likewise. | |
3987 | * i386bsd-nat.c: Likewise. | |
3988 | * i386gnu-nat.c: Likewise. | |
3989 | * i386nbsd-nat.c: Likewise. | |
3990 | * i386v4-nat.c: Likewise. | |
3991 | * x86-64-linux-nat.c: Likewise. | |
3992 | * config/i386/fbsd.mh (NATDEPFILES): Remove i387-nat.o. | |
3993 | * config/i386/go32.mh (NATDEPFILES): Likewise. | |
3994 | * config/i386/i386gnu.mh (NATDEPFILES): Likewise. | |
3995 | * config/i386/i386sol2.mh (NATDEPFILES): Likewise. | |
3996 | * config/i386/i386v42mp.mh (NATDEPFILES): Likewise. | |
3997 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
3998 | * config/i386/nbsd.mh (NATDEPFILES): Likewise. | |
3999 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
4000 | * config/i386/obsd.mh (NATDEPFILES): Likewise. | |
4001 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
4002 | ||
1aee598a JT |
4003 | 2002-05-11 Jason Thorpe <[email protected]> |
4004 | ||
4005 | * Makefile.in (ALLDEPFILES): Remove alphanbsd-nat.c. | |
4006 | (alphanbsd-nat.o): Remove dependency list. | |
4007 | (alphanbsd-tdep.o): Add $(regcache_h) to dependency list. | |
4008 | * alphanbsd-nat.c: Delete. Contents moved to... | |
4009 | * alphanbsd-tdep.c: ...here. | |
4010 | (_initialize_alphanbsd_tdep): Register core functions. | |
4011 | * config/alpha/nbsd.mh (NATDEPFILES): Remove alphanbsd-nat.o. | |
4012 | ||
12bcb0fe JT |
4013 | 2002-05-11 Jason Thorpe <[email protected]> |
4014 | ||
4015 | * Makefile.in (ALLDEPFILES): Add alphabsd-tdep.c. | |
4016 | (alphabsd-nat.o): Depend on alphabsd-tdep.h. | |
4017 | (alphanbsd-nat.o): Likewise. | |
4018 | (alphabsd-tdep.o): New dependency list. | |
4019 | * alphabsd-nat.c (supply_gregset): Use alphabsd_supply_reg. | |
4020 | (fill_gregset): Use alphabsd_fill_reg. | |
4021 | (supply_fpregset): Use alphabsd_supply_fpreg. | |
4022 | (fill_fpregset): Use alphabsd_fill_fpreg. | |
4023 | (fetch_inferior_registers): Use struct reg and struct fpreg | |
4024 | rather than gregset_t and fpregset_t. Use alphabsd_supply_reg | |
4025 | and alphabsd_supply_fpreg. | |
4026 | (store_inferior_registers): Use struct reg and struct fpreg | |
4027 | rather than gregset_t and fpregset_t. Use alphabsd_fill_reg | |
4028 | and alphabsd_fill_fpreg. | |
4029 | * alphabsd-tdep.c: New file. | |
4030 | * alphabsd-tdep.h: New file. | |
4031 | * alphanbsd-nat.c (fetch_core_registers): Use alphabsd_supply_fpreg. | |
4032 | (fetch_elfcore_registers): Use alphabsd_supply_reg and | |
4033 | alphabsd_supply_fpreg. | |
4034 | * config/alpha/fbsd.mt (TDEPFILES): Add alphabsd-tdep.o. | |
4035 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
4036 | ||
361d1df0 EC |
4037 | 2002-05-11 Eric Christopher <[email protected]> |
4038 | ||
4039 | * mips-tdep.c (mips_double_register_type): Fix thinko. | |
4040 | (mips_single_register_type): Ditto. | |
4041 | * MAINTAINERS: Add self. | |
4042 | ||
92dd7cee MK |
4043 | 2002-05-11 Mark Kettenis <[email protected]> |
4044 | ||
4045 | * i387-nat.c (i387_supply_register, i387_fill_fsave, | |
4046 | i387_supply_fxsave, i387_fill_fxsave): Rewrite in order to do the | |
4047 | right thing on architectures with different endianness and/or | |
4048 | integer sizes. | |
4049 | ||
e27da16d JT |
4050 | 2002-05-10 Jason Thorpe <[email protected]> |
4051 | ||
4052 | From Christian Limpach <[email protected]> | |
4053 | * configure.in: Change sed expression which comments out | |
4054 | NATDEPFILES to also comment out continuation lines. | |
4055 | * configure: Regenerate. | |
4056 | ||
ddde02bd EZ |
4057 | 2002-05-10 Elena Zannoni <[email protected]> |
4058 | ||
4059 | * sh-tdep.c: Clean up code erroneously reintroduced by previous | |
4060 | big patch. | |
4061 | ||
1c922164 EZ |
4062 | 2002-05-10 Elena Zannoni <[email protected]> |
4063 | ||
4064 | * sh-tdep.c: Include correct file. | |
4065 | ||
283150cd EZ |
4066 | 2002-05-10 Elena Zannoni <[email protected]> |
4067 | ||
4068 | New support for sh64-elf (sh5) target. | |
4069 | ||
4070 | * configure.tgt: For sh64-elf target, default to sh-elf. | |
4071 | ||
4072 | * config/sh/tm-sh.h (enum sh-abi): Possible ABI's. | |
4073 | (struct gdbarch_tdep): Add new fields for new registers and ABI | |
4074 | info. | |
361d1df0 | 4075 | |
283150cd EZ |
4076 | * sh-tdep.c: Include elf-bfd.h, elf/sh.h, gdb/sim-sh.h. |
4077 | (NUM_PSEUDO_REGS_SH_MEDIA, NUM_PSEUDO_REGS_SH_COMPACT, | |
4078 | MSYMBOL_IS_SPECIAL, IS_ISA32_ADDR, MAKE_ISA32_ADDR, | |
4079 | UNMAKE_ISA32_ADDR, IS_PTABSL_R18, IS_STS_R0, IS_STS_PR, | |
4080 | IS_MOV_TO_R15, IS_MOV_R14, IS_STQ_R18_R14, IS_STQ_R18_R15, | |
4081 | IS_STL_R18_R15, IS_STQ_R14_R15, IS_STL_R14_R15, IS_ADDIL_SP_MEDIA, | |
4082 | IS_ADDI_SP_MEDIA, IS_ADDL_SP_FP_MEDIA, IS_ADD_SP_FP_MEDIA, | |
4083 | IS_MOV_SP_FP_MEDIA, IS_MOV_R0, IS_MOVL_R0, IS_ADD_SP_R0, | |
4084 | IS_MOV_R14_R0, IS_MEDIA_IND_ARG_MOV, IS_MEDIA_ARG_MOV, | |
4085 | IS_MEDIA_MOV_TO_R14, IS_COMPACT_IND_ARG_MOV, IS_COMPACT_ARG_MOV, | |
4086 | IS_COMPACT_MOV_TO_R14, IS_JSR_R0, IS_NOP): New macros. | |
4087 | (sh_sh64_register_name, sh64_elf_make_msymbol_special, | |
4088 | pc_is_isa32, sh_sh64_breakpoint_from_pc, look_for_args_moves, | |
4089 | sh64_skip_prologue_hard_way, sh64_use_struct_convention, | |
4090 | gdb_print_insn_sh64, translate_insn_rn, sh64_frame_chain, | |
4091 | sh64_get_saved_pr, fpp_reg_base_num, is_media_pseudo, | |
4092 | sh64_get_gdb_regnum, sh64_media_reg_base_num, | |
4093 | sh64_compact_reg_base_num, translate_rn_to_arch_reg_num, | |
4094 | sign_extend, sh64_nofp_frame_init_saved_regs, | |
4095 | sh64_init_extra_frame_info, sh64_get_saved_register, | |
4096 | sh64_extract_struct_value_address, sh64_pop_frame, | |
4097 | sh64_push_arguments, sh64_extract_return_value, | |
4098 | sh64_store_return_value, sh64_show_media_regs, | |
4099 | sh64_show_compact_regs, sh64_show_regs, sh_sh64_register_byte, | |
4100 | sh_sh64_register_raw_size, sh_sh64_register_virtual_size, | |
4101 | sh_sh64_register_virtual_type, | |
4102 | sh_sh64_register_convert_to_virtual, | |
4103 | sh_sh64_register_convert_to_raw, sh64_pseudo_register_read, | |
4104 | sh64_register_read, sh64_pseudo_register_write, | |
4105 | sh64_register_write, do_fv_c_register_info, do_dr_c_register_info, | |
4106 | do_r_c_register_info, do_fpp_register_info, do_cr_c_register_info, | |
4107 | sh64_do_pseudo_register, sh_compact_do_registers_info, | |
4108 | sh64_do_registers_info, sh_gdbarch_init): New functions. | |
4109 | ||
3117ed25 EZ |
4110 | 2002-05-10 Elena Zannoni <[email protected]> |
4111 | ||
4112 | * sh-tdep.c (sh_breakpoint_from_pc): Add 'const' to return type. | |
4113 | ||
2654e6d4 DJ |
4114 | 2002-05-10 Daniel Jacobowitz <[email protected]> |
4115 | ||
4116 | * linespec.c (decode_line_1): Check for a double quote after | |
4117 | a filename correctly. | |
4118 | ||
9ab3e532 JB |
4119 | 2002-05-10 Jim Blandy <[email protected]> |
4120 | ||
4121 | Properly track the size of the current objfile's .debug_line section. | |
4122 | * dwarf2read.c (struct dwarf2_pinfo): New member: dwarf_line_size. | |
4123 | (DWARF_LINE_SIZE): New macro. | |
4124 | (dwarf2_build_psymtabs_hard): Record the line section's size in | |
4125 | the partial symbol table. | |
4126 | (psymtab_to_symtab_1): Restore dwarf_line_size from the partial | |
4127 | symbol table. | |
4128 | ||
126fa72d PS |
4129 | 2002-05-10 Petr Sorfa <[email protected]> |
4130 | ||
4131 | * ia64-tdep.c: Handle breakpoints on L instruction type | |
4132 | in MLX instruction bundle by moving the breakpoint to | |
4133 | the third slot (X instruction type) as L holds only data. | |
4134 | ||
1f077a3e KB |
4135 | 2002-05-10 Kevin Buettner <[email protected]> |
4136 | ||
4137 | * dbxread.c (discarding_local_symbols_complaint): New complaint. | |
4138 | (process_one_symbol): Complain about discarding local symbols | |
4139 | due to a misplaced N_LBRAC entry. | |
4140 | ||
8120c9d5 | 4141 | 2002-05-09 Elena Zannoni <[email protected]> |
361d1df0 EC |
4142 | |
4143 | From Daniel Berlin <[email protected]> | |
8120c9d5 EZ |
4144 | * linespec.c (find_toplevel_char): '<' and '>' also increase and |
4145 | decrease the depth we are at, in the case of templates. | |
361d1df0 | 4146 | |
67b2c998 DJ |
4147 | 2002-05-09 Daniel Jacobowitz <[email protected]> |
4148 | ||
4149 | * mips-tdep.c (mips_float_register_type): New function. | |
4150 | (mips_double_register_type): New function. | |
4151 | (mips_print_register): Use them. | |
4152 | (do_fp_register_row): Likewise. | |
4153 | ||
fd326606 DJ |
4154 | 2002-05-09 Daniel Jacobowitz <[email protected]> |
4155 | ||
6609d9af | 4156 | * signals/signals.c (signals): Remove conditional compilation around |
fd326606 | 4157 | Mach-specific signals. Move them to after TARGET_SIGNAL_DEFAULT. |
6609d9af | 4158 | (target_signal_from_name): Loop until TARGET_SIGNAL_LAST. |
fd326606 | 4159 | |
bef35864 MS |
4160 | 2002-05-09 Michael Snyder <[email protected]> |
4161 | ||
4162 | * remote-rdp.c (remote_rdp_can_run): Remove. | |
4163 | ||
c55a3f73 TT |
4164 | 2002-05-09 Tom Tromey <[email protected]> |
4165 | ||
4166 | * jv-valprint.c (java_val_print): Handle `char' as a special case | |
4167 | of TYPE_CODE_INT. | |
4168 | ||
b8d5e71d MS |
4169 | 2002-05-09 Michael Snyder <[email protected]> |
4170 | ||
4171 | * arm-tdep.c (arm_scan_prologue): Accept strb r(0123),[r11,#-nn], | |
4172 | strh r(0123),[r11,#-nn], str r(0123),[r11,#-nn], as well as | |
361d1df0 | 4173 | strb r(0123),[sp,#nn], strh r(0123),[sp,#nn] and |
b8d5e71d | 4174 | str r(0123),[sp,#nn]. |
361d1df0 | 4175 | (arm_skip_prologue): Ditto. Also make disassembly |
b8d5e71d MS |
4176 | order-independent by placing it in a loop. |
4177 | ||
e2cd42dd MS |
4178 | 2002-05-06 Michael Snyder <[email protected]> |
4179 | ||
4180 | * stabsread.c (read_type): Add recognition for new attribute: | |
4181 | "@V;" means that an array type is actually a vector. | |
4182 | This is analogous to the vector flag that's been added to dwarf2. | |
4183 | ||
3ce1502b MK |
4184 | 2002-05-09 Mark Kettenis <[email protected]> |
4185 | ||
4186 | * i386-tdep.h (i386_abi): New enum. | |
4187 | (struct gdbarch_tdep): Replace os_ident member with abi. | |
4188 | (i386_gdbarch_register_os_abi): New prototype. | |
4189 | * i386-tdep.c (i386_abi_names): New array. | |
4190 | (process_note_abi_tag_sections): Removed. | |
4191 | (process_note_sections): New function. | |
4192 | (i386_elf_abi_from_note, i386_elf_abi): New functions. | |
4193 | (struct i386_abi_handler): New struct. | |
4194 | (i386_abi_handler_list): New variable. | |
4195 | (i386_gdbarch_register_os_abi): New function. | |
4196 | (i386_gdbarch_init): Adapt for the changes given above. | |
4197 | ||
084c156a DJ |
4198 | 2002-05-08 Daniel Jacobowitz <[email protected]> |
4199 | ||
4200 | * gregset.h: Say "GNU/Linux". | |
4201 | ||
6599f021 EZ |
4202 | 2002-05-08 Elena Zannoni <[email protected]> |
4203 | ||
4204 | * gdbtypes.c : Add new builtin type for 64 bit vectors. | |
4205 | (build_gdbtypes): Build builtin_type_v2_float. | |
4206 | (_initialize_gdbtypes): Register new builtin type. | |
4207 | ||
40af4b0c AC |
4208 | 2002-05-08 Andrew Cagney <[email protected]> |
4209 | ||
4210 | * gdbarch.sh (init_gdbarch_swap): Do not clear the swap section. | |
4211 | (clear_gdbarch_swap): New function. | |
4212 | (initialize_non_multiarch): Call. | |
4213 | (gdbarch_update_p): Before calling init(), swap out and clear the | |
4214 | existing architecture. | |
4215 | * gdbarch.c: Regenerate. | |
4216 | ||
4fe84f46 JT |
4217 | 2002-05-08 Jason Thorpe <[email protected]> |
4218 | ||
4219 | * config/djgpp/fnchange.lst: Add alphanbsd-nat.c and | |
4220 | alphanbsd-tdep.c. | |
4221 | ||
4015edd1 JT |
4222 | 2002-05-08 Jason Thorpe <[email protected]> |
4223 | ||
4224 | * sh-nbsd-nat.c: Rename to... | |
4225 | * shnbsd-nat.c: ...this. | |
4226 | * sh-nbsd-tdep.c: Rename to... | |
4227 | * shnbsd-tdep.c: ...this. | |
4228 | * sh-nbsd-tdep.h: Rename to... | |
4229 | * shnbsd-tdep.h: ...this. | |
4230 | * config/sh/nbsd.mh: Use shnbsd-nat.o. | |
4231 | * config/sh/nbsd.mt: Use shnbsd-tdep.o. | |
4232 | ||
0e2bd219 RE |
4233 | 2002-05-08 Richard Earnshaw <[email protected]> |
4234 | ||
4235 | * remote-rdi.c (_initializie_remote_rdi): Use ANSI-style string | |
4236 | concatenation for command help messages. | |
4237 | ||
13a38d45 JT |
4238 | 2002-05-08 Jason Thorpe <[email protected]> |
4239 | ||
4240 | * NEWS: Note new sh*-*-netbsdelf* configuration. | |
4241 | * configure.host: Set gdb_host_cpu to sh for all sh*. | |
4242 | (sh*-*-netbsdelf*): New host. | |
4243 | * configure.tgt: Set gdb_target_cpu to sh for all sh*. | |
4244 | (sh*-*-netbsdelf*): New target. | |
4245 | * sh-nbsd-nat.c: New file. | |
4246 | * sh-nbsd-tdep.c: New file. | |
4247 | * sh-nbsd-tdep.h: New file. | |
4248 | * config/sh/nbsd.mh: New file. | |
4249 | * config/sh/nbsd.mt: New file. | |
4250 | * config/sh/nm-nbsd.h: New file. | |
4251 | * config/sh/tm-nbsd.h: New file. | |
4252 | ||
d658f924 JT |
4253 | 2002-05-08 Jason Thorpe <[email protected]> |
4254 | ||
4255 | * sh-tdep.c (sh_osabi_names): Declare. | |
4256 | (process_note_abi_tag_sections): New function. | |
4257 | (get_elfosabi): Ditto. | |
4258 | (sh_gdbarch_register_os_abi): Ditto. | |
4259 | (sh_dump_tdep): Ditto. | |
4260 | _initialize_sh_tdep): Use gdbarch_register to register | |
4261 | sh_gdbarch_init and sh_dump_tdep. | |
4262 | * config/sh/tm-sh.h (sh_osabi): Declare. | |
4263 | (gdbarch_tdep): Add sh_osabi and osabi_name members. | |
4264 | ||
848cfffb AC |
4265 | 2002-05-07 Andrew Cagney <[email protected]> |
4266 | ||
4267 | * arm-tdep.c (arm_skip_prologue): Handle generic dummy frames. | |
4268 | (thumb_scan_prologue): Ditto. | |
4269 | (arm_find_callers_reg): Ditto. | |
4270 | (arm_frame_chain): Ditto. | |
4271 | (arm_init_extra_frame_info): Ditto. | |
4272 | (arm_frame_saved_pc): Ditto. | |
4273 | (arm_pop_frame): Ditto. | |
4274 | (arm_push_return_address): New function. | |
4275 | (arm_gdbarch_init): Initialize use_generic_dummy_frames, | |
4276 | call_dummy_location, call_dummy_breakpoint_offset_p, | |
4277 | call_dummy_breakpoint_offset, call_dummy_p, | |
4278 | call_dummy_stack_adjust_p, call_dummy_words, | |
4279 | sizeof_call_dummy_words, call_dummy_start_offset, | |
4280 | call_dummy_length, fix_call_dummy, pc_in_call_dummy, | |
4281 | call_dummy_address, push_return_address and push_dummy_frame for | |
4282 | generic dummy frames. | |
4283 | ||
e7d717c0 JT |
4284 | 2002-05-07 Jason Thorpe <[email protected]> |
4285 | ||
4286 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Fix error in | |
4287 | size computation for alloca. | |
4288 | (sh_fp_frame_init_saved_regs): Likewise. | |
4289 | ||
7bbcf283 RE |
4290 | 2002-05-07 Richard Earnshaw <[email protected]> |
4291 | ||
4292 | * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE): Define. | |
4293 | (ARM_MAX_REGISTER_VIRTUAL_SIZE): Define. | |
361d1df0 | 4294 | * arm-tdep.c (arm_store_return_value): Use them. |
7bbcf283 RE |
4295 | Use FP_REGISTER_RAW_SIZE when setting the FPA return value. |
4296 | * remote-rdp.c (remote_rdp_fetch_register): Use | |
4297 | ARM_MAX_REGISTER_RAW_SIZE. | |
4298 | (remote_rdp_store_register): Likewise. | |
4299 | ||
4657573b ML |
4300 | 2002-05-07 Michal Ludvig <[email protected]> |
4301 | ||
361d1df0 | 4302 | * dwarf2cfi.c: Code cleanup, removed unused variables, |
4657573b ML |
4303 | added default labels to switch {} statements. |
4304 | * x86-64-tdep.c: Ditto. | |
4305 | * x86-64-linux-nat.c: Ditto. | |
4306 | ||
010f3b2f JT |
4307 | 2002-05-07 Jason Thorpe <[email protected]> |
4308 | ||
4309 | * solib.h: Protect against multiple inclusion. | |
4310 | ||
debd256d JB |
4311 | 2002-05-06 Jim Blandy <[email protected]> |
4312 | ||
9ab3e532 JB |
4313 | Add first preprocessor macro-expansion files. |
4314 | * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. | |
4315 | * Makefile.in (SFILES): Add macrotab.c, macroexp.c. | |
4316 | (splay_tree_h, macroexp_h, macrotab_h): New variable. | |
4317 | (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. | |
4318 | (COMMON_OBS): Add macrotab.o, macroexp.o. | |
4319 | (macroexp.o, macrotab.o): New rules. | |
4320 | ||
debd256d JB |
4321 | Separate the job of reading the line number info statement program |
4322 | header (...expialidocious) out into its own function. | |
4323 | * dwarf2read.c (struct line_head, struct filenames, struct | |
4324 | directories): Replace with... | |
4325 | (struct line_header): New structure, containing the full | |
4326 | contents of the statement program header, including the | |
4327 | include directory and file name tables. | |
4328 | (read_file_scope): If we have line number info, instead of just | |
4329 | calling dwarf_decode_lines to do all the work, call | |
4330 | dwarf_decode_line_header first to get a `struct line_header' | |
4331 | containing the data in the statement program header, and then | |
4332 | pass that to dwarf_decode_lines, which will pick up where that | |
4333 | left off. Be sure to clean up the `struct line_header' object. | |
4334 | (dwarf_decode_line_header, free_line_header, add_include_dir, | |
4335 | add_file_name): New functions. | |
4336 | (dwarf_decode_lines): Move all the code to read the statement | |
4337 | program header into dwarf_decode_line_header. Take the line | |
4338 | header it built as the first argument, instead of the offset to | |
4339 | the compilation unit's line number info. Use the new `struct | |
4340 | line_header' type instead of the old structures. No need to do | |
4341 | cleanups here now, since we don't allocate anything. | |
4342 | (dwarf2_statement_list_fits_in_line_number_section, | |
4343 | dwarf2_line_header_too_long): New complaints. | |
4344 | ||
ac3aafc7 EZ |
4345 | 2002-05-06 Elena Zannoni <[email protected]> |
4346 | ||
4347 | * gdbtypes.c (init_vector_type): New function. | |
4348 | (build_builtin_type_vec128): Simplify the representation of SIMD | |
4349 | registers. | |
4350 | (build_gdbtypes): Initialize new builtin vector types. | |
4351 | (_initialize_gdbtypes): Register new vector types with gdbarch. | |
4352 | (builtin_type_v4_float, builtin_type_v4_int32, | |
4353 | builtin_type_v8_int16, builtin_type_v16_int8, | |
4354 | builtin_type_v2_int32, builtin_type_v4_int16, | |
4355 | builtin_type_v8_int8): New (renamed) SIMD types. | |
4356 | ||
13e49980 MK |
4357 | 2002-05-06 Mark Kettenis <[email protected]> |
4358 | ||
4359 | * i387-nat.c (i387_fill_fsave): Use regcache_collect. | |
4360 | (i387_fill_fxsave): Likewise. | |
4361 | ||
997b20b8 AO |
4362 | 2002-05-05 Alexandre Oliva <[email protected]> |
4363 | ||
4364 | * alpha-tdep.c (alpha_extract_return_value): Don't use | |
4365 | non-constant array size in prototype. | |
4366 | ||
535c96ce AC |
4367 | 2002-05-04 Andrew Cagney <[email protected]> |
4368 | ||
4369 | From Brian Taylor <briant at model dot com>: | |
4370 | * ui-out.c (ui_out_field_core_addr): Use the function | |
4371 | longest_local_hex_string_custom'to format addresses > 32 bits | |
4372 | wide. | |
4373 | ||
4374 | * ui-out.c (ui_out_field_core_addr): Update comment. | |
4375 | ||
bedfa57b AC |
4376 | 2002-05-04 Andrew Cagney <[email protected]> |
4377 | ||
4378 | * stack.c (select_and_print_frame): Make static. Delete the | |
4379 | parameter `level'. | |
4380 | (func_command): Update call. | |
4381 | (select_frame_command): Delete code computing the frame level. | |
4382 | * frame.h (select_and_print_frame): Delete declaration. | |
4383 | ||
f621c63e AC |
4384 | 2002-05-04 Andrew Cagney <[email protected]> |
4385 | ||
4386 | * sparc-tdep.c (sparc_get_saved_register): Comment why | |
4387 | get_prev_frame call is safe. | |
4388 | ||
0f7d239c AC |
4389 | 2002-05-04 Andrew Cagney <[email protected]> |
4390 | ||
4391 | * frame.h (select_frame): Delete level parameter. | |
4392 | * stack.c (select_frame): Update. Use frame_relative_level to | |
4393 | obtain the frame's level. | |
4394 | (select_and_print_frame): Update call. | |
4395 | (select_frame_command): Ditto. | |
4396 | (up_silently_base): Ditto. | |
4397 | (down_silently_base): Ditto. | |
4398 | * ocd.c (ocd_start_remote): Ditto. | |
4399 | * remote-rdp.c (remote_rdp_open): Ditto. | |
4400 | * remote-mips.c (mips_initialize): Ditto. | |
4401 | (common_open): Ditto. | |
4402 | * remote-e7000.c (e7000_start_remote): Ditto. | |
4403 | * m3-nat.c (select_thread): Ditto. | |
4404 | * hppa-tdep.c (child_get_current_exception_event): Ditto. | |
4405 | (child_get_current_exception_event): Ditto. | |
4406 | * varobj.c (varobj_create): Ditto. | |
4407 | (varobj_update): Ditto. | |
4408 | (c_value_of_root): Ditto. | |
4409 | * tracepoint.c (finish_tfind_command): Ditto. | |
4410 | * corelow.c (core_open): Ditto. | |
4411 | * arch-utils.c (generic_prepare_to_proceed): Ditto. | |
4412 | * thread.c (info_threads_command): Ditto. | |
4413 | (switch_to_thread): Ditto. | |
4414 | * infrun.c (normal_stop): Ditto. | |
4415 | (restore_selected_frame): Ditto. | |
4416 | (restore_inferior_status): Ditto. | |
4417 | * breakpoint.c (insert_breakpoints): Ditto. | |
4418 | (watchpoint_check): Ditto. | |
4419 | (bpstat_stop_status): Ditto. | |
4420 | (do_enable_breakpoint): Ditto. | |
4421 | * blockframe.c (flush_cached_frames): Ditto. | |
4422 | (reinit_frame_cache): Ditto. | |
4423 | ||
71d6c7b1 AC |
4424 | 2002-05-04 Andrew Cagney <[email protected]> |
4425 | ||
4426 | * MAINTAINERS (Host/Native): Add Jason Thorpe as NetBSD | |
4427 | maintainer. | |
4428 | ||
cda6c68a JB |
4429 | 2002-05-04 Jim Blandy <[email protected]> |
4430 | ||
4431 | * gdbtypes.c (replace_type): Doc fix. | |
4432 | ||
5c1c87f0 AC |
4433 | 2002-05-04 Andrew Cagney <[email protected]> |
4434 | ||
4435 | * valprint.c (strcat_longest): Delete commented out function. | |
4436 | Update copyright. | |
4437 | ||
cd9bfe15 AC |
4438 | 2002-05-04 Andrew Cagney <[email protected]> |
4439 | ||
4440 | * MAINTAINERS: Mark a29k as deleted. | |
4441 | * NEWS: Mention that a29k was removed. Add OBSOLETE section. | |
4442 | Move new configurations to the top. | |
4443 | * configure.tgt: Remove a29k. | |
4444 | * config/a29k/tm-vx29k.h: Delete. | |
4445 | * config/a29k/vx29k.mt: Delete. | |
4446 | * config/a29k/tm-a29k.h: Delete. | |
4447 | * config/a29k/a29k-udi.mt: Delete. | |
4448 | * config/a29k/a29k.mt: Delete. | |
4449 | * a29k-tdep.c: Delete. | |
4450 | * remote-udi.c: Delete. | |
4451 | * remote-mm.c: Delete. | |
4452 | * remote-eb.c: Delete. | |
4453 | * remote-adapt.c: Delete. | |
4454 | * Makefile.in: Remove obsolete code. | |
4455 | * gdbserver/Makefile.in: Ditto. | |
4456 | * config/s390/s390x.mt: Ditto. | |
4457 | * config/s390/s390.mt: Ditto. | |
4458 | * config/sparc/sparclynx.mh: Ditto. | |
4459 | * config/sparc/linux.mh: Ditto. | |
4460 | * config/pa/hppaosf.mh: Ditto. | |
4461 | * config/pa/hppabsd.mh: Ditto. | |
4462 | * config/ns32k/nbsd.mt: Ditto. | |
4463 | * config/mips/vr5000.mt: Ditto. | |
4464 | * config/m68k/sun3os4.mh: Ditto. | |
4465 | * config/m68k/nbsd.mt: Ditto. | |
4466 | * config/m68k/m68klynx.mh: Ditto. | |
4467 | * config/m32r/m32r.mt: Ditto. | |
4468 | * config/i386/x86-64linux.mt: Ditto. | |
4469 | * config/i386/nbsdelf.mt: Ditto. | |
4470 | * config/i386/nbsd.mt: Ditto. | |
4471 | * config/i386/i386lynx.mh: Ditto. | |
4472 | ||
bf0c5130 AC |
4473 | 2002-05-04 Andrew Cagney <[email protected]> |
4474 | ||
4475 | * target.c (debug_print_register): New function. Handle oversize | |
4476 | registers. | |
4477 | (debug_to_fetch_registers): Call. | |
4478 | (debug_to_store_registers): Call. | |
4479 | ||
2ae1c2d2 JB |
4480 | 2002-05-03 Jim Blandy <[email protected]> |
4481 | ||
13a393b0 JB |
4482 | * stabsread.c (cleanup_undefined_types): Use replace_type, not memcpy. |
4483 | (read_type): Doc fix. | |
4484 | * gdbtypes.c (replace_type): Doc fix. | |
4485 | ||
2ae1c2d2 JB |
4486 | * stabsread.c (multiply_defined_struct): New complaint. |
4487 | (read_struct_type): If the type we were passed isn't empty, or | |
4488 | incomplete, don't read the new struct type into it; complain, | |
4489 | and return the original type unchanged. Take a new `type_code' | |
4490 | argument, which is the type code for the new type. | |
4491 | (read_type): Rather than storing the type's type code here, pass | |
4492 | it as an argument to read_struct_type, and let that take care of | |
4493 | storing it. That way, we don't overwrite the original type code, | |
4494 | so read_struct_type can use it to decide whether we're overwriting | |
4495 | something we shouldn't. | |
4496 | (complain_about_struct_wipeout): New function. | |
4497 | ||
8de9bdc4 AC |
4498 | 2002-05-03 Andrew Cagney <[email protected]> |
4499 | ||
4500 | * gdbarch.sh: Assert that gdbarch is non-NULL. | |
4501 | * gdbarch.c: Regenerate. | |
4502 | ||
f773fdbb JM |
4503 | 2002-05-03 Jason Merrill <[email protected]> |
4504 | ||
4505 | * gnu-v3-abi.c (gnuv3_rtti_type): If we get confused, just warn | |
4506 | and return NULL. | |
4507 | ||
0e04a514 ML |
4508 | 2002-05-03 Michal Ludvig <[email protected]> |
4509 | ||
4510 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map), | |
4511 | (x86_64_dwarf2gdb_regno_map_length), | |
4512 | (x86_64_dwarf2_reg_to_regnum): Added. | |
4513 | (x86_64_gdbarch_init): Added registration of x86_64_dwarf2_reg_to_regnum. | |
4514 | (x86_64_gdbarch_init): Renamed from i386_gdbarch_init. | |
4515 | (_initialize_x86_64_tdep): Synced with the change above. | |
4516 | (x86_64_skip_prologue): Reformulated message. | |
4517 | ||
065432a8 PM |
4518 | 2002-05-03 Pierre Muller <[email protected]> |
4519 | ||
4520 | * f-exp.y: Also use new prev_lexptr variable | |
4521 | to improve error reporting. Based on Michael Snyder | |
4522 | 2002-04-24 dated patch to c-exp.y. | |
4523 | * jv-exp.y: Likewise. | |
4524 | * m2-exp.y: Likewise. | |
4525 | ||
a3162708 EZ |
4526 | 2002-05-02 Elena Zannoni <[email protected]> |
4527 | ||
4528 | * valops.c (value_arg_coerce): Don't coerce arrays to pointers if | |
4529 | we are dealing with vectors. | |
4530 | ||
03620c38 PM |
4531 | 2002-05-02 Pierre Muller <[email protected]> |
4532 | ||
4533 | * config/m68k/tm-nbsd.h: Obvious fix, | |
4534 | correct machine name. | |
4535 | ||
6604db2e PM |
4536 | 2002-05-02 Pierre Muller <[email protected]> |
4537 | ||
4538 | * p-typeprint.c (pascal_type_print_base): Add support | |
4539 | for TYPE_CODE_STRING and TYPE_CODE_BITSTRING. | |
4540 | ||
0906b739 PM |
4541 | 2002-05-02 Pierre Muller <[email protected]> |
4542 | ||
4543 | * p-lang.c (pascal_create_fundamental_type): Use TYPE_CODE_CHAR | |
4544 | for fondamental pascal 'char' type. | |
4545 | ||
e2625b33 PM |
4546 | 2002-05-02 Pierre Muller <[email protected]> |
4547 | ||
4548 | * p-lang.h (is_pascal_string_type): Declaration changed, | |
4549 | new sixth argument of type char ** added. | |
361d1df0 | 4550 | * p-lang.c (is_pascal_string_type): Implementation |
e2625b33 PM |
4551 | changed. Args length_pos, length_size, string_pos, char_size |
4552 | can now be NULL. New argument arrayname set to the field | |
4553 | name of the char array. Return value set to char array | |
4554 | field index plus one. | |
361d1df0 | 4555 | * p-valprint.c (pascal_val_print): Adapt to new declaration of |
e2625b33 PM |
4556 | is_pascal_string_type function. |
4557 | ||
cf17c188 AC |
4558 | 2002-05-02 Andrew Cagney <[email protected]> |
4559 | ||
4560 | * gdbarch.sh (gdbarch_update_p): Revert 2002-05-02 Andrew Cagney | |
4561 | <[email protected]> change. | |
4562 | * gdbarch.c: Regenerate. | |
4563 | ||
52bca491 AC |
4564 | 2002-05-02 Andrew Cagney <[email protected]> |
4565 | ||
4566 | * gdbarch.sh (gdbarch_update_p): Swap out the old architecture | |
4567 | before probing for a new one. Detect errorenous gdbarch_init | |
4568 | functions. | |
4569 | * gdbarch.c: Regenerate. | |
4570 | ||
d5e72505 AC |
4571 | 2002-05-01 Andrew Cagney <[email protected]> |
4572 | ||
4573 | * config/mn10200/tm-mn10200.h: Include "symfile.h" and "symtab.h". | |
4574 | * config/mcore/tm-mcore.h: Ditto. Update copyright. | |
4575 | * config/v850/tm-v850.h: Ditto. Update copyright. | |
4576 | ||
af566d9f AC |
4577 | 2002-04-30 Andrew Cagney <[email protected]> |
4578 | ||
4579 | * cris-tdep.c (cris_gdbarch_init): Use arches instead of | |
4580 | current_gdbarch. | |
4581 | ||
880d85fa MS |
4582 | 2002-04-30 Michael Snyder <[email protected]> |
4583 | ||
94c30b78 MS |
4584 | * arm-tdep.c: Whitespace clean-ups. |
4585 | (arm_skip_prologue): Fix thinko; two lines | |
880d85fa MS |
4586 | should have been removed as part of 4/24 change. |
4587 | ||
6f5987a6 KB |
4588 | 2002-04-30 Kevin Buettner <[email protected]> |
4589 | ||
4590 | * rs6000-tdep.c: Added comment describing how fpscr register | |
4591 | numbers were chosen. | |
4592 | ||
1a113c93 MS |
4593 | 2002-04-30 Michael Snyder <[email protected]> |
4594 | ||
4595 | * gnu-nat.c (gnu_find_memory_regions): Fix merge botch. | |
4596 | ||
9a6f53fe EZ |
4597 | 2002-04-29 Elena Zannoni <[email protected]> |
4598 | ||
4599 | * hpread.c (DNTT_TYPE_VECTOR): Rename from TYPE_VECTOR. | |
4600 | (DNTT_TYPE_VECTOR_LENGTH): Rename from TYPE_VECTOR_LENGTH. | |
4601 | (hpread_symfile_init, hpread_lookup_type): Substitute throughout. | |
4602 | ||
11ed25ac KB |
4603 | 2002-04-29 Kevin Buettner <[email protected]> |
4604 | ||
4605 | From Louis Hamilton <[email protected]>: | |
4606 | * rs6000-tdep.c (coff/xcoff.h, libxcoff.h): Include. | |
4607 | * xcoffread.c (coff/xcoff.h, libxcoff.h): Likewise. | |
4608 | * rs6000-tdep.c (rs6000_gdbarch_init): Use bfd_xcoff_is_xcoff64(), | |
4609 | not bfd-private xcoff data, to determine wordsize. | |
4610 | * xcoffread.c (read_xcoff_xymtab, read_symbol_lineno): Likewise. | |
4611 | ||
ae232405 AC |
4612 | 2002-04-29 Andrew Cagney <[email protected]> |
4613 | ||
4614 | GDB 5.2 released from 5.2 branch. | |
4615 | ||
91fd20f7 ML |
4616 | 2002-04-29 Michal Ludvig <[email protected]> |
4617 | ||
4618 | * x86-64-linux-nat.c (fill_gregset): Explicit cast to avoid warning. | |
4619 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
4620 | (x86_64_register_info_table): Added comments with register numbers. | |
361d1df0 | 4621 | |
2dc5091b EZ |
4622 | 2002-04-29 Elena Zannoni <[email protected]> |
4623 | ||
4624 | * rs6000-tdep.c (rs6000_extract_return_value, | |
4625 | rs6000_store_return_value): Handle returning vectors. | |
4626 | (rs6000_gdbarch_init): Use | |
4627 | ppc_sysv_abi_broken_use_struct_convention for native sysv cases. | |
4628 | * ppc-linux-tdep.c (ppc_sysv_abi_broken_use_struct_convention): | |
4629 | New function. | |
4630 | (ppc_sysv_abi_use_struct_convention): Deal with functions returning | |
4631 | vectors. | |
4632 | (ppc_sysv_abi_push_arguments): Handle vector parameters. | |
4633 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Export. | |
361d1df0 | 4634 | |
2b9848d8 PM |
4635 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
4636 | ||
4637 | * hpread.c (hpread_psymtab_to_symtab_1, | |
aacb1f0a | 4638 | hpread_psymtab_to_symtab): Replace fprintf tab_to_s...) |
2b9848d8 PM |
4639 | with fprintf_unfiltered (gdb_stderr,...). |
4640 | ||
f8d17dc5 PM |
4641 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
4642 | ||
4643 | * remote-array.c (printf_monitor, write_monitor, | |
361d1df0 | 4644 | array_insert_breakpoint, array_remove_breakpoint ): |
f8d17dc5 PM |
4645 | Replace fprintf (stderr,... |
4646 | with fprintf_unfiltered (gdb_stderr,.... | |
4647 | * remote-es.c: Likewise. | |
4648 | * remote-os9k.c: Likewise. | |
4649 | * remote-st.c: Likewise. | |
4650 | ||
2f2f1ad1 AS |
4651 | 2002-04-28 Andreas Schwab <[email protected]> |
4652 | ||
4653 | * config/s390/s390.mh (NATDEPFILES): Remove solib.o, add | |
4654 | linux-proc.o and gcore.o. | |
4655 | ||
b6779aa2 AC |
4656 | 2002-04-26 Michal Ludvig <[email protected]> |
4657 | ||
4658 | * x86-64-tdep.c (x86_64_skip_prologue): Print note when debugging | |
4659 | code without frame pointers. | |
4660 | ||
7e57f5f4 AC |
4661 | 2002-04-26 Andrew Cagney <[email protected]> |
4662 | ||
4663 | * sparc-tdep.c (sparc_gdbarch_init): Add comment explaining why | |
4664 | ON_STACK is needed. | |
4665 | ||
2ceb85d0 BE |
4666 | 2002-04-26 Ben Elliston <[email protected]> |
4667 | ||
4668 | * target.c (do_xfer_memory): Correct reference to the new option | |
4669 | "trust-readonly-sections". | |
4670 | ||
f5f8a009 EZ |
4671 | 2002-04-26 Elena Zannoni <[email protected]> |
4672 | ||
4673 | * gdbtypes.h (TYPE_FLAG_VECTOR, TYPE_VECTOR): Define. | |
4674 | * gdbtypes.c (recursive_dump_type): Output the vector flag. | |
4675 | * dwarf2read.c (dwarf_attr_name): Handle new attribute for | |
4676 | vectors. | |
4677 | (read_array_type): Record the fact that this array type is really a | |
4678 | vector (i.e. are passed in by value). | |
4679 | ||
5868c862 JT |
4680 | 2002-04-26 Jason Thorpe <[email protected]> |
4681 | ||
4682 | * alpha-tdep.h (gdbarch_tdep): Add sigcontext_addr member. | |
4683 | * alpha-tdep.c (alpha_sigcontext_addr): New function. | |
4684 | (alpha_find_saved_regs): Use alpha_sigcontext_addr. | |
4685 | (alpha_gdbarch_init): Initialize tdep->sigcontext_addr. | |
4686 | * alpha-linux-tdep.c: Include frame.h. | |
4687 | (alpha_linux_sigcontext_addr): New function. | |
4688 | (alpha_linux_init_abi): Set tdep->sigcontext_addr to | |
4689 | alpha_linux_sigcontext_addr. | |
4690 | * alpha-osf1-tdep.c: Include gdbcore.h. | |
4691 | (alpha_osf1_sigcontext_addr): New function. | |
4692 | (alpha_osf1_init_abi): Set tdep->sigcontext_addr to | |
4693 | alpha_osf1_sigcontext_addr. | |
4694 | * config/alpha/tm-alpha.h (SIGCONTEXT_ADDR): Remove. | |
4695 | * config/alpha/tm-alphalinux.h (SIGCONTEXT_ADDR): Remove. | |
4696 | ||
bfb01f37 AC |
4697 | 2002-04-26 Andrew Cagney <[email protected]> |
4698 | ||
361d1df0 | 4699 | * stack.c (selected_frame_level): |
bfb01f37 AC |
4700 | (select_frame): Do not set selected_frame_level. |
4701 | * frame.h (selected_frame_level): Delete declaration. | |
4702 | ||
15813d3f AC |
4703 | 2002-04-26 Andrew Cagney <[email protected]> |
4704 | ||
4705 | * rs6000-tdep.c (rs6000_gdbarch_init): Only set | |
4706 | convert_from_func_ptr-addr when AIX / PowerOpen. | |
4707 | ||
6096c27a AC |
4708 | 2002-04-25 Andrew Cagney <[email protected]> |
4709 | ||
4710 | * valops.c (hand_function_call): Call | |
4711 | generic_save_call_dummy_addr. | |
4712 | * frame.h (generic_save_call_dummy_addr): Declare. | |
4713 | * blockframe.c (struct dummy_frame): Add fields call_lo and | |
4714 | call_hi. | |
4715 | (generic_find_dummy_frame): Check for PC in range call_lo to | |
4716 | call_hi instead of entry_point_address. | |
4717 | (generic_pc_in_call_dummy): Search the dummy frames for a PC in | |
4718 | the call_lo to call_hi range. Allow for DECR_PC_AFTER_BREAK. | |
4719 | (generic_save_call_dummy_addr): New function. | |
4720 | ||
f510d44e DM |
4721 | 2002-04-24 David S. Miller <[email protected]> |
4722 | ||
4723 | * sparc-tdep.c (sparc_gdbarch_skip_prologue): Kill, duplicates | |
4724 | sparc_skip_prologue. | |
4725 | (sparc_skip_prologue): Kill frameless_p arg, and use line number | |
4726 | information to find prologue when possible. | |
4727 | (sparc_prologue_frameless_p): Call examine_prologue directly. | |
4728 | (sparc_gdbarch_init): Update set_gdbarch_skip_prologue call. | |
4729 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Update for killed | |
4730 | second argument. | |
4731 | (SKIP_PROLOGUE): Likewise. | |
4732 | ||
15d72a92 JT |
4733 | 2002-04-25 Jason Thorpe <[email protected]> |
4734 | ||
4735 | * alpha-tdep.c (alpha_skip_prologue_internal): Remove | |
4736 | GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to | |
4737 | indicate that the condition it was testing is always true. | |
4738 | * config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove. | |
4739 | * config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
4740 | * config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
4741 | ||
accc6d1f JT |
4742 | 2002-04-25 Jason Thorpe <[email protected]> |
4743 | ||
4744 | * alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members. | |
4745 | * alpha-linux-tdep.c (alpha_linux_init_abi): Initialize | |
4746 | tdep->jb_pc and tdep->jb_elt_size. | |
4747 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise. | |
4748 | * alphafbsd-tdep.c (alphafbsd_init_abi): Likewise. | |
4749 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
4750 | * alpha-nat.c (get_longjmp_target): Remove. | |
4751 | (JB_ELEMENT_SIZE): Ditto. | |
4752 | (JB_PC): Ditto. | |
4753 | * alpha-tdep.c (alpha_get_longjmp_target): New function. | |
4754 | (alpha_gdbarch_init): Default tdep->jb_pc to -1. If the | |
4755 | OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target | |
4756 | to alpha_get_longjmp_target. | |
4757 | (alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size. | |
4758 | * config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove. | |
4759 | * config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove. | |
4760 | ||
1bfdc549 AC |
4761 | 2002-04-25 Andrew Cagney <[email protected]> |
4762 | ||
4763 | * README: Update to GDB 5.2. | |
4764 | ||
1bd316f0 AC |
4765 | 2002-04-25 Andrew Cagney <[email protected]> |
4766 | ||
4767 | * gdbarch.sh (LC_ALL): Set to `c'. | |
4768 | ||
2e5ff58c TR |
4769 | 2002-04-25 Theodore A. Roth <[email protected]> |
4770 | ||
4771 | * avr-tdep.c: Ran through gdb_indent.sh. | |
4772 | ||
e33ce519 TR |
4773 | 2002-04-25 Theodore A. Roth <[email protected]> |
4774 | ||
4775 | * MAINTAINERS: Add myself as AVR maintainer. | |
4776 | * NEWS: Note new target avr. | |
4777 | ||
8818c391 TR |
4778 | 2002-04-25 Theodore A. Roth <[email protected]> |
4779 | ||
4780 | * Makefile.in: Add support for AVR target. | |
4781 | * configure.tgt: Add support for AVR target. | |
4782 | * avr-tdep.c: New file | |
4783 | * config/avr/avr.mt: New file. | |
4784 | ||
79509c2d TR |
4785 | 2002-04-25 Theodore A. Roth <[email protected]> |
4786 | ||
4787 | * MAINTAINERS: Add myself to write-after-approval. | |
4788 | ||
dac8068e PM |
4789 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
4790 | ||
4791 | * f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,... | |
4792 | with fprintf_unfiltered (gdb_stderr,.... | |
4793 | ||
25bf3106 PM |
4794 | 2002-04-25 Pierre Muller <[email protected]> |
4795 | ||
4796 | Fix PR gdb/508. | |
4797 | * symfile.c (add_filename_language): Fix wrong xrealloc size argument. | |
4798 | ||
24467a86 PM |
4799 | 2002-04-25 Pierre Muller <[email protected]> |
4800 | ||
4801 | * p-exp.y: Also use new prev_lexptr variable | |
4802 | to improve error reporting. Based on Michael Snyder | |
4803 | 2002-04-24 dated patch to c-exp.y. | |
4804 | ||
95b80706 JT |
4805 | 2002-04-25 Jason Thorpe <[email protected]> |
4806 | ||
4807 | * alpha-tdep.c (alpha_breakpoint_from_pc): New function. | |
4808 | (alpha_gdbarch_init): Set gdbarch_breakpoint_from_pc to | |
4809 | alpha_breakpoint_from_pc. Set gdbarch_function_start_offset | |
4810 | to 0. | |
4811 | * config/alpha/tm-alpha.h: Remove forward decls of struct type | |
4812 | and struct value. | |
4813 | (FUNCTION_START_OFFSET): Remove. | |
4814 | (BREAKPOINT): Ditto. | |
4815 | ||
e90cc612 JT |
4816 | 2002-04-25 Jason Thorpe <[email protected]> |
4817 | ||
4818 | * MAINTAINERS: Reflect that multi-arch is enabled for VAX. | |
4819 | * NEWS: Ditto. | |
4820 | ||
6c72f9f9 JT |
4821 | 2002-04-24 Jason Thorpe <[email protected]> |
4822 | ||
4823 | * alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function. | |
4824 | (alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to | |
4825 | alpha_linux_pc_in_sigtramp. | |
4826 | * alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function. | |
4827 | (alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to | |
4828 | alpha_osf1_pc_in_sigtramp. | |
4829 | * alpha-tdep.c (alpha_osf_in_sigtramp): Remove. | |
4830 | * alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function. | |
4831 | (alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
4832 | alphafbsd_pc_in_sigtramp. | |
4833 | * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function. | |
4834 | (alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
4835 | alphanbsd_pc_in_sigtramp. | |
4836 | * config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove. | |
4837 | * config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove. | |
4838 | ||
5e4f3379 JT |
4839 | 2002-04-24 Jason Thorpe <[email protected]> |
4840 | ||
4841 | * config/alpha/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. | |
4842 | ||
da8ca43d JT |
4843 | 2002-04-24 Jason Thorpe <[email protected]> |
4844 | ||
4845 | * Makefile.in (ALLDEPFILES): Add alphanbsd-nat.c and | |
4846 | alphanbsd-tdep.c. | |
4847 | (alphanbsd-nat.o): New dependency list. | |
4848 | (alphanbsd-tdep.o): Ditto. | |
4849 | * NEWS: Note new native NetBSD/alpha configuration. | |
4850 | * alphanbsd-nat.c: New file. | |
4851 | * alphanbsd-tdep.c: Ditto. | |
4852 | * configure.host (alpha*-*-netbsd*): New host. | |
4853 | * configure.tgt (alpha*-*-netbsd*): New target. | |
4854 | * config/alpha/nbsd.mh: New file. | |
4855 | * config/alpha/nbsd.mt: Ditto. | |
4856 | * config/alpha/nm-nbsd.h: Ditto. | |
4857 | * config/alpha/tm-nbsd.h: Ditto. | |
4858 | ||
36a6271d JT |
4859 | 2002-04-24 Jason Thorpe <[email protected]> |
4860 | ||
4861 | * Makefile.in (ALLDEPFILES): Add alpha-osf1-tdep.c. | |
4862 | (alpha-osf1-tdep.o): New dependency list. | |
4863 | * alpha-tdep.h (gdbarch_tdep): Add dynamic_sigtramp_offset | |
4864 | and skip_sigtramp_frame members. | |
4865 | * alpha-linux-tdep.c: Include gdbcore.h. | |
4866 | (alpha_linux_sigtramp_offset): Change return type to LONGEST. | |
4867 | (alpha_linux_init_abi): Initialize tdep->dynamic_sigtramp_offset. | |
4868 | * alpha-osf1-tdep.c: New file. | |
4869 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Moved to | |
4870 | alpha-osf1-dep.c. | |
4871 | (alpha_frame_past_sigtramp_frame): New function. | |
4872 | (alpha_dynamic_sigtramp_offset): Ditto. | |
4873 | (alpha_proc_desc_is_dyn_sigtramp): Ditto. | |
4874 | (alpha_set_proc_desc_is_dyn_sigtramp): Ditto. | |
4875 | (ALPHA_PROC_SIGTRAMP_MAGIC): Define. | |
4876 | (push_sigtramp_desc): Use alpha_set_proc_desc_is_dyn_sigtramp. | |
4877 | (after_prologue): Use alpha_proc_desc_is_dyn_sigtramp. | |
4878 | (find_proc_desc): Use alpha_dynamic_sigtramp_offset. | |
4879 | (alpha_frame_chain): Use alpha_frame_past_sigtramp_frame. | |
4880 | (alpha_init_extra_frame_info): Use alpha_proc_desc_is_dyn_sigtramp. | |
4881 | (alpha_pop_frame): Use alpha_proc_desc_is_dyn_sigtramp. | |
4882 | (alpha_gdbarch_init): Initialize tdep->dynamic_sigtramp_offset | |
4883 | and tdep->skip_sigtramp_frame. Set gdbarch_skip_trampoline_code | |
4884 | to find_solib_trampoline_target. | |
4885 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-osf1-tdep.o. | |
4886 | * config/alpha/tm-alpha.h: Remove inclusion of regcache.h. | |
4887 | (SKIP_TRAMPOLINE_CODE): Remove. | |
4888 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4889 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4890 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
4891 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
4892 | * config/alpha/tm-alphalinux.h (PROC_DESC_IS_DYN_SIGTRAMP): Remove. | |
4893 | (PROC_SIGTRAMP_MAGIC): Ditto. | |
4894 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4895 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4896 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4897 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
4898 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
4899 | ||
2f4bc57b JT |
4900 | 2002-04-24 Jason Thorpe <[email protected]> |
4901 | ||
4902 | * NEWS: Note that Alpha targets are now multi-arch. | |
4903 | ||
665132f9 MS |
4904 | 2002-04-24 Michael Snyder <[email protected]> |
4905 | ||
4906 | * parser-defs.h (prev_lexptr): New external variable. | |
4907 | * parse.c (parse_exp_1): Set prev_lexptr to null before | |
4908 | calling the language-specific parser. | |
4909 | * c-exp.y (yylex): Set prev_lexptr to start of current token. | |
4910 | (yyerror): Use prev_lexptr in error reporting. | |
4911 | ||
32872fa7 DJ |
4912 | 2002-04-24 Daniel Jacobowitz <[email protected]> |
4913 | ||
4914 | * config/i386/tm-linux.h: Define FILL_FPXREGSET. | |
4915 | * gregset.h: If FILL_FPXREGSET is defined, provide | |
4916 | gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset. | |
4917 | * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET | |
4918 | is defined, call fill_fpxregset. | |
4919 | ||
57e76fac MS |
4920 | 2002-04-24 Roland McGrath <[email protected]> |
4921 | ||
4922 | * config/i386/i386gnu.mh (NATDEPFILES): Add core-regset.o here. | |
4923 | * i386gnu-nat.c [HAVE_SYS_PROCFS_H] | |
4924 | (supply_gregset, supply_fpregset): New functions. | |
4925 | ||
4926 | * gnu-nat.c (gnu_find_memory_regions): New function. | |
4927 | (init_gnu_ops): Set `to_find_memory_regions' hook to that. | |
4928 | (gnu_xfer_memory): Add a cast. | |
4929 | ||
f43845b3 MS |
4930 | 2002-04-24 Michael Snyder <[email protected]> |
4931 | ||
361d1df0 | 4932 | * arm-tdep.c (arm_scan_prologue): Move "mov ip, sp" into the |
f43845b3 MS |
4933 | loop. Add handling for "str lr, [sp, #-4]!" and for saves |
4934 | of argument regs ("str r(0123), [r11, #-nn"]). | |
361d1df0 | 4935 | (arm_skip_prologue): Better handling for frameless functions. |
f43845b3 MS |
4936 | Treat "mov ip, sp" as optional. Recognize "str lr, [sp, #-4]". |
4937 | (arm_skip_prologue): Recognize str r(0123), [r11, #-nn]. | |
4938 | ||
a0abec03 AC |
4939 | Wed Apr 24 14:22:21 2002 Andrew Cagney <[email protected]> |
4940 | ||
4941 | * arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS nor | |
4942 | NUM_PSEUDO_REGS can be used. | |
4943 | ||
d7bd68ca AC |
4944 | 2002-04-24 Andrew Cagney <[email protected]> |
4945 | ||
4946 | * arch-utils.h: Update copyright. | |
4947 | ||
4948 | * gdbarch.sh (PC_IN_SIGTRAMP): Add. | |
4949 | * gdbarch.h, gdbarch.c: Re-generate. | |
4950 | ||
4951 | * inferior.h (IN_SIGTRAMP): Delete definition. | |
4952 | * arch-utils.c (legacy_pc_in_sigtramp): New function. | |
4953 | * arch-utils.h (legacy_pc_in_sigtramp): Declare. | |
4954 | ||
4955 | * mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP. | |
4956 | (mips_dump_tdep): Do not print value of IN_SIGTRAMP. | |
4957 | * hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP. | |
4958 | (find_proc_framesize): Ditto. | |
4959 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto. | |
4960 | (alpha_init_extra_frame_info): Ditto. | |
4961 | * infrun.c (handle_inferior_event): Ditto. | |
4962 | (handle_inferior_event): Ditto. | |
4963 | (check_sigtramp2): Ditto. | |
4964 | * blockframe.c (create_new_frame): Ditto. | |
4965 | (get_prev_frame): Ditto. | |
4966 | * ppc-linux-tdep.c: Update comments. | |
4967 | * i386-linux-tdep.c: Update comments. | |
4968 | * breakpoint.c (bpstat_what): Update comment. | |
4969 | ||
d06f167a ML |
4970 | 2002-04-24 Michal Ludvig <[email protected]> |
4971 | ||
4972 | * gdbserver/linux-low.c (regsets_fetch_inferior_registers), | |
361d1df0 | 4973 | (regsets_store_inferior_registers): Removed cast to int from |
d06f167a ML |
4974 | ptrace() calls. |
4975 | * gdbserver/regcache.h: Added declaration of struct inferior_info. | |
4976 | ||
4867e41e DM |
4977 | 2002-04-24 David S. Miller <[email protected]> |
4978 | ||
21d83aa5 DM |
4979 | * i960-tdep.c (register_in_window_p): New function. |
4980 | (i960_find_saved_register): Use it instead of | |
4981 | REGISTER_IN_WINDOW_P. | |
4982 | * config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete. | |
4983 | ||
4867e41e DM |
4984 | * symtab.h (find_stab_function_addr): Kill extern. |
4985 | * minsyms.c (find_stab_function_addr): Remove from here... | |
4986 | * dbxread.c: ... to here, and mark it static. | |
4987 | ||
69cdf6a2 DM |
4988 | 2002-04-20 David S. Miller <[email protected]> |
4989 | ||
4990 | * sparc-tdep.c (sparc_pop_frame): Only need to allocate | |
4991 | SPARC_INTREG_SIZE * 16 bytes for reg_temp. | |
4992 | ||
5a595886 DM |
4993 | 2002-04-21 David S. Miller <[email protected]> |
4994 | ||
4995 | * remote-vxsparc.c (vx_read_register): Fix typo, we want | |
4996 | REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR. | |
4997 | (vx_write_register): Likewise. | |
4998 | ||
1da1a192 JB |
4999 | 2002-04-23 J. Brobecker <[email protected]> |
5000 | ||
5001 | * source.c (is_regular_file): New function. | |
5002 | (openp): Check wether file to open is a regular file | |
5003 | to avoid opening directories. | |
5004 | ||
baa6f10b JT |
5005 | 2002-04-22 Jason Thorpe <[email protected]> |
5006 | ||
5007 | * findvar.c (extract_signed_integer): Cast printf argument | |
5008 | to suppress format warning. | |
5009 | (extract_unsigned_integer): Likewise. | |
5010 | * infcmd.c (registers_info): Likewise. | |
5011 | * top.c (get_prompt_1): Likewise. | |
5012 | * valops.c (value_assign): Likewise. | |
5013 | * valprint.c (print_decimal): Likewise. | |
5014 | ||
b2c4da81 L |
5015 | 2002-04-22 H.J. Lu ([email protected]) |
5016 | ||
5017 | * c-exp.y (typebase): Support | |
361d1df0 | 5018 | |
b2c4da81 L |
5019 | [long|long long|short] [signed|unsigned] [int|] |
5020 | ||
5021 | and | |
5022 | ||
5023 | signed [long|long long|short] int | |
5024 | ||
f267bd6a JT |
5025 | 2002-04-22 Jason Thorpe <[email protected]> |
5026 | ||
5027 | * Makefile.in (vax-tdep.o): Add $(arch_utils_h), $(inferior_h), | |
5028 | and vax-tdep.h. | |
5029 | * vax-tdep.h: New file. | |
5030 | * vax-tdep.c: Include inferior.h, arch-utils.h, and vax-tdep.h. | |
5031 | Make several routines static. | |
5032 | (vax_get_saved_register): New function. | |
5033 | (vax_gdbarch_init): New function. | |
5034 | (_initialize_vax_tdep): Register vax_gdbarch_init. | |
5035 | * config/vax/tm-vax.h: Set GDB_MULTI_ARCH to GDB_MULTI_ARCH_PARTIAL. | |
5036 | Remove macros now under the control of gdbarch. | |
5037 | ||
da3c6d4a MS |
5038 | 2002-04-22 Michael Snyder <[email protected]> |
5039 | ||
11d3b27d MS |
5040 | * arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn". |
5041 | Some whitespace and coding standards tweaks. | |
da3c6d4a | 5042 | |
a33f7558 JT |
5043 | 2002-04-22 Jason Thorpe <[email protected]> |
5044 | ||
5045 | * vax-tdep.c: Include regcache.h. | |
5046 | (vax_call_dummy_words): New. | |
5047 | (sizeof_vax_call_dummy_words): New. | |
5048 | (vax_fix_call_dummy): New function. | |
5049 | (vax_saved_pc_after_call): Ditto. | |
5050 | * config/vax/tm-vax.h: Don't include regcache.h. | |
5051 | (SAVED_PC_AFTER_CALL): Use vax_saved_pc_after_call. | |
5052 | (CALL_DUMMY): Remove. | |
5053 | (CALL_DUMMY_WORDS): Define. | |
5054 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
5055 | (FIX_CALL_DUMMY): Use vax_fix_call_dummy. | |
5056 | ||
47a73475 MS |
5057 | 2002-04-18 Michael Snyder <[email protected]> |
5058 | ||
5059 | * arm-tdep.h: Change regnum defines to enums for ease of debugging. | |
5060 | ||
52efde73 JT |
5061 | 2002-04-22 Jason Thorpe <[email protected]> |
5062 | ||
5063 | * vax-tdep.c (vax_frame_chain): New function. | |
5064 | (vax_push_dummy_frame): Ditto. | |
5065 | (vax_pop_frame): Ditto. | |
5066 | * config/vax/tm-vax.h (FRAME_CHAIN): vax_frame_chain. | |
5067 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
5068 | generic_frameless_function_invocation_not. | |
5069 | (PUSH_DUMMY_FRAME): Use vax_push_dummy_frame. | |
5070 | (POP_FRAME): Use vax_pop_frame. | |
5071 | ||
ea74468c JT |
5072 | 2002-04-22 Jason Thorpe <[email protected]> |
5073 | ||
5074 | * vax-tdep.c (vax_store_struct_return): New function. | |
5075 | (vax_extract_return_value): Ditto. | |
5076 | (vax_store_return_value): Ditto. | |
5077 | (vax_extract_struct_value_address): Ditto. | |
5078 | * config/vax/tm-vax.h (STORE_STRUCT_RETURN): Use | |
5079 | vax_store_struct_return. | |
5080 | (EXTRACT_RETURN_VALUE): Use vax_extract_return_value. | |
5081 | (STORE_RETURN_VALUE): Use vax_store_return_value. | |
5082 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use vax_extract_struct_value_address. | |
5083 | ||
5516aa92 JT |
5084 | 2002-04-22 Jason Thorpe <[email protected]> |
5085 | ||
5086 | * vax-tdep.c (vax_frame_saved_pc): New function. | |
5087 | (vax_frame_args_address_correct): Ditto. | |
5088 | (vax_frame_args_address): Ditto. | |
5089 | (vax_frame_locals_address): Ditto. | |
5090 | (vax_frame_num_args): Move code to be in proximity to | |
5091 | other frame-related functions. | |
5092 | * config/vax/tm-vax.h (INNER_THAN): Use core_addr_lessthan. | |
5093 | (FRAME_SAVED_PC): Use vax_frame_saved_pc. | |
5094 | (FRAME_ARGS_ADDRESS_CORRECT): Use vax_frame_args_address_correct. | |
5095 | (FRAME_ARGS_ADDRESS): Use vax_frame_args_address. | |
5096 | (FRAME_LOCALS_ADDRESS): Use vax_frame_locals_address. | |
5097 | ||
36af0b35 L |
5098 | 2002-04-22 H.J. Lu ([email protected]) |
5099 | ||
5100 | * Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and | |
5101 | includedir. | |
5102 | ||
ab62c900 JT |
5103 | 2002-04-22 Jason Thorpe <[email protected]> |
5104 | ||
5105 | * vax-tdep.c (vax_frame_init_saved_regs): New function. | |
5106 | * config/vax/tm-vax.h (FRAME_FIND_SAVED_REGS): Remove. | |
5107 | (FRAME_INIT_SAVED_REGS): New macro. | |
5108 | ||
7232b100 JT |
5109 | 2002-04-22 Jason Thorpe <[email protected]> |
5110 | ||
5111 | * MAINTAINERS: Reflect that the Alpha target has been multi-arch'd. | |
5112 | ||
b70d2aee JT |
5113 | 2002-04-22 Jason Thorpe <[email protected]> |
5114 | ||
5115 | * alpha-nat.c (get_longjmp_target): Use ALPHA_* constants | |
5116 | where needed. | |
5117 | (fetch_osf_core_registers): Likewise. | |
5118 | (supply_gregset): Likewise. | |
5119 | ||
a0e8a2d1 | 5120 | 2002-04-22 J. Brobecker <[email protected]> |
361d1df0 | 5121 | |
a0e8a2d1 JB |
5122 | * symfile.h (get_section_index): Define. |
5123 | * symfile.c (get_section_index): New function. | |
5124 | * mdebugread.c (SC_IS_SBSS): New macro. | |
5125 | (SC_IS_BSS): Return true for the scBss storage class only, as | |
5126 | the scSBss storage class refers to the .sbss section. | |
5127 | (parse_partial_symbols): Discard the symbols which associated | |
5128 | section does not exist. | |
5129 | Make sure to use the .sbss section index for symbols which | |
5130 | storage class is scBss, rather than using the .bss section index. | |
5131 | ||
51eb8b08 JT |
5132 | 2002-04-22 Jason Thorpe <[email protected]> |
5133 | ||
5134 | * vax-tdep.c: Update copyright years. | |
5135 | (vax_register_name): New function. | |
5136 | (vax_register_byte): Ditto. | |
5137 | (vax_register_raw_size): Ditto. | |
5138 | (vax_register_virtual_size): Ditto. | |
5139 | (vax_register_virtual_type): Ditto. | |
5140 | * config/vax/tm-vax.h: Update copyright years. | |
5141 | (REGISTER_NAMES): Remove. | |
5142 | (REGISTER_NAME): Define. | |
5143 | (REGISTER_BYTE): Use vax_register_byte. | |
5144 | (REGISTER_RAW_SIZE): Use vax_register_raw_size. | |
5145 | (REGISTER_VIRTUAL_SIZE): Use vax_register_virtual_size. | |
5146 | (REGISTER_VIRTUAL_TYPE): Use vax_register_virtual_type. | |
5147 | ||
6cc1c0a8 AC |
5148 | 2002-04-21 Andrew Cagney <[email protected]> |
5149 | ||
5150 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore | |
5151 | declaration | |
5152 | * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error. | |
5153 | ||
9319a2fe DM |
5154 | 2002-04-21 David S. Miller <[email protected]> |
5155 | ||
5156 | * arch-utils.c (generic_prologue_frameless_p): Kill | |
5157 | SKIP_PROLOGUE_FRAMELESS_P code. | |
5158 | * config/arc/tm-arc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
5159 | references. | |
5160 | (PROLOGUE_FRAMELESS_P, arc_prologue_frameless_p): New. | |
5161 | * arc-tdep.c (arc_prologue_frameless_p): Implement. | |
5162 | * config/arc/tm-sparc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
5163 | references. | |
5164 | (PROLOGUE_FRAMELESS_P, sparc_prologue_frameless_p): New. | |
5165 | * sparc-tdep.c (sparc_prologue_frameless_p): Implement. | |
5166 | (sparc_gdbarch_init): Pass it to | |
5167 | set_gdbarch_prologue_frameless_p. | |
a0e8a2d1 | 5168 | |
e9ed6d01 JT |
5169 | 2002-04-21 Jason Thorpe <[email protected]> |
5170 | ||
5171 | * Makefile.in (ALLDEPFILES): Add alphabsd-nat.c. | |
5172 | (alphabsd-nat.o): New dependency list. | |
5173 | ||
36012033 JT |
5174 | 2002-04-21 Jason Thorpe <[email protected]> |
5175 | ||
5176 | * Makefile.in (ALLDEPFILES): Add alpha-linux-tdep.c and | |
5177 | alphafbsd-tdep.c. | |
5178 | (alpha-linux-tdep.o): New dependency list. | |
5179 | (alphafbsd-tdep.o): Likewise. | |
5180 | ||
3379287a JT |
5181 | 2002-04-21 Jason Thorpe <[email protected]> |
5182 | ||
5183 | * alpha-linux-tdep.c: New file. Move alpha_linux_sigtramp_offset | |
5184 | to here... | |
5185 | * alpha-tdep.c: ...from here. | |
5186 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-linux-tdep.o. | |
5187 | ||
4bcbd6cb JT |
5188 | 2002-04-21 Jason Thorpe <[email protected]> |
5189 | ||
5190 | * config/alpha/tm-alpha.h: Move alpha_software_single_step | |
5191 | prototype from here... | |
5192 | * alpha-tdep.h: ...to here. | |
5193 | ||
b31da25e AC |
5194 | 2002-04-21 Andrew Cagney <[email protected]> |
5195 | ||
5196 | * frame.h (selected_frame_level): Document as deprecated. | |
5197 | (frame_relative_level): Declare. | |
5198 | * stack.c (frame_relative_level): New function. | |
5199 | (selected_frame_level): Document as deprecated. | |
5200 | (select_frame): Do not set the selected_frame_level. | |
5201 | ||
5202 | * stack.c (frame_info, record_selected_frame): Update. | |
5203 | (frame_command, current_frame_command): Update. | |
5204 | (up_silently_base, up_command, down_silently_base): Update. | |
5205 | (down_command): Update. | |
5206 | * inflow.c (kill_command): Update. | |
5207 | * tracepoint.c (finish_tfind_command): Update. | |
5208 | * corelow.c (core_open): Update. | |
5209 | * thread.c (info_threads_command): Update. | |
5210 | (do_captured_thread_select): Update. | |
5211 | * infcmd.c (finish_command): Update. | |
5212 | * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update. | |
5213 | ||
9c1d6fe5 JT |
5214 | 2002-04-21 Jason Thorpe <[email protected]> |
5215 | ||
5216 | * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove. | |
5217 | ||
ab89facf AC |
5218 | 2002-04-21 Andrew Cagney <[email protected]> |
5219 | ||
5220 | * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return | |
5221 | type const. | |
5222 | ||
82a4efa1 JT |
5223 | 2002-04-21 Jason Thorpe <[email protected]> |
5224 | ||
5225 | * alphafbsd-tdep.c: Update copyright years. Include | |
5226 | alpha-tdep.h. | |
5227 | (alphafbsd_use_struct_convention): Make static. | |
5228 | (alphafbsd_init_abi): New function. | |
5229 | (_initialize_alphafbsd_tdep): New function. | |
5230 | * config/alpha/tm-fbsd.h: Update copyright years. | |
5231 | (USE_STRUCT_CONVENTION): Remove. | |
5232 | ||
44dffaac JT |
5233 | 2002-04-21 Jason Thorpe <[email protected]> |
5234 | ||
5235 | * alpha-tdep.c (alpha_abi_handler): New structure to describe | |
5236 | an Alpha ABI variant. | |
5237 | (alpha_abi_handler_list): Declare. | |
5238 | (alpha_gdbarch_register_os_abi): New function. | |
5239 | (alpha_gdbarch_init): Give registered ABI variant handlers a | |
5240 | chance to tweak the gdbarch once we have set up defaults. | |
5241 | * alpha-tdep.h: Prototype alpha_gdbarch_register_os_abi. | |
5242 | ||
65585be4 JT |
5243 | 2002-04-21 Jason Thorpe <[email protected]> |
5244 | ||
5245 | * alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_double | |
5246 | to standard_coerce_float_to_double. | |
5247 | * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
5248 | ||
d9b023cc JT |
5249 | 2002-04-21 Jason Thorpe <[email protected]> |
5250 | ||
5251 | * alpha-tdep.h (gdbarch_tdep): Add vm_min_address member. | |
5252 | * alpha-tdep.c (heuristic_proc_start): Use vm_min_address | |
5253 | from gdbarch_tdep rather than a constant. | |
5254 | (alpha_gdbarch_init): Initialize tdep->vm_min_address to | |
5255 | the default text address for all Alpha Unix ABIs. | |
5256 | (alpha_dump_tdep): Report the value of tdep->vm_min_address. | |
5257 | * config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete. | |
5258 | ||
dc129d82 JT |
5259 | 2002-04-21 Jason Thorpe <[email protected]> |
5260 | ||
5261 | * alpha-tdep.h: New file. Includes several Alpha target constants | |
5262 | taken from... | |
5263 | * config/alpha/tm-alpha.h: ...here. Remove macros that we now | |
5264 | let gdbarch deal with. | |
5265 | (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL. | |
5266 | * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd | |
5267 | to dependency list. | |
5268 | * alpha-nat.c: Include alpha-tdep.h. Update for adjusted | |
5269 | Alpha target register names. | |
5270 | * alphabsd-nat.c: Likewise. | |
5271 | * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted | |
5272 | Alpha target register names. Make serveral routines static. | |
5273 | (alpha_get_saved_register): New function. | |
5274 | (alpha_abi_names): New. | |
5275 | (process_note_abi_tag_sections): New function. | |
5276 | (get_elfosabi): New function. | |
5277 | (alpha_gdbarch_init): New function. | |
5278 | (alpha_dump_tdep): New function. | |
5279 | (_initialize_alpha_tdep): Register alpha_gdbarch_init. | |
5280 | ||
d49d1e0a AC |
5281 | 2002-04-21 Andrew Cagney <[email protected]> |
5282 | ||
5283 | * frame.c (find_saved_register): Delete #ifdef | |
5284 | HAVE_REGISTER_WINDOWS code. | |
5285 | * config/sparc/tm-sparc.h: Update comments. | |
5286 | * config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro. | |
5287 | ||
92e8c9ed AC |
5288 | 2002-04-21 Andrew Cagney <[email protected]> |
5289 | ||
5290 | * i960-tdep.c (i960_find_saved_register): New function. | |
5291 | (i960_get_saved_register): New function. | |
5292 | * config/i960/tm-i960.h (GET_SAVED_REGISTER): Define. | |
5293 | (i960_get_saved_register): Declare. | |
5294 | * config/i960/tm-i960.h, i960-tdep.c: Update copyright. | |
5295 | ||
e1925118 DM |
5296 | 2002-04-20 David S. Miller <[email protected]> |
5297 | ||
5298 | * sparc-nat.c (store-inferior_registers): Fix ambiguous else. | |
5299 | ||
29673b29 AC |
5300 | 2002-04-20 Andrew Cagney <[email protected]> |
5301 | ||
5302 | * arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs | |
5303 | instead of NUM_PSEUDO_REGS. | |
5304 | ||
6c86dcd5 DM |
5305 | 2002-04-20 David S. Miller <[email protected]> |
5306 | ||
5307 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to | |
5308 | GDB_MULTI_ARCH_PARTIAL | |
5309 | * config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not | |
5310 | define, let tm-sp64.h do it. | |
5311 | ||
aa40ec90 JT |
5312 | 2002-04-20 Jason Thorpe <[email protected]> |
5313 | ||
5314 | * frame.c (find_saved_register): Avoid a NULL pointer | |
5315 | dereference and actually walk the frame list. | |
5316 | ||
0f79675b AC |
5317 | 2002-04-20 Andrew Cagney <[email protected]> |
5318 | ||
5319 | * gdbarch.sh (gdbarch_update_p): Keep the list of architectures | |
5320 | sorted in most most-recent-used order. Document. | |
5321 | * gdbarch.h, gdbarch.c: Regenerate. | |
361d1df0 | 5322 | |
c04a1aa8 DJ |
5323 | 2002-04-20 Daniel Jacobowitz <[email protected]> |
5324 | ||
5325 | * gdbserver/inferiors.c (struct inferior_info): Add regcache_data. | |
5326 | (add_inferior): Call create_register_cache. | |
5327 | (clear_inferiors): Call free_register_cache. | |
5328 | (inferior_regcache_data, set_inferior_regcache_data): New functions. | |
5329 | * gdbserver/regcache.c (struct inferior_regcache_data): New. | |
5330 | (registers): Remove. | |
5331 | (get_regcache): New function. | |
5332 | (create_register_cache, free_register_cache): New functions. | |
5333 | (set_register_cache): Don't initialize the register cache here. | |
5334 | (registers_to_string, registers_from_string, register_data): Call | |
5335 | get_regcache. | |
5336 | * gdbserver/regcache.h: Add prototypes. | |
5337 | * gdbserver/server.h: Likewise. | |
5338 | ||
611cb4a5 DJ |
5339 | 2002-04-20 Daniel Jacobowitz <[email protected]> |
5340 | ||
5341 | * gdbserver/mem-break.c: New file. | |
5342 | * gdbserver/mem-break.h: New file. | |
5343 | * gdbserver/Makefile.in: Add mem-break.o rule; update server.h | |
5344 | dependencies. | |
5345 | * gdbserver/inferiors.c (struct inferior_info): Add target_data | |
5346 | member. | |
5347 | (clear_inferiors): Free target_data member if set. | |
5348 | (inferior_target_data, set_inferior_target_data): New functions. | |
5349 | * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len) | |
5350 | (i386_stop_pc, i386_set_pc): New. Add to the_low_target. | |
5351 | * gdbserver/linux-low.c (linux_bp_reinsert): New variable. | |
5352 | (struct inferior_linux_data): New. | |
5353 | (linux_create_inferior): Use set_inferior_target_data. | |
5354 | (linux_attach): Likewise. Call add_inferior. | |
5355 | (linux_wait_for_one_inferior): New function. | |
5356 | (linux_wait): Call it. | |
5357 | (linux_write_memory): Add const. | |
5358 | (initialize_low): Call set_breakpoint_data. | |
5359 | * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint | |
5360 | handling members. | |
5361 | * gdbserver/server.c (attach_inferior): Remove extra add_inferior | |
5362 | call. | |
5363 | * gdbserver/server.h: Include mem-break.h. Update inferior.c | |
5364 | prototypes. | |
5365 | * gdbserver/target.c (read_inferior_memory) | |
5366 | (write_inferior_memory): New functions. | |
5367 | * gdbserver/target.h (read_inferior_memory) | |
5368 | (write_inferior_memory): Change macros to prototypes. | |
5369 | (struct target_ops): Update comments. Add const to write_memory | |
5370 | definition. | |
5371 | ||
f91305dd | 5372 | 2002-04-19 Andrew Cagney <[email protected]> |
bf75c8c1 AC |
5373 | |
5374 | * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame | |
5375 | instead of ->prev. | |
5376 | * z8k-tdep.c (z8k_frame_chain): Do not use ->prev. | |
5377 | * s390-tdep.c (s390_frame_chain): Do not use ->prev. | |
5378 | * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain() | |
5379 | instead of ->prev. | |
5380 | ||
73d322b1 EZ |
5381 | 2002-04-19 Elena Zannoni <[email protected]> |
5382 | ||
5383 | Fix PR gdb/471. | |
5384 | * gdbtypes.c (init_simd_type): Rewrite using new functions. | |
5385 | (build_builtin_type_vec128): Ditto. | |
5386 | (append_composite_type_field): Fix calculation of type length in | |
5387 | union case. | |
5388 | ||
ccd9a834 EZ |
5389 | 2002-04-19 Eli Zaretskii <[email protected]> |
5390 | ||
5391 | * config/djgpp/README: Update. | |
5392 | ||
5393 | * go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a | |
5394 | compiler warnings. | |
5395 | ||
a57f9e49 JT |
5396 | 2002-04-19 Jason Thorpe <[email protected]> |
5397 | ||
5398 | * alpha-tdep.c (setup_arbitrary_frame): Rename... | |
5399 | (alpha_setup_arbitrary_frame): ...to this. | |
5400 | * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update | |
5401 | for alpha_setup_arbitrary_frame. | |
5402 | ||
f4f9705a AC |
5403 | 2002-04-18 Andrew Cagney <[email protected]> |
5404 | ||
5405 | * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer. | |
5406 | * gdbarch.h, gdbarch.c: Regenerate. | |
361d1df0 | 5407 | |
f4f9705a AC |
5408 | * defs.h (breakpoint_from_pc_fn): Delete type definition. |
5409 | * target.h (memory_breakpoint_from_pc): Update declaration. | |
5410 | * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto. | |
5411 | ||
5412 | * arch-utils.c (legacy_breakpoint_from_pc): Update return type. | |
5413 | * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto. | |
5414 | * mem-break.c (memory_breakpoint_from_pc): Ditto. | |
5415 | * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto. | |
5416 | * s390-tdep.c (s390_breakpoint_from_pc): Ditto | |
5417 | * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto. | |
5418 | * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto. | |
5419 | * mips-tdep.c (mips_breakpoint_from_pc): Ditto. | |
5420 | * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto. | |
5421 | * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto. | |
5422 | * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto. | |
5423 | * arch-utils.c (legacy_breakpoint_from_pc): Ditto.. | |
5424 | ||
5425 | * mem-break.c (default_memory_insert_breakpoint): Make `bp' a | |
5426 | const pointer. | |
5427 | * monitor.c (monitor_insert_breakpoint): Ditto. | |
5428 | * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'. | |
5429 | ||
5430 | * config/mcore/tm-mcore.h: Update copyright. | |
5431 | * mem-break.c: Ditto. | |
5432 | * xstormy16-tdep.c: Ditto. | |
5433 | ||
29f319b8 PM |
5434 | 2002-04-18 Pierre Muller <[email protected]> |
5435 | ||
5436 | * p-exp.y: Add precedence rule for '^' token. | |
5437 | This removes the shift/reduce conflicts. | |
5438 | Remove the comment concerning these shift/reduce conflicts. | |
5439 | ||
ebeac11a EZ |
5440 | 2002-04-18 Elena Zannoni <[email protected]> |
5441 | ||
5442 | * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro. | |
5443 | (registers_powerpc_nofp): New register set for processors | |
5444 | without floating point unit. | |
5445 | ||
27c31547 DM |
5446 | 2002-04-18 David S. Miller <[email protected]> |
5447 | ||
5448 | * MAINTAINERS: Add myself to write-after-approval. | |
5449 | ||
47a73475 MS |
5450 | 2002-04-17 Michael Snyder <[email protected]> |
5451 | ||
5452 | * MAINTAINERS: Add myself as co-maintainer of testsuite/gdb.asm. | |
5453 | ||
953836b2 AC |
5454 | 2002-04-17 Andrew Cagney <[email protected]> |
5455 | ||
5456 | * rs6000-tdep.c (frame_initial_stack_address): Use | |
5457 | frame_register_read to read the alloca_reg. | |
5458 | ||
8b0d4340 AC |
5459 | 2002-04-17 Andrew Cagney <[email protected]> |
5460 | ||
5461 | * frame.c (find_saved_register): Find saved registers in the next | |
5462 | not prev frame. | |
5463 | Fix PR gdb/365. | |
5464 | ||
d8864532 AC |
5465 | 2002-04-17 Andrew Cagney <[email protected]> |
5466 | ||
5467 | * gdbarch.sh (LANG): Set to ``c''. | |
5468 | ||
36cc83a3 | 5469 | 2002-04-15 Andrew Cagney <[email protected]> |
361d1df0 | 5470 | |
36cc83a3 | 5471 | * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems. |
361d1df0 | 5472 | |
2f4150cc | 5473 | 2002-04-15 Andrew Cagney <[email protected]> |
2c7ef074 AC |
5474 | |
5475 | * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h". | |
5476 | Update copyright. | |
5477 | ||
628703c6 | 5478 | * hpread.c (hpread_get_lntt): Add declaration. |
2f4150cc | 5479 | Also fix PR gdb/391. |
361d1df0 | 5480 | |
56157b4a AC |
5481 | 2002-04-14 Andrew Cagney <[email protected]> |
5482 | ||
5483 | * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6. | |
5484 | * aclocal.m4, configure: Re-generate. | |
5485 | Fix PR gdb/391. | |
361d1df0 | 5486 | |
6d1e3329 EZ |
5487 | 2002-04-14 Elena Zannoni <[email protected]> |
5488 | ||
5489 | * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN | |
5490 | instead of tm_print_insn. | |
5491 | ||
cb06fa07 EZ |
5492 | 2002-04-14 Elena Zannoni <[email protected]> |
5493 | ||
5494 | * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo. | |
5495 | ||
f208ba17 AC |
5496 | 2002-04-14 Andrew Cagney <[email protected]> |
5497 | ||
5498 | * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro. | |
5499 | * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro. | |
5500 | (get_prev_frame): Do not call FRAME_CHAIN_COMBINE. | |
5501 | ||
20f01a46 DH |
5502 | 2002-04-12 Don Howard <[email protected]> |
5503 | ||
5504 | * cli/cli-cmds.c (init_cli_cmds): Add new user settable value: | |
5505 | max_user_call_depth. | |
5506 | (init_cmd_lists): Initialize the new value; | |
5507 | * cli/cli-script.c (execute_user_command): Limit the call depth of | |
5508 | user defined commands. This avoids a core-dump when user commands | |
5509 | are infinitly recursive. | |
5510 | ||
a88376a3 KB |
5511 | 2002-04-12 Kevin Buettner <[email protected]> |
5512 | ||
5513 | * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''. | |
5514 | * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset'' | |
5515 | from tdep struct instead of DEFAULT_LR_SAVE. | |
5516 | (rs6000_gdbarch_init): Initialize ``lr_frame_offset''. | |
5517 | * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete. | |
5518 | * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete. | |
5519 | ||
f2172603 MS |
5520 | 2002-04-12 Michael Snyder <[email protected]> |
5521 | ||
694f61fb | 5522 | * Remote.c: Spelling fix. |
20fe79c8 MS |
5523 | * gcore.c (default_derive_heap_segment): Use bfd_section_name. |
5524 | If no symbol found for "sbrk", try "_sbrk". | |
5525 | (make_output_phdrs): Use bfd_section_name. | |
5526 | (gcore_copy_callback): Use bfd_section_name. | |
62995fc4 | 5527 | * eval.c: Indentation fix-ups. |
169a7369 MS |
5528 | * d10v-tdep.c (d10v_make_iaddr): Make it idempotent, |
5529 | in case it gets applied to an address that is already | |
5530 | in the instruction space. | |
de74f71f MS |
5531 | * cli/cli-decode.c (help_list): Allow long lines to wrap. |
5532 | * symfile.c: Fix indentation, long lines. | |
f2172603 MS |
5533 | * source.c: White space fix-up. |
5534 | ||
cda5a58a AC |
5535 | 2002-04-12 Andrew Cagney <[email protected]> |
5536 | ||
5537 | * defs.h (read_relative_register_raw_bytes): Delete declaration. | |
5538 | * frame.c (frame_register_read): New function. Return non-zero on | |
5539 | success. | |
5540 | (read_relative_register_raw_bytes_for_frame): Delete. | |
5541 | (read_relative_register_raw_bytes): Delete. | |
5542 | * frame.h (frame_register_read): Declare. | |
5543 | * d30v-tdep.c: Update Copyright. Use frame_register_read. | |
5544 | * sh-tdep.c: Ditto. | |
5545 | * infcmd.c (do_registers_info): Ditto. | |
5546 | * hppa-tdep.c: Ditto. | |
5547 | * rs6000-tdep.c: Ditto. | |
5548 | * h8500-tdep.c: Ditto. | |
5549 | * mips-tdep.c: Ditto. | |
5550 | * h8300-tdep.c: Ditto. | |
5551 | * z8k-tdep.c: Ditto. | |
5552 | ||
2ea5f656 KB |
5553 | 2002-04-12 Kevin Buettner <[email protected]> |
5554 | ||
5555 | From Jimi X <[email protected]>: | |
5556 | * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for | |
5557 | 64-bit SysV ABI. | |
5558 | ||
27b15785 KB |
5559 | 2002-04-12 Kevin Buettner <[email protected]> |
5560 | ||
5561 | From Jimi X <[email protected]>: | |
5562 | * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from | |
5563 | bfd info. | |
5564 | ||
5d57ee30 KB |
5565 | 2002-04-12 Kevin Buettner <[email protected]> |
5566 | ||
5567 | From Jimi X <[email protected]>: | |
5568 | * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define | |
5569 | register sets for these processor variants. | |
5570 | ||
bc1e36ca DJ |
5571 | 2002-04-11 Daniel Jacobowitz <[email protected]> |
5572 | ||
5573 | * gdbserver/linux-low.c (usr_store_inferior_registers): Support | |
5574 | registers which are allowed to fail to store. | |
5575 | * gdbserver/linux-low.h (linux_target_ops): Likewise. | |
5576 | * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR. | |
5577 | (ppc_cannot_store_register): FPSCR may not be storable. | |
5578 | * regformats/reg-ppc.dat: Support FPSCR. | |
5579 | ||
e3f36dbd KB |
5580 | 2002-04-11 Kevin Buettner <[email protected]> |
5581 | ||
5582 | * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''. | |
5583 | * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): | |
5584 | Add fpscr as an invalid/unfetchable register. | |
5585 | * ppc-linux-nat.c (ppc_register_u_addr, store_register) | |
5586 | (fetch_ppc_registers, store_ppc_registers, supply_fpregset) | |
5587 | (fill_fpregset): Add support for register fpscr. | |
5588 | (fetch_ppc_registers, store_ppc_registers, supply_gregset) | |
5589 | (fill_gregset): Account for the fact that register ``mq'' might | |
5590 | not exist. | |
5591 | * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr. | |
5592 | (registers_power): Add fpscr to register set at slot 71. | |
5593 | (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't | |
5594 | exist on most PPC architectures. Initialize ppc_fpscr_regnum. | |
5595 | ||
943c9c25 MS |
5596 | 2002-04-11 Michael Snyder <[email protected]> |
5597 | ||
5598 | * configure.in: Autoconfiscate _SYSCALL32 define for solaris. | |
5599 | * configure: Regenerate. | |
5600 | * config.in: Regenerate. | |
5601 | * acconfig.h: Add define for _SYSCALL32. | |
5602 | * core-sol2.c: Remove #define _SYSCALL32. | |
5603 | * solib-legacy.c: Remove #define _SYSCALL32. | |
5604 | ||
d8c0a2e7 AC |
5605 | 2002-04-10 Andrew Cagney <[email protected]> |
5606 | ||
5607 | * stack.c (select_frame): Cleanup internal error message, do not | |
5608 | use %p. | |
5609 | ||
7cc19214 AC |
5610 | 2002-04-10 Andrew Cagney <[email protected]> |
5611 | ||
5612 | * stack.c (select_frame): Check that selected_frame and the | |
5613 | specified level are as expected. | |
5614 | * blockframe.c (get_prev_frame): Set the `level' from next_frame. | |
5615 | Update copyright. | |
5616 | * frame.h (struct frame_info): Add field `level'. Update | |
5617 | copyright. | |
5618 | Work-in-progress PR gdb/464. | |
5619 | ||
67a2b77e AC |
5620 | 2002-04-10 Andrew Cagney <[email protected]> |
5621 | ||
5622 | * maint.c (maint_print_section_info): Rename print_section_info. | |
5623 | (print_bfd_section_info, print_objfile_section_info): Update. | |
5624 | * inferior.h (struct gdbarch): Add opaque declaration. | |
5625 | * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh. | |
5626 | * gdbarch.h: Regenerate. | |
5627 | ||
8cfda98c ML |
5628 | 2002-04-10 Michal Ludvig <[email protected]> |
5629 | ||
5630 | * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete. | |
5631 | (PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h. | |
5632 | (kernel_u_size): Added. | |
5633 | * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete. | |
5634 | (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h. | |
5635 | ||
ca439ad2 | 5636 | 2002-04-04 Jim Ingham <[email protected]> |
361d1df0 | 5637 | |
ca439ad2 JI |
5638 | * valarith.c (find_size_for_pointer_math): New function, either returns |
5639 | the size for a pointer's target, returns 1 for void *, or errors for | |
5640 | incomplete types. | |
5641 | (value_add, value_sub): use find_size_for_pointer_math. | |
5642 | ||
2f2893d9 DJ |
5643 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
5644 | ||
5645 | * linux-low.c (linux_look_up_symbols): New hook. | |
5646 | (linux_target_ops): Add linux_look_up_symbols. | |
5647 | * remote-utils.c (decode_address): New function. | |
5648 | (look_up_one_symbol): New function. | |
5649 | * server.c (handle_query): Call target look_up_symbols hook. | |
5650 | * server.h (look_up_one_symbol): Add prototype. | |
5651 | * target.h (struct target_ops): Add look_up_symbols hook. | |
5652 | ||
2ec06d2e DJ |
5653 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
5654 | ||
d64b8841 DJ |
5655 | * gdbserver/server.h: Include <string.h> if HAVE_STRING_H. |
5656 | * ChangeLog: Correct paths in last ChangeLog entry. | |
5657 | ||
5658 | 2002-04-09 Daniel Jacobowitz <[email protected]> | |
5659 | ||
5660 | * gdbserver/linux-low.h: Remove obsolete prototypes. | |
2ec06d2e DJ |
5661 | (struct linux_target_ops): New. |
5662 | (extern the_low_target): New. | |
d64b8841 | 5663 | * gdbserver/linux-low.c (num_regs, regmap): Remove declarations. |
2ec06d2e DJ |
5664 | (register_addr): Use the_low_target explicitly. |
5665 | (fetch_register): Likewise. | |
5666 | (usr_fetch_inferior_registers): Likewise. | |
5667 | (usr_store_inferior_registers): Likewise. | |
d64b8841 | 5668 | * gdbserver/linux-arm-low.c (num_regs): Remove. |
2ec06d2e DJ |
5669 | (arm_num_regs): Define. |
5670 | (arm_regmap): Renamed from regmap, made static. | |
5671 | (arm_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5672 | made static. | |
5673 | (arm_cannot_store_register): Renamed from cannot_store_register, | |
5674 | made static. | |
5675 | (the_low_target): New. | |
d64b8841 | 5676 | * gdbserver/linux-i386-low.c (num_regs): Remove. |
2ec06d2e DJ |
5677 | (i386_num_regs): Define. |
5678 | (i386_regmap): Renamed from regmap, made static. | |
5679 | (i386_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5680 | made static. | |
5681 | (i386_cannot_store_register): Renamed from cannot_store_register, | |
5682 | made static. | |
5683 | (the_low_target): New. | |
d64b8841 | 5684 | * gdbserver/linux-ia64-low.c (num_regs): Remove. |
2ec06d2e DJ |
5685 | (ia64_num_regs): Define. |
5686 | (ia64_regmap): Renamed from regmap, made static. | |
5687 | (ia64_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5688 | made static. | |
5689 | (ia64_cannot_store_register): Renamed from cannot_store_register, | |
5690 | made static. | |
5691 | (the_low_target): New. | |
d64b8841 | 5692 | * gdbserver/linux-m68k-low.c (num_regs): Remove. |
2ec06d2e DJ |
5693 | (m68k_num_regs): Define. |
5694 | (m68k_regmap): Renamed from regmap, made static. | |
5695 | (m68k_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5696 | made static. | |
5697 | (m68k_cannot_store_register): Renamed from cannot_store_register, | |
5698 | made static. | |
5699 | (the_low_target): New. | |
d64b8841 | 5700 | * gdbserver/linux-mips-low.c (num_regs): Remove. |
2ec06d2e DJ |
5701 | (mips_num_regs): Define. |
5702 | (mips_regmap): Renamed from regmap, made static. | |
5703 | (mips_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5704 | made static. | |
5705 | (mips_cannot_store_register): Renamed from cannot_store_register, | |
5706 | made static. | |
5707 | (the_low_target): New. | |
d64b8841 | 5708 | * gdbserver/linux-ppc-low.c (num_regs): Remove. |
2ec06d2e DJ |
5709 | (ppc_num_regs): Define. |
5710 | (ppc_regmap): Renamed from regmap, made static. | |
5711 | (ppc_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5712 | made static. | |
5713 | (ppc_cannot_store_register): Renamed from cannot_store_register, | |
5714 | made static. | |
5715 | (the_low_target): New. | |
d64b8841 | 5716 | * gdbserver/linux-s390-low.c (num_regs): Remove. |
2ec06d2e DJ |
5717 | (s390_num_regs): Define. |
5718 | (s390_regmap): Renamed from regmap, made static. | |
5719 | (s390_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5720 | made static. | |
5721 | (s390_cannot_store_register): Renamed from cannot_store_register, | |
5722 | made static. | |
5723 | (the_low_target): New. | |
d64b8841 | 5724 | * gdbserver/linux-sh-low.c (num_regs): Remove. |
2ec06d2e DJ |
5725 | (sh_num_regs): Define. |
5726 | (sh_regmap): Renamed from regmap, made static. | |
5727 | (sh_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5728 | made static. | |
5729 | (sh_cannot_store_register): Renamed from cannot_store_register, | |
5730 | made static. | |
5731 | (the_low_target): New. | |
d64b8841 | 5732 | * gdbserver/linux-x86-64-low.c (x86_64_regmap): Renamed from regmap. |
2ec06d2e DJ |
5733 | (the_low_target): New. |
5734 | ||
96cb11df AC |
5735 | 2002-04-09 Andrew Cagney <[email protected]> |
5736 | ||
5737 | * frame.c (read_relative_register_raw_bytes_for_frame): Do not | |
5738 | override FP_REGNUM with frame->fp. Update copyright. | |
5739 | * parse.c (num_std_regs, std_regs): Delete. | |
5740 | (target_map_name_to_register): Do not search std_regs. Update | |
5741 | function description. | |
5742 | * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete | |
5743 | declarations. Update copyright. | |
5744 | Fix PR gdb/251. | |
361d1df0 | 5745 | |
c3a3ccc7 DJ |
5746 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
5747 | ||
5748 | * gdbserver/Makefile.in: Add stamp-h target. | |
5749 | * gdbserver/configure.in: Create stamp-h. | |
5750 | * gdbserver/configure: Regenerated. | |
5751 | ||
ce3a066d DJ |
5752 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
5753 | ||
5754 | * gdbserver/inferiors.c: New file. | |
5755 | * gdbserver/target.c: New file. | |
5756 | * gdbserver/target.h: New file. | |
5757 | * gdbserver/Makefile.in: Add target.o and inferiors.o. Update | |
5758 | dependencies. | |
5759 | * gdbserver/linux-low.c (inferior_pid): New static variable, | |
5760 | moved from server.c. | |
5761 | (linux_create_inferior): Renamed from create_inferior. | |
5762 | Call add_inferior. Return 0 on success instead of a PID. | |
5763 | (linux_attach): Renamed from myattach. | |
5764 | (linux_kill): Renamed from kill_inferior. Call clear_inferiors (). | |
5765 | (linux_thread_alive): Renamed from mythread_alive. | |
5766 | (linux_wait): Renamed from mywait. Call clear_inferiors () if the | |
5767 | child dies. | |
5768 | (linux_resume): Renamed from myresume. Add missing ``return 0''. | |
5769 | (regsets_store_inferior_registers): Correct error message. | |
5770 | Add missing ``return 0''. | |
5771 | (linux_fetch_registers): Renamed from fetch_inferior_registers. | |
5772 | (linux_store_registers): Renamed from store_inferior_registers. | |
5773 | (linux_read_memory): Renamed from read_inferior_memory. | |
5774 | (linux_write_memory): Renamed from write_inferior_memory. | |
5775 | (linux_target_ops): New structure. | |
5776 | (initialize_low): Call set_target_ops (). | |
5777 | * gdbserver/remote-utils.c (unhexify): New function. | |
5778 | (hexify): New function. | |
5779 | (input_interrupt): Send signals to ``signal_pid''. | |
5780 | * gdbserver/server.c (inferior_pid): Remove. | |
5781 | (start_inferior): Update create_inferior call. | |
5782 | (attach_inferior): Call add_inferior. | |
5783 | (handle_query): New function. | |
5784 | (main): Call handle_query for `q' packets. | |
5785 | * gdbserver/server.h: Include "target.h". Remove obsolete prototypes. | |
5786 | Add prototypes for "inferiors.c", "target.c", hexify, and unhexify. | |
5787 | ||
0729219d DJ |
5788 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
5789 | ||
5790 | * gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury | |
5791 | dependencies. | |
5792 | * gdbserver/configure.in: Check for <string.h> | |
5793 | * gdbserver/configure: Regenerate. | |
5794 | * gdbserver/config.in: Regenerate. | |
5795 | * gdbserver/gdbreplay.c: Include needed system headers. | |
5796 | (remote_open): Remove strchr prototype. | |
5797 | * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS. | |
5798 | * gdbserver/regcache.c (supply_register): Change buf argument to const void *. | |
5799 | (supply_register_by_name): Likewise. | |
5800 | (collect_register): Change buf argument to void *. | |
5801 | (collect_register_by_name): Likewise. | |
5802 | * gdbserver/regcache.h: Add missing prototypes. | |
5803 | * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa. | |
5804 | * gdbserver/server.c (handle_query): New function. | |
5805 | (attached): New static variable, moved out of main. | |
5806 | (main): Quiet longjmp clobber warnings. | |
5807 | * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. | |
5808 | * gdbserver/utils.c (error): Remove NORETURN. | |
5809 | (fatal): Likewise. | |
5810 | ||
97658e92 DJ |
5811 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
5812 | ||
5813 | * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer | |
5814 | after the last symbol in a block. | |
5815 | ||
6044e3eb PM |
5816 | 2002-04-09 Pierre Muller <[email protected]> |
5817 | ||
5818 | * p-exp.y (yylex): Handle also the fact that is_a_field_of_this | |
5819 | is non zero as a found symbol. | |
5820 | ||
0406ec40 AC |
5821 | 2002-04-08 Andrew Cagney <[email protected]> |
5822 | ||
5823 | * findvar.c: Include "builtin-regs.h". | |
5824 | (value_of_register): Call value_of_builtin_reg when applicable. | |
5825 | * parse.c: Include "builtin-regs.h" and "gdb_assert.h". | |
5826 | (target_map_name_to_register): Call | |
5827 | builtin_reg_map_name_to_regnum. | |
5828 | * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c. | |
5829 | (COMMON_OBS): Add builtin-regs.o and std-regs.o. | |
5830 | (builtin_regs_h): Define. | |
5831 | (builtin-regs.o): New target. | |
5832 | (findvar.o): Add $(builtin_regs_h). | |
5833 | * builtin-regs.c, builtin-regs.h: New files. | |
5834 | * std-regs.c: New file. | |
5835 | Partial fix for PR gdb/251. | |
5836 | ||
56a6dfb9 KB |
5837 | 2002-04-08 Kevin Buettner <[email protected]> |
5838 | ||
5839 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn; | |
5840 | it's no longer required. | |
5841 | ||
3a808432 AC |
5842 | 2002-04-08 Andrew Cagney <[email protected]> |
5843 | ||
5844 | * Makefile.in (gdbtk-wrapper.o): Add missing dependencies. | |
5845 | ||
7c40d541 KB |
5846 | 2002-04-08 Kevin Buettner <[email protected]> |
5847 | ||
5848 | From Jimi X <[email protected]>: | |
5849 | * rs6000-tdep.c (rs6000_software_single_step): Use | |
5850 | rs6000_breakpoint_from_pc() to fetch breakpoint instruction | |
5851 | and size. Use target_insert_breakpoint() and | |
5852 | target_remove_breakpoint() to insert and remove breakpoints | |
5853 | instead of explicit memory reads and writes. | |
5854 | ||
cc9836a8 KB |
5855 | 2002-04-08 Kevin Buettner <[email protected]> |
5856 | ||
5857 | * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete. | |
5858 | * rs6000-tdep.c (rs6000_push_arguments): Eliminate | |
5859 | ELF_OBJECT_FORMAT ifdef. | |
5860 | ||
7495d1dc KB |
5861 | 2002-04-08 Kevin Buettner <[email protected]> |
5862 | ||
5863 | From Jimi X <[email protected]>: | |
5864 | * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn(). | |
5865 | ||
4288e836 KB |
5866 | 2002-04-08 Kevin Buettner <[email protected]> |
5867 | ||
5868 | From Jimi X <[email protected]>: | |
5869 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro | |
5870 | definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET. | |
5871 | ||
a4e4e501 MK |
5872 | 2002-04-07 Mark Kettenis <[email protected]> |
5873 | ||
5874 | * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions): | |
5875 | s/asprintf/xasprintf/. | |
5876 | (fbsd_make_corefile_notes): s/strdup/xstrdup/. | |
5877 | ||
006defba AC |
5878 | 2002-04-07 Andrew Cagney <[email protected]> |
5879 | ||
5880 | I believe Jeff Law denies responsability for this one: | |
5881 | * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork. | |
5882 | * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork. | |
5883 | * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork. | |
5884 | Work-around for PR gdb/366. | |
5885 | ||
7aa83cac EZ |
5886 | 2002-04-07 Elena Zannoni <[email protected]> |
5887 | ||
5888 | * remote-e7000.c (write_small, e7000_read_inferior_memory, | |
5889 | e7000_read_inferior_memory_large, e7000_insert_breakpoint, | |
5890 | e7000_remove_breakpoint): Use paddr_nz() to print addresses. | |
5891 | ||
cf1fcca1 EZ |
5892 | 2002-04-07 Elena Zannoni <[email protected]> |
5893 | ||
5894 | * sh-tdep.c (sh_fp_frame_init_saved_regs, | |
5895 | sh_nofp_frame_init_saved_regs): Use alloca() for 'where' | |
5896 | information. | |
5897 | ||
3f289e6f AC |
5898 | 2002-04-07 Andrew Cagney <[email protected]> |
5899 | ||
5900 | * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER | |
5901 | maintainer. | |
5902 | ||
129188f6 AC |
5903 | 2002-04-07 Andrew Cagney <[email protected]> |
5904 | ||
5905 | * README (Reporting Bugs in GDB): Document the bug web page as the | |
5906 | prefered way of submitting bugs. | |
5907 | Fix PR gdb/402. | |
5908 | ||
1200cd6e AC |
5909 | 2002-04-06 Andrew Cagney <[email protected]> |
5910 | ||
5911 | * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of | |
5912 | -1. Update comment. | |
5913 | * gdbarch.h, gdbarch.c: Re-generate. | |
5914 | ||
2853c33c AS |
5915 | 2002-04-07 Andreas Schwab <[email protected]> |
5916 | ||
5917 | * m68klinux-nat.c (fill_fpregset): Properly pass address of | |
5918 | buffer to regcache_collect. | |
5919 | ||
c2169756 AC |
5920 | 2002-04-06 Andrew Cagney <[email protected]> |
5921 | ||
5922 | * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1. | |
5923 | * gdbarch.c, gdbarch.h: Re-generate. | |
5924 | ||
25f1b008 AC |
5925 | 2002-04-06 Andrew Cagney <[email protected]> |
5926 | ||
5927 | * symtab.c (lookup_symtab): Remove ``const'' from ``rp'' | |
5928 | declaration. Fix -Werror. | |
5929 | ||
59263426 DJ |
5930 | 2002-04-05 Daniel Jacobowitz <[email protected]> |
5931 | ||
5932 | * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap. | |
5933 | * gdbarch.c: Regenerate. | |
5934 | ||
f5db4da3 MS |
5935 | 2002-04-05 Michael Snyder <[email protected]> |
5936 | ||
80f8a6eb MS |
5937 | * breakpoint.c (clear_command): Rewrite middle section to |
5938 | combine two loops with identical control conditions. | |
5939 | Add a cleanup to eliminate a memory leak. | |
f5db4da3 MS |
5940 | * cli/cli-dump.c (restore_section_callback): Use paddr_nz. |
5941 | ||
ad3dcc5c L |
5942 | 2002-04-05 H.J. Lu ([email protected]) |
5943 | ||
5944 | * solib-svr4.c (bkpt_names): Add "__start". | |
5945 | ||
f32e7a74 AC |
5946 | 2002-04-04 Andrew Cagney <[email protected]> |
5947 | ||
5948 | * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64 | |
5949 | as test for 64 bit target. | |
5950 | ||
8227c0ff AC |
5951 | 2002-04-05 Andrew Cagney <[email protected]> |
5952 | ||
5953 | * h8500-tdep.c (h8500_write_fp): Delete function. | |
5954 | * dwarf2cfi.c (cfi_write_fp): Document as not used. | |
5955 | * mips-tdep.c (mips_gdbarch_init): Do not set write_fp. | |
5956 | * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp. | |
5957 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp. | |
5958 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp. | |
5959 | * s390-tdep.c (s390_gdbarch_init): Do not set write_fp. | |
5960 | (s390_write_fp): | |
5961 | * sh-tdep.c (sh_gdbarch_init): Do not set write_fp. | |
5962 | * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp. | |
5963 | * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp. | |
5964 | (d10v_write_fp): Delete function. | |
5965 | * inferior.h (write_fp, generic_target_write_fp): Delete | |
5966 | declarations. | |
5967 | * regcache.c (generic_target_write_fp): Delete function. | |
5968 | (write_fp): Delete function. | |
5969 | * gdbarch.sh (TARGET_WRITE_FP): Delete. | |
5970 | * gdbarch.h, gdbarch.c: Regenerate. | |
5971 | * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro. | |
5972 | * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro. | |
5973 | (sparc64_write_fp): Delete declaration. | |
5974 | * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro. | |
5975 | (h8500_write_fp): Delete declaration. | |
5976 | ||
2757dd86 AC |
5977 | 2002-04-04 Andrew Cagney <[email protected]> |
5978 | ||
5979 | * sparc-tdep.c (sparc64_write_fp): Delete. | |
5980 | (sparc_push_dummy_frame): Replace write_fp call with code to store | |
5981 | the FP directly. | |
5982 | (sparc_gdbarch_init): Do not initialize write_fp. | |
5983 | ||
c69255e1 KB |
5984 | 2002-04-05 Kevin Buettner <[email protected]> |
5985 | ||
5986 | * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable | |
5987 | clause. | |
5988 | ||
ae767bfb JB |
5989 | 2002-03-29 Jim Blandy <[email protected]> |
5990 | ||
5991 | * stack.c (get_selected_block): Add new argument `addr_in_block', | |
5992 | used to return the exact code address we used to select the block, | |
5993 | not just the block. | |
5994 | * blockframe.c (get_frame_block, get_current_block): Same. | |
5995 | * frame.h (get_frame_block, get_current_block, | |
5996 | get_selected_block): Update declarations. | |
5997 | * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c, | |
5998 | linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed. | |
5999 | ||
84d2ac95 MS |
6000 | 2002-04-05 Michael Snyder <[email protected]> |
6001 | ||
6002 | * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in | |
6003 | warning message. | |
6004 | ||
596aa3bf JB |
6005 | 2002-04-05 J. Brobecker <[email protected]> |
6006 | ||
6007 | * utils.c (xfullpath): New function. | |
6008 | * defs.h (xfullpath): Add declaration. | |
6009 | * source.c (openp): Use xfullpath in place of gdb_realpath to | |
6010 | avoid resolving the basename part of filenames when the | |
6011 | associated file is a symbolic link. This fixes a potential | |
6012 | inconsistency between the filenames known to GDB and the | |
6013 | filenames it prints in the annotations. | |
6014 | * symtab.c (lookup_symtab): Use the new xfullpath function, in order | |
6015 | to be able to match a filename with either the real filename, or | |
6016 | the name of any symbolic link to this file. | |
6017 | (lookup_partial_symtab): Ditto. | |
6018 | ||
c02f5703 MS |
6019 | 2002-04-04 Michael Snyder <[email protected]> |
6020 | ||
6021 | * breakpoint.c: Add support for hardware breakpoints in overlays. | |
6022 | (overlay_events_enabled): New state variable. | |
6023 | (insert_breakpoints): Use overlay_events_enabled to decide | |
6024 | whether to attempt to set a breakpoint at the overlay load addr. | |
6025 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
6026 | (remove_breakpoint): Use overlay_events_enabled to decide | |
6027 | whether breakpoints need to be removed from overlay load addr. | |
6028 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
6029 | (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays. | |
361d1df0 | 6030 | (create_overlay_event_breakpoint, enable_overlay_breakpoints, |
c02f5703 MS |
6031 | disable_overlay_breakpoints): Update overlay_events_enabled. |
6032 | ||
5fb290d7 DJ |
6033 | 2002-04-04 Daniel Jacobowitz <[email protected]> |
6034 | ||
6035 | * dwarf2read.c (struct function_range): New. | |
6036 | (cu_first_fn, cu_last_fn, cu_cached_fn): New. | |
6037 | (check_cu_functions): New. | |
6038 | (read_file_scope): Initialize global function lists. | |
6039 | Call dwarf_decode_line after processing children. | |
6040 | (read_func_scope): Add to global function list. | |
6041 | (dwarf_decode_lines): Call check_cu_functions everywhere | |
6042 | record_line is called. Call record_line with a linenumber | |
6043 | of 0 to mark sequence ends. | |
6044 | ||
7b3fabf0 ML |
6045 | 2002-04-04 Michal Ludvig <[email protected]> |
6046 | ||
361d1df0 | 6047 | * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI |
7b3fabf0 ML |
6048 | change sync with glibc. |
6049 | ||
bce58c09 JB |
6050 | 2002-04-03 Jim Blandy <[email protected]> |
6051 | ||
6052 | * configure.in: Call AC_C_INLINE. | |
6053 | * configure: Regenerated. | |
361d1df0 | 6054 | |
2fccf04a DJ |
6055 | 2002-04-01 Daniel Jacobowitz <[email protected]> |
6056 | ||
6057 | * rs6000-tdep.c: Change #include of "bfd/libcoff.h" | |
6058 | and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h". | |
6059 | ||
2d1bfe2e MK |
6060 | 2002-03-31 Mark Kettenis <[email protected]> |
6061 | ||
a5941fbf MK |
6062 | * NEWS: Mention gcore support on FreeBSD/i386. |
6063 | ||
a90cd31d MK |
6064 | * fbsd-proc.c: New file. |
6065 | * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define. | |
6066 | * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o. | |
6067 | ||
2d1bfe2e MK |
6068 | * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in |
6069 | while statement. | |
6070 | ||
9eb6e5a1 JB |
6071 | 2002-03-29 Jim Blandy <[email protected]> |
6072 | ||
6073 | * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate | |
6074 | unescaped newlines in string literals, but newer ones don't. So | |
6075 | escape them. | |
6076 | ||
f02df580 MS |
6077 | 2002-03-26 Michael Snyder <[email protected]> |
6078 | Andrew Cagney <[email protected]> | |
6079 | ||
361d1df0 | 6080 | * cli/cli-dump.c: New file. Dump memory to file, |
f02df580 MS |
6081 | restore file to memory. |
6082 | * cli/cli-dump.h: New file. | |
6083 | * Makefile.in: Add rules, dependencies for cli-dump.o. | |
89743e04 | 6084 | * NEWS: Mention new commands. |
f02df580 | 6085 | |
109f874e MS |
6086 | 2002-03-28 Michael Snyder <[email protected]> |
6087 | ||
6088 | * symfile.c (symbol_file_add): Move test for null symbols to later. | |
6089 | ||
520f6ade AC |
6090 | 2002-03-27 Andrew Cagney <[email protected]> |
6091 | ||
6092 | From veksler at il.ibm.com: | |
6093 | * utils.c (gdb_realpath): If canonicalize_file_name fails, return | |
6094 | the xstrduped original path. | |
6095 | Fix PR gdb/417. | |
6096 | ||
d4654627 MS |
6097 | 2002-03-27 Michael Snyder <[email protected]> |
6098 | ||
6099 | * breakpoint.c (_initialize_breakpoint): Clean up help string. | |
6100 | * infcmd.c (_initialize_infcmd): Ditto. | |
6101 | * language.c (_initialize_language): Ditto. | |
6102 | * symfile.c (_initialize_symfile): Ditto. | |
6103 | * top.c (_init_main): Ditto. | |
6104 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
6105 | ||
6be8bc0c EZ |
6106 | 2002-03-27 Elena Zannoni <[email protected]> |
6107 | ||
6108 | * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec | |
6109 | vector registers handling. | |
6110 | (skip_prologue): Handle new AltiVec instructions. Fill in new | |
6111 | fields of frame data. | |
6112 | (frame_get_saved_regs): Fill in information for AltiVec registers. | |
6113 | ||
12af6855 JB |
6114 | 2002-03-27 Jim Blandy <[email protected]> |
6115 | ||
6116 | * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into | |
6117 | a function; leave this macro here to invoke that function. | |
6118 | (symbol_init_mangled_name): Declaration for that function. | |
6119 | * symtab.c (symbol_init_mangled_name): New function. | |
6120 | ||
dc672865 AC |
6121 | 2002-03-27 Andrew Cagney <[email protected]> |
6122 | ||
6123 | * valarith.c: Replace strerror with safe_strerror. | |
6124 | * tracepoint.c: Ditto. | |
6125 | * lin-lwp.c: Ditto. | |
6126 | * go32-nat.c: Ditto. | |
6127 | * inflow.c: Ditto. | |
6128 | * gnu-nat.c: Ditto. | |
6129 | ||
d96429cd AS |
6130 | 2002-03-27 Andreas Schwab <[email protected]> |
6131 | ||
6132 | * event-top.c (command_line_handler): Remove useless if. | |
6133 | ||
7e336ba1 AJ |
6134 | 2002-03-27 Andreas Jaeger <[email protected]> |
6135 | ||
6136 | * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright | |
6137 | comment. | |
6138 | ||
de220d0f ML |
6139 | 2002-03-27 Michal Ludvig <[email protected]> |
6140 | ||
6141 | * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines. | |
6142 | (x86_64_num_regs, x86_64_num_gregs): Added extern variables. | |
6143 | * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS. | |
6144 | (x86_64_linux_dr_get_status, supply_gregset), | |
6145 | (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs. | |
6146 | * x86-64-tdep.c (x86_64_register_raw_size_table): Delete. | |
6147 | (x86_64_register_info_table): Add. | |
6148 | (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add. | |
6149 | (x86_64_register_raw_size, x86_64_register_virtual_type), | |
6150 | (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new | |
6151 | general x86_64_register_info_table. | |
6152 | (i386_gdbarch_init): gdbarch_register_bytes is now set | |
6153 | dynamicaly during initialization. | |
6154 | * regformats/reg-x86-64.dat: Synced with changes to registers above. | |
6155 | * gdbserver/linux-x86-64-low.c: Ditto. | |
7e336ba1 | 6156 | |
0e98d0a7 DJ |
6157 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
6158 | ||
6159 | * gdbserver/server.c (main): Call target_signal_to_host_p | |
6160 | and target_signal_to_host on signals received from the remote. | |
6161 | * gdbserver/remote-utils.c (prepare_resume_reply): Call | |
6162 | target_signal_from_host on signals sent to the remote. | |
6163 | * gdbserver/server.h: Add prototypes. Include "gdb/signals.h". | |
6164 | * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}. | |
6165 | ||
3130066b DJ |
6166 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
6167 | ||
6168 | * signals/signals.c: Include "server.h" in gdbserver build. | |
6169 | (target_signal_from_name): Don't use STREQ. | |
6170 | (_initialize_signals): Likewise. Don't include function in | |
6171 | gdbserver build. | |
6172 | ||
9aedf4f4 DJ |
6173 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
6174 | ||
6175 | * signals.c: Moved to... | |
6176 | * signals/signals.c: Here. | |
7e336ba1 | 6177 | * Makefile (signals.o): Update. |
9aedf4f4 | 6178 | |
3fa41cdb JL |
6179 | 2002-03-26 Jeff Law ([email protected]) |
6180 | ||
6181 | * somread.c (som_symtab_read): Remove some commented out code and | |
6182 | updated related comments. Do not set the minimal symbol table to | |
6183 | mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope | |
6184 | in a dynamic executable. | |
6185 | * hppa-tdep.c (find_proc_framesize): Sanely handle the case | |
6186 | where we are unable to find the minimal symbol for the given | |
6187 | PC value. | |
6188 | ||
ee677e8d MS |
6189 | 2002-03-25 Jeff Law ([email protected]) |
6190 | ||
6191 | * linux-proc.c (read_mapping): Scan up to end of line for filename. | |
6192 | ||
e76e1718 ML |
6193 | 2002-03-25 Michal Ludvig <[email protected]> |
6194 | ||
6195 | * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch. | |
6196 | ||
18a642a1 AC |
6197 | 2002-03-23 Andrew Cagney <[email protected]> |
6198 | ||
6199 | * command.h: Update copyright. | |
6200 | (struct cmd_list_element): Replace definition with opaque | |
6201 | declaration. | |
6202 | (enum cmd_types): Document that it will eventually be moved to | |
6203 | cli/cli-decode.h | |
6204 | (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros. | |
6205 | (MALLOCED_REPLACEMENT): Delete macro. | |
6206 | * Makefile.in (cli_decode_h): Add $(command_h). | |
6207 | (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h). | |
7e336ba1 | 6208 | * top.c: Include "cli/cli-decode.h". |
18a642a1 AC |
6209 | * completer.c: Include "cli/cli-decode.h". |
6210 | * maint.c: Include "cli/cli-decode.h". | |
6211 | * cli/cli-decode.h: Include "command.h". | |
6212 | (enum command_class): Delete. | |
6213 | (enum cmd_types): Comment out. | |
6214 | (enum cmd_auto_boolean): Delete. | |
6215 | (enum var_types): Delete. | |
6216 | ||
b2875cc0 AC |
6217 | 2002-03-23 Andrew Cagney <[email protected]> |
6218 | ||
6219 | * cli/cli-decode.c: Include "gdb_assert.h". | |
6220 | (add_set_or_show_cmd): New static function. | |
6221 | (add_set_cmd): Rewrite. Use add_set_or_show_cmd. | |
6222 | (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy | |
6223 | all fields, such as func, from the set command. | |
6224 | ||
3b45974e AC |
6225 | 2002-03-23 Andrew Cagney <[email protected]> |
6226 | ||
6227 | * MAINTAINERS (sh-elf): Change warning flag to -w. | |
6228 | ||
823ca731 AC |
6229 | 2002-03-23 Andrew Cagney <[email protected]> |
6230 | ||
6231 | * defs.h (error): Add printf format attribute. | |
6232 | * thread-db.c (thread_from_lwp): Fix error format string. | |
6233 | * stack.c (parse_frame_specification): Ditto. | |
6234 | * cli/cli-decode.c (undef_cmd_error): Ditto. | |
6235 | * scm-lang.c (scm_lookup_name): Ditto. | |
6236 | * tracepoint.c (trace_error): Ditto. | |
6237 | * remote-utils.c (usage): Ditto. | |
6238 | * remote.c (compare_sections_command): Ditto. | |
6239 | Fix PR gdb/328. | |
6240 | ||
0e101458 AC |
6241 | 2002-03-22 Andrew Cagney <[email protected]> |
6242 | ||
6243 | * gdbtypes.c (append_composite_type_field): New function. | |
6244 | (init_composite_type): New function. | |
6245 | * gdbtypes.h (append_composite_type_field): Declare. | |
6246 | (init_composite_type): Ditto. | |
6247 | ||
8e0662df EZ |
6248 | 2002-03-22 Elena Zannoni <[email protected]> |
6249 | ||
6250 | * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New | |
7e336ba1 | 6251 | function. |
8e0662df EZ |
6252 | * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export. |
6253 | * rs6000-tdep.c (rs6000_gdbarch_init): Use different | |
6254 | structure returning convention for SYSV ABI case, but not | |
6255 | for GNU/Linux, FreeBSD, or NetBSD. | |
6256 | ||
3121eff0 DJ |
6257 | 2002-03-22 Daniel Jacobowitz <[email protected]> |
6258 | ||
6259 | * symtab.h (lookup_block_symbol): Add mangled_name argument | |
6260 | to prototype. | |
6261 | ||
6262 | * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol | |
6263 | with new mangled_name argument. | |
6264 | * linespec.c (decode_line_1): Likewise. | |
6265 | * valops (value_of_this): Likewise. | |
6266 | * symtab.c (lookup_transparent_type): Likewise. | |
6267 | (lookup_symbol_aux): Likewise. Accept new mangled_name argument. | |
6268 | (lookup_symbol): If we are given a mangled name, pass it down | |
6269 | to lookup_symbol_aux. | |
6270 | (lookup_block_symbol): If we are given a mangled name to check | |
6271 | against, only return symbols which match it. | |
6272 | ||
349b409f CF |
6273 | 2002-03-22 Christopher Faylor <[email protected]> |
6274 | ||
6275 | * win32-nat.c (child_create_inferior): Check for proper shell to use | |
6276 | here, in case the user changes it on the fly. | |
6277 | (_initialize_inftarg): Remove shell path considerations. | |
6278 | ||
2a873819 EZ |
6279 | 2002-03-21 Elena Zannoni <[email protected]> |
6280 | ||
6281 | * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value | |
6282 | for gdbarch_max_register_raw_size and max_register_virtual_size. | |
6283 | Adjust copyright year. | |
6284 | ||
a1b9830c DJ |
6285 | 2002-03-21 Daniel Jacobowitz <[email protected]> |
6286 | ||
6287 | * dbxread.c (process_one_symbol): Extend the first N_SLINE | |
6288 | in a function to cover the entire beginning of the function | |
6289 | as well if it does not already. | |
6290 | ||
8b5790f2 TR |
6291 | 2002-03-21 Tom Rix <[email protected]> |
6292 | ||
6293 | * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32. | |
6294 | (rs6000_ptrace64): Renamed from ptrace64. | |
6295 | ||
bdbe5747 MH |
6296 | 2002-03-20 Martin M. Hunt <[email protected]> |
6297 | ||
6298 | * gdbserver/remote-utils.c (remote_open): Don't call | |
6299 | getprotobyname, we're all using TCP here so just use | |
6300 | IPPROTO_TCP. | |
7e336ba1 | 6301 | * gdbserver/gdbreplay.c (remote_open): Ditto. |
bdbe5747 MH |
6302 | |
6303 | 2002-03-20 Martin M. Hunt <[email protected]> | |
7e336ba1 | 6304 | |
bdbe5747 MH |
6305 | * regcache.c (_initialize_regcache): No need to call |
6306 | build_regcache() at this time; it gets called whenever | |
6307 | the gdbarch changes. | |
6308 | ||
7781cd62 DB |
6309 | 2002-03-20 David O'Brien <[email protected]> |
6310 | ||
6311 | * sparc-nat.c: Include sys/param.h where possible. | |
6312 | ||
f65ca430 DJ |
6313 | 2002-03-20 Daniel Jacobowitz <[email protected]> |
6314 | ||
6315 | Fix PR gdb/422. | |
6316 | * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX, | |
6317 | FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX. | |
6318 | * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for | |
6319 | complex types. | |
6320 | * stabsread.c (rs6000_builtin_type): Likewise. | |
6321 | (read_sun_floating_type): Likewise. | |
6322 | ||
0c867556 PS |
6323 | 2002-03-19 Peter Schauer <[email protected]> |
6324 | ||
6325 | * stabsread.c (read_member_functions): Remove skip code for duplicate | |
6326 | constructor/destructor methods. Use standard parsing for these | |
6327 | methods and just do not chain them to the list of methods after | |
6328 | parsing. | |
6329 | ||
12b9c64f AO |
6330 | 2002-03-19 Alexandre Oliva <[email protected]> |
6331 | ||
6332 | * coffread.c: Remove redundant static declarations. Replace | |
6333 | occurrences of `PTR' with `void *'. | |
6334 | * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise. | |
6335 | * top.h (quit_cover): Likewise. | |
6336 | * defs.h (catch_errors): Likewise. | |
6337 | ||
349c5d5f AC |
6338 | 2002-03-18 Andrew Cagney <[email protected]> |
6339 | ||
6340 | * defs.h (XMALLOC): Define. | |
6341 | * gdb-events.sh (XMALLOC): Delete macro. | |
6342 | * gdb-events.c, gdb-events.h: Regenerate. | |
6343 | * gdbarch.sh (XMALLOC): Delete macro. | |
6344 | * gdbarch.c: Regenerate. | |
6345 | * serial.c (XMALLOC): Delete macro. | |
6346 | * ui-file.c (XMALLOC): Ditto. | |
6347 | * ser-unix.h (XMALLOC): Ditto. | |
6348 | * sh-tdep.c (XMALLOC): Ditto. | |
6349 | * ui-out.c (XMALLOC): Ditto. | |
6350 | * utils.c (XMALLOC): Ditto. | |
6351 | * i386-tdep.c (XMALLOC): Ditto. | |
6352 | * gdb-events.c (XMALLOC): Ditto. | |
6353 | * d10v-tdep.c (XMALLOC): Ditto. | |
6354 | * cli-out.c (XMALLOC): Ditto. | |
6355 | ||
6356 | * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright. | |
6357 | * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto. | |
6358 | * ui-file.c, ui-out.c: Ditto. | |
6359 | ||
7d0766f3 AC |
6360 | 2002-03-18 Andrew Cagney <[email protected]> |
6361 | ||
6362 | * command.h (struct cmd_list_element): Add field context. | |
6363 | (set_cmd_context, get_cmd_context): Declare. | |
6364 | * cli/cli-decode.h: Ditto. | |
6365 | * cli/cli-decode.c (get_cmd_context): New function. | |
6366 | (set_cmd_context): New function. | |
6367 | (add_cmd): Initialize context. | |
6368 | Part of fixing PR gdb/145 and PR gdb/146. | |
6369 | ||
5913bcb0 AC |
6370 | 2002-03-17 Andrew Cagney <[email protected]> |
6371 | ||
1868c04e AC |
6372 | * cli/cli-decode.c (cmd_type): New function. |
6373 | * command.h (cmd_type): Declare. | |
6374 | * infrun.c (set_schedlock_func): Call function cmd_type. | |
6375 | * kod.c (kod_set_os): Call cmd_type. | |
6376 | * cris-tdep.c (cris_version_update): Use function cmd_type. | |
6377 | (cris_mode_update, cris_abi_update): Ditto. | |
6378 | ||
5913bcb0 AC |
6379 | * command.h: (execute_cmd_post_hook): Declare. |
6380 | (execute_cmd_pre_hook): Declare. | |
6381 | * cli/cli-script.c (clear_hook_in_cleanup): New function. | |
6382 | (execute_cmd_post_hook, execute_cmd_pre_hook): New | |
6383 | functions. Execute pre/post hook while ensuring that afterwords | |
6384 | hook_in is cleared. | |
6385 | * top.c (execute_command): Use execute_cmd_post_hook, and | |
6386 | execute_cmd_pre_hook to execute pre/post commands. | |
6387 | * infrun.c (normal_stop): Pass stop_command and not pre_hook to | |
6388 | hook_stop_stub. | |
6389 | (hook_stop_stub): Call execute_cmd_pre_hook. | |
6390 | ||
b51450c9 AC |
6391 | 2002-03-17 Andrew Cagney <[email protected]> |
6392 | ||
6393 | * kod.c (kod_set_os): Revert previous change. Is called by ``info | |
6394 | set'' and this leads to a core dump. Move xstrdup of | |
6395 | operating_system to after check that it is not NULL. | |
6396 | ||
f66c9f11 AC |
6397 | 2002-03-17 Andrew Cagney <[email protected]> |
6398 | ||
8e694ecf AC |
6399 | * kod.c (kod_set_os): Remove unnecessary check that |
6400 | ``command->type'' is set_cmd. | |
6401 | ||
f66c9f11 AC |
6402 | * valprint.c (set_input_radix): Use input_radix. |
6403 | (set_output_radix): Use output_radix. | |
6404 | (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix | |
6405 | isn't reverted. | |
6406 | ||
9d01611c AC |
6407 | 2002-03-16 Andrew Cagney <[email protected]> |
6408 | ||
6409 | * value.h (struct value): Delete field ``substring_addr''. Change | |
6410 | aligner fields to force_doublest_align, force_longest_align, | |
ee2d3b3a AC |
6411 | force_core_addr_align and force_pointer_aligh. |
6412 | ||
6413 | * value.h (struct value): Fix typo in above change. | |
9d01611c | 6414 | |
4156bb53 PS |
6415 | 2002-03-16 Peter Schauer <[email protected]> |
6416 | ||
6417 | * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip, | |
6418 | to fix internal_error from ``maintenance print architecture''. | |
6419 | ||
0e5e3ea6 PS |
6420 | 2002-03-16 Peter Schauer <[email protected]> |
6421 | ||
6422 | * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type | |
6423 | for gcc versions after gcc-2.8.1. | |
6424 | ||
9b013045 PS |
6425 | 2002-03-16 Peter Schauer <[email protected]> |
6426 | ||
6427 | * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer | |
6428 | for method resolution. Restore adjustment of ``this'' pointer after | |
6429 | calling value_struct_elt, which was accidentally removed during the | |
6430 | HP merge. | |
6431 | ||
376c9600 AC |
6432 | 2002-03-15 Andrew Cagney <[email protected]> |
6433 | ||
6434 | * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to | |
6435 | value_of_register. | |
6436 | * findvar.c (value_of_register): Add ``frame'' parameter. Pass to | |
6437 | get_saved_register. | |
6438 | * value.h (value_of_register): Update. | |
6439 | ||
a4db0f07 RH |
6440 | 2002-03-14 Richard Henderson <[email protected]> |
6441 | ||
6442 | * configure.in: Detect declaration for canonicalize_file_name. | |
6443 | * utils.c (canonicalize_file_name): Declare, if needed. | |
6444 | (gdb_realpath): Prefer realpath if available and usable. | |
6445 | * config.in, configure: Rebuild. | |
6446 | ||
96383835 RH |
6447 | 2002-03-14 Richard Henderson <[email protected]> |
6448 | ||
6449 | * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as | |
6450 | a constant array bound. | |
6451 | ||
6452 | * MAINTAINERS: Add myself to write-after-approval. | |
6453 | ||
75245b24 MS |
6454 | 2002-03-14 Michael Snyder <[email protected]> |
6455 | ||
6456 | * symfile.c (syms_from_objfile): Return immediately if no syms. | |
6457 | (symbol_file_add): Return immediately if no syms. | |
6458 | (find_sym_fns): Return immediately if no syms. | |
6459 | ||
e641a1ca ML |
6460 | 2002-03-13 Michal Ludvig <[email protected]> |
6461 | ||
6462 | * gdbserver/remote-util.c (remote_open): Print remote-side's | |
6463 | IP address when remote debugging over the network. | |
7e336ba1 | 6464 | |
df08bfec DB |
6465 | 2002-03-12 David O'Brien <[email protected]> |
6466 | ||
6467 | * config/sparc/fbsd.mh: Fix copyright. | |
6468 | * config/sparc/fbsd.mt: Likewise. | |
6469 | ||
9a57864f RE |
6470 | 2002-03-11 Richard Earnshaw <[email protected]> |
6471 | ||
6472 | * MAINTAINERS: Fix typo in name of gdb warnings option. | |
6473 | (x86-64): Fix formating so that this can be parsed by awk. | |
6474 | ||
dd7bf85e DJ |
6475 | 2002-03-10 Daniel Jacobowitz <[email protected]> |
6476 | ||
6477 | * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h. | |
6478 | * defs.h: Include "gdb/signals.h". | |
6479 | (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h. | |
6480 | ||
33a0a2ac ML |
6481 | 2002-03-10 Michal Ludvig <[email protected]> |
6482 | ||
6483 | * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c | |
7e336ba1 | 6484 | * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here |
33a0a2ac ML |
6485 | from x86-64-tdep.h |
6486 | ||
dd824b04 DJ |
6487 | 2002-03-10 Daniel Jacobowitz <[email protected]> |
6488 | Don Howard <[email protected]> | |
6489 | ||
6490 | * mips-tdep.c (ST0_FR): Define. | |
6491 | (mips2_fp_compat): New function, temporarily disabled. | |
6492 | (mips_read_fp_register_single): New function. | |
6493 | (mips_read_fp_register_double): New function. | |
6494 | (mips_print_register): Use them. | |
6495 | (do_fp_register_row): Likewise. | |
6496 | ||
6a41ff59 AC |
6497 | 2002-03-09 Andrew Cagney <[email protected]> |
6498 | ||
6499 | * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after | |
6500 | approval''. | |
6501 | ||
4ea09c10 PS |
6502 | 2002-03-08 Peter Schauer <[email protected]> |
6503 | ||
6504 | * stabsread.c (read_member_functions): Fix is_stub test for | |
6505 | static member functions, improve comment. | |
6506 | ||
6ccc741d RE |
6507 | 2002-03-07 Richard Earnshaw <[email protected]> |
6508 | ||
6509 | * remote-rdi.c (myprint): Replace 'PTR' with 'void *'. | |
6510 | (mywrite, mywritec, mypause, myreadc, mygets): Likewise. | |
6511 | (_initialize_remote_rdi): Use add_set_boolean_cmd to register | |
6512 | commands that set boolean values. | |
6513 | (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning. | |
6514 | (arm_rdi_resume): Always initialize PC. | |
6515 | (arm_rdi_open): Don't use rslt as a boolean. | |
6516 | (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume) | |
6517 | (arm_rdi_fetch_registers, arm_rdi_store_registers) | |
6518 | (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill) | |
6519 | (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise. | |
6520 | ||
438013df AO |
6521 | 2002-03-06 Alexandre Oliva <[email protected]> |
6522 | ||
6523 | * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX. | |
6524 | * configure: Rebuilt. | |
6525 | ||
70ed8774 SC |
6526 | 2002-03-06 Stephane Carrez <[email protected]> |
6527 | ||
6528 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn. | |
6529 | (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead. | |
6530 | ||
5ba2abeb AC |
6531 | 2002-03-06 Andrew Cagney <[email protected]> |
6532 | ||
6533 | * cli/cli-decode.c (set_cmd_completer): New function. | |
6534 | * command.h (set_cmd_completer): Declare. | |
6535 | * cli/cli-decode.h (set_cmd_completer): Ditto. | |
6536 | ||
6537 | * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer. | |
6538 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
6539 | * win32-nat.c (_initialize_inftarg): Ditto. | |
6540 | * remote-rdi.c (_initialize_remote_rdi): Ditto. | |
6541 | * proc-api.c (_initialize_proc_api): Ditto. | |
6542 | * hppa-tdep.c (_initialize_hppa_tdep): Ditto. | |
6543 | * source.c (_initialize_source): Ditto. | |
6544 | * exec.c (_initialize_exec): Ditto. | |
6545 | * solib.c (_initialize_solib): Ditto. | |
6546 | * top.c (init_main): Ditto. | |
6547 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
6548 | * symfile.c (_initialize_symfile): Ditto. | |
6549 | * printcmd.c (_initialize_printcmd): Ditto. | |
6550 | * infcmd.c (_initialize_infcmd): Ditto. | |
6551 | * corefile.c (_initialize_core): Ditto. | |
6552 | ||
f779ca99 AC |
6553 | 2002-03-05 Andrew Cagney <[email protected]> |
6554 | ||
6555 | * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler. | |
6556 | ||
01a3934b AC |
6557 | 2002-03-05 Andrew Cagney <[email protected]> |
6558 | ||
6559 | * MAINTAINERS: Fix Mac OS X and Objective-C/C++. | |
6560 | ||
37057839 AC |
6561 | 2002-03-05 Andrew Cagney <[email protected]> |
6562 | ||
6563 | * NEWS: Update headings, 5.2 has branched. | |
6564 | ||
c6ecbae5 DJ |
6565 | 2002-03-04 Daniel Jacobowitz <[email protected]> |
6566 | ||
6567 | * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long. | |
6568 | (num_regs, regmap): Move inside HAVE_LINUX_USRREGS. | |
6569 | (register_addr, REGISTER_RAW_SIZE): Likewise. | |
6570 | (usr_store_inferior_registers): Use PTRACE_XFER_TYPE. | |
6571 | * gdbserver/linux-x86-64-low.c: Remove extra #endif. | |
6572 | ||
e9f30c21 ML |
6573 | 2002-03-03 Michal Ludvig <[email protected]> |
6574 | ||
6575 | * MAINTAINERS (x86-64): Add myself. | |
6576 | * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs, | |
6577 | changed value_ptr -> struct value * | |
6578 | ||
54394ac3 DB |
6579 | 2002-03-01 David O'Brien <[email protected]> |
6580 | ||
6581 | * configure.host (sparc64-*-freebsd): Add. | |
6582 | * configure.tgt: Likewise. | |
6583 | * config/sparc/fbsd.mh: New file. | |
6584 | * config/sparc/fbsd.mt: Likewise. | |
6585 | * config/sparc/nm-fbsd.h: Likewise. | |
6586 | * config/sparc/tm-fbsd.h: Likewise. | |
6587 | ||
bfe95955 DJ |
6588 | 2002-03-01 Daniel Jacobowitz <[email protected]> |
6589 | ||
6590 | * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and | |
6591 | regformats/reg-s390x.dat. | |
6592 | ||
f33c6cbf AC |
6593 | 2002-03-01 Andrew Cagney <[email protected]> |
6594 | ||
6595 | * utils.c: Add FIXME explaining true/false problem. | |
6596 | ||
5ecaa7dd AC |
6597 | 2002-02-28 Andrew Cagney <[email protected]> |
6598 | ||
6599 | * MAINTAINERS (Past Maintainers): Add J.T. Conklin. | |
6600 | ||
2a251cc2 MC |
6601 | 2002-02-28 Michael Chastain <[email protected]> |
6602 | ||
6603 | * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs . | |
6604 | ||
6a8031a3 | 6605 | 2002-02-28 Daniel Jacobowitz <[email protected]> |
265f716b DJ |
6606 | |
6607 | * gdbserver/linux-s390-low.c: New file. | |
6608 | * regformats/reg-s390.dat: New file. | |
6609 | * regformats/reg-s390x.dat: New file. | |
6610 | * gdbserver/configure.srv: Add S/390. | |
6611 | * gdbserver/Makefile.in: Add S/390. | |
6612 | * configure.tgt: Enable gdbserver for S/390. | |
6613 | ||
ac469903 EZ |
6614 | 2002-02-28 Eli Zaretskii <[email protected]> |
6615 | ||
6616 | * go32-nat.c (_initialize_go32_nat): Don't use periods in the | |
6617 | first line of the doc string for "info dos", except at the end of | |
6618 | the sentence, since the short help stops at the first period. | |
6619 | ||
985cb1a3 JM |
6620 | 2002-02-28 Jason Merrill <[email protected]> |
6621 | ||
6622 | * dwarf2read.c (dwarf_cfi_name): Add new codes. | |
6623 | ||
c570663e FF |
6624 | 2002-02-27 Fred Fish <[email protected]> |
6625 | ||
6626 | * blockframe.c (generic_fix_call_dummy): Fix obvious typo in | |
6627 | comment (dumy -> dummy). | |
6628 | ||
43630227 PS |
6629 | 2002-02-27 Peter Schauer <[email protected]> |
6630 | ||
6631 | * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames. | |
6632 | ||
b84911e8 RB |
6633 | 2002-02-27 Rodney Brown <[email protected]> |
6634 | ||
6635 | * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5. | |
6636 | ||
58caa3dc DJ |
6637 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
6638 | ||
6639 | * gdbserver/acconfig.h: New file. | |
6640 | * gdbserver/i387-fp.c: New file. | |
6641 | * gdbserver/i387-fp.h: New file. | |
6642 | * gdbserver/linux-x86-64.c: New file. | |
6643 | * regformats/reg-x86-64.dat: New file. | |
6644 | * configure.tgt: Add x86_64-*-linux* gdbserver support. | |
6645 | * gdbserver/configure.srv: Add x86_64-*-linux* and regset support. | |
6646 | * gdbserver/configure.in: Add support for regsets. | |
6647 | * gdbserver/config.in: Regenerate. | |
6648 | * gdbserver/configure: Regenerate. | |
6649 | * gdbserver/Makefile.in: Likewise. Add $(linux_low_h). | |
6650 | * gdbserver/linux-low.h: New file. | |
6651 | * gdbserver/linux-low.c: Include "linux-low.h". Add support | |
6652 | for regsets. | |
6653 | * gdbserver/linux-arm-low.c: Include "linux-low.h". | |
6654 | * gdbserver/linux-ia64-low.c: Include "linux-low.h". | |
6655 | * gdbserver/linux-m68k-low.c: Include "linux-low.h". | |
6656 | * gdbserver/linux-mips-low.c: Include "linux-low.h". | |
6657 | * gdbserver/linux-ppc-low.c: Include "linux-low.h". | |
6658 | * gdbserver/linux-sh-low.c: Include "linux-low.h". | |
6659 | * gdbserver/linux-i386-low.c: Include "linux-low.h". Include | |
6660 | "i387-fp.h". Add PTRACE_GETREGS and friends. | |
6661 | * gdbserver/regcache.c (supply_register): New function. | |
6662 | (supply_register_by_name): New function. | |
6663 | (collect_register): New function. | |
6664 | (collect_register_by_name): New function. | |
6665 | ||
93652174 DJ |
6666 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
6667 | ||
6668 | * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER. | |
6669 | (config.status): Add configure.srv dependency. | |
6670 | (server_h): Add config.h dependency. | |
6671 | ||
a02e4a61 DJ |
6672 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
6673 | ||
6674 | * regformats/reg-i386-linux.dat: New file, with $orig_eax. | |
6675 | * gdbserver/Makefile.in: Add rules for reg-i386-linux.o. | |
6676 | * gdbserver/configure.srv: Change i386-*-linux* to use | |
6677 | reg-i386-linux.o. | |
6678 | ||
ce0eebec AC |
6679 | 2002-02-26 Andrew Cagney <[email protected]> |
6680 | ||
6681 | * x86-64-tdep.c: Re-indent. Update copyright date. | |
6682 | ||
82dbc5f7 AC |
6683 | 2002-02-26 Andrew Cagney <[email protected]> |
6684 | ||
6685 | From Michal Ludvig <[email protected]>: | |
6686 | * x86-64-tdep.c (value.h): Delete. | |
6687 | (gdb_assert.h): Include. | |
6688 | (x86_64_register_convert_to_virtual, | |
6689 | x86_64_register_convert_to_raw ): Add check which lets only | |
6690 | floating-point values to be converted. | |
6691 | (value_push): Delete. | |
6692 | (x86_64_push_arguments): Order of arguments pushed on stack fixed. | |
6693 | (i386_gdbarch_init): Number of register_bytes fixed. | |
6694 | ||
e4621584 AC |
6695 | 2002-02-26 Andrew Cagney <[email protected]> |
6696 | ||
6697 | * MAINTAINERS: Add x86-64 target. | |
6698 | ||
81a9a963 AC |
6699 | 2002-02-26 Andrew Cagney <[email protected]> |
6700 | ||
6701 | * memattr.c (mem_command): Eliminate ``true'' and ``false''. | |
6702 | * osfsolib.c (solib_map_sections): Ditto. | |
6703 | * irix5-nat.c (solib_map_sections): Ditto. | |
6704 | * corelow.c (gdb_check_format): Ditto. | |
6705 | * symfile.c (symfile_bfd_open): Ditto. | |
6706 | * solib.c (solib_map_sections): Ditto. | |
6707 | Fix PR gdb/354. | |
7e336ba1 | 6708 | |
0f017ab9 AC |
6709 | 2002-02-26 Andrew Cagney <[email protected]> |
6710 | ||
6711 | * remote.c (_initialize_remote): By default, disable ``e'' and | |
6712 | ``E'' step out-of-range packets. | |
6713 | ||
75738c29 AS |
6714 | 2002-02-26 Andreas Schwab <[email protected]> |
6715 | ||
6716 | * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as | |
6717 | m68k_linux_frame_saved_pc. | |
6718 | (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of | |
6719 | in_sigtramp. | |
6720 | (SIGCONTEXT_PC_OFFSET): Remove. | |
6721 | * m68klinux-nat.c (m68k_linux_frame_saved_pc, | |
6722 | m68k_linux_sigtramp_saved_pc): New functions. | |
6723 | (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define. | |
6724 | (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h. | |
6725 | (UCONTEXT_PC_OFFSET): Define. | |
6726 | (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both | |
6727 | non-RT and RT signal trampolines. | |
6728 | ||
7e8ed687 RE |
6729 | 2002-02-26 Richard Earnshaw <[email protected]> |
6730 | ||
6731 | * config/arm/tm-embed.h (TARGET_UPAGES): Delete. | |
6732 | (TARGET_NBPG, STACK_END_ADDR): Delete | |
6733 | (VARIABLES_INSIDE_BLOCK): Delete. | |
6734 | ||
6972bc8b AC |
6735 | 2002-02-25 Andrew Cagney <[email protected]> |
6736 | ||
6737 | * utils.c (perror_with_name): Make string parameter constant. | |
6738 | (print_sys_errmsg): Ditto. | |
6739 | (query): Ditto. | |
6740 | * defs.h (perror_with_name): Update. | |
6741 | (print_sys_errmsg): Update. | |
6742 | (query): Update. | |
6743 | ||
aa32f823 DJ |
6744 | 2002-02-25 Daniel Jacobowitz <[email protected]> |
6745 | ||
6746 | From Eliot Dresselhaus <[email protected]>: | |
6747 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo. | |
6748 | ||
19caaa45 PS |
6749 | 2002-02-25 Peter Schauer <[email protected]> |
6750 | ||
6751 | * rs6000-nat.c (set_host_arch): Do not switch to a new architecture | |
6752 | if it already matches the current architecture from the exec file. | |
6753 | Include arch-utils.h for gdbarch_info_init prototype. | |
6754 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
6755 | ||
d951901f EZ |
6756 | 2002-02-25 Eli Zaretskii <[email protected]> |
6757 | ||
6758 | * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the | |
6759 | list of exported variables. | |
6760 | ||
7ea81414 DJ |
6761 | 2002-02-24 Daniel Jacobowitz <[email protected]> |
6762 | ||
6763 | * gdbserver/configure.srv: New file. | |
6764 | * gdbserver/configure.in: Use configure.srv instead | |
6765 | of the host/target makefile fragments. Set GDBSERVER_DEPFILES | |
6766 | from it. | |
6767 | * gdbserver/configure: Regenerated. | |
6768 | * gdbserver/terminal.h: New file. | |
6769 | * gdbserver/Makefile.in: Update for configure changes. Remove | |
6770 | more unneeded include paths. | |
6771 | ||
080fe24b AC |
6772 | 2002-02-24 Andrew Cagney <[email protected]> |
6773 | ||
6774 | From wiz at danbala: | |
6775 | * config/sparc/tm-sp64.h: Fix grammar and typos. | |
6776 | Fix PR gdb/287. | |
6777 | ||
8605d56e AC |
6778 | 2002-02-24 Andrew Cagney <[email protected]> |
6779 | ||
6780 | * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux'' | |
a4b6fc86 AC |
6781 | with either ``GNU/Linux'' or ``Linux kernel''. Update copyright. |
6782 | * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto. | |
6783 | * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto. | |
ca557f44 AC |
6784 | * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto. |
6785 | * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto. | |
6786 | * s390-tdep.c: Ditto. | |
92362027 AC |
6787 | * config/nm-linux.h, config/alpha/nm-linux.h: Ditto. |
6788 | * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h: | |
6789 | * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto. | |
6790 | * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto. | |
6791 | * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto. | |
6792 | * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto. | |
6793 | * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto. | |
6794 | * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto. | |
6795 | * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto. | |
6796 | * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto. | |
8605d56e | 6797 | Fix PR gdb/378. |
7e336ba1 | 6798 | |
8ed32cc0 AC |
6799 | 2002-02-23 Andrew Cagney <[email protected]> |
6800 | ||
a3007b6f AC |
6801 | * lin-thread.c: Delete file. |
6802 | * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer | |
6803 | to gdb_proc_service.h. | |
6804 | * configure: Re-generate. | |
6805 | ||
50a9e2f1 AC |
6806 | * ocd.c (ocd_open): Do not try to open the "ocd" device. |
6807 | * serial.c (serial_open): Delete check for "ocd". | |
6808 | Fix PR gdb/349. | |
6809 | ||
8b6e7932 AC |
6810 | * Makefile.in (linux-thread.o): Delete target. |
6811 | * linux-thread.c: Delete file. | |
6812 | ||
d155c46b AC |
6813 | * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other |
6814 | renamed SH files to be consistent. | |
6815 | ||
8ed32cc0 AC |
6816 | * symtab.c (sort_search_symbols): Use xfree. |
6817 | ||
0e18d038 RE |
6818 | 2002-02-23 Richard Earnshaw <[email protected]> |
6819 | ||
6820 | * arm-linux-tdep.c (arm_linux_init_abi): Register | |
6821 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE | |
6822 | * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old | |
6823 | definition with undef, since we don't want the sysvr4 definition. | |
6824 | (SKIP_TRAMPOLINE_CODE): Likewise. | |
6825 | ||
27aac7ff AC |
6826 | 2002-02-23 Andrew Cagney <[email protected]> |
6827 | ||
6828 | From 2002-02-22 Alfred M. Szmidt <[email protected]>: | |
6829 | ||
6830 | * configure.in: (AC_CHECK_FUNCS) Added test for | |
6831 | canonicalize_file_name Regenerated. | |
6832 | * config.in, configure: Regenerated. | |
6833 | * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is | |
6834 | defined use canonicalize_file_name. | |
7e336ba1 | 6835 | |
65a6e0ee MC |
6836 | 2002-02-23 Michael Chastain <[email protected]> |
6837 | ||
6838 | * MAINTAINERS: Remove Michael Chastain from "paper trail" list. | |
6839 | ||
47b95330 AC |
6840 | 2002-02-23 Andrew Cagney <[email protected]> |
6841 | ||
6842 | * README: Remove references to cygnus.com. | |
6843 | * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar | |
6844 | dot com'' form. Remove references to cygnus.com and sourceware. | |
6845 | ||
696f451b AC |
6846 | 2002-02-23 Andrew Cagney <[email protected]> |
6847 | ||
6848 | From 2002-02-19 Paul Eggert <[email protected]>: | |
6849 | * Makefile.in (VER): Change "head -1" to "sed q", since POSIX | |
6850 | 1003.1-2001 no longer allows "head -1". | |
6851 | * gdb/Makefile.in (version.c): Likewise. | |
6852 | * gdb/doc/Makefile.in (GDBvn.texi): Likewise. | |
6853 | * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is | |
6854 | equivalent. POSIX 1003.1-2001 no longer allows "diff -c3". | |
6855 | ||
bbaca940 AC |
6856 | 2002-02-23 Andrew Cagney <[email protected]> |
6857 | ||
6858 | * cli/cli-decode.c (cmd_cfunc_eq): New function. | |
6859 | * command.h (cmd_cfunc_eq): Declare. | |
6860 | * cli/cli-decode.h (cmd_cfunc_eq): Ditto. | |
6861 | ||
6862 | * cli/cli-cmds.h (is_complete_command): Change parameter to a | |
6863 | ``struct cmd_list_element *''. | |
6864 | * cli/cli-cmds.c (is_complete_command): Update. Use | |
6865 | cmd_cfunc_eq. | |
6866 | * top.c (execute_command): Pass the command to | |
6867 | is_complete_command. | |
6868 | * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq. | |
6869 | ||
b8b8b047 AC |
6870 | 2002-02-23 Andrew Cagney <[email protected]> |
6871 | ||
6872 | From 2002-02-20 Martin Schwidefsky <[email protected]>: | |
6873 | * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed | |
6874 | architecture defines. | |
6875 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
6876 | ||
19d3fc80 RE |
6877 | 2002-02-23 Richard Earnshaw <[email protected]> |
6878 | ||
6879 | * arm-linux-tdep.c (arm_linux_extract_return_value): Make static. | |
6880 | (arm_linux_push_arguments): Likewise. | |
6881 | (arm_linux_init_abi): Register them. Also register linux-specific | |
6882 | call_dummy_words. | |
6883 | (find_minsym_and_objfile): Use strcmp, not STREQ. | |
6884 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete. | |
6885 | (arm_linux_call_dummy_words): Delete declaration. | |
6886 | (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete. | |
6887 | (arm_linux_extract_return_value, arm_linux_push_arguments): Delete | |
6888 | declarations. | |
6889 | (LOWEST_PC): Delete. | |
6890 | ||
3ab13650 PS |
6891 | 2002-02-23 Peter Schauer <[email protected]> |
6892 | ||
6893 | * maint.c (print_section_info): Do not prepend `0x' to filepos | |
6894 | output, it will be handled by local_hex_string_custom. | |
6895 | ||
19d3fc80 | 6896 | 2002-02-23 Richard Earnshaw <[email protected]> |
85ae890c RE |
6897 | |
6898 | * arm-linux-nat.c (store_newfpe_single): Use regcache_collect. | |
6899 | (store_newfpe_double, store_newfpe_extended, store_fpregister) | |
6900 | (store_register, store_regs, fill_gregset, fill_fpregset): Likewise. | |
6901 | ||
d85a5daf JB |
6902 | 2002-02-22 Jim Blandy <[email protected]> |
6903 | ||
6904 | Indicate that the bcache functions don't change the strings | |
6905 | they're passed. | |
6906 | * bcache.h (bcache, hash): Add `const' keywords to declarations. | |
6907 | * bcache.c (bcache, hash): Add `const' keywords to definitions. | |
6908 | ||
eeb25b8a PM |
6909 | 2002-02-22 Pierre Muller <[email protected]> |
6910 | ||
6911 | * win32-nat.c (child_create_inferior): Fix create flags setting bug. | |
6912 | ||
6badb179 CF |
6913 | 2002-02-21 Christopher Faylor <[email protected]> |
6914 | ||
6915 | * win32-nat.c (register_loaded_dll): Just use raw name when we can't | |
6916 | find the complete path to a loaded DLL. | |
6917 | ||
e8717518 FF |
6918 | 2002-02-21 Fred Fish <[email protected]> |
6919 | ||
6920 | * dbxread.c (process_one_symbol): When finding an N_FUN symbol | |
6921 | that marks the end of the range of a function, enter a line number | |
6922 | entry that has a line number of zero and a PC offset that matches | |
6923 | the end of the function. This starts a range of PC's for which no | |
6924 | line number information is known. | |
6925 | * symtab.c (find_pc_sect_line): If our best fit is in a range of | |
6926 | PC's for which no line number info is found (line number is zero) | |
6927 | then we didn't find any valid line information. | |
6928 | * symtab.h: Document use of zero line number entry. | |
6929 | ||
9abe5450 EZ |
6930 | 2002-02-21 Elena Zannoni <[email protected]> |
6931 | ||
6932 | * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define. | |
6933 | (have_ptrace_getvrregs): Define for run time checks. | |
6934 | (gdb_vrregset_t): New type for Altivec register handling. | |
6935 | (fetch_register, store_register): Fetch/store altivec register | |
6936 | when needed. | |
6937 | (fetch_altivec_register, store_altivec_register): New functions. | |
6938 | (supply_vrregset, fill_vrregset): New functions. | |
6939 | (fetch_altivec_registers, store_altivec_registers): New functions. | |
6940 | (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec | |
6941 | registers as well. | |
6942 | ||
aaa38bb5 AJ |
6943 | 2002-02-21 Jiri Smid <[email protected]> |
6944 | ||
6945 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o. | |
6946 | ||
b34db576 RE |
6947 | 2002-02-21 Richard Earnshaw <[email protected]> |
6948 | ||
6949 | * Makefile.in (armnbsd-nat.o): Update dependencies. | |
6950 | * armnbsd-nat.c (supply_gregset): New function. Common code to | |
6951 | supply the integer register set. | |
6952 | (supply_fparegset): New function. Similar for FPA registers. | |
6953 | (fetch_regs, fetch_fp_regs): Use them. | |
6954 | (fetch_core_registers): Likewise. | |
6955 | (fetch_elfcore_registers): New function. | |
6956 | (arm_netbsd_elfcore_fns): New core-file type specification. | |
6957 | (_initialize_arm_netbsd_nat): Register it. | |
6958 | ||
3e56fc4b RE |
6959 | 2002-02-21 Richard Earnshaw <[email protected]> |
6960 | ||
6961 | * armnbsd-nat.c: Include gdbcore.h. | |
6962 | (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined. | |
6963 | (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit | |
6964 | 'void' to declaration, to shut up ARI. | |
6965 | (fetch_core_registers): Make static. Rewrite using supply_register. | |
6966 | (arm_netbsd_core_fns): New core-file type specification. | |
6967 | (_initialize_arm_netbsd_nat): New function. | |
6968 | ||
097f6b0b CF |
6969 | 2002-02-21 Christopher Faylor <[email protected]> |
6970 | ||
6971 | * win32-nat.c (register_loaded_dll): Correctly check for invalid handle | |
6972 | value. | |
6973 | ||
c914e0cc CF |
6974 | 2002-02-20 Christopher Faylor <[email protected]> |
6975 | ||
6976 | * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile | |
6977 | fails. | |
6978 | ||
385fa495 DJ |
6979 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6980 | ||
6981 | * jv-exp.y (parse_number): Change type of implicit longs | |
6982 | to builtin_type_uint64. | |
6983 | ||
e5f1222d DJ |
6984 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6985 | ||
6986 | * gdbserver/linux-low.c (mywait): Change argument to waitpid | |
6987 | to be an integer instead of a `union wait'. | |
6988 | ||
75c9abc6 DJ |
6989 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6990 | ||
6991 | * mips-linux-nat.c: Call the operating system GNU/Linux. | |
6992 | * mips-linux-tdep.c: Likewise. | |
6993 | * mips-tdep.c: Likewise. | |
6994 | ||
551792a5 DJ |
6995 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6996 | ||
6997 | Fix PR gdb/265. | |
6998 | * jv-exp.y (parse_number): Handle 64-bit integers. | |
6999 | ||
ee6e2b82 DJ |
7000 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
7001 | ||
7002 | * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change | |
7003 | AC_STDC_HEADERS to AC_HEADER_STDC. | |
7004 | * gdbserver/configure: Regenerated. | |
7005 | ||
a48442a0 RE |
7006 | 2002-02-20 Richard Earnshaw <[email protected]> |
7007 | ||
7008 | * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC | |
7009 | is defined. | |
7010 | * sparc-tdep.c (get_longjmp_target): Likewise. | |
7011 | ||
fe419ffc RE |
7012 | 2002-02-20 Richard Earnshaw <[email protected]> |
7013 | ||
7014 | * News: Add news about ARM and Multi-arch. Mention the new target | |
7015 | arm*-*-netbsd*. | |
7016 | ||
5832ed7e JB |
7017 | 2002-02-19 Jim Blandy <[email protected]> |
7018 | ||
7019 | * stabsread.c (error_type_complaint): Improve error message. | |
7020 | ||
84563040 DJ |
7021 | 2002-02-19 Daniel Jacobowitz <[email protected]> |
7022 | ||
7023 | * gdbserver/README: Update documentation. | |
7024 | * gdbserver/configure.in: Update configury to match documentation. | |
7025 | * gdbserver/Makefile.in: Likewise. | |
7026 | * gdbserver/configure: Regenerated. | |
7027 | * gdbserver/aclocal.m4: New file, generated by aclocal. | |
7028 | * gdbserver/config.in: New file, generated by autoheader. | |
7029 | ||
375fd65b RE |
7030 | 2002-02-19 Richard Earnshaw <[email protected]> |
7031 | ||
7032 | * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and | |
7033 | armnbsd-nat.c. | |
7034 | ||
08216dd7 RE |
7035 | 2002-02-19 Richard Earnshaw <[email protected]> |
7036 | ||
7037 | * arm-tdep.h (enum arm_float_model): New enum. | |
7038 | (struct gdbarch_tdep): Add fp_model. | |
7039 | * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting | |
7040 | up floating-point conversions until we know the floating-point model | |
7041 | in use by the inferior. Don't complain about being unable to | |
7042 | determine the ABI of the inferior when we don't have one. | |
7043 | (arm_extract_return_value): Support different floating-point models. | |
7044 | (arm_store_return_value): Likewise. | |
aaa38bb5 | 7045 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to |
08216dd7 RE |
7046 | ARM_FLOAT_SOFT. |
7047 | (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP. | |
7048 | ||
65d6d66a PS |
7049 | 2002-02-19 Peter Schauer <[email protected]> |
7050 | ||
7051 | * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use | |
7052 | of ``current_gdbarch''. | |
7053 | ||
47221191 RE |
7054 | 2002-02-19 Richard Earnshaw <[email protected]> |
7055 | ||
7056 | * armnbsd-nat.c : ANSIfy all function declarations. | |
7057 | (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New. | |
7058 | (fetch_inferior_registers): Re-implement in terms of above. | |
7059 | (store_register, store_regs, store_fp_register, store_fp_regs): New. | |
7060 | (store_inferior_registers): Re-implement in terms of above. | |
7061 | ||
fdf39c9a RE |
7062 | 2002-02-19 Richard Earnshaw <[email protected]> |
7063 | ||
aaa38bb5 | 7064 | * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the |
fdf39c9a RE |
7065 | kernel. |
7066 | * arm-linux-tdep.c: Likewise. | |
7067 | * config/arm/tm-linux.h: Likewise. | |
7068 | ||
93247f88 RE |
7069 | 2002-02-19 Richard Earnshaw <[email protected]> |
7070 | ||
7071 | * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch. | |
7072 | * config/arm/nbsd.mt (TM_FILE): Delete. | |
7073 | * config/arm/tm-nbsd.h: Delete. | |
7074 | ||
d7b486e7 RE |
7075 | 2002-02-19 Richard Earnshaw <[email protected]> |
7076 | ||
7077 | * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED. | |
7078 | Initialize CALL_DUMMY_LENGTH. | |
7079 | ||
41d39a95 RE |
7080 | 2002-02-19 Richard Earnshaw <[email protected]> |
7081 | ||
7082 | * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New | |
7083 | function. | |
7084 | (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE. | |
aaa38bb5 | 7085 | * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only |
41d39a95 RE |
7086 | defines one thing and that is incorrect for this port. |
7087 | (IN_SOLIB_CALL_TRAMPOLINE): Delete. | |
7088 | ||
e1195560 PM |
7089 | 2002-02-18 Pierre Muller <[email protected]> |
7090 | ||
7091 | * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro. | |
7092 | ||
c1748f97 PM |
7093 | 2002-02-18 Pierre Muller <[email protected]> |
7094 | ||
7095 | * win32-nat.c (display_selector): New function. Displays information | |
7096 | about the information returned by GetThreadSelectorEntry API function. | |
7097 | (display_selectors): New function. Displays the infomation of | |
7098 | the selector given as argument, or of CS, DS ans FS selectors | |
7099 | if no argument is given. | |
7100 | ( _initialize_inftarg): Add "w32" as info prefix command. | |
7101 | Add "info w32 selector" as command calling display_selectors. | |
7102 | ||
e41e6bbf PM |
7103 | 2002-02-19 Pierre Muller <[email protected]> |
7104 | ||
7105 | * i386-tdep.c (get_longjmp_target): Fix compilation failure | |
7106 | by setting dummy values to JB_PC and JB_ELEMENT_SIZE | |
7107 | if not defined. | |
7108 | ||
0d3a9f48 RE |
7109 | 2002-02-18 Richard Earnshaw <[email protected]> |
7110 | ||
7111 | * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o. | |
7112 | ||
3fb4b924 RE |
7113 | 2002-02-18 Richard Earnshaw <[email protected]> |
7114 | ||
7115 | * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function. | |
7116 | (arm_fix_call_dummy): Call it. | |
7117 | (arm_call_dummy_breakpoint_offset): Delete. | |
7118 | (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset. | |
7119 | * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
7120 | ||
7f55af32 AC |
7121 | 2002-02-18 Andrew Cagney <[email protected]> |
7122 | ||
7123 | * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2. | |
7124 | Default to func_frame_chain_valid. | |
7125 | * gdbarch.h, gdbarch.c: Re-generate. | |
7126 | * frame.h (FRAME_CHAIN_VALID): Delete definition. | |
7127 | ||
05f13b9c EZ |
7128 | 2002-02-18 Elena Zannoni <[email protected]> |
7129 | ||
7130 | * ppc-linux-nat.c: Update copyright. | |
7131 | (fetch_register, store_register): Add tid parameter, don't compute | |
7132 | tid here. | |
7133 | (fetch_ppc_registers, store_ppc_registers): Add tid | |
7134 | parameter. Pass it along to callees. | |
7135 | (fetch_inferior_registers, store_inferior_registers): Compute tid | |
7136 | here, and pass it to calleed functions. | |
7137 | (fill_gregset, supply_fpregset): Clean up formatting. | |
7138 | ||
d7afb4c9 RE |
7139 | 2002-02-18 Richard Earnshaw <[email protected]> |
7140 | ||
7141 | * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double. | |
7142 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete. | |
7143 | ||
9df628e0 RE |
7144 | 2002-02-18 Richard Earnshaw <[email protected]> |
7145 | ||
7146 | * gdbarch.sh (GET_LONGJMP_TARGET): Add rule. | |
7147 | * gdbarch.c gdbarch.h: Regenerate. | |
7148 | * breakpoint.c (create_longjmp_breakpoint): Always compile this | |
7149 | function. | |
7150 | (breakpoint_reset): Test GET_LONGJMP_TARGET_P(). | |
7151 | * infrun.c (GET_LONGJMP_TARGET): Delete default definition. | |
7152 | (handle_inferior_event): Test GET_LONGJMP_TARGET_P(). | |
7153 | ||
7154 | * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields. | |
7155 | * arm-tdep.c (arm_get_longjmp_target): New function. | |
7156 | (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes | |
7157 | this to a positive value register arm_get_longjmp_target as the | |
7158 | longjmp handler. | |
7159 | * arm-linux-tdep.c (arm_get_longjmp_target): Delete. | |
7160 | (arm_linux_init_abi): Set up longjmp description in tdep. | |
7161 | * armnbsd-nat.c (get_longjmp_target): Delete. | |
7162 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp | |
7163 | description in tdep. | |
7164 | * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete. | |
7165 | (get_longjmp_target): Delete declaration. | |
7166 | (GET_LONGJMP_TARGET): Delete. | |
7167 | * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration. | |
7168 | (GET_LONGJMP_TARGET): Delete. | |
7169 | ||
57bc8964 KB |
7170 | 2002-02-17 Kevin Buettner <[email protected]> |
7171 | ||
7172 | From Peter Schauer <[email protected]>: | |
7173 | * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use | |
7174 | of ``current_gdbarch''. | |
7175 | ||
83d31a92 TT |
7176 | 2002-02-17 Tom Tromey <[email protected]> |
7177 | ||
7178 | * cli/cli-cmds.c (compare_strings): New function. | |
7179 | (complete_command): Only print each unique item once. | |
7180 | * completer.h (complete_line): Declare. | |
7181 | * completer.c (complete_line): New function. | |
7182 | (line_completion_function): Use it. | |
7183 | ||
17ef5d92 AC |
7184 | 2002-02-16 Andrew Cagney <[email protected]> |
7185 | ||
7186 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64. | |
7187 | * gdbarch.h, gdbarch.c: Re-generate. | |
7188 | ||
491b8946 DJ |
7189 | 2002-02-16 Daniel Jacobowitz <[email protected]> |
7190 | ||
7191 | * valarith.c (value_x_unop): Fix decrement; support post-decrement. | |
7192 | ||
7193 | 2002-02-16 Daniel Jacobowitz <[email protected]> | |
7194 | ||
7195 | From Peter Schauer <[email protected]>: | |
7196 | * valops.c (value_arg_coerce): Don't take the address of a reference | |
7197 | to convert an argument to a reference. | |
7198 | ||
dfe7f3ac CF |
7199 | 2002-02-15 Christopher Faylor <[email protected]> |
7200 | ||
7201 | * win32-nat.c (get_image_name): New function. | |
7202 | (handle_load_dll): Use get_image_name function. | |
7203 | (get_child_debug_event): Avoid registering debug events until possibly | |
7204 | execed process is started. | |
7205 | (child_create_inferior): Allow invocation via shell so that command | |
7206 | line redirection, etc. works ok. | |
7207 | (_initialize_inftarg): Add new command: "set shell" to control whether | |
7208 | a shell is used to start a process. | |
7209 | ||
1d33e73a DJ |
7210 | 2002-02-15 Daniel Jacobowitz <[email protected]> |
7211 | ||
7212 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno | |
7213 | instead of find_register_by_number. | |
7214 | (cannot_store_register): Likewise. | |
7215 | ||
48cd0caa PM |
7216 | 2002-02-14 Pierre Muller <[email protected]> |
7217 | ||
aaa38bb5 | 7218 | * dwarf2read.c: Replace fprintf (stderr, ...) by |
48cd0caa PM |
7219 | fprintf_unfiltered (gdb_stderr, ...). |
7220 | ||
8656e7d8 DJ |
7221 | 2002-02-15 Daniel Jacobowitz <[email protected]> |
7222 | ||
7223 | * gdbserver/gdbserver.1: Document --attach. | |
7224 | ||
66e810cd RE |
7225 | 2002-02-15 Richard Earnshaw <[email protected]> |
7226 | ||
7227 | * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint | |
7228 | descriptions. | |
7229 | * arm-tdep.c (arm_default_arm_le_breakpoint) | |
7230 | (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint) | |
7231 | (arm_default_thumb_be_breakpoint): New. Initialize them from | |
7232 | traditional breakpoint defines. | |
7233 | (arm_breakpoint_from_pc): Use new gdbarch_tdep entries. | |
7234 | (arm_gdbarch_init): Initialize new breakpoint variables. | |
7235 | * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New. | |
7236 | (arm_linux_init_abi): Initialize linux-specific breakpoint. | |
7237 | * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New. | |
7238 | (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common | |
7239 | code out to ... | |
7240 | (arm_netbsd_init_abi_common): ... here; new function. | |
7241 | * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT) | |
7242 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete. | |
7243 | * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete. | |
7244 | * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete. | |
7245 | ||
97e03143 RE |
7246 | 2002-02-15 Richard Earnshaw <[email protected]> |
7247 | ||
7248 | * arm-tdep.h (enum arm_abi): New enum. | |
7249 | (struct gdbarch_tdep): New structure. | |
7250 | (LOWEST_PC): Provide a default. | |
7251 | (arm_gdbarch_register_os_abi): Declare new function. | |
7252 | * arm-tdep.c (arm_abi_names): New array. | |
7253 | (process_note_abi_tag_sections): New function. | |
7254 | (get_elfosabi): New function. | |
7255 | (arm_gdbarch_register_os_abi): New function. | |
7256 | (arm_gdbarch_init): Try to determine the ABI of the inferior. If | |
7257 | support for that ABI has been built in, then call the appropriate | |
7258 | configuration routine. Use gdbarch_num_regs() to get the number | |
7259 | of registers. | |
7260 | (arm_dump_tdep): New function. | |
7261 | (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New | |
7262 | place-holder functions. | |
7263 | (_initialize_arm_tdep): Register them. | |
7264 | * config/arm/tm-arm.h (LOWEST_PC): Delete. | |
7265 | ||
7266 | * armnbsd-tdep.c: New file. | |
7267 | * Makefile.in (armnbsd-tdep.o): Add dependencies. | |
7268 | * config/arm/nbsd.mt (TDEPFILES): Add it. | |
7269 | * config/arm/tm-nbsd.h (LOWEST_PC): Delete. | |
7270 | ||
7271 | * armnbsd-nat.c: Include regcache.h. | |
7272 | * Makefile.in (armnbsd-nat.o): Update dependency list. | |
7273 | ||
7274 | * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message. | |
7275 | ||
ad68be46 DJ |
7276 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
7277 | ||
7278 | * gdbserver/Makefile.in: Fix typos in target rules. | |
7279 | ||
003d6d1d DJ |
7280 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
7281 | ||
aaa38bb5 | 7282 | Fix part of PR gdb/267. |
003d6d1d DJ |
7283 | * linespec.c (find_methods): Handle constructors specially for now. |
7284 | ||
6b230f1b CV |
7285 | 2002-02-14 Corinna Vinschen <[email protected]> |
7286 | ||
7287 | * arm-tdep.c (arm_push_arguments): Eliminate special float type | |
7288 | handling. | |
7289 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call | |
7290 | standard_coerce_float_to_double(). | |
7291 | ||
1ea98d12 CF |
7292 | 2002-02-14 Christopher Faylor <[email protected]> |
7293 | ||
7294 | * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of | |
7295 | GDBINIT_FILENAME. | |
7296 | ||
dd47e6fd EZ |
7297 | 2002-02-14 Elena Zannoni <[email protected]> |
7298 | ||
7299 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't call | |
7300 | find_variant_by_name, because it confuses the multiarch | |
7301 | framework. Return NULL if there isn't an architecture with the | |
7302 | user supplied name, instead of forcing a different one without | |
7303 | recording the change with the multiarch machinery. | |
7304 | (find_variant_by_name): Delete. | |
7305 | ||
d7e39b9e PS |
7306 | 2002-02-14 Peter Schauer <[email protected]> |
7307 | ||
7308 | * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by | |
7309 | i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore. | |
7310 | ||
76e42a4f MH |
7311 | 2002-02-13 Martin M. Hunt <[email protected]> |
7312 | ||
aaa38bb5 | 7313 | * stack.c (print_frame_info_base): When calling |
76e42a4f MH |
7314 | print_frame_info_listing_hook, set current_source_symtab. |
7315 | ||
0a30fbc4 DJ |
7316 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
7317 | ||
7318 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS, | |
7319 | and remove unused $(INCLUDE_DIR). | |
7320 | Add regcache.c to OBS. | |
7321 | Add generated register protocol files to clean target. | |
7322 | Update dependencies for new objects, obsolete old target code. | |
7323 | ||
7324 | * gdbserver/linux-low.c: Remove all platform-specific code to | |
7325 | new files. Remove various dead code. Update to use regcache | |
7326 | functionality. | |
7327 | * gdbserver/remote-utils.c (fromhex): Add return statement | |
7328 | to quiet warning. | |
7329 | (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer | |
7330 | constant. | |
7331 | (input_interrupt): Add integer parameter to match prototype | |
7332 | of a signal handler. | |
7333 | (outreg): Use register_data (). | |
7334 | (prepare_resume_reply): Use gdbserver_expedite_regs. | |
7335 | * gdbserver/server.c (main): Dynamically allocate own_buf because | |
7336 | PBUFSIZ is no longer constant. Use registers_to_string () and | |
7337 | registers_from_string (). | |
7338 | * gdbserver/server.h: No longer include "defs.h". Add prototypes | |
7339 | for error (), fatal (), and warning (). Update definition of | |
7340 | PBUFSIZ to use regcache functionality. Add include guard. | |
7341 | * gdbserver/utils.c (fatal): Add missing ``const''. | |
7342 | (warning): New function. | |
7343 | ||
7344 | * regformats/regdat.sh: Include "regcache.h" in generated files. | |
7345 | Provide init_registers () function. | |
7346 | * regformats/regdef.h: Add prototype for set_register_cache (). | |
7347 | Add include guard. | |
7348 | ||
7349 | * gdbserver/linux-arm-low.c: New file. | |
7350 | * gdbserver/linux-i386-low.c: New file. | |
7351 | * gdbserver/linux-ia64-low.c: New file. | |
7352 | * gdbserver/linux-m68k-low.c: New file. | |
7353 | * gdbserver/linux-mips-low.c: New file. | |
7354 | * gdbserver/linux-ppc-low.c: New file. | |
7355 | * gdbserver/linux-sh-low.c: New file. | |
7356 | ||
7357 | * gdbserver/regcache.c: New file. | |
7358 | * gdbserver/regcache.h: New file. | |
7359 | ||
7360 | * gdbserver/low-linux.c: Removed obsolete file. | |
7361 | ||
4cc841d0 DJ |
7362 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
7363 | ||
7364 | * config/arm/linux.mt: Update GDBSERVER_DEPFILES. | |
7365 | * config/i386/linux.mt: Likewise. | |
7366 | * config/ia64/linux.mt: Likewise. | |
7367 | * config/m68k/linux.mh: Likewise. | |
7368 | * config/powerpc/linux.mh: Likewise. | |
7369 | * config/mips/linux.mt: Likewise. | |
7370 | ||
7371 | * config/sh/linux.mt: Add GDBSERVER_DEPFILES. | |
7372 | ||
7373 | * config/i386/i386lynx.mh: Mark gdbserver variables | |
7374 | as (currently) obsolete for this target. | |
7375 | * config/i386/nbsd.mt: Likewise. | |
7376 | * config/i386/nbsdelf.mt: Likewise. | |
7377 | * config/m32r/m32r.mt: Likewise. | |
7378 | * config/m68k/m68klynx.mh: Likewise. | |
7379 | * config/m68k/nbsd.mt: Likewise. | |
7380 | * config/m68k/sun3os4.mh: Likewise. | |
7381 | * config/mips/vr5000.mt: Likewise. | |
7382 | * config/ns32k/nbsd.mt: Likewise. | |
7383 | * config/pa/hppabsd.mh: Likewise. | |
7384 | * config/pa/hppaosf.mh: Likewise. | |
7385 | * config/powerpc/nbsd.mt: Likewise. | |
7386 | * config/rs6000/rs6000lynx.mh: Likewise. | |
7387 | * config/s390/s390.mt: Likewise. | |
7388 | * config/s390/s390x.mt: Likewise. | |
7389 | * config/sparc/sparclynx.mh: Likewise. | |
7390 | * config/sparc/sun4os4.mh: Likewise. | |
7391 | * config/i386/x86-64linux.mt: Likewise. | |
7392 | * config/sparc/linux.mh: Likewise. | |
7393 | ||
a85f51e7 DJ |
7394 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
7395 | ||
7396 | * configure.tgt: Configure gdbserver only for known working | |
7397 | targets. Set ${build_gdbserver} instead of modifying ${configdirs}. | |
7398 | * configure.in: Check ${build_gdbserver}. Put gdbserver/ into | |
7399 | SUBDIRS if it is configured. Update comment for ${nativefile}. | |
7400 | * configure: Regenerated. | |
7401 | ||
65554fef MS |
7402 | 2002-02-13 Michael Snyder <[email protected]> |
7403 | ||
670a52db MS |
7404 | * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES. |
7405 | ||
6dbdc4a3 MS |
7406 | * gcore.c (gcore_command): Use gcore_default_target instead of NULL. |
7407 | (default_gcore_mach): Just return 0, work around a problem in bfd. | |
7408 | (default_gcore_target): OK to return NULL if exec_bfd is null. | |
7409 | (make_mem_sec): Use a cast, avoid a warning. | |
7410 | ||
7411 | * procfs.c (find_memory_regions_callback): Use a cast instead of | |
aaa38bb5 | 7412 | calling host_pointer_to_address (which complains if |
6dbdc4a3 MS |
7413 | sizeof (host pointer) != sizeof (target pointer)). |
7414 | (procfs_make_note_section): Avoid overflow in psargs string. | |
7415 | ||
aaa38bb5 | 7416 | * procfs.c (procfs_make_note_section): Make the default |
65554fef MS |
7417 | implementation return an error. |
7418 | ||
7419 | 2002-02-13 Rodney Brown <[email protected]> | |
7420 | ||
7421 | * procfs.c (procfs_make_note_section): Provide a default definition | |
7422 | (for alpha-dec-osf4.0f). Fix typos. | |
7423 | ||
1e4d76e7 EZ |
7424 | 2002-02-13 Elena Zannoni <[email protected]> |
7425 | ||
7426 | * linux-proc.c: Add include of regcache.h. | |
7427 | * Makefile.in (linux-proc.o): Add dependency on regcache.h. | |
7428 | ||
b6d1a1d5 AC |
7429 | 2002-02-13 Andrew Cagney <[email protected]> |
7430 | ||
7431 | From 2002-01-18 Greg McGary <[email protected]>: | |
aaa38bb5 AJ |
7432 | * memattr.c (create_mem_region): Disallow useless empty region. |
7433 | Regions are half-open intervals, so allow [A..B) [B..C) as | |
65554fef | 7434 | non-overlapping. |
b6d1a1d5 | 7435 | |
6c6ea35e MC |
7436 | 2002-02-13 Michael Chastain <[email protected]> |
7437 | ||
7438 | * defs.h: Kill CONST_PTR. | |
7439 | * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const". | |
7440 | * c-lang.c (c_builtin_types): Likewise. | |
7441 | * ch-lang.c (ch_builtin_types): Likewise. | |
7442 | * f-lang.c (f_builtin_types): Likewise. | |
7443 | * language.c (unknown_builtin_types): Likewise. | |
7444 | * m2-lang.c (m2_builtin_types): Likewise. | |
7445 | * p-lang.c (pascal_builtin_types): Likewise. | |
7446 | * scm-lang.c (c_builtin_types): Likewise. | |
7447 | ||
3e0b0f48 KS |
7448 | 2002-02-13 Keith Seitz <[email protected]> |
7449 | ||
7450 | * arm-tdep.h (arm_get_next_pc): Add declaration. | |
7451 | ||
67255d04 RE |
7452 | 2002-02-13 Richard Earnshaw <[email protected]> |
7453 | ||
7454 | * arm-tdep.c (arm_use_struct_convention): Make static. Move to be | |
7455 | with other related struct-returning functions. | |
7456 | (arm_extract_struct_value_address): New function. | |
7457 | (arm_gdbarch_init): Initialize the above in multi-arch vector. Also | |
7458 | initialize float_format, double_format and long_double_format as | |
7459 | appropriate to the endianness of the target. | |
7460 | * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete. | |
7461 | (arm_use_struct_convention): Delete declaration. | |
7462 | (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete. | |
7463 | ||
079777f6 KS |
7464 | 2002-02-13 Keith Seitz <[email protected]> |
7465 | ||
7466 | * defs.h (core_addr_to_string_nz): New function. | |
7467 | ||
34588f23 MK |
7468 | 2002-02-13 Mark Kettenis <[email protected]> |
7469 | ||
7470 | Apply missing bits of 2002-01-15 patch. | |
7471 | * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave. | |
7472 | (fill_fpregset): Use i387_fill_fsave. | |
7473 | ||
49b563f9 KS |
7474 | 2002-02-12 Keith Seitz <[email protected]> |
7475 | ||
49b563f9 KS |
7476 | * utils.c (core_addr_to_string): Use phex instead of phex_nz. |
7477 | (core_addr_to_string_nz): New function. | |
7478 | ||
aeb98c60 RE |
7479 | 2002-02-11 Richard Earnshaw <[email protected]> |
7480 | ||
7481 | * arm-linux-nat.c: Really include arm-tdep.h. | |
7482 | * config/arm/tm-linux.h (struct type, struct value): Declare. | |
7483 | ||
65554fef MS |
7484 | 2002-02-11 Michael Snyder <[email protected]> |
7485 | ||
7486 | * procfs.c: Include elf-bfd.h (for elfcore_write functions). | |
7487 | (gcore section): Ifdef for Solaris and Unixware only. | |
7488 | (procfs_do_thread_registers): Unixware needs one lwpstatus | |
7489 | per thread (not one prstatus or pstatus). | |
7490 | (procfs_make_note_section): Iterate only over kernel threads (lwps), | |
7491 | not over all gdb threads. For unixware, call elfcore_write_pstatus | |
7492 | once before iterating over threads. | |
7493 | ||
34e8f22d RE |
7494 | 2002-02-11 Richard Earnshaw <[email protected]> |
7495 | ||
7496 | * arm-tdep.h: New file. | |
7497 | * arm-tdep.c: Include arm-tdep.h. | |
7498 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
7499 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
7500 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
7501 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
7502 | (arm_extract_return_value, arm_register_name): Make static. | |
7503 | (arm_software_single_step): Similarly. Fix types in declaration. | |
7504 | (arm_register_byte, arm_register_raw_size, arm_register_virtual_size) | |
7505 | (arm_store_return_value, arm_store_struct_return): New functions. | |
7506 | (arm_gdbarch_init): Register the above functions. Also register | |
7507 | call_dummy_start_offset, sizeof_call_dummy_words, | |
7508 | function_start_offset, inner_than, decr_pc_after_break, fp_regnum, | |
7509 | sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size, | |
aaa38bb5 | 7510 | max_register_virtual_size, register_size. Set up |
34e8f22d RE |
7511 | prologue_cache.saved_regs here, rather than ... |
7512 | (_initialize_arm_tdep): ... here. | |
7513 | * config/arm/tm-arm.h (struct type, struct value): Delete forward | |
7514 | declarations. | |
7515 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
7516 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
7517 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
7518 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
7519 | (arm_extract_return_value, arm_register_name): Delete declarations. | |
7520 | (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET) | |
7521 | (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC) | |
7522 | (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS) | |
7523 | (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE) | |
7524 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
7525 | (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN) | |
7526 | (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS) | |
7527 | (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY) | |
7528 | (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP) | |
7529 | (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete. | |
7530 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc) | |
7531 | (arm_get_next_pc): No-longer static -- these are needed by the RDI | |
7532 | interface. | |
7533 | * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h. | |
7534 | * remote-rdi.c remote-rdp.c: Likewise. | |
7535 | * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o) | |
7536 | (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies. | |
7537 | * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus | |
7538 | definition. | |
7539 | ||
7540 | * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM) | |
7541 | (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM) | |
7542 | (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed | |
7543 | from non-ARM_ prefixed definitions. | |
7544 | * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update | |
7545 | all uses of above. | |
7546 | * remote-rdi.c remote-rdp.c: Likewise. | |
7547 | * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM. | |
7548 | ||
148754e5 RE |
7549 | 2002-02-11 Richard Earnshaw <[email protected]> |
7550 | ||
7551 | * arm-tdep.c (arm_frameless_function_invocation) | |
7552 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
7553 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
7554 | (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
7555 | (arm_pop_frame, arm_get_next_pc): Make static. | |
7556 | (arm_gdbarch_init): Register above in gdbarch structure. | |
7557 | (arm_read_fp): Renamed from arm_target_read_fp. | |
7558 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static. | |
7559 | * config/arm/tm-arm.h (arm_frameless_function_invocation) | |
7560 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
7561 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
7562 | (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
7563 | (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb) | |
7564 | (arm_pc_is_thumb_dummy): Delete declarations. | |
fcfb8836 RE |
7565 | (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN) |
7566 | (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS) | |
7567 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP) | |
7568 | (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete. | |
148754e5 | 7569 | |
434d2d4f DJ |
7570 | 2002-02-10 Daniel Jacobowitz <[email protected]> |
7571 | ||
7572 | * symtab.c (compare_search_syms): New function. | |
7573 | (sort_search_symbols): New function. | |
7574 | (search_symbols): Sort symbols after searching rather than | |
7575 | before. | |
7576 | ||
55241689 AC |
7577 | 2002-02-10 Andrew Cagney <[email protected]> |
7578 | ||
7579 | * NEWS: Linux -> GNU/Linux. | |
7580 | ||
028c194b AC |
7581 | 2002-02-10 Andrew Cagney <[email protected]> |
7582 | ||
7583 | * gdbarch.sh: For for level one methods, disallow a definition | |
7584 | when partially multi-arched. Add comments explaining rationale. | |
7585 | * gdbarch.h: Re-generate. | |
7586 | ||
6acf50cd AC |
7587 | 2002-02-10 Andrew Cagney <[email protected]> |
7588 | ||
7589 | * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when | |
7590 | multi-arch partial. | |
aaa38bb5 | 7591 | |
50248794 AC |
7592 | 2002-02-10 Andrew Cagney <[email protected]> |
7593 | ||
7594 | * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad | |
7595 | field. Use diff -u. | |
7596 | * gdbarch.c: Re-generate. | |
7597 | ||
c30e0066 AC |
7598 | 2002-02-10 Andrew Cagney <[email protected]> |
7599 | ||
9b56c5f3 | 7600 | * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete. |
c30e0066 AC |
7601 | * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch |
7602 | partial. | |
7603 | ||
6e6d6484 AC |
7604 | 2002-02-10 Andrew Cagney <[email protected]> |
7605 | ||
7606 | * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when | |
7607 | multi-arch partial. | |
7608 | (PUSH_ARGUMENTS): Switch to using predefault. | |
7609 | * gdbarch.c: Regenerate. | |
7610 | ||
c203844d AC |
7611 | 2002-02-10 Andrew Cagney <[email protected]> |
7612 | ||
7613 | * valops.c (PUSH_ARGUMENTS): Delete definition. | |
7614 | * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch | |
7615 | partial. Default to default_push_arguments. | |
7616 | * gdbarch.h, gdbarch.c: Regenerate. | |
7617 | ||
b5a2688f AC |
7618 | 2002-02-09 Andrew Cagney <[email protected]> |
7619 | ||
7620 | * defs.h (throw_exception): Rename return_to_top_level. Update | |
7621 | comments. | |
7622 | * utils.c (error_stream, internal_verror, quit): Ditto. | |
7623 | * top.c (throw_exception, catcher): Ditto. | |
7624 | * sparclet-rom.c (sparclet_load): Ditto. | |
7625 | * remote.c (interrupt_query, minitelnet): Ditto. | |
7626 | * remote-sds.c (interrupt_query): Ditto. | |
7627 | * remote-mips.c (mips_error, mips_kill): Ditto. | |
7628 | * ocd.c (interrupt_query): Ditto. | |
7629 | * monitor.c (monitor_interrupt_query): Ditto. | |
7630 | * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto. | |
7631 | * target.h: Update comment. | |
aaa38bb5 | 7632 | |
b5a2688f | 7633 | * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright. |
aaa38bb5 | 7634 | |
2fa5c1e0 AC |
7635 | 2002-02-09 Andrew Cagney <[email protected]> |
7636 | ||
7637 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to | |
7638 | default_double_format. | |
7639 | * gdbarch.h, gdbarch.c: Re-generate. | |
7640 | * findvar.c (floatformat_unknown): Delete variable definition. | |
7641 | * doublest.h (floatformat_unknown): Delete variable declaration. | |
7642 | ||
da966255 JB |
7643 | 2002-02-09 Jim Blandy <[email protected]> |
7644 | ||
7645 | * stabsread.c (read_type): Add code to parse Sun's syntax for | |
7646 | prototyped function types. | |
7647 | ||
123a4891 AC |
7648 | 2002-02-09 Andrew Cagney <[email protected]> |
7649 | ||
7650 | * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS. | |
7651 | (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS. | |
7652 | ||
fb39c8f3 PS |
7653 | 2002-02-09 Peter Schauer <[email protected]> |
7654 | ||
7655 | * xcoffsolib.c (_initialize_xcoffsolib): Renamed from | |
7656 | _initialize_solib. Fixes name clash with solib.c:_initialize_solib, | |
7657 | now _initialize_xcoffsolib gets called again and overrides the | |
7658 | commands from solib.c in a native configuration. | |
7659 | ||
0b87a11d MK |
7660 | 2002-02-09 Mark Kettenis <[email protected]> |
7661 | ||
7662 | * doublest.c (store_typed_floating): Don't try to return a value. | |
7663 | Fixes PR gdb/290. | |
7664 | ||
bdc2fc72 JB |
7665 | 2002-02-08 Jim Blandy <[email protected]> |
7666 | ||
7667 | * c-typeprint.c (c_type_print_varspec_suffix): If a function type | |
7668 | is prototyped and has no arguments, print its argument list as | |
7669 | `(void)'. | |
7670 | ||
da69bbcf CD |
7671 | 2002-02-08 Chris Demetriou <[email protected]> |
7672 | ||
7673 | * MAINTAINERS (write-after-approval): Add myself. | |
7674 | (paper-trail): I've escaped! | |
aaa38bb5 | 7675 | |
b69571f5 CF |
7676 | 2002-02-08 Christopher Faylor <[email protected]> |
7677 | ||
7678 | * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf | |
7679 | changes. | |
7680 | (_initialize_check_for_gdb_ini): Ditto. | |
7681 | ||
f6871398 MH |
7682 | 2002-02-08 Martin M. Hunt <[email protected]> |
7683 | ||
7684 | * win32-nat.c (cygwin_pid_to_str): Fix typo. | |
7685 | xaprintf -> xasprintf. | |
7686 | ||
4e52d31c PM |
7687 | 2002-02-08 Pierre Muller <[email protected]> |
7688 | ||
7689 | * win32-nat.c: Remove use of printf and sprintf functions. | |
7690 | ||
39bbf761 RE |
7691 | 2002-02-08 Richard Earnshaw <[email protected]> |
7692 | ||
7693 | * arm-tdep.c (arm_frame_chain_valid): Make static. | |
7694 | (arm_push_arguments): Likewise. | |
7695 | (arm_gdbarch_init): New function. | |
7696 | (_initialize_arm_tdep): Call it. | |
7697 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1. | |
7698 | (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order. | |
7699 | (FRAME_CHAIN_VALID): Delete. | |
7700 | (arm_frame_chain_valid): Delete declaration. | |
7701 | (PUSH_ARGUMENTS): Delete. | |
7702 | (arm_push_arguments): Delete declaration. | |
7703 | (CALL_DUMMY_P): Delete. | |
7704 | ||
9c9532c9 CV |
7705 | 2002-02-08 Andrew Cagney <[email protected]> |
7706 | Corinna Vinschen <[email protected]> | |
7707 | ||
7708 | * gdbtypes.c (build_gdbtypes): Disable setting a specific float format | |
7709 | on builtin float types. | |
7710 | ||
4e8f7a8b DJ |
7711 | 2002-02-08 Daniel Jacobowitz <[email protected]> |
7712 | ||
7713 | * utils.c: Include <curses.h> before "bfd.h". | |
7714 | * tui/tui-hooks.c: Likewise. | |
7715 | * tui/tui.c: Likewise. | |
7716 | * tui/tuiCommand.c: Likewise. | |
7717 | * tui/tuiData.c: Likewise. | |
7718 | * tui/tuiDataWin.c: Likewise. | |
7719 | * tui/tuiDisassem.c: Likewise. | |
7720 | * tui/tuiGeneralWin.c: Likewise. | |
7721 | * tui/tuiIO.c: Likewise. | |
7722 | * tui/tuiLayout.c: Likewise. | |
7723 | * tui/tuiRegs.c: Likewise. | |
7724 | * tui/tuiSource.c: Likewise. | |
7725 | * tui/tuiSourceWin.c: Likewise. | |
7726 | * tui/tuiStack.c: Likewise. | |
7727 | * tui/tuiWin.c: Likewise. | |
7728 | ||
cd4bffcf EZ |
7729 | 2002-02-07 Elena Zannoni <[email protected]> |
7730 | ||
7731 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array | |
7732 | to include space for pseudoregs as well. Update loops accordingly. | |
7733 | (sh_fp_frame_init_saved_regs): Ditto. | |
7734 | (sh_init_extra_frame_info, sh_pop_frame): Split long lines. | |
7735 | ||
26806ce2 AC |
7736 | 2002-02-07 Andrew Cagney <[email protected]> |
7737 | ||
7738 | * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer. | |
7739 | Add Richard Earnshaw to Arm maintainers. | |
7740 | ||
97fdab62 AC |
7741 | 2002-02-07 Andrew Cagney <[email protected]> |
7742 | ||
a6b98203 AC |
7743 | * defs.h (warning_begin): Delete declaration. |
7744 | ||
97fdab62 AC |
7745 | * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT): |
7746 | Delete macro. | |
7747 | ||
78b29b40 MS |
7748 | 2002-02-07 Michael Snyder <[email protected]> |
7749 | ||
aaa38bb5 | 7750 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
78b29b40 MS |
7751 | Logic bug, remove misplaced else. |
7752 | ||
d8849953 KD |
7753 | 2002-02-07 Klee Dienes <[email protected]> |
7754 | ||
7755 | * fork-inferior.c (fork_inferior): Add '!' to the list of | |
7756 | characters that need to be quoted when building a string for the | |
7757 | shell. Quote '!' specifically with a backslash, since CSH chokes | |
7758 | when trying to evaluate "str!str". | |
aaa38bb5 | 7759 | |
095778a0 NC |
7760 | 2002-02-06 Nick Clifton <[email protected]> |
7761 | ||
7762 | * rdi-share/host.h: Only provide a typedef for bool if it is not | |
7763 | defined. | |
7764 | ||
1900040c MS |
7765 | 2002-02-04 Michael Snyder <[email protected]> |
7766 | ||
7767 | * breakpoint.h (enum bptype): Add new overlay event bp type. | |
7768 | (enable_overlay_breakpoints, disable_overlay_breakpoints): Export. | |
aaa38bb5 | 7769 | |
1900040c MS |
7770 | * breakpoint.c (create_internal_breakpoint): New function. |
7771 | (internal_breakpoint_number): Moved into create_internal_breakpoint. | |
7772 | (create_longjmp_breakpoint): Use create_internal_breakpoint. | |
7773 | (create_thread_event_breakpoint): Ditto. | |
7774 | (create_solib_event_breakpoint): Ditto. | |
7775 | (create_overlay_event_breakpoint): New function. | |
7776 | (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs. | |
7777 | (update_breakpoints_after_exec): Delete and re-initialize | |
7778 | overlay event breakpoints after an exec. Add FIXME comment | |
7779 | about longjmp breakpoint. | |
7780 | (print_it_typical): Ignore overlay event breakpoints. | |
7781 | (print_one_breakpoint): Ditto. | |
7782 | (mention): Ditto. | |
7783 | (bpstat_what): Do not stop for overlay event breakpoints. | |
7784 | (delete_breakpoint): Don't delete overlay event breakpoints. | |
7785 | (breakpoint_re_set_one): Delete the overlay event breakpoint. | |
7786 | (breakpoint_re_set): Re-create overlay event breakpoint. | |
7787 | ||
7788 | * symfile.c (overlay_auto_command): Enable overlay breakpoints. | |
7789 | (overlay_manual_command): Disable overlay breakpoints. | |
7790 | (overlay_off_command): Disable overlay breakpoints. | |
7791 | ||
082fc60d RE |
7792 | 2002-02-06 Richard Earnshaw <[email protected]> |
7793 | ||
7794 | * arm-tdep.c: Include elf-bfd.h and coff/internal.h. | |
7795 | (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines | |
7796 | to here from config/tm-arm.h. | |
7797 | (coff_sym_is_thumb): Make static. | |
7798 | (arm_elf_make_msymbol_special): New function. | |
7799 | (arm_coff_make_msymbol_special): New function. | |
7800 | * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition. | |
7801 | (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise. | |
7802 | (coff_sym_is_thumb): Delete declaration. | |
7803 | (arm_elf_make_msymbol_special): Declare. | |
7804 | (arm_coff_make_msymbol_special): Declare. | |
7805 | (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special. | |
7806 | (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special. | |
7807 | ||
039c5766 RE |
7808 | 2002-02-06 Richard Earnshaw <[email protected]> |
7809 | ||
7810 | * arm-tdep.c (arm_software_single_step): ANSIfy function declaration. | |
7811 | ||
7812 | 2002-02-06 Richard Earnshaw <[email protected]> | |
7813 | ||
7814 | * gdbarch.sh (PRINT_FLOAT_INFO): Add rule. | |
7815 | * gdbarch.c gdbarch.h: Regenerate. | |
7816 | * arch-utils.c (default_print_float_info): New function. | |
7817 | * arch-utils.h (default_print_float_info): Prototype it. | |
7818 | * infcmd.c (float_info): Call PRINT_FLOAT_INFO. | |
7819 | * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated. | |
7820 | (PRINT_FLOAT_INFO): Document it. | |
7821 | ||
7822 | * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info. | |
7823 | * config/arm/tm-arm.h (FLOAT_INFO): Delete. | |
7824 | (PRINT_FLOAT_INFO): Define. | |
7825 | ||
58fa08f0 PM |
7826 | 2002-02-06 Pierre Muller <[email protected]> |
7827 | ||
aaa38bb5 | 7828 | * win32-nat.c (_initialize_check_for_gdb_ini): |
58fa08f0 PM |
7829 | Add typecast to sprintf argument to suppress a warning. |
7830 | ||
7393af7c PM |
7831 | 2002-02-05 Pierre Muller <[email protected]> |
7832 | ||
58fa08f0 | 7833 | * win32-nat.c (last_sig): Changed type of variable to target_signal, |
7393af7c PM |
7834 | to allow easier handling of pass state. |
7835 | (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception, | |
7836 | that gives exception name and address. | |
7837 | (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro | |
aaa38bb5 | 7838 | and set last_sig value to ourstatus->value.sig. Some missing |
7393af7c | 7839 | exceptions added. |
aaa38bb5 AJ |
7840 | (child_continue): Correctly report continue_status. |
7841 | (get_child_debug_event,do_initial_child_stuff): Set last_sig to | |
7393af7c | 7842 | TARGET_SIGNAL_0 (new default value). |
aaa38bb5 | 7843 | (child_resume): consider sig argument passed to decide if |
7393af7c PM |
7844 | the exception should be passed to debuggee or not. |
7845 | ||
6af4589c MS |
7846 | 2002-02-05 Michael Snyder <[email protected]> |
7847 | ||
7848 | * regcache.c (fetch_register): Call target_fetch_register | |
7849 | only if we don't call FETCH_PSEUDO_REGISTER. | |
7850 | (store_register): Call target_store_register only if we | |
7851 | don't call STORE_PSEUDO_REGISTER. | |
7852 | ||
a2cf933a EZ |
7853 | 2002-02-05 Elena Zannoni <[email protected]> |
7854 | ||
7855 | * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and | |
7856 | ELF_MAKE_MSYMBOL_SPECIAL. | |
7857 | * gdbarch.c, gdbarch.h: Regenerate. | |
7858 | * arch-utils.c (default_make_msymbol_special): New function. | |
aaa38bb5 | 7859 | * arch-utils.h (default_make_msymbol_special): Export. |
a2cf933a EZ |
7860 | * elfread.c (elf_symtab_read): Compile use of |
7861 | ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now | |
7862 | multiarched. | |
7863 | * coffread.c (coff_symtab_read): Ditto, for | |
7864 | COFF_MAKE_MSYMBOL_SPECIAL. | |
7865 | ||
6bb7be43 JB |
7866 | 2002-02-05 Jim Blandy <[email protected]> |
7867 | ||
7868 | * solib-svr4.c (svr4_truncate_ptr): New function. | |
7869 | (svr4_relocate_section_addresses): Do the address arithmetic with | |
7870 | the appropriate truncation for target addresses, even when | |
7871 | CORE_ADDR is larger than a target address. | |
7872 | ||
e18651ec DJ |
7873 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7874 | ||
7875 | * gdbserver/linux-low.c (mywait): Cast second argument of waitpid | |
7876 | to (int *). | |
7877 | ||
6b2725be DJ |
7878 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7879 | ||
7880 | * gdbserver/linux-low.c (kill_inferior): Remove commented out | |
7881 | code. | |
7882 | ||
fca9e603 DJ |
7883 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7884 | ||
7885 | * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX. | |
7886 | ||
6c537a52 DJ |
7887 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7888 | ||
7889 | * gdbserver/linux-low.c: Remove unused include files. | |
7890 | ||
d844cde6 DJ |
7891 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7892 | ||
7893 | * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE. | |
7894 | (read_inferior_memory): Use it. | |
7895 | (write_inferior_memory): Likewise. | |
7896 | ||
d07c63e7 DJ |
7897 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7898 | ||
7899 | * gdbserver/linux-low.c (create_inferior): Call strerror instead of | |
7900 | grubbing through sys_errlist. | |
7901 | ||
da6d8c04 DJ |
7902 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7903 | ||
7904 | * gdbserver/linux-low.c: New file, copied exactly from low-linux.c. | |
7905 | ||
5b421780 PM |
7906 | 2002-02-04 Pierre Muller <[email protected]> |
7907 | * win32-nat.c (handle_exception): Handle Ctrl-Break exception. | |
7908 | ||
9f60d481 AC |
7909 | 2002-02-04 Andrew Cagney <[email protected]> |
7910 | ||
7911 | * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions. | |
7912 | (do_sfunc, set_cmd_sfunc): New functions. | |
7913 | ||
7914 | * command.h (struct cmd_list_element): Add field func. | |
7915 | * cli/cli-decode.h (struct cmd_list_element): Ditto. | |
7916 | * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare. | |
7917 | * cli/cli-decode.h: Ditto. | |
7918 | ||
7919 | * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc. | |
7920 | (help_all, help_cmd_list): Ditto. | |
7921 | (find_cmd, complete_on_cmdlist): Ditto. | |
7922 | * top.c (execute_command): Ditto. | |
7923 | ||
7924 | * cli/cli-setshow.c (do_setshow_command): Call func instead of | |
7925 | function.sfunc. | |
7926 | ||
7927 | * infcmd.c (notice_args_read): Fix function signature. | |
7928 | ||
7929 | * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc. | |
7930 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
7931 | * utils.c (initialize_utils): Ditto. | |
7932 | * maint.c (_initialize_maint_cmds): Ditto. | |
7933 | * infrun.c (_initialize_infrun): Ditto. | |
7934 | * demangle.c (_initialize_demangler): Ditto. | |
7935 | * remote.c (add_packet_config_cmd): Ditto. | |
7936 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
7937 | * cris-tdep.c (_initialize_cris_tdep): Ditto. | |
7938 | * proc-api.c (_initialize_proc_api): Ditto. | |
7939 | * kod.c (_initialize_kod): Ditto. | |
7940 | * valprint.c (_initialize_valprint): Ditto. | |
7941 | * top.c (init_main): Ditto. | |
7942 | * infcmd.c (_initialize_infcmd): Ditto. | |
7943 | * corefile.c (_initialize_core): Ditto. | |
7944 | * arm-tdep.c (_initialize_arm_tdep): Ditto. | |
7945 | * arch-utils.c (initialize_current_architecture): Ditto. | |
7946 | (_initialize_gdbarch_utils): Ditto. | |
7947 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. | |
7948 | ||
7949 | * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc. | |
7950 | * wince.c (_initialize_inftarg): Ditto. | |
7951 | * symfile.c (_initialize_symfile): Ditto. | |
7952 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
7953 | * language.c (_initialize_language): Ditto. | |
7954 | * arc-tdep.c (_initialize_arc_tdep): Ditto. | |
7955 | ||
f9ba0717 MS |
7956 | 2002-02-04 Michael Snyder <[email protected]> |
7957 | ||
7958 | * memattr.c (_initialize_mem): Elaborate the help for 'mem' command. | |
7959 | ||
0c74b2a7 DJ |
7960 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
7961 | ||
7962 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS. | |
7963 | Add rules for building the register data files. | |
7964 | ||
c638789f DJ |
7965 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
7966 | ||
7967 | * regformats/regdat.sh: Add braces to the definition of | |
7968 | expedite_regs_${arch}. | |
7969 | ||
db253027 DJ |
7970 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
7971 | ||
7972 | * regformats/regdef.h (struct reg): Add comment describing the | |
7973 | requirements for offset and size fields. | |
7974 | ||
206be19c AS |
7975 | 2002-02-04 Andreas Schwab <[email protected]> |
7976 | ||
7977 | * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX. | |
7978 | * config/ia64/linux.mt: Don't set GDBSERVER_LIBS. | |
7979 | ||
181c1381 RE |
7980 | 2002-02-04 Richard Earnshaw <[email protected]> |
7981 | ||
7982 | * gdbarch.sh (copyright): Update years in generated header. | |
7983 | (SMASH_TEXT_ADDRESS): Add rule. | |
db253027 | 7984 | * gdbarch.h, gdbarch.c: Re-generate. |
181c1381 RE |
7985 | * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. |
7986 | * dbxread.c: Likewise. | |
7987 | * dwarfread.c: Likewise. | |
7988 | * elfread.c: Likewise. | |
7989 | * somread.c: Likewise. | |
7990 | ||
7991 | * arm-tdep.c (arm_smash_text_address): New function. | |
7992 | * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above. | |
7993 | ||
fa4ba8da PM |
7994 | 2002-02-04 Pierre Muller <[email protected]> |
7995 | ||
7996 | Add support for hardware watchpoints on win32 native. | |
aaa38bb5 | 7997 | * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of |
fa4ba8da | 7998 | CONTEXT_DEBUG_REGISTERS. |
aaa38bb5 | 7999 | (dr variable): New variable. Static array containing a local copy |
fa4ba8da PM |
8000 | of debug registers. |
8001 | (debug_registers_changed): New variable. Reflects when debug registers | |
8002 | are changed and need to be written to inferior. | |
aaa38bb5 | 8003 | (debug_registers_used): New variable. Reflects when any debug register |
fa4ba8da PM |
8004 | was set, used when new threads are created. |
8005 | (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by | |
8006 | i386-nat code. | |
8007 | (thread_rec): Set dr array if id is the thread of current_event . | |
8008 | (child_continue, child_resume): Change the debug registers for all | |
8009 | threads if debug_registers_changed. | |
8010 | (child_add_thread): Change the debug registers if debug_registers_used. | |
8011 | * config/i386/cygwin.mh: Add use of i386-nat.o file. | |
8012 | Link nm.h to new nm-cygwin.h file. | |
8013 | + config/i386/nm-cygwin.h: New file. Contains the macros used for use | |
8014 | of hardware registers. | |
8015 | ||
a73c86fb AC |
8016 | 2002-02-03 Andrew Cagney <[email protected]> |
8017 | ||
8018 | * valprint.c (print_floating): Allow non TYPE_CODE_FLT types. | |
8019 | Restore behavour broken by 2002-01-20 Andrew Cagney | |
8020 | <[email protected]> IEEE_FLOAT removal. | |
8021 | ||
acf5ed49 DJ |
8022 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
8023 | ||
8024 | * c-valprint.c (c_val_print): Pass a proper valaddr to | |
8025 | cp_print_class_method. | |
8026 | * valops.c (search_struct_method): If there is only one method | |
8027 | and args is NULL, return that method. | |
8028 | ||
493d28d5 DJ |
8029 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
8030 | ||
8031 | * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of | |
8032 | accessing tag_name directly. | |
8033 | ||
7495dfdb DJ |
8034 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
8035 | ||
8036 | * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead | |
8037 | of accessing tag_name directly. | |
8038 | ||
dd6bda65 DJ |
8039 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
8040 | ||
8041 | PR gdb/280 | |
8042 | * gdbtypes.c (replace_type): New function. | |
8043 | * gdbtypes.h (replace_type): Add prototype. | |
8044 | * stabsread.c (read_type): Use replace_type. | |
8045 | ||
88fe217c RE |
8046 | 2002-02-03 Richard Earnshaw <[email protected]> |
8047 | ||
8048 | * Makefile.in (memattr.o): Add missing dependencies rule. | |
8049 | ||
e5d66720 PS |
8050 | 2002-02-03 Peter Schauer <[email protected]> |
8051 | ||
8052 | * breakpoint.c (break_at_finish_command): Really export. | |
8053 | (break_at_finish_at_depth_command): Ditto. | |
8054 | (tbreak_at_finish_command): Ditto. | |
8055 | * hppa-tdep.c: Include completer.h. | |
8056 | * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h). | |
8057 | (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o. | |
8058 | ||
fffee0be AC |
8059 | 2002-02-01 Andrew Cagney <[email protected]> |
8060 | ||
8061 | * utils.c (do_write): New function. | |
8062 | (error_stream): Rewrite combining the code from error_begin and | |
8063 | verror. | |
8064 | (verror): Rewrite using error_stream. | |
8065 | (error_begin): Delete function. | |
8066 | ||
255e7dbf AC |
8067 | 2002-02-01 Andrew Cagney <[email protected]> |
8068 | ||
8069 | * utils.c (error_begin): Make static. | |
8070 | * defs.h (error_begin): Delete declaration. | |
8071 | ||
8072 | * linespec.c (cplusplus_error): Replace cplusplus_hint. | |
8073 | (decode_line_1): Use cplusplus_error instead of error_begin, | |
8074 | cplusplus_hint and return_to_top_level. | |
8075 | * coffread.c (coff_symfile_read): Use error instead of error_begin | |
8076 | and return_to_top_level. | |
8077 | * infrun.c (default_skip_permanent_breakpoint): Ditto. | |
8078 | ||
ddfe3c15 AC |
8079 | 2002-02-01 Andrew Cagney <[email protected]> |
8080 | ||
8081 | * language.h (type_error, range_error): Make string parameter | |
8082 | constant. | |
8083 | * language.c (warning_pre_print): Delete extern declaration. | |
8084 | * dwarfread.c (warning_pre_print): Ditto. | |
8085 | * language.c (type_error, range_error): Rewrite to use verror and | |
8086 | vwarning instead of warning_begin. | |
8087 | ||
03ac34d5 MS |
8088 | 2002-02-01 Michael Snyder <[email protected]> |
8089 | ||
261c4ca2 MS |
8090 | * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code. |
8091 | (set_ignore_count): Move misplaced comment back where it belongs. | |
03ac34d5 | 8092 | |
e00d1dc8 AC |
8093 | 2002-02-01 Andrew Cagney <[email protected]> |
8094 | ||
8095 | * command.h (NO_FUNCTION): Delete macro. | |
8096 | * cli/cli-decode.h (NO_FUNCTION): Ditto. | |
8097 | * top.c (execute_command): Replace NO_FUNCTION with NULL. | |
8098 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
8099 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
8100 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
aaa38bb5 | 8101 | |
76b79d6e DJ |
8102 | 2002-02-01 Daniel Jacobowitz <[email protected]> |
8103 | ||
8104 | * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments. | |
8105 | Update ``this'' pointer when calling virtual functions. | |
8106 | ||
799f9e91 MS |
8107 | 2002-02-01 Michael Snyder <[email protected]> |
8108 | ||
c7bd442c | 8109 | * breakpoint.c (create_temp_exception_breakpoint): Delete. |
799f9e91 MS |
8110 | * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands. |
8111 | ||
3cf384d4 DJ |
8112 | 2002-02-01 Daniel Jacobowitz <[email protected]> |
8113 | ||
8114 | * regformats/reg-arm.dat: New file. | |
8115 | * regformats/reg-i386.dat: New file. | |
8116 | * regformats/reg-ia64.dat: New file. | |
8117 | * regformats/reg-m68k.dat: New file. | |
8118 | * regformats/reg-mips.dat: New file. | |
8119 | * regformats/reg-ppc.dat: New file. | |
8120 | * regformats/reg-sh.dat: New file. | |
8121 | * regformats/regdef.h: New file. | |
8122 | * regformats/regdat.sh: New file. | |
8123 | ||
0defa245 RE |
8124 | 2002-02-01 Richard Earnshaw <[email protected]> |
8125 | ||
8126 | * arm-tdep.c (arm_frameless_function_invocation): Add some comments. | |
8127 | (arm_frame_args_address, arm_frame_locals_address): New functions. | |
8128 | (arm_frame_num_args): New function. | |
8129 | * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address. | |
8130 | (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address. | |
8131 | (FRMA_NUM_ARGS): Call arm_frame_num_args. | |
8132 | ||
405f26e6 MS |
8133 | 2002-01-31 Michael Snyder <[email protected]> |
8134 | ||
502fd408 MS |
8135 | * breakpoint.c (break_at_finish_command): Export. |
8136 | (break_at_finish_at_depth_command): Export. | |
8137 | (tbreak_at_finish_command): Export. | |
8138 | (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands. | |
8139 | * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and | |
8140 | "tbreak" commands, which are HPPA specific. | |
8141 | ||
7d35e135 MS |
8142 | * printcmd.c (disassemble_command): Remove an ancient |
8143 | artifact of an old merge. | |
8144 | ||
aaa38bb5 | 8145 | * symfile.h (enum overlay_debugging_state): |
d874f1e2 MS |
8146 | Define enum constant values for overlay mode. |
8147 | * symfile.c (overlay_debugging): Use enums instead of literals. | |
aaa38bb5 AJ |
8148 | (overlay_is_mapped, overlay_auto_command, |
8149 | overlay_manual_command): Ditto. | |
d874f1e2 | 8150 | |
aaa38bb5 AJ |
8151 | * breakpoint.c (insert_breakpoints, remove_breakpoint, |
8152 | breakpoint_here_p, breakpoint_inserted_here_p, | |
8153 | breakpoint_thread_match, bpstat_stop_status, | |
9f04af04 MS |
8154 | describe_other_breakpoints, check_duplicates, clear_command): |
8155 | Coding standard fixes. | |
8156 | ||
8add0441 | 8157 | * target.c (target_xfer_memory): Add spaces, coding standard. |
9f04af04 | 8158 | (do_xfer_memory): Add missing line to trust-readonly |
405f26e6 MS |
8159 | code: check bfd SEC_READONLY flag for section. |
8160 | ||
e351066e AC |
8161 | 2002-01-31 Andrew Cagney <[email protected]> |
8162 | ||
7d35e135 | 8163 | * PROBLEMS: Fix typo, 5.1->5.1.1. |
e351066e | 8164 | |
8a48e967 DJ |
8165 | 2002-01-30 Daniel Jacobowitz <[email protected]> |
8166 | ||
8167 | * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for | |
8168 | data symbols, since we search based on textlow and texthigh. | |
8169 | (find_pc_sect_symtab): Likewise. | |
8170 | ||
f5a96129 AC |
8171 | 2002-01-30 Andrew Cagney <[email protected]> |
8172 | ||
8173 | * defs.h (vwarning): Declare. | |
f5a96129 AC |
8174 | * utils.c (vwarning): New function. |
8175 | (warning): Call vwarning. | |
8176 | (warning_begin): Delete function. | |
8177 | ||
8178 | * rs6000-nat.c (vmap_ldinfo): Use the function warning to print | |
8179 | the warning message. | |
8180 | * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to | |
8181 | warning_begin. | |
8182 | ||
cefd4ef5 MS |
8183 | 2002-01-30 Michael Snyder <[email protected]> |
8184 | ||
1a703748 MS |
8185 | * NEWS: Mention "set trust-readonly-sections" command. |
8186 | Mention generate-core-file command. | |
cefd4ef5 | 8187 | |
3a11626d MS |
8188 | 2002-01-15 Michael Snyder <[email protected]> |
8189 | ||
8190 | * target.c: New command, "set trust-readonly-sections on". | |
8191 | (do_xfer_memory): Honor the suggestion to trust readonly sections | |
8192 | by reading them from the object file instead of from the target. | |
8193 | (initialize_targets): Register command "set trust-readonly-sections". | |
8194 | ||
d1c7e53b AC |
8195 | 2002-01-29 Andrew Cagney <[email protected]> |
8196 | ||
8197 | * parse.c (target_map_name_to_register): Simplify, search regs and | |
8198 | pseudo-regs using a single loop. | |
8199 | ||
e2c9a72c AC |
8200 | 2002-01-30 Andrew Cagney <[email protected]> |
8201 | ||
8202 | * PROBLEMS: Note that the i386 fix was missing from 5.1.1. | |
8203 | ||
69824b4e MK |
8204 | 2002-01-15 Rodney Brown <[email protected]> |
8205 | ||
8206 | * config/i386/tm-i386v4.h: Define HAVE_I387_REGS. | |
8207 | * config/i386/i386v42mp.mh: Add i387-nat.o . | |
8208 | * i386v4-nat.c: Include i387-nat.h. | |
8209 | (supply_fpregset): Use i387_supply_fsave. | |
8210 | (fill_fpregset): Use i387_fill_fsave. | |
8211 | ||
6eb69eab RE |
8212 | 2002-01-30 Richard Earnshaw <[email protected]> |
8213 | ||
8214 | * arm-tdep.c (arm_call_dummy_words): Define. | |
8215 | * arm-linux-tdep.c (arm_linux_call_dummy_words): Define. | |
8216 | * config/arm/tm-arm.h (CALL_DUMMY_P): Define. | |
8217 | (CALL_DUMMY_WORDS): Define. | |
8218 | (arm_call_dummy_words): Declare. | |
8219 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define. | |
8220 | (arm_linux_call_dummy_words): Declare. | |
8221 | ||
9852326a AS |
8222 | 2002-01-30 Andreas Schwab <[email protected]> |
8223 | ||
8224 | * m68klinux-nat.c: Fix last change to use regcache_collect | |
8225 | instead of referencing registers[] directly. | |
8226 | ||
977a3030 AC |
8227 | 2002-01-29 Andrew Cagney <[email protected]> |
8228 | ||
8229 | * parse.c (target_map_name_to_register): Delete code wrapped in | |
8230 | #ifdef REGISTER_NAME_ALIAS_HOOK. | |
8231 | ||
2076c72b MS |
8232 | 2002-01-28 Michael Snyder <[email protected]> |
8233 | ||
8234 | * regcache.c (legacy_read_register_gen): Need to be able to | |
8235 | read pseudo-register as well as real register. | |
8236 | (legacy_write_register_gen): Ditto. | |
8237 | ||
8fcc723b AC |
8238 | 2002-01-28 Andrew Cagney <[email protected]> |
8239 | ||
8240 | * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
8241 | * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete. | |
8242 | * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete. | |
8243 | * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete. | |
8244 | * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete. | |
8245 | * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete. | |
8246 | * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete. | |
8247 | * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete. | |
8248 | * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete. | |
8249 | * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
8250 | * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete. | |
8251 | * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete. | |
8252 | * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete. | |
8253 | * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete. | |
8254 | * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete. | |
8255 | * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete. | |
8256 | * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete. | |
8257 | * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete. | |
8258 | * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete. | |
8259 | * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete. | |
8260 | ||
afe64c1a AC |
8261 | 2002-01-28 Andrew Cagney <[email protected]> |
8262 | ||
8263 | * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro. | |
8264 | (target_byte_order): Initialize to BFD_ENDIAN_BIG. | |
8265 | (initialize_current_architecture): Update target_byte_order using | |
8266 | information from BFD. | |
aaa38bb5 | 8267 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): |
afe64c1a AC |
8268 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete. |
8269 | ||
75bc7ddf AC |
8270 | 2002-01-28 Andrew Cagney <[email protected]> |
8271 | ||
8272 | * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here... | |
8273 | * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. | |
8274 | ||
8275 | * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in | |
8276 | #ifdef INVALID_FLOAT. | |
8277 | * infcmd.c (do_registers_info): Ditto. | |
8278 | * values.c (unpack_double): Ditto. Add comment. | |
8279 | ||
8280 | * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was | |
8281 | already commented out. | |
8282 | ||
0280a90a AS |
8283 | 2002-01-26 Andreas Schwab <[email protected]> |
8284 | ||
8285 | * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
8286 | * m68klinux-nat.c: Update ptrace interface for fetching/storing | |
8287 | registers and add support for PTRACE_GETREGS. | |
8288 | ||
7072a954 AC |
8289 | 2002-01-24 Andrew Cagney <[email protected]> |
8290 | ||
8291 | GDB 5.1.1 released from 5.1 branch. | |
8292 | * NEWS: Add 5.1.1 news. | |
8293 | * README: Sync with 5.1 branch. | |
8294 | ||
86f902e0 FF |
8295 | 2002-01-23 Fred Fish <[email protected]> |
8296 | ||
8297 | * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to | |
8298 | stabstring on initial malloc. Reallocing will copy it for us, | |
8299 | if necessary. | |
8300 | ||
8af51c36 EZ |
8301 | 2002-01-23 Elena Zannoni <[email protected]> |
8302 | ||
aaa38bb5 | 8303 | * Makefile.in (hpread_h): Delete. |
8af51c36 EZ |
8304 | (HFILES_NO_SRCDIR): Remove hpread.h. |
8305 | (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c. | |
8306 | (hpread.o): Update dependencies. | |
8307 | (hp-psymtab-read.o, hp-symtab-read.o): Remove. | |
8308 | ||
8309 | * hp-psymtab-read.c: Remove file. | |
8310 | * hp-symtab-read.c: Remove file. | |
8311 | * hpread.h: Remove file. | |
8312 | ||
8313 | * hpread.c: Merge all contents of hp-psymtab-read.c, | |
8314 | hp-symtab-read.c and hpread.h into this file, as it was prior to | |
8315 | January 1999. | |
8316 | ||
8317 | * config/pa/hpux11w.mh, config/pa/hpux11.mh, | |
aaa38bb5 | 8318 | config/pa/hpux1020.mh, config/pa/hppaosf.mh, |
8af51c36 EZ |
8319 | config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES): |
8320 | Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o. | |
8321 | ||
dc5cfeb6 EZ |
8322 | 2002-01-23 Elena Zannoni <[email protected]> |
8323 | ||
8324 | * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, | |
8325 | fill_gregset): Call gdbarch_tdep() just once, assign result to | |
8326 | variable and use that, instead of calling the function several | |
8327 | times. | |
8328 | ||
ea87b71b AO |
8329 | 2002-01-24 Alexandre Oliva <[email protected]> |
8330 | ||
8331 | * configure.host: Accept sparcv9 as alias for sparc64. | |
8332 | * configure.tgt: Likewise. | |
8333 | ||
13fc0c2f KB |
8334 | 2002-01-22 Kevin Buettner <[email protected]> |
8335 | ||
8336 | * solib-aix5.c (build_so_list_from_mapfile) | |
8337 | (aix5_relocate_main_executable): Fix xcalloc() calls so order of | |
8338 | arguments is not reversed. | |
8339 | * solib-sunos.c (sunos_relocate_main_executable): Likewise. | |
8340 | * solib-svr4.c (svr4_relocate_main_executable): Likewise. | |
aaa38bb5 | 8341 | |
7bd872fe EZ |
8342 | 2002-01-22 Elena Zannoni <[email protected]> |
8343 | ||
8344 | * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and | |
8345 | modified version of obsolete sh_fetch_pseudo_register. | |
8346 | (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read. | |
8347 | (sh4_register_read): New function. | |
8348 | (sh_pseudo_register_write): New function. Renamed and modified | |
8349 | version of obsolete sh_store_pseudo_register. | |
8350 | (sh_store_pseudo_register): Rename to sh_pseudo_register_write. | |
8351 | (sh4_register_write): New function. | |
8352 | (sh_gdbarch_init): Remove setting of gdbarch function | |
8353 | fetch_pseudo_register and store_pseudo_register. Remove setting of | |
8354 | register_convert_to_raw, register_convert_to_virtual, | |
8355 | register_convertible. | |
8356 | (sh_sh4_register_convertible): Delete. No longer needed. All is | |
8357 | taken care by architecture specific functions | |
8358 | register_read/register_write. | |
8359 | (sh_sh4_register_convert_to_virtual): Make static. | |
8360 | (sh_sh4_register_convert_to_raw): Ditto. | |
8361 | ||
069e84fd AC |
8362 | 2002-01-22 Andrew Cagney <[email protected]> |
8363 | ||
8364 | * doublest.c (floatformat_is_negative): Assert FMT is non NULL. | |
8365 | (floatformat_is_nan, floatformat_mantissa): Ditto. | |
8366 | ||
8367 | * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT | |
8368 | for builtin_type_ieee_single_little, builtin_type_ieee_double_big, | |
8369 | builtin_type_ieee_double_little, | |
8370 | builtin_type_ieee_double_littlebyte_bigword, | |
8371 | builtin_type_m68881_ext, builtin_type_i960_ext, | |
8372 | builtin_type_m88110_ext, builtin_type_m88110_harris_ext, | |
8373 | builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword, | |
8374 | builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and | |
8375 | builtin_type_ia64_quad_big, builtin_type_ia64_quad_little. | |
8376 | ||
211a4f69 CV |
8377 | 2002-01-22 Corinna Vinschen <[email protected]> |
8378 | ||
8379 | * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless | |
8380 | parameter. Set frameless flag if it exists and depended of | |
8381 | whether the scanned function is frameless or not. | |
8382 | (xstormy16_skip_prologue): If function is frameless, return | |
8383 | result of xstormy16_scan_prologue(). | |
8384 | (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() | |
8385 | call. | |
8386 | ||
f81353e4 EZ |
8387 | 2002-01-21 Elena Zannoni <[email protected]> |
8388 | ||
8389 | * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, | |
8390 | sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, | |
8391 | sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, | |
8392 | sh_sh4_register_byte, sh_sh4_register_raw_size, | |
8393 | sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, | |
8394 | sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, | |
8395 | sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, | |
8396 | sh_store_pseudo_register, sh_do_pseudo_register): Call | |
8397 | gdbarch_tdep() just once, assign result to variable and use that, | |
8398 | instead of calling the function several times. | |
8399 | ||
63c73a17 MK |
8400 | 2002-01-20 Mark Kettenis <[email protected]> |
8401 | ||
8402 | * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P | |
8403 | macros instead of LAST_FPU_CTRL_REGNUM. | |
8404 | (store_register): Likewise. | |
8405 | ||
39ad761d JB |
8406 | 2002-01-21 Jim Blandy <[email protected]> |
8407 | ||
8408 | * infcmd.c (run_command): Check that the `exec' target layer's BFD | |
8409 | is up-to-date before running the program, not just when a program | |
8410 | exits. | |
8411 | ||
3d74b771 FF |
8412 | 2002-01-21 Fred Fish <[email protected]> |
8413 | ||
8414 | * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue | |
8415 | when we have found all instructions we are looking for. | |
8416 | ||
966fbf70 RE |
8417 | 2002-01-21 Richard Earnshaw <[email protected]> |
8418 | ||
8419 | * arm-tdep.c (arm_register_name): New function. | |
8420 | (arm_registers_names): Make static. | |
8421 | * config/arm/tm-arm.h (arm_register_names): Delete declaration. | |
8422 | (arm_register_name): Declare. | |
8423 | (REGISTER_NAME): Use it. | |
8424 | ||
c3b4394c RE |
8425 | 2002-01-21 Richard Earnshaw <[email protected]> |
8426 | Kevin Buettner <[email protected]> | |
8427 | ||
8428 | Convert arm targets to new FRAME interface. | |
8429 | * arm-tdep.c (struct frame_extra_info): Remove fsr. | |
8430 | (arm_frame_find_save_regs): Delete. | |
8431 | (arm_frame_init_saved_regs): New. | |
8432 | (arm_init_extra_frame_info): Alloacte saved_regs as required. | |
8433 | Allocate extra_info as required. Convert all uses of fsr.regs | |
8434 | to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields | |
8435 | to use extra_info. | |
8436 | (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) | |
8437 | (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. | |
8438 | (check_prologue_cache, save_prologue_cache): Likewise. | |
8439 | (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. | |
8440 | * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. | |
8441 | (FRAME_FIND_SAVED_REGS): Delete. | |
8442 | (arm_frame_find_saved_regs): Delete prototype. | |
8443 | (arm_frame_init_saved_regs): New prototype. | |
8444 | (FRAME_INIT_SAVED_REGS): Define. | |
8445 | ||
61d99182 AC |
8446 | 2002-01-20 Andrew Cagney <[email protected]> |
8447 | ||
8448 | * config/arc/tm-arc.h (IEEE_FLOAT): Delete. | |
8449 | ||
6aaea291 AC |
8450 | 2002-01-20 Andrew Cagney <[email protected]> |
8451 | ||
8452 | From Jeff Law <[email protected]>: | |
8453 | * infttrace.c: Include <sys/pstat.h>. | |
8454 | (child_pid_to_exec_file): Revamp. Use pstat call to get the | |
8455 | exec file if the ttrace equivalent fails. | |
8456 | ||
15f698d2 AC |
8457 | 2002-01-20 Andrew Cagney <[email protected]> |
8458 | ||
8459 | * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. | |
8460 | (closeLogFile): Ditto. | |
8461 | ||
f86ddd7c MC |
8462 | 2002-01-20 Michael Chastain <[email protected]> |
8463 | ||
8464 | * top.c (print_gdb_version): Bump copyright year to 2002. | |
8465 | ||
904507ce AC |
8466 | 2002-01-20 Andrew Cagney <[email protected]> |
8467 | ||
8468 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena | |
8469 | Zannoni and Eli Zaretskii. | |
8470 | ||
d7f0b9ce DJ |
8471 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
8472 | ||
8473 | * buildsym.c: Update copyright years. | |
8474 | * c-typeprint.c: Likewise. | |
8475 | * dwarf2read.c: Likewise. | |
8476 | * f-typeprint.c: Likewise. | |
8477 | * gdbtypes.c: Likewise. | |
8478 | * gdbtypes.h: Likewise. | |
8479 | * hp-symtab-read.c: Likewise. | |
8480 | * hpread.c: Likewise. | |
8481 | * mdebugread.c: Likewise. | |
8482 | * p-typeprint.c: Likewise. | |
8483 | ||
3fd3d7d2 AC |
8484 | 2002-01-20 Andrew Cagney <[email protected]> |
8485 | ||
8486 | * remote-sim.c (gdbsim_open): Simplify code testing the macro | |
8487 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always | |
8488 | byte-order selectable. | |
8489 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. | |
8490 | * arch-utils.c: Ditto. | |
8491 | (set_endian): Ditto. | |
8492 | (set_endian_from_file): Ditto. | |
8493 | * gdbserver/low-sim.c (create_inferior): Ditto. | |
8494 | * gdbarch.sh: Ditto. | |
8495 | * gdbarch.h: Re-generate. | |
aaa38bb5 AJ |
8496 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): |
8497 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): | |
8498 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): | |
8499 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
8500 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
8501 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
8502 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): | |
3fd3d7d2 AC |
8503 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete |
8504 | macro definition. | |
8505 | * config/mips/tm-wince.h: Remove #undef of macro | |
8506 | TARGET_BYTE_ORDER_SELECTABLE. | |
8507 | * config/sh/tm-wince.h: Ditto. | |
8508 | ||
b02dede2 DJ |
8509 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
8510 | ||
8511 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to | |
8512 | member function fields. Add accessor macro | |
8513 | TYPE_FN_FIELD_ARTIFICIAL. | |
8514 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. | |
8515 | * c-typeprint.c (c_type_print_base): Skip artificial member | |
8516 | functions. | |
8517 | ||
c3643761 DJ |
8518 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
8519 | ||
8520 | * f-typeprint.c: Delete unused function f_type_print_args. | |
8521 | * p-typeprint.c: Delete unused function pascal_type_print_args. | |
8522 | ||
8176bb6d DJ |
8523 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
8524 | ||
8525 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete | |
8526 | comment. Add ``artificial'' to ``union field_location''. | |
8527 | ||
8528 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. | |
8529 | ||
8530 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. | |
8531 | * mdebugread.c (parse_symbol): Likewise. | |
8532 | * stabsread.c (define_symbol): Likewise. | |
8533 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of | |
8534 | initializing TYPE_FIELD_BITPOS to n (obsolete). | |
8535 | (hpread_doc_function_type): Likewise. | |
8536 | * hpread.c (hpread_function_type): Likewise. | |
8537 | ||
7fd60527 AC |
8538 | 2002-01-20 Andrew Cagney <[email protected]> |
8539 | ||
8540 | * configure.in (host_makefile_frag): Only require a host makefile | |
8541 | fragment when a native build. | |
8542 | * configure: Re-generate. | |
8543 | ||
c2f05ac9 AC |
8544 | 2002-01-20 Andrew Cagney <[email protected]> |
8545 | ||
8546 | * doublest.h (floatformat_from_type): Declare. | |
8547 | * doublest.c (floatformat_from_type): New function. | |
8548 | (convert_typed_floating): Use. | |
8549 | ||
8550 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with | |
8551 | call to function floatformat_from_type. | |
8552 | ||
8553 | * gdbarch.sh (IEEE_FLOAT): Delete. | |
8554 | * gdbarch.h, gdbarch.c: Re-generate. | |
8555 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. | |
8556 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. | |
8557 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. | |
8558 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. | |
8559 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. | |
8560 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. | |
8561 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. | |
8562 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. | |
8563 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. | |
8564 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. | |
8565 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. | |
c2f05ac9 AC |
8566 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. |
8567 | ||
8568 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. | |
8569 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
8570 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8571 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8572 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8573 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8574 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8575 | ||
abf22e64 AJ |
8576 | 2002-01-20 Jiri Smid <[email protected]> |
8577 | ||
8578 | * configure.host, configure.tgt: Support x86-64. | |
8579 | * NEWS: Note new target x86-64. | |
8580 | ||
b7c4cbf8 AJ |
8581 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
8582 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. | |
8583 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. | |
8584 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, | |
8585 | x86-64-linux-nat.o): Fix dependencies. | |
8586 | ||
82600034 AC |
8587 | 2002-01-19 Andrew Cagney <[email protected]> |
8588 | ||
8589 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. | |
8590 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... | |
8591 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. | |
8592 | * config/sparc/xm-sun4os4.h: Delete file. | |
8593 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. | |
abf22e64 | 8594 | |
bbe5c628 AC |
8595 | 2002-01-19 Andrew Cagney <[email protected]> |
8596 | ||
8597 | * config/sparc/sparclynx.mh (XM_FILE): Delete. | |
8598 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. | |
8599 | * config/m68k/m68klynx.mh (XM_FILE): Delete. | |
8600 | * config/i386/i386lynx.mh (XM_FILE): Delete. | |
8601 | * config/rs6000/xm-rs6000ly.h: Delete file. | |
8602 | * config/sparc/xm-sparclynx.h: Delete file. | |
8603 | * config/m68k/xm-m68klynx.h: Delete file. | |
8604 | * config/i386/xm-i386lynx.h: Delete file. | |
8605 | * config/xm-lynx.h: Delete file. | |
8606 | * config/djgpp/fnchange.lst: Update. | |
8607 | ||
f8453e34 JT |
8608 | 2002-01-19 Jason Thorpe <[email protected]> |
8609 | ||
8610 | * alpha-tdep.c (alpha_register_byte): New function. | |
8611 | (alpha_register_raw_size): Ditto. | |
8612 | (alpha_register_virtual_size): Ditto. | |
8613 | (alpha_skip_prologue_internal): Renamed from | |
8614 | alpha_skip_prologue. | |
8615 | (alpha_skip_prologue): New version that calls | |
8616 | alpha_skip_prologue_internal. | |
8617 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. | |
8618 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove | |
8619 | second argument from alpha_skip_prologue. | |
8620 | (REGISTER_BYTE): Use alpha_register_byte. | |
8621 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. | |
8622 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. | |
8623 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
8624 | generic_frameless_function_invocation_not. | |
8625 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. | |
8626 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. | |
8627 | ||
52d9e613 AC |
8628 | 2002-01-19 Andrew Cagney <[email protected]> |
8629 | ||
8630 | * config/mips/xm-news-mips.h: Delete file. | |
8631 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. | |
8632 | ||
8633 | * config/m88k/xm-m88k.h: Delete file. | |
8634 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. | |
8635 | * config/m88k/xm-delta88v4.h: Ditto. | |
8636 | * config/m88k/xm-delta88.h: Ditto. | |
8637 | ||
8638 | * config/alpha/xm-fbsd.h: Delete file. | |
8639 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. | |
8640 | ||
8641 | * config/sparc/xm-sparc.h: Delete file. | |
8642 | * Makefile.in (xm-sun4os4.h): Delete dependency. | |
8643 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. | |
8644 | * config/sparc/xm-sun4os4.h: Ditto. | |
8645 | * config/sparc/xm-linux.h: Ditto. | |
8646 | ||
8647 | * config/i386/xm-windows.h: Delete file. | |
8648 | ||
2d1b2124 AC |
8649 | 2002-01-19 Andrew Cagney <[email protected]> |
8650 | ||
8651 | * utils.c: Include <sys/param.h> for MAXPATHLEN. | |
8652 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. | |
8653 | ||
ee1f65f0 JT |
8654 | 2002-01-19 Jason Thorpe <[email protected]> |
8655 | ||
8656 | * alpha-tdep.c (alpha_call_dummy_words): New. | |
8657 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. | |
8658 | (CALL_DUMMY_P): Define. | |
8659 | (CALL_DUMMY_WORDS): Define. | |
8660 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
8661 | ||
98081e55 PB |
8662 | 2002-01-19 Per Bothner <[email protected]> |
8663 | ||
8664 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name | |
8665 | isn't NULL, which can happen with some gcj-3.x-produced code. | |
8666 | ||
0d056799 JT |
8667 | 2002-01-19 Jason Thorpe <[email protected]> |
8668 | ||
8669 | * alpha-tdep.c (alpha_register_virtual_type): New function. | |
8670 | (alpha_init_frame_pc_first): Ditto. | |
8671 | (alpha_fix_call_dummy): Ditto. | |
8672 | (alpha_store_struct_return): Ditto. | |
8673 | (alpha_extract_struct_value_address): Ditto. | |
8674 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use | |
8675 | alpha_register_virtual_type. | |
8676 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. | |
8677 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use | |
8678 | alpha_extract_struct_value_address. | |
8679 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. | |
8680 | (INIT_FRAME_PC): Use init_frame_pc_noop. | |
8681 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. | |
8682 | ||
4604bcad MK |
8683 | 2002-01-19 Mark Kettenis <[email protected]> |
8684 | ||
8685 | * i386gnu-nat.c: Include "i386-tdep.h". | |
8686 | (fetch_fpregs): Simplify code dealing with uninitialized floating | |
8687 | point states such that it doesn't require FP7_REGNUM. | |
8688 | ||
140f9984 JT |
8689 | 2002-01-18 Jason Thorpe <[email protected]> |
8690 | ||
abf22e64 AJ |
8691 | * alpha-tdep.c (frame_extra_info): New. |
8692 | (alpha_find_saved_regs): Make static. Use | |
140f9984 JT |
8693 | frame->extra_info. |
8694 | (alpha_frame_init_saved_regs): New function. | |
abf22e64 AJ |
8695 | (alpha_frame_saved_pc): Use frame->extra_info. |
8696 | (temp_saved_regs): Don't declare as struct frame_saved_regs. | |
8697 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. | |
140f9984 JT |
8698 | (init_extra_frame_info): Rename to... |
8699 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. | |
abf22e64 | 8700 | (alpha_print_extra_frame_info): New function. |
140f9984 JT |
8701 | (alpha_frame_locals_address): Ditto. |
8702 | (alpha_frame_args_address): Ditto. | |
abf22e64 | 8703 | (alpha_pop_frame): Use frame->extra_info. |
140f9984 JT |
8704 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
8705 | alpha_frame_args_address. | |
abf22e64 | 8706 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
140f9984 | 8707 | (alpha_find_saved_regs): Remove prototype. |
abf22e64 AJ |
8708 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
8709 | (EXTRA_FRAME_INFO): Remove. | |
140f9984 JT |
8710 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
8711 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. | |
8712 | ||
d734c450 JT |
8713 | 2002-01-18 Jason Thorpe <[email protected]> |
8714 | ||
8715 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. | |
8716 | (alpha_cannot_fetch_register): Ditto. | |
8717 | (alpha_cannot_store_register): Ditto. | |
8718 | (alpha_register_convertible): Ditto. | |
8719 | (alpha_use_struct_convention): Ditto. | |
8720 | * config/alpha/tm-alpha.h: Update copyright years. | |
8721 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. | |
8722 | (INNER_THAN): Use core_addr_lessthan. | |
8723 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. | |
8724 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. | |
8725 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. | |
8726 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. | |
8727 | (FRAME_CHAIN): Remove unnecessary cast. | |
8728 | ||
b4ceaee6 AC |
8729 | 2002-01-18 Andrew Cagney <[email protected]> |
8730 | ||
8731 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is | |
8732 | obsolete. | |
8733 | ||
0a65a603 AC |
8734 | 2002-01-18 Andrew Cagney <[email protected]> |
8735 | ||
8736 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. | |
8737 | * monitor.c, remote-array.c, remote-bug.c: Ditto. | |
8738 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. | |
8739 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. | |
8740 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. | |
8741 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. | |
8742 | * x86-64-linux-nat.c: Ditto. | |
8743 | ||
636a6dfc JT |
8744 | 2002-01-18 Jason Thorpe <[email protected]> |
8745 | ||
abf22e64 | 8746 | * alpha-tdep.c (alpha_register_name): New function. |
636a6dfc JT |
8747 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
8748 | (REGISTER_NAME): Define. | |
8749 | ||
acceddb6 JT |
8750 | 2002-01-18 Jason Thorpe <[email protected]> |
8751 | ||
8752 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. | |
8753 | ||
ec32e4be JT |
8754 | 2002-01-18 Jason Thorpe <[email protected]> |
8755 | ||
8756 | * alpha-tdep.c: Update copyright years. | |
8757 | (alpha_next_pc): New function. | |
8758 | (alpha_software_single_step): Ditto. | |
8759 | * config/alpha/tm-alpha.h: Add prototype for | |
8760 | alpha_software_single_step. | |
8761 | ||
e771a871 JT |
8762 | 2002-01-18 Jason Thorpe <[email protected]> |
8763 | ||
8764 | * alphabsd-nat.c: Update copyright years. | |
8765 | (fill_gregset): Use regcache_collect. | |
8766 | (fill_fpregset): Likewise. | |
8767 | (fetch_inferior_registers): Only fetch integer registers | |
8768 | if requested to do so. | |
8769 | (store_inferior_registers): Only store integer registers | |
8770 | if requested to do so. | |
8771 | ||
7708fa01 AC |
8772 | 2002-01-17 Andrew Cagney <[email protected]> |
8773 | ||
8774 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. | |
8775 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. | |
8776 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. | |
8777 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. | |
8778 | * config/alpha/fbsd.mh (XDEPFILES): Delete. | |
8779 | * config/arm/linux.mh (XDEPFILES): Delete. | |
8780 | * config/arm/nbsd.mh (XDEPFILES): Delete. | |
8781 | * config/i386/i386dgux.mh (XDEPFILES): Delete. | |
8782 | * config/i386/i386sol2.mh (XDEPFILES): Delete. | |
8783 | * config/i386/i386m3.mh (XDEPFILES): Delete. | |
8784 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. | |
8785 | * config/i386/i386gnu.mh (XDEPFILES): Delete. | |
8786 | * config/i386/fbsd.mh (XDEPFILES): Delete. | |
8787 | * config/i386/i386bsd.mh (XDEPFILES): Delete. | |
8788 | * config/i386/i386sco5.mh (XDEPFILES): Delete. | |
8789 | * config/i386/i386v4.mh (XDEPFILES): Delete. | |
8790 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. | |
8791 | * config/i386/i386sco4.mh (XDEPFILES): Delete. | |
8792 | * config/i386/i386aix.mh (XDEPFILES): Delete. | |
8793 | * config/i386/go32.mh (XDEPFILES): Delete. | |
8794 | * config/i386/cygwin.mh (XDEPFILES): Delete. | |
8795 | * config/i386/i386lynx.mh (XDEPFILES): Delete. | |
8796 | * config/i386/i386mach.mh (XDEPFILES): Delete. | |
8797 | * config/i386/i386v32.mh (XDEPFILES): Delete. | |
8798 | * config/i386/linux.mh (XDEPFILES): Delete. | |
8799 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. | |
8800 | * config/i386/ncr3000.mh (XDEPFILES): Delete. | |
8801 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. | |
8802 | * config/i386/i386sco.mh (XDEPFILES): Delete. | |
8803 | * config/i386/i386v.mh (XDEPFILES): Delete. | |
8804 | * config/i386/nbsd.mh (XDEPFILES): Delete. | |
8805 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. | |
8806 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. | |
8807 | * config/i386/symmetry.mh (XDEPFILES): Delete. | |
8808 | * config/i386/obsd.mh (XDEPFILES): Delete. | |
8809 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. | |
8810 | * config/ia64/linux.mh (XDEPFILES): Delete. | |
8811 | * config/ia64/aix.mh (XDEPFILES): Delete. | |
8812 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. | |
8813 | * config/m68k/dpx2.mh (XDEPFILES): Delete. | |
8814 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. | |
8815 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. | |
8816 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. | |
8817 | * config/m68k/linux.mh (XDEPFILES): Delete. | |
8818 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. | |
8819 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. | |
8820 | * config/m68k/nbsd.mh (XDEPFILES): Delete. | |
8821 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. | |
8822 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. | |
8823 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. | |
8824 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. | |
8825 | * config/m88k/delta88.mh (XDEPFILES): Delete. | |
8826 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. | |
8827 | * config/m88k/m88k.mh (XDEPFILES): Delete. | |
8828 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. | |
8829 | * config/mips/linux.mh (XDEPFILES): Delete. | |
8830 | * config/mips/irix6.mh (XDEPFILES): Delete. | |
8831 | * config/mips/irix5.mh (XDEPFILES): Delete. | |
8832 | * config/mips/irix4.mh (XDEPFILES): Delete. | |
8833 | * config/mips/irix3.mh (XDEPFILES): Delete. | |
8834 | * config/mips/decstation.mh (XDEPFILES): Delete. | |
8835 | * config/mips/mipsm3.mh (XDEPFILES): Delete. | |
8836 | (NATDEPFILES): Move core-aout.o to here. | |
8837 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. | |
8838 | * config/pa/hpux1020.mh (XDEPFILES): Delete. | |
8839 | * config/pa/hppabsd.mh (XDEPFILES): Delete. | |
8840 | * config/pa/hppahpux.mh (XDEPFILES): Delete. | |
8841 | * config/pa/hpux11w.mh (XDEPFILES): Delete. | |
8842 | * config/pa/hppaosf.mh (XDEPFILES): Delete. | |
8843 | * config/pa/hpux11.mh (XDEPFILES): Delete. | |
8844 | * config/powerpc/aix.mh (XDEPFILES): Delete. | |
8845 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. | |
8846 | * config/powerpc/linux.mh (XDEPFILES): Delete. | |
8847 | * config/romp/rtbsd.mh: Rename XDEPFILES. | |
8848 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. | |
8849 | * config/rs6000/aix4.mh (XDEPFILES): Delete. | |
8850 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. | |
8851 | * config/s390/s390.mh (XDEPFILES): Delete. | |
8852 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. | |
8853 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. | |
8854 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. | |
8855 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. | |
8856 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. | |
8857 | * config/sparc/nbsd.mh (XDEPFILES): Delete. | |
8858 | * config/sparc/linux.mh (XDEPFILES): Delete. | |
8859 | * config/vax/vaxult.mh (XDEPFILES): Delete. | |
8860 | * config/vax/vaxult2.mh (XDEPFILES): Delete. | |
8861 | * Makefile.in (DEPFILES): Remove XDEPFILES. | |
8862 | ||
375fc983 AC |
8863 | 2002-01-17 Andrew Cagney <[email protected]> |
8864 | ||
8865 | * utils.c (internal_verror): Fix comments, default is yes not no. | |
8866 | Update queries to match. Default to quit and dump core. | |
8867 | ||
8926118c AC |
8868 | 2002-01-17 Andrew Cagney <[email protected]> |
8869 | ||
8870 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update | |
8871 | copyright. | |
8872 | * defs.h, event-top.c, gdbcmd.h: Ditto. | |
8873 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. | |
8874 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. | |
8875 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. | |
8876 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. | |
8877 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. | |
8878 | * mi/mi-main.c:Ditto. | |
8879 | ||
8880 | * stack.c, symfile.c: Update copyright. | |
8881 | ||
45b7b345 DJ |
8882 | 2002-01-17 Daniel Jacobowitz <[email protected]> |
8883 | ||
db728ff7 DJ |
8884 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
8885 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, | |
8886 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, | |
8887 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. | |
45b7b345 | 8888 | |
db728ff7 DJ |
8889 | 2002-01-17 Daniel Jacobowitz <[email protected]> |
8890 | ||
8891 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. | |
8892 | * gdbserver/low-lynx.c (myattach): Likewise. | |
8893 | * gdbserver/low-nbsd.c (myattach): Likewise. | |
8894 | * gdbserver/low-sim.c (myattach): Likewise. | |
8895 | * gdbserver/low-sparc.c (myattach): Likewise. | |
8896 | * gdbserver/low-sun3.c (myattach): Likewise. | |
8897 | ||
8898 | * gdbserver/low-linux.c (myattach): New function. | |
45b7b345 | 8899 | |
db728ff7 | 8900 | * gdbserver/server.c (attach_inferior): New function. |
45b7b345 DJ |
8901 | (main): Handle "--attach". |
8902 | ||
8de3c354 AC |
8903 | 2002-01-16 Andrew Cagney <[email protected]> |
8904 | ||
8905 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ | |
8906 | maintainer. | |
8907 | ||
b0129042 DJ |
8908 | 2002-01-15 Daniel Jacobowitz <[email protected]> |
8909 | ||
8910 | * c-typeprint.c (is_type_conversion_operator): Add additional | |
8911 | check for non-conversion operators. | |
8912 | ||
ba8679fb | 8913 | 2002-01-15 Michael Snyder <[email protected]> |
2bf543a6 MS |
8914 | |
8915 | * linux-proc.c: Add "info proc" command, a la procfs.c. | |
8916 | (read_mapping): New function, abstract and re-use code. | |
8917 | (linux_find_memory_regions): Use new func read_mapping. | |
8918 | (linux_info_proc_cmd): New function, implement "info proc". | |
8919 | (_initialize_linux_proc): Add new command "info proc". | |
8920 | ||
e4f9b4d5 MS |
8921 | 2002-01-15 Michael Snyder <[email protected]> |
8922 | ||
8923 | * symfile.c (generic_load): Use bfd_map_over_sections method | |
8924 | instead of manipulating bfd structure members directly. | |
8925 | (add_section_size_callback): New function, bfd sections callback | |
8926 | used by generic_load. | |
8927 | (load_sections_callback): New function, bfd sections callback | |
8928 | used by generic_load. | |
8929 | ||
08cf96df EZ |
8930 | 2002-01-15 Elena Zannoni <[email protected]> |
8931 | ||
abf22e64 | 8932 | [Based on work by Jim Blandy] |
08cf96df EZ |
8933 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
8934 | (builtin_type_vec128): Export. | |
8935 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD | |
8936 | types. | |
8937 | (builtin_type_vec128): New builtin type for 128 bit vector | |
8938 | registers. | |
8939 | (build_gdbtypes): Initialize builtin_type_v16qi and | |
8940 | builtin_type_v8hi. Create the vec128 register builtin type | |
8941 | structure. | |
8942 | (build_builtin_type_vec128): New function. | |
abf22e64 | 8943 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
08cf96df EZ |
8944 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
8945 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of | |
8946 | AltiVec register to new builtin type. | |
8947 | ||
d7242108 DJ |
8948 | 2001-01-15 Daniel Jacobowitz <[email protected]> |
8949 | ||
8950 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) | |
8951 | to make_cv_type. | |
8952 | ||
4ee3352d AC |
8953 | 2002-01-14 Andrew Cagney <[email protected]> |
8954 | ||
8955 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename | |
8956 | CLEAN_UP_REGISTER_VALUE. | |
8957 | * regcache.c (supply_register): Update only call. | |
8958 | ||
f015b2e7 AC |
8959 | 2002-01-14 Andrew Cagney <[email protected]> |
8960 | ||
8961 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
8962 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
8963 | a29k-*-vxworks* targets as obsolete. | |
8964 | ||
356ae49d MS |
8965 | 2002-01-14 Michael Snyder <[email protected]> |
8966 | ||
8967 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs | |
8968 | until we can resolve portability issues. | |
8969 | * gregset.h: Remove references to fpxregs. | |
8970 | * gcore.c (gcore_command): Initialize note_sec to NULL. | |
8971 | ||
ade8f45e AC |
8972 | 2002-01-13 Andrew Cagney <[email protected]> |
8973 | ||
8974 | * signals.c (target_signal_to_name): Rewrite. Only use | |
8975 | signals[].name when in bounds and non-NULL. | |
abf22e64 | 8976 | |
89c49e7a AC |
8977 | 2002-01-13 Andrew Cagney <[email protected]> |
8978 | ||
8979 | From Petr Ledvina <[email protected]>: | |
8980 | * signals.c (target_signal_to_name): Verify that SIG is within the | |
8981 | bounds of the signals array. | |
8982 | ||
4daa9f9f AC |
8983 | 2002-01-13 Andrew Cagney <[email protected]> |
8984 | ||
8985 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. | |
8986 | ||
ba4bbdcb KS |
8987 | 2002-01-13 Keith Seitz <[email protected]> |
8988 | ||
8989 | * stack.c (print_frame_info_base): Print the frame's pc | |
8990 | only if when print_frame_info_listing_hook is not defined. | |
8991 | ||
575bbeb6 KS |
8992 | 2002-01-13 Keith Seitz <[email protected]> |
8993 | ||
8994 | * varobj.c (varobj_set_value): Make sure that there were no | |
8995 | errors evaluating the object before attempting to set its | |
8996 | value. | |
8997 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, | |
8998 | so this offset adjustment is no longer necessary. | |
8999 | (create_child): Don't set the error flag if the child is | |
9000 | a CPLUS_FAKE_CHILD. | |
9001 | (value_of_child): If value_fetch_lazy fails, return NULL | |
9002 | so that callers will be notified that an error occurred. | |
9003 | (c_value_of_variable): Delay check of variable's validity | |
9004 | until later. We actually want all structs and unions to have | |
9005 | the value "{...}". | |
9006 | Do not return "???" for variables which could not be evaluated. | |
9007 | This error condition must be returned to the caller so that it | |
9008 | can get the error condition from gdb. | |
9009 | (cplus_name_of_child): Adjust index for vptr before figuring | |
9010 | out the name of the child. | |
9011 | (cplus_value_of_child): If a child's (real) parent is not valid, | |
9012 | don't even bother trying to give a value for it. Just return | |
9013 | an error. Change all instances in this function. | |
9014 | (cplus_type_of_child): If our parent is one of the "fake" | |
9015 | parents, we need to get at the type of the real parent, and | |
9016 | derive the child's true type using this information. | |
9017 | ||
b76898ab AC |
9018 | 2002-01-13 Andrew Cagney <[email protected]> |
9019 | ||
9020 | From 2002-01-09 John Marshall <[email protected]>: | |
9021 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to | |
9022 | sources.redhat.com, and tweak some related URLs which had | |
9023 | suffered from linkrot. | |
9024 | ||
b6649e88 AC |
9025 | 2002-01-13 Andrew Cagney <[email protected]> |
9026 | ||
9027 | From Jeff law: | |
9028 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte | |
9029 | structures passed in registers. | |
9030 | ||
82cc5033 EZ |
9031 | 2002-01-13 Eli Zaretskii <[email protected]> |
9032 | ||
9033 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous | |
9034 | white space which prevented compilation. Reported by DSK | |
9035 | <[email protected]>. | |
9036 | ||
ba5f2f8a MS |
9037 | 2002-01-11 Michael Snyder <[email protected]> |
9038 | ||
fbd35540 MS |
9039 | * symfile.c (build_section_addr_info_from_section_tab): |
9040 | Use bfd access method instead of manipulating bfd directly. | |
9041 | (syms_from_objfile): Ditto. | |
9042 | (simple_overlay_update_1): Ditto. | |
9043 | (simple_overlay_update): Ditto. | |
9044 | (generic_load): Ditto. | |
9045 | (overlay_unmapped_address): FIXME comment, bfd access methods. | |
9046 | (sections_overlap): FIXME comment, bfd access methods. | |
9047 | (pc_in_mapped_range): FIXME comment, bfd access methods. | |
9048 | (pc_in_unmapped_range): FIXME comment, bfd access methods. | |
9049 | (section_is_mapped): FIXME comment, bfd access methods. | |
9050 | (section_is_overlay): FIXME comment, bfd access methods. | |
9051 | ||
ba5f2f8a MS |
9052 | * symfile.c (generic_load): Whitespace and long line cleanups. |
9053 | Remove duplicate variable, change several local variables to | |
9054 | more appropriate data types. | |
9055 | (print_transfer_performance): Use %lu instead of %ld for ulongs. | |
9056 | ||
17df2af6 AC |
9057 | 2002-01-12 Andrew Cagney <[email protected]> |
9058 | ||
9059 | From Peter Schauer: | |
9060 | * language.c (longest_local_hex_string_custom): Use phex_nz to | |
9061 | convert NUM to a hex string. | |
9062 | ||
ec920329 EZ |
9063 | 2002-01-12 Elena Zannoni <[email protected]> |
9064 | ||
9065 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in | |
9066 | the function. | |
538a76d6 | 9067 | Update Copyright year. |
ec920329 | 9068 | |
3abd2e01 AC |
9069 | 2002-01-12 Andrew Cagney <[email protected]> |
9070 | ||
9071 | * language.c (longest_raw_hex_string): Delete unused function. | |
9072 | ||
b21b22e0 PS |
9073 | 2002-01-11 Petr Sorfa <[email protected]> |
9074 | ||
9075 | * MAINTAINERS (write-after-approval): Add myself. | |
9076 | * dwarf2read.c (read_tag_string_type): Handling of | |
9077 | DW_AT_byte_size. | |
9078 | (read_tag_string_type): FORTRAN fix to prevent propagation of | |
9079 | first string size. | |
9080 | (set_cu_language): Handling of DW_LANG_Fortran95 | |
9081 | ||
747fe712 RE |
9082 | 2002-01-11 Richard Earnshaw <[email protected]> |
9083 | ||
9084 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> | |
9085 | GETPID(inferior_ptid). | |
9086 | (store_inferior_registers): Likewise. | |
9087 | ||
f1bea926 JM |
9088 | 2002-01-10 Jason Merrill <[email protected]> |
9089 | ||
9090 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. | |
9091 | Fix DW_OP_minus. | |
9092 | ||
ae940673 AC |
9093 | 2002-01-10 Andrew Cagney <[email protected]> |
9094 | ||
9095 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 | |
9096 | and bfd/elf32-sh-nbsd.c. | |
9097 | ||
00546b04 MS |
9098 | 2002-01-10 Michael Snyder <[email protected]> |
9099 | ||
352ed7b4 MS |
9100 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
9101 | ||
c18be923 MS |
9102 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
9103 | * gcore.c: Include cli/cli-decode.h instead of command.h. | |
9104 | ||
00546b04 MS |
9105 | * main.c (captured_main): Add new command line option "--pid". |
9106 | If the second command line argument (following the symbol-file) | |
9107 | begins with a digit, try to attach to it before trying to open | |
9108 | it as a corefile. | |
9109 | (print_gdb_help): Document the "--pid" argument. | |
9110 | ||
db60ec62 EZ |
9111 | 2002-01-10 Eli Zaretskii <[email protected]> |
9112 | ||
9113 | * completer.c (command_completer): New function. | |
9114 | ||
9115 | * completer.h <command_completer>: Add prototype. | |
9116 | ||
9117 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the | |
9118 | completer for the "help" command. | |
9119 | ||
39c22d1a JM |
9120 | 2002-01-09 Jason Merrill <[email protected]> |
9121 | ||
9122 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. | |
9123 | ||
c564377f MS |
9124 | 2002-01-09 Michael Snyder <[email protected]> |
9125 | ||
975aec09 MS |
9126 | * i386-linux-nat.c (fill_fpxregset): Make global. |
9127 | (store_fpxregset): Ditto. | |
9128 | ||
db4a10fa MS |
9129 | * gregset.h (gdb_fpxregset_t): Define. |
9130 | (supply_fpxregset): Prototype. | |
9131 | (fill_fpxregset): Prototype. | |
9132 | ||
c564377f MS |
9133 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
9134 | ||
c3d45d70 RE |
9135 | 2002-01-09 Richard Earnshaw <[email protected]> |
9136 | ||
9137 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. | |
9138 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. | |
9139 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. | |
9140 | ||
fcc87af1 AC |
9141 | 2002-01-09 Andrew Cagney <[email protected]> |
9142 | ||
9143 | * MAINTAINERS: Update target maintainer rules so that any | |
9144 | Maintainer can approve a tested patch for a maintenance-only | |
9145 | target. | |
9146 | ||
dd96c05b RE |
9147 | 2002-01-09 Richard Earnshaw <[email protected]> |
9148 | ||
d4297db9 | 9149 | * MAINTAINERS (write-after-approval): Add myself. |
dd96c05b | 9150 | |
d4297db9 | 9151 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
dd96c05b RE |
9152 | IN_SIGTRAMP. |
9153 | ||
145fdc6e MS |
9154 | 2002-01-08 Michael Snyder <[email protected]> |
9155 | ||
9156 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the | |
9157 | real name of the executable, rather than the /proc name. | |
9158 | ||
be4d1333 MS |
9159 | 2002-01-03 Michael Snyder <[email protected]> |
9160 | ||
9161 | Implement a "generate-core-file" command in gdb, save target state. | |
9162 | * gcore.c: New file. Implement new command 'generate-core-file'. | |
9163 | Save a corefile image of the current state of the inferior. | |
9164 | * linux-proc.c: Add linux-specific code for saving corefiles. | |
9165 | * target.h (struct target_ops): Add new target vectors for saving | |
9166 | corefiles; to_find_memory_regions and to_make_corefile_notes. | |
9167 | (target_find_memory_regions): New macro. | |
9168 | (target_make_corefile_notes): New macro. | |
9169 | * target.c (update_current_target): Inherit new target methods. | |
9170 | (dummy_find_memory_regions): New place-holder method. | |
9171 | (dummy_make_corefile_notes): New place-holder method. | |
9172 | (init_dummy_target): Initialize new dummy target vectors. | |
9173 | * exec.c (exec_set_find_memory_regions): New function. | |
9174 | Allow the exec_ops vector for memory regions to be taken over. | |
9175 | (exec_make_note_section): New function, target vector method. | |
9176 | * defs.h (exec_set_find_memory_regions): Export prototype. | |
9177 | * procfs.c (proc_find_memory_regions): New function, corefile method. | |
9178 | (procfs_make_note_section): New function, corefile method. | |
9179 | (init_procfs_ops): Set new target vector pointers. | |
9180 | (find_memory_regions_callback): New function. | |
9181 | (procfs_do_thread_registers): New function. | |
9182 | (procfs_corefile_thread_callback): New function. | |
9183 | * sol-thread.c (sol_find_memory_regions): New function. | |
9184 | (sol_make_note_section): New function. | |
9185 | (init_sol_thread_ops): Initialize new target vectors. | |
9186 | * inftarg.c (inftarg_set_find_memory_regions): New function. | |
9187 | Allow to_find_memory_regions vector to be taken over. | |
9188 | (inftarg_set_make_corefile_notes): New function. | |
9189 | Allow to_make_corefile_notes vector to be taken over. | |
9190 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db | |
9191 | interface layer if not target_has_execution (may be a corefile). | |
9192 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. | |
9193 | * config/sparc/sun4sol2.mh: Ditto. | |
9194 | * config/alpha/alpha-linux.mh: Ditto. | |
9195 | * config/arm/linux.mh: Ditto. | |
9196 | * config/i386/x86-64linux.mh: Ditto. | |
9197 | * config/ia64/linux.mh: Ditto. | |
9198 | * config/m68k/linux.mh: Ditto. | |
9199 | * config/mips/linux.mh: Ditto. | |
9200 | * config/powerpc/linux.mh: Ditto. | |
9201 | * config/sparc/linux.mh: Ditto. | |
9202 | ||
c6b92abd MS |
9203 | 2002-01-07 Michael Snyder <[email protected]> |
9204 | ||
9205 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
9206 | (registers[] and register_valid[]). | |
9207 | ||
4b09dc8c MS |
9208 | 2002-01-07 Michael Snyder <[email protected]> |
9209 | ||
abf22e64 AJ |
9210 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
9211 | so that attaching to a pid will automatically read the process's | |
4b09dc8c MS |
9212 | symbol file and shlibs. |
9213 | * Makefile.in: Add rule for linux-proc.o. | |
9214 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
9215 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
9216 | * config/arm/linux.mh: Ditto. | |
9217 | * config/i386/linux.mh: Ditto. | |
9218 | * config/i386/x86-64linux.mh: Ditto. | |
9219 | * config/ia64/linux.mh: Ditto. | |
9220 | * config/m68k/linux.mh: Ditto. | |
9221 | * config/mips/linux.mh: Ditto. | |
9222 | * config/powerpc/linux.mh: Ditto. | |
9223 | * config/sparc/linux.mh: Ditto. | |
9224 | ||
c25b74ac PM |
9225 | 2002-01-06 Pierre Muller <[email protected]> |
9226 | ||
9227 | * win32-nat.c: Add i386-tdep.h dependency. | |
9228 | ||
94cd915f MS |
9229 | 2002-01-07 Michael Snyder <[email protected]> |
9230 | ||
c7cccb76 MS |
9231 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
9232 | instead of bfd_get_arch_size. Don't bail out just because | |
9233 | there's no exec_bfd. | |
abf22e64 | 9234 | |
34c0bd93 MS |
9235 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
9236 | * p-valprint.c (pascal_object_print_value): Ditto. | |
9237 | * somread.c (som_symtab_read): Ditto. | |
9238 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
9239 | * valops.c (value_assign): Ditto. | |
9240 | ||
21c1c920 MS |
9241 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
9242 | use tilde_expand and strerror for opening save-tracepoints file. | |
9243 | ||
5bbd998e MS |
9244 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
9245 | ||
94cd915f MS |
9246 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
9247 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
abf22e64 | 9248 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
94cd915f MS |
9249 | can be overridden with whatever value is appropriate to the host). |
9250 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
9251 | alloca to allocate potentially large buffer. | |
9252 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
9253 | * symm-nat.c (child_xfer_memory): Ditto. | |
9254 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
9255 | ||
494e8a93 JSC |
9256 | 2002-01-07 Jackie Smith Cashion <[email protected]> |
9257 | ||
9258 | From Nick Clifton <[email protected]> | |
9259 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
9260 | ||
d0e1d48e MS |
9261 | 2002-01-07 Michael Snyder <[email protected]> |
9262 | ||
abf22e64 | 9263 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
d0e1d48e MS |
9264 | Don't use exec_bfd if it's NULL. |
9265 | ||
290b2c7a MK |
9266 | 2002-01-06 Mark Kettenis <[email protected]> |
9267 | ||
abf22e64 | 9268 | * valops.c (value_arg_coerce): Fix formatting. |
290b2c7a | 9269 | |
aef21287 AC |
9270 | 2002-01-06 Andrew Cagney <[email protected]> |
9271 | ||
9272 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
9273 | * gnu-nat.c: Ditto. | |
9274 | ||
30efa627 AC |
9275 | 2002-01-06 Andrew Cagney <[email protected]> |
9276 | ||
9277 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
9278 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
9279 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
9280 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
9281 | z8k-coff have not been multi-arched. Update z8k-coff build | |
9282 | status. | |
9283 | ||
9b4ff276 AC |
9284 | 2002-01-06 Andrew Cagney <[email protected]> |
9285 | ||
9286 | * MAINTAINERS: Mark a29k target as obsolete. | |
9287 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
9288 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
9289 | comments. | |
9290 | * NEWS: Note that a29k targets are obsolete. | |
9291 | * a29k-tdep.c: Mark as obsolete. | |
9292 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
9293 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
9294 | a29k-*-vxworks* targets as obsolete. | |
9295 | * remote-adapt.c: Obsolete. | |
9296 | * remote-eb.c: Obsolete. | |
9297 | * remote-mm.c: Obsolete. | |
9298 | * remote-udi.c: Obsolete. | |
9299 | * config/a29k/a29k-udi.mt: Obsolete. | |
9300 | * config/a29k/a29k.mt: Obsolete. | |
9301 | * config/a29k/tm-a29k.h: Obsolete. | |
9302 | * config/a29k/tm-vx29k.h: Obsolete. | |
9303 | * config/a29k/vx29k.mt: Obsolete. | |
9304 | ||
a9011d31 AC |
9305 | 2002-01-05 Andrew Cagney <[email protected]> |
9306 | ||
9307 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
9308 | with BFD_ENDIAN_BIG. | |
9309 | ||
9299404e AC |
9310 | 2002-01-05 Andrew Cagney <[email protected]> |
9311 | ||
9312 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
9313 | * configure, config.in: Re-generate. | |
9314 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
9315 | * defs.h: Do not include <endian.h>. | |
9316 | ||
7e89e357 JT |
9317 | 2002-01-05 Jason Thorpe <[email protected]> |
9318 | ||
9319 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
9320 | * config.in: Regenerate. | |
9321 | * configure.in: Update copyright years. | |
9322 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
9323 | * configure: Regenerate. | |
9324 | * i386bsd-nat.c: Update copyright years. | |
9325 | (fill_gregset): Use regcache_collect. | |
9326 | (fetch_inferior_registers): Only fetch integer registers | |
9327 | if requested to do so. Add support for XMM registers | |
9328 | using PT_GETXMMREGS. | |
9329 | (store_inferior_registers): Only store integer registers | |
9330 | if requested to do so. Add support for XMM registers | |
9331 | using PT_SETXMMREGS. | |
9332 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
9333 | (store_inferior_registers): Remove. | |
9334 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
9335 | (fetch_elfcore_registers): New function. | |
9336 | (i386nbsd_elfcore_fns): New. | |
9337 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
9338 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
9339 | i386bsd-nat.o. | |
9340 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
9341 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
9342 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
9343 | * config/i386/tm-nbsd.h: Update copyright years. | |
9344 | (HAVE_SSE_REGS): Define. | |
9345 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
9346 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
9347 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
9348 | (SIGCONTEXT_PC_OFFSET): Remove. | |
9349 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
9350 | ||
a752853e AC |
9351 | 2002-01-05 Andrew Cagney <[email protected]> |
9352 | ||
9353 | * configure.tgt: Remove powerpc-*-macos* target. | |
9354 | * config/m68k/xm-mpw.h: Delete file. | |
9355 | * config/xm-mpw.h: Delete file. | |
9356 | * ser-mac.c: Delete file. | |
9357 | * mpw-make.sed: Delete file. | |
9358 | * mpw-config.in: Delete file. | |
9359 | * mac-xdep.c: Delete file. | |
9360 | * mac-gdb.r: Delete file. | |
9361 | * mac-defs.h: Delete file. | |
9362 | * mac-nat.c: Delete file. | |
9363 | * config/powerpc/macos.mh: Delete file. | |
9364 | * config/powerpc/macos.mt: Delete file. | |
9365 | * config/powerpc/nm-macos.h: Delete file. | |
9366 | * config/powerpc/tm-macos.h: Delete file. | |
9367 | * source.c (openp, open_source_file): Remove obsolete code. | |
9368 | * top.c (gdb_readline): Ditto. | |
9369 | * utils.c (query): Ditto. | |
9370 | * event-top.c (display_gdb_prompt): Ditto. | |
9371 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
9372 | * NEWS: Update. | |
9373 | ||
d7449b42 AC |
9374 | 2002-01-04 Andrew Cagney <[email protected]> |
9375 | ||
9376 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
9377 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
9378 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
9379 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
9380 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
9381 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
9382 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
9383 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
9384 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
9385 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
9386 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
9387 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
9388 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
9389 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
9390 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
9391 | * gdbarch.c: Re-generate. | |
9392 | ||
356374e8 DJ |
9393 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
9394 | ||
9395 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
9396 | for core files. | |
9397 | ||
a2b8f8f8 JT |
9398 | 2002-01-04 Jason Thorpe <[email protected]> |
9399 | ||
9400 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
9401 | ||
12466af9 AC |
9402 | 2002-01-04 Andrew Cagney <[email protected]> |
9403 | ||
9404 | * value.h (value_ptr): Delete typedef. | |
9405 | ||
3549ab40 JT |
9406 | 2002-01-04 Jason Thorpe <[email protected]> |
9407 | ||
9408 | * i386nbsd-nat.c: Update copyright years. | |
9409 | Include i386-tdep.h. | |
9410 | ||
fedbd091 EZ |
9411 | 2002-01-04 Elena Zannoni <[email protected]> |
9412 | ||
9413 | * stabsread.c: Update copyright years. | |
9414 | ||
9415 | From Debashis Mahata <[email protected]>: | |
9416 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
9417 | output for structs and unions. | |
fec8b34f | 9418 | Fix PR gdb/269. |
fedbd091 | 9419 | |
eb43544b DJ |
9420 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
9421 | ||
9422 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
9423 | prototype. | |
9424 | ||
1514d34e DJ |
9425 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
9426 | ||
9427 | * cp-abi.c: Fix whitespace. | |
9428 | (baseclass_offset): New wrapper function. | |
9429 | * cp-abi.h (baseclass_offset): Add prototype. | |
9430 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
9431 | ||
9432 | * valops.c (vb_match): Move to... | |
9433 | * gnu-v2-abi.c (vb_match): here. | |
9434 | * valops.c (baseclass_offset): Move to... | |
9435 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
9436 | ||
9437 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
9438 | ||
9439 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
9440 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
9441 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
9442 | ||
7f8c9282 DJ |
9443 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
9444 | ||
9445 | * valops.c (find_overload_match): Accept obj as a | |
9446 | reference parameter. Update it before returning. | |
9447 | * value.h (find_overload_match): Update prototype. | |
9448 | * eval.c (evaluate_subexp_standard): Pass object to | |
9449 | find_overload_match by reference. | |
9450 | ||
f23631e4 AC |
9451 | 2002-01-03 Andrew Cagney <[email protected]> |
9452 | ||
9453 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
9454 | register attribute from value declarations. | |
9455 | * valops.c: Ditto. | |
9456 | * value.h: Ditto. | |
9457 | * scm-lang.c (scm_lookup_name): Ditto. | |
9458 | ||
79e10fab | 9459 | 2002-01-03 Michael Snyder <[email protected]> |
abf22e64 | 9460 | |
79e10fab AC |
9461 | Abstract the functionality of iterating over mapped memory |
9462 | regions into a general purpose iterator function. | |
abf22e64 | 9463 | * procfs.c (iterate_over_mappings): New function, general purpose |
79e10fab AC |
9464 | iterator for memory sections. |
9465 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
9466 | (solib_mappings_callback): New function, callback for above. | |
9467 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
9468 | (info_mappings_callback): New function, callback for above. | |
9469 | ||
9470 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
9471 | ||
c5ad026a MK |
9472 | 2002-01-01 Mark Kettenis <[email protected]> |
9473 | ||
d2a7c97a MK |
9474 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
9475 | * i386-tdep.c: Include "elf-bfd.h". | |
9476 | (process_note_abi_tag_sections): New function. | |
9477 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
9478 | combinations. | |
9479 | ||
c5ad026a MK |
9480 | * maint.c (_initialize_maint_cmds): Add missing \ in |
9481 | string-literal. | |
9482 | ||
a1a5b71e | 9483 | For older changes see ChangeLog-2001 |
c906108c SS |
9484 | \f |
9485 | Local Variables: | |
9486 | mode: change-log | |
9487 | left-margin: 8 | |
9488 | fill-column: 74 | |
9489 | version-control: never | |
9490 | End: |