]>
Commit | Line | Data |
---|---|---|
2f1b5984 MK |
1 | 2002-05-18 Mark Kettenis <[email protected]> |
2 | ||
3 | * corelow.c (core_open): Only call set_gdbarch_from_file if | |
4 | exec_bfd is NULL. | |
5 | ||
fc974602 AV |
6 | 2002-05-17 Andrey Volkov <[email protected]> |
7 | ||
8 | * h8300-tdep.c: Add support of EXR register | |
9 | * config/h8300/tm-h8300.h: Ditto. | |
10 | ||
906709f4 AV |
11 | 2002-05-17 Andrey Volkov <[email protected]> |
12 | ||
13 | * h8300-tdep.c: Add additional CCR flags (I,UI,H,U) | |
14 | ||
6e591d68 AV |
15 | 2002-05-17 Andrey Volkov <[email protected]> |
16 | ||
17 | * h8300-tdep.c: Change literal regnums to REGNO. | |
18 | ||
84f0252a JB |
19 | 2002-05-17 Jim Blandy <[email protected]> |
20 | ||
e0e9281e JB |
21 | * NEWS: Note addition of macro support. |
22 | ||
84f0252a JB |
23 | Expand preprocessor macros in C expressions. |
24 | * c-lang.h: #include "macroexp.h", for macro_lookup_ftype. | |
25 | (scan_macro_expansion, scanning_macro_expansion, | |
26 | finished_macro_expansion): New function declarations. | |
27 | (expression_macro_lookup_func, expression_macro_lookup_baton): New | |
28 | variable declarations. | |
29 | * parser-defs.h (expression_context_pc): New declaration. | |
30 | * parse.c (expression_context_pc): New variable. | |
31 | (parse_exp_1): Set expression_context_pc, as well as | |
32 | expression_context_block. | |
33 | * c-exp.y (yylex): If we're not already reading the result of a | |
34 | macro expansion, try to macro-expand the next token. When we're | |
35 | done scanning a macro expansion, switch back to the mainline text. | |
36 | Commas and `if's in a macro's expansion don't terminate the input. | |
37 | * c-lang.c: #include "macroscope.h" and "gdb_assert.h". | |
38 | (macro_original_text, macro_expanded_text, | |
39 | expression_macro_lookup_func, expression_macro_lookup_baton): New | |
40 | variables. | |
41 | (scan_macro_expansion, scanning_macro_expansion, | |
42 | finished_macro_expansion, scan_macro_cleanup, null_macro_lookup, | |
43 | c_preprocess_and_parse): New functions. | |
44 | (c_language_defn, cplus_language_defn, asm_language_defn): Call | |
45 | c_preprocess_and_parse, instead of c_parse. | |
46 | * Makefile.in (c_lang_h): Note that this #includes macroexp.h. | |
47 | (c-lang.o): Note dependency on macroscope.h and gdb_assert.h. | |
48 | ||
1c509ca8 JR |
49 | Fri May 17 14:26:19 2002 J"orn Rennecke <[email protected]> |
50 | ||
51 | * sh-tdep.c (gdb_print_insn_sh64): Delete. | |
52 | (gdb_print_insn_sh): Just set info->endian and use print_insn_sh. | |
53 | (sh_gdbarch_init): Always use gdb_print_insn_sh. | |
54 | ||
2250ee0c CV |
55 | 2002-05-17 Corinna Vinschen <[email protected]> |
56 | ||
57 | * NEWS: Add section for multi-arched targets. Add v850 to that section. | |
58 | ||
ab3b8126 JT |
59 | 2002-05-17 Jason Thorpe <[email protected]> |
60 | ||
61 | * Makefile.in (sh_tdep_h): Define and use. | |
62 | * config/sh/tm-sh.h (sh_osabi, sh_abi, gdbarch_tdep, | |
63 | register enum): Move to... | |
64 | * * sh-tdep.h: ...here. | |
65 | * sh-tdep.c: Include sh-tdep.h. | |
66 | * sh3-rom.c: Likewise. | |
67 | * shnbsd-tdep.c: Likewise. | |
68 | ||
ed9d4749 MS |
69 | 2002-05-16 Michael Snyder <[email protected]> |
70 | ||
71 | * arm-tdep.c: Spelling fix in comment. | |
72 | ||
2e276125 JB |
73 | 2002-05-16 Jim Blandy <[email protected]> |
74 | ||
6821892e JB |
75 | Add commands for manually expanding macros and showing their |
76 | definitions. | |
77 | * macrocmd.c, macroscope.c, macroscope.h: New files. | |
78 | * Makefile.in (SFILES): Add macrocmd.c, macroscope.c. | |
79 | (macroscope_h): New variable. | |
80 | (HFILES_NO_SRCDIR): Add macroscope.h. | |
81 | (COMMON_OBS): Add macrocmd.o, macroscope.o. | |
82 | (macroscope.o, macrocmd.o): New rules. | |
83 | ||
2e276125 JB |
84 | Teach the Dwarf 2 reader to read macro information. |
85 | * dwarf2read.c: #include "macrotab.h". | |
86 | (dwarf_macinfo_buffer): New variable. | |
87 | (struct dwarf2_pinfo): New members: dwarf_macinfo_buffer, and | |
88 | dwarf_macinfo_size. | |
89 | (DWARF_MACINFO_BUFFER, DWARF_MACINFO_SIZE): New macros. | |
90 | (dwarf2_missing_macinfo_section, dwarf2_macros_too_long, | |
91 | dwarf2_macros_not_terminated, dwarf2_macro_outside_file, | |
92 | dwarf2_macro_unmatched_end_file, dwarf2_macro_malformed_definition, | |
93 | dwarf2_macro_spaces_in_definition): New complaints. | |
94 | (dwarf2_has_info): Initialize dwarf_macinfo_offset. | |
95 | (dwarf2_build_psymtabs): Read the .dwarf_macinfo section. | |
96 | (dwarf2_build_psymtabs_hard): Record the buffer and its size in | |
97 | the partial symbol table. | |
98 | (psymtab_to_symtab_1): Set the macinfo buffer and size globals | |
99 | from what's recorded in the partial symbol table. | |
100 | (read_file_scope): If the compilation unit has a | |
101 | `DW_AT_macro_info' attribute, read its macro information. | |
102 | * Makefile.in (dwarf2read.o): Depend on macrotab.h. | |
103 | ||
2f53fe6c DJ |
104 | 2002-05-16 Daniel Jacobowitz <[email protected]> |
105 | ||
106 | Fix PR gdb/546 | |
107 | * ser-tcp.c: Don't include <netinet/udp.h>. | |
108 | ||
2be99286 SC |
109 | 2002-05-16 Stephane Carrez <[email protected]> |
110 | ||
111 | * MAINTAINERS: Update my email address. | |
112 | ||
c9af212b | 113 | 2002-05-16 Richard Earnshaw <[email protected]> |
8501bbeb RE |
114 | |
115 | * config/arm/nm-nbsd.h: Use "config/nm-nbsd.h" to include generic | |
116 | include file of the same name. | |
117 | ||
bf5f1a52 CV |
118 | 2002-05-16 Corinna Vinschen <[email protected]> |
119 | ||
120 | * configure.tgt: Mark v850 as multi-arched. | |
121 | * config/v850/tm-v850.h: Remove file. | |
122 | * config/v850/v850.mt: Eliminate TM_FILE. | |
123 | ||
435e042a CV |
124 | 2002-05-16 Corinna Vinschen <[email protected]> |
125 | ||
126 | * v850-tdep.c: Full multi-arch. | |
127 | * config/v850/tm-v850.h: Eliminate or move to v850-tdep.c everything. | |
128 | Define GDB_MULTI_ARCH to 2. | |
129 | ||
9819c6c8 PM |
130 | 2002-05-16 Pierre Muller <[email protected]> |
131 | ||
132 | * p-exp.y (current_type): New static variable. | |
133 | Carries the type of the expression at the position that is parsed. | |
134 | (push_current_type, pop_current_type): Two new functions. Used | |
135 | to store/restore current_type in expression on specific tokens. | |
c9af212b RE |
136 | (search_field): New static variable. Set to one after parsing a point |
137 | as at that point only a FIELDNAME token should be searched. | |
9819c6c8 PM |
138 | (FIELDNAME): New token. After a point only a token belonging to |
139 | current_type type definition is allowed. | |
140 | (all over token rules): reset and change current_type according | |
141 | to rules. | |
142 | (exp '[' rule): insert implicit array index field if | |
143 | exp is a pascal string type. | |
144 | ||
3a06899a CV |
145 | 2002-05-16 Corinna Vinschen <[email protected]> |
146 | ||
147 | * v850-tdep.c: Fix comment for v850_scan_prologue. Remove extra | |
148 | frame info. Use frame_info's saved_regs instead of matching member | |
149 | in extra_frame_info throughout. | |
150 | (v850_frame_init_saved_regs): New function. | |
151 | (v850_init_extra_frame_info): Move most functionality into | |
152 | v850_frame_init_saved_regs(). | |
153 | * config/v850/tm-v850.h (EXTRA_FRAME_INFO): Remove definition. | |
154 | (v850_frame_find_saved_regs): Remove declaration. | |
155 | (FRAME_FIND_SAVED_REGS): Remove definition. | |
156 | (v850_frame_init_saved_regs): Add declaration. | |
157 | (FRAME_INIT_SAVED_REGS): Add definition. | |
158 | ||
6ed14b0e CV |
159 | 2002-05-16 Corinna Vinschen <[email protected]> |
160 | ||
161 | * v850-tdep.c: Begin multi-arch'ing v850. | |
162 | (v850_target_architecture_hook): Remove function. | |
163 | (v850_gdbarch_init): New function. Add code previously in | |
164 | v850_target_architecture_hook(). | |
165 | (_initialize_v850_tdep): Don't set target_architecture_hook. | |
166 | Call register_gdbarch_init() instead. | |
167 | ||
42725910 DJ |
168 | 2002-05-16 Daniel Jacobowitz <[email protected]> |
169 | ||
170 | * gdbtypes.h (struct cplus_struct_type): Remove args field. | |
171 | * hpread.c (hpread_read_struct_type): Remove assignments to args. | |
172 | (fixup_class_method_type): Likewise. | |
173 | ||
0bc68c49 DJ |
174 | 2002-05-15 Daniel Jacobowitz <[email protected]> |
175 | ||
176 | From Martin Pool <[email protected]>: | |
177 | * gdbserver/server.c (gdbserver_usage): New function. | |
178 | (main): Call it. | |
179 | ||
99d9066e JB |
180 | 2002-05-15 Jim Blandy <[email protected]> |
181 | ||
182 | Add macro structures to GDB's symbol tables. Nobody puts anything | |
183 | in them yet. | |
184 | * symtab.h (struct symtab): New member: `macro_table'. | |
185 | * buildsym.h (pending_macros): New global variable. | |
186 | * buildsym.c: #include "macrotab.h". | |
187 | (buildsym_init): Initialize `pending_macros'. | |
188 | (end_symtab): If we found macro information while reading a CU's | |
189 | debugging info, do build a symtab structure for it. Make the | |
190 | symtab point to the macro information, and clear the | |
191 | `pending_macros' pointer which held it while we were reading the | |
192 | debug info. | |
193 | (really_free_pendings): Free any pending macro table. | |
194 | * objfiles.h (struct objfile): New member: `macro_cache'. | |
195 | * objfiles.c (allocate_objfile): Set allocate and free functions | |
196 | for the macro cache's objstack. | |
197 | (free_objfile): Empty the macro cache's obstack. | |
198 | * symfile.c (reread_symbols): Empty the macro cache's obstack, and | |
199 | set new allocate and free functions for it. | |
200 | * solib-sunos.c (allocate_rt_common_objfile): Set allocate and | |
201 | free functions for the macro cache's objstack. (Why is this | |
202 | function building its own objfile?) | |
203 | * symmisc.c (print_objfile_statistics): Print statistics on the | |
204 | macro bcache. | |
205 | * Makefile.in: Note that buildsym.o depends on macrotab.h. | |
206 | ||
c899585b RE |
207 | 2002-05-15 Richard Earnshaw <[email protected]> |
208 | ||
209 | * config/arm/nm-nbsd.h: Use <> for include of config/nm-nbsd.h. | |
210 | (REGISTER_U_ADDR): Delete definition. | |
211 | (arm_register_u_addr): Delete declaration. | |
212 | ||
a6cdd8c5 RE |
213 | 2002-05-15 Richard Earnshaw <[email protected]> |
214 | ||
215 | * arm-linux-tdep.c (ARM_LINUX_JB_PC): Renamed from JB_PC. | |
216 | (ARM_LINUX_JB_ELEMENT_SIZE): Likewise. | |
217 | ||
fd3a5ca1 DJ |
218 | 2002-05-14 Daniel Jacobowitz <[email protected]> |
219 | ||
220 | * gdbserver/mem-break.c (reinsert_breakpoint_by_bp): Correct typo | |
221 | stop_at -> stop_pc. | |
222 | ||
c97dcfc7 AC |
223 | 2002-05-14 Andrew Cagney <[email protected]> |
224 | ||
225 | * regcache.c (register_valid): Revise comments refering to "Not | |
226 | available" and "unavailable". | |
227 | * frame.c (frame_register_read): Ditto. | |
228 | * findvar.c (value_of_register): Ditto. | |
229 | ||
93021b7d AC |
230 | 2002-05-15 Andrew Cagney <[email protected]> |
231 | ||
232 | * Makefile.in (remote_sim_h): Replace remote-sim_h. | |
233 | (remote-sim.o): Update dependencies. | |
234 | (d10v-tdep.o): Specify dependencies. | |
235 | (sim_d10v_h): Define. | |
236 | ||
a86bc61c JB |
237 | 2002-05-14 Jim Blandy <[email protected]> |
238 | ||
239 | * macroexp.c (init_buffer, gather_arguments, expand): Use NULL, not 0. | |
240 | * macrotab.c (macro_lookup_inclusion, find_definition, | |
241 | new_macro_table): Same. | |
242 | ||
243 | * macroexp.c (currently_rescanning, expand): Use `strcmp () == 0', | |
244 | not `! strcmp ()'. This is a dubious improvement. | |
245 | * macrotab.c (macro_lookup_inclusion, find_definition): Same. | |
246 | ||
247 | * macrotab.c (macro_lookup_inclusion): Initialize `best_depth', | |
248 | although it's not necessary, to avoid a warning. | |
249 | ||
2fdde8f8 DJ |
250 | 2002-05-14 Daniel Jacobowitz <[email protected]> |
251 | ||
252 | * gdbtypes.h: Update accessor macros to use TYPE_MAIN_TYPE. | |
253 | (TYPE_CONST, TYPE_VOLATILE, TYPE_CODE_SPACE, TYPE_DATA_SPACE): Use | |
254 | TYPE_INSTANCE_FLAGS. | |
255 | (struct main_type): New. | |
256 | (struct type): Move most members to struct main_type. Change | |
257 | cv_type and as_type to new type_chain member. Add instance_flags. | |
258 | (TYPE_MAIN_TYPE, TYPE_CHAIN, TYPE_INSTANCE_FLAGS): New macros. | |
259 | (TYPE_CV_TYPE, TYPE_AS_TYPE): Remove. | |
260 | (finish_cv_type): Remove prototype. | |
261 | * gdbtypes.c (alloc_type): Update comment. Allocate TYPE_MAIN_TYPE. | |
262 | Set TYPE_CHAIN. | |
263 | (alloc_type_instance): New function. | |
264 | (smash_type): New function. | |
265 | (make_pointer_type, make_reference_type, make_function_type) | |
266 | (smash_to_member_type, smash_to_method_type): Call smash_type. | |
267 | (make_qualified_type): New function. | |
268 | (make_type_with_address_space): Call make_qualified_type. | |
269 | (make_cv_type): Likewise. | |
270 | (finish_cv_type): Remove unnecessary function. | |
271 | (replace_type): Update comment. Copy TYPE_MAIN_TYPE. | |
272 | (recursive_dump_type): Dump TYPE_CHAIN and TYPE_INSTANCE_FLAGS; | |
273 | remove TYPE_CV_TYPE and TYPE_AS_TYPE. | |
274 | * c-typeprint.c (c_type_print_modifier): Use TYPE_INSTANCE_FLAGS. | |
275 | * dwarf2read.c (read_structure_scope): Don't call finish_cv_type. | |
276 | * hpread.c (hpread_read_struct_type): Likewise. | |
277 | * stabsread.c (read_struct_type): Likewise. | |
278 | ||
843fedf4 EZ |
279 | 2002-05-14 Elena Zannoni <[email protected]> |
280 | ||
281 | * configure.tgt: Add a catch all sh* target, for cases like | |
282 | sh[2,3,4]-elf and sh-hms. | |
283 | ||
05a6c72c KS |
284 | 2002-05-14 Keith Seitz <[email protected]> |
285 | ||
286 | * event-loop.c (create_file_handler): Don't do anything but | |
287 | update data when we are given a fd which we are already | |
288 | monitoring. | |
289 | ||
5d085aaf ML |
290 | 2002-05-14 Michal Ludvig <[email protected]> |
291 | ||
292 | * dwarf2cfi.c (context_cpy): Copy registers correctly. | |
293 | (update_context): Use __func__ in warnings. | |
294 | ||
9db8d71f DJ |
295 | 2002-05-14 Daniel Jacobowitz <[email protected]> |
296 | ||
297 | * ser-tcp.c: Include <netinet/udp.h>. Rename tcp_open | |
298 | and tcp_close to net_open and net_close. | |
299 | (net_open): Accept "udp:" and "tcp:" specifications. Connect | |
300 | using UDP if requested. Don't try to disable Nagle on UDP | |
301 | sockets. | |
302 | * remote.c (remote_serial_open): New function. Warn about UDP. | |
303 | (remote_open_1, remote_async_open_1, remote_cisco_open): Call it. | |
304 | ||
5dbc6baa EZ |
305 | 2002-05-13 Elena Zannoni <[email protected]> |
306 | ||
307 | * MAINTAINERS: List sh-elf as buildable with ,-Werror. | |
308 | ||
cc3023f7 EZ |
309 | 2002-05-13 Elena Zannoni <[email protected]> |
310 | ||
311 | * configure.tgt: Remove sh-hms target. | |
312 | * MAINTAINERS: Don't list sh-hms as a separate target. | |
313 | ||
ec2bcbe7 JB |
314 | 2002-05-13 Jim Blandy <[email protected]> |
315 | ||
316 | Add first preprocessor macro-expansion files. | |
317 | * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. | |
318 | * Makefile.in (SFILES): Add macrotab.c, macroexp.c. | |
319 | (splay_tree_h, macroexp_h, macrotab_h): New variable. | |
320 | (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. | |
321 | (COMMON_OBS): Add macrotab.o, macroexp.o. | |
322 | (macroexp.o, macrotab.o): New rules. | |
323 | ||
6d531722 AC |
324 | 2002-05-13 Andrew Cagney <[email protected]> |
325 | ||
326 | * config/m88k/tm-m88k.h: Update copyright. | |
327 | (m88k_target_write_pc): Declare | |
328 | (TARGET_WRITE_PC): Redefine using m88k_target_write_pc. | |
329 | (M88K_NNPC_REGNUM): Rename NNPC_REGNUM. | |
330 | (SHIFT_INST_REGS): Update definition. | |
331 | * m88k-tdep.c (m88k_target_write_pc): New function. Implement | |
332 | using old definition of TARGET_WRITE_PC. | |
333 | * regcache.c (generic_target_write_pc): Delete code handling | |
334 | NNPC_REGNUM. | |
335 | * gdbarch.sh (NNPC_REGNUM): Delete. | |
336 | * gdbarch.h, gdbarch.c: Regenerate. | |
337 | ||
3e3f2739 RE |
338 | 2002-05-13 Richard Earnshaw <[email protected]> |
339 | ||
340 | * builtin-regs.c (value_of_builtin_reg): Correctly calculate the | |
341 | builtin reg number. | |
342 | ||
0004e5a2 DJ |
343 | 2002-05-13 Daniel Jacobowitz <[email protected]> |
344 | ||
345 | * ax-gdb.c (gen_sign_extend, gen_fetch, gen_usual_unary) | |
346 | (gen_cast, gen_scale, gen_add, gen_sub, gen_binop, gen_deref) | |
347 | (gen_address_of, gen_struct_ref, gen_repeat): Use type | |
348 | access macros. | |
349 | * c-typeprint.c (cp_type_print_method_args): Likewise. | |
350 | (c_type_print_args): Likewise. | |
351 | * d10v-tdep.c (d10v_push_arguments): Likewise. | |
352 | (d10v_extract_return_value): Likewise. | |
353 | * expprint.c (print_subexp): Likewise. | |
354 | * gdbtypes.c (lookup_primitive_typename): Likewise. | |
355 | (lookup_template_type, add_mangled_type, print_arg_types): Likewise. | |
356 | * gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_STUB) | |
357 | (TYPE_TARGET_STUB, TYPE_STATIC, TYPE_CONST, TYPE_VOLATILE) | |
358 | (TYPE_PROTOTYPED, TYPE_INCOMPLETE, TYPE_CODE_SPACE, TYPE_VARARGS) | |
359 | (TYPE_VECTOR): Likewise. | |
360 | * hpread.c (hpread_read_struct_type) | |
361 | (fix_static_member_physnames, fixup_class_method_type) | |
362 | (hpread_type_lookup): Likewise. | |
363 | * mdebugread.c (parse_symbol, parse_type): Likewise. | |
364 | * p-lang.c (is_pascal_string_type): Likewise. | |
365 | * valops.c (hand_function_call): Likewise. | |
366 | * x86-64-tdep.c (classify_argument): Likewise. | |
367 | ||
368 | * hpread.c (hpread_read_function_type) | |
369 | (hpread_read_doc_function_type): Call replace_type. | |
370 | * dstread.c (create_new_type): Delete. | |
371 | (decode_dst_structure, process_dst_function): Call alloc_type. | |
372 | Use type access macros. | |
373 | ||
dff95cc7 MK |
374 | 2002-05-12 Mark Kettenis <[email protected]> |
375 | ||
376 | * i387-tdep.c (i387_supply_fxsave): Skip the SSE registers if | |
377 | the're not supported by the current architecture. | |
378 | (i387_fill_fxsave): Likewise. | |
379 | ||
bbcd32ad FF |
380 | 2002-05-12 Fred Fish <[email protected]> |
381 | ||
382 | * symfile.c (default_symfile_offsets): Arrange for uninitialized | |
383 | sect_index_xxx members to index the first slot in section_offsets | |
384 | if all of the section_offsets are zero. | |
385 | ||
89cf4787 MK |
386 | 2002-05-12 Mark Kettenis <[email protected]> |
387 | ||
388 | * configure.tgt (sparc-*openbsd): Remove entry accidentially | |
389 | checked in with last change. | |
390 | ||
1f77ffc5 MK |
391 | 2002-05-12 Mark Kettenis <[email protected]> |
392 | ||
393 | * configure.tgt (i[3456]86-*-unixware*, i[3456]86-*-unixware2*): | |
394 | Remove targets. These are canonicalized to i386-*-sysv4.2uw by | |
395 | config.sub. | |
396 | ||
89b8b4a9 DJ |
397 | 2002-05-12 Daniel Jacobowitz <[email protected]> |
398 | ||
399 | * Makefile.in: Update dependencies. | |
400 | ||
14a5e767 AC |
401 | 2002-05-11 Andrew Cagney <[email protected]> |
402 | ||
403 | * language.c (local_hex_string_custom): Simplify. Do not depend | |
404 | on PRINTF_HAS_LONG_LONG or CC_HAS_LONG_LONG. | |
405 | ||
406 | * memattr.c (mem_info_command): Replace calls to | |
407 | longest_local_hex_string and longest_local_hex_string_custom. | |
408 | * buildsym.c (make_blockvector): Ditto. | |
409 | * solib.c (info_sharedlibrary_command): Ditto. | |
410 | * tracepoint.c (tracepoints_info): Ditto. | |
411 | * symtab.c (print_msymbol_info): Ditto. | |
412 | ||
413 | * language.c (local_hex_string): Delete. | |
414 | (local_hex_string_custom): Delete. | |
415 | (longest_local_hex_string): Rename to local_hex_string. | |
416 | (longest_local_hex_string_custom): Rename to | |
417 | local_hex_string_custom. | |
418 | * language.h (local_hex_string): Change parameter type to LONGEST. | |
419 | (local_hex_string_custom): Ditto. | |
420 | (longest_local_hex_string): Delete declaration. | |
421 | (longest_local_hex_string_custom): Ditto. | |
422 | ||
423 | * solib.c: Update copyright. | |
424 | * memattr.c: Update copyright. | |
425 | ||
13d01224 AC |
426 | 2002-05-11 Andrew Cagney <[email protected]> |
427 | ||
428 | * arch-utils.h (legacy_register_to_value): Declare. | |
429 | (legacy_value_to_register): Declare. | |
430 | (legacy_convert_register_p): Declare. | |
431 | * arch-utils.c (legacy_register_to_value): New function. | |
432 | (legacy_value_to_register): New function. | |
433 | (legacy_convert_register_p): New function. | |
434 | ||
435 | * gdbarch.sh (REGISTER_TO_VALUE): Define. | |
436 | (VALUE_TO_REGISTER): Define. | |
437 | (CONVERT_REGISTER_P): Define. | |
438 | * gdbarch.h, gdbarch.c: Regenerate. | |
439 | ||
440 | * valops.c (value_assign): Use CONVERT_REGISTER_P and | |
441 | VALUE_TO_REGISTER. | |
442 | * findvar.c (value_from_register): Use REGISTER_TO_VALUE and | |
443 | CONVERT_REGISTER_P. | |
444 | ||
4a1970e4 DJ |
445 | 2005-05-11 Daniel Jacobowitz <[email protected]> |
446 | Peter Schauer <[email protected]> | |
447 | ||
448 | * Makefile.in: Update dependencies for valops.c. | |
449 | * valops.c: Include "gdb_assert.h". | |
450 | (typecmp): Skip THIS parameter to methods. | |
451 | (find_method_list): Remove static_memfuncp argument, | |
452 | update callers. Check for stub methods. | |
453 | (find_value_oload_method_list): Don't set *static_memfuncp. | |
454 | (find_overload_match): Don't check for stub methods. Assert | |
455 | that methods are not stubbed. Handle static methods. | |
456 | (value_find_oload_method_list): Remove static_memfuncp argument. | |
457 | * gdbtypes.c (check_stub_method): Do not add THIS pointer | |
458 | to the argument list for static stub methods. | |
459 | * value.h (value_find_oload_method_list): Update prototype. | |
460 | ||
b2e75d78 AC |
461 | 2002-05-11 Andrew Cagney <[email protected]> |
462 | ||
463 | * arch-utils.h (generic_register_size): Declare. | |
464 | (generic_register_raw_size, generic_register_virtual_size): Delete | |
465 | declarations. | |
466 | * arch-utils.c (generic_register_raw_size): Delete. | |
467 | (generic_register_size): New function. | |
468 | (generic_register_virtual_size): Delete. | |
469 | ||
470 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Make | |
471 | default generic_register_size. | |
472 | * gdbarch.h, gdbarch.c: Re-generate. | |
473 | ||
474 | * d10v-tdep.c (d10v_gdbarch_init): Use generic_register_size for | |
475 | register_virtual_size. | |
476 | * x86-64-tdep.c (x86_64_gdbarch_init): Ditto. | |
477 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
478 | ||
451fbdda AC |
479 | 2002-05-11 Andrew Cagney <[email protected]> |
480 | ||
481 | * gdbarch.sh (gdbarch_data): Add gdbarch parameter. | |
482 | * gdbarch.h, gdbarch.c: Regenerate. | |
483 | * gnu-v3-abi.c: Update copyright. | |
484 | (vtable_address_point_offset): Update. | |
485 | (gnuv3_rtti_type): Update. | |
486 | (gnuv3_baseclass_offset): Update. | |
487 | * solib-svr4.c (svr4_fetch_link_map_offsets): Update. | |
488 | (init_fetch_link_map_offsets): Update. | |
489 | * remote.c (get_remote_state): Update. | |
490 | ||
6d2f5cea DJ |
491 | 2002-05-11 Daniel Jacobowitz <[email protected]> |
492 | ||
493 | * TODO: Remove value_headof/value_from_vtable_info comment. | |
494 | * printcmd.c (print_command_1): Don't call value_from_vtable_info. | |
495 | * values.c (value_headof, value_from_vtable_info): Delete. | |
496 | * value.h (value_from_vtable_info): Delete prototype. | |
497 | ||
d2324da4 AC |
498 | 2002-05-11 Andrew Cagney <[email protected]> |
499 | ||
500 | * Makefile.in: Replace gdb_assert.h with $(gdb_assert_h), | |
501 | gdb_string.h with $(gdb_string_h) and gdb_regex.h with | |
502 | $(gdb_regex_h). | |
503 | (gdb_assert_h): Define. | |
504 | (gdb_wait_h): Define. | |
505 | (gdb_regex_h): Define. | |
506 | ||
5c717440 DJ |
507 | 2002-05-11 Daniel Jacobowitz <[email protected]> |
508 | ||
509 | From Peter Schauer <[email protected]>: | |
510 | * linespec.c (find_methods): Handle GCC 3.x template constructors. | |
511 | ||
6c7861b3 JT |
512 | 2002-05-11 Jason Thorpe <[email protected]> |
513 | ||
514 | * nbsd-tdep.c: Fix comment. | |
515 | ||
ea5bc2a6 JT |
516 | 2002-05-11 Jason Thorpe <[email protected]> |
517 | ||
518 | * Makefile.in (ALLDEPFILES): Add nbsd-tdep.c. | |
519 | (alphanbsd-tdep.o): Add nbsd-tdep.h to dependency list. | |
520 | (nbsd-tdep.o): New dependency list. | |
521 | * alphanbsd-tdep.c: Don't include solib-svr4.h. Include | |
522 | nbsd-tdep.h. | |
523 | (alphanbsd_solib_svr4_fetch_link_map_offsets): Remove. | |
524 | (alphanbsd_init_abi): Use nbsd_lp64_solib_svr4_fetch_link_map_offsets. | |
525 | * nbsd-tdep.c: New file. | |
526 | * nbsd-tdep.h: New file. | |
527 | * shnbsd-tdep.c: Don't include solib-svr4.h. Include | |
528 | nbsd-tdep.h. | |
529 | (shnbsd_solib_svr4_fetch_link_map_offsets): Remove. | |
530 | (shnbsd_init_abi): Use nbsd_ilp32_solib_svr4_fetch_link_map_offsets. | |
531 | * config/alpha/nbsd.mt (TDEPFILES): Add nbsd-tdep.o. | |
532 | * config/sh/nbsd.mt (TDEPFILES): Ditto. | |
533 | ||
b28da865 JT |
534 | 2002-05-11 Jason Thorpe <[email protected]> |
535 | ||
536 | * config/alpha/nbsd.mh (NATDEPFILES): Remove corelow.o. | |
537 | * config/alpha/nbsd.mt (TDEPFILES): Add corelow.o. | |
538 | * config/i386/nbsd.mh (NATDEPFILES): Remove corelow.o. | |
539 | * config/i386/nbsd.mt (TDEPFILES): Add corelow.o. | |
540 | * config/i386/nbsdelf.mh (NATDEPFILES): Remove corelow.o. | |
541 | * config/i386/nbsdelf.mt (TDEPFILES): Add corelow.o. | |
542 | ||
4b8ff1fa JT |
543 | 2002-05-11 Jason Thorpe <[email protected]> |
544 | ||
545 | * config/i386/nbsd.mh (NATDEPFILES): Use line continuations. | |
546 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
547 | * config/m68k/nbsd.mh (NATDEPFILES): Likewise. | |
548 | * config/ns32k/nbsd.mh (NATDEPFILES): Likewise. | |
549 | * config/powerpc/nbsd.mh (NATDEPFILES): Likewise. | |
550 | * config/sparc/nbsd.mh (NATDEPFILES): Likewise. | |
551 | * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise. | |
552 | ||
dfe6eb1f JT |
553 | 2002-05-11 Jason Thorpe <[email protected]> |
554 | ||
555 | * i386nbsd-nat.c: Delete file. Move fetch_core_registers and | |
556 | fetch_elfcore_registers to... | |
557 | * i386nbsd-tdep.c: ...here. | |
558 | (i386nbsd_use_struct_convention): Rename to... | |
559 | (i386nbsd_aout_use_struct_convention): ...this. | |
560 | (i386nbsd_supply_reg): New function. | |
561 | (i386nbsd_fill_reg): New function. | |
562 | (fetch_core_registers): Use i386nbsd_supply_reg. | |
563 | (fetch_elfcore_registers): Likewise. | |
564 | (_initialize_i386nbsd_tdep): New function. | |
565 | * config/i386/nbsd.mh (NATDEPFILES): Remove i386nbsd-nat.o. | |
566 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
567 | * config/i386/nbsdelf.mt (TDEPFILES): Add i386nbsd-tdep.o. | |
568 | * config/i386/tm-nbsd.h (i386nbsd_use_struct_convention): Rename to... | |
569 | (i386nbsd_aout_use_struct_convention): ...this. | |
570 | ||
20cb8cda JT |
571 | 2002-05-11 Jason Thorpe <[email protected]> |
572 | ||
573 | * shnbsd-nat.c (fetch_inferior_registers): Use shnbsd_supply_reg. | |
574 | (store_inferior_registers): Use shnbsd_fill_reg. | |
575 | * shnbsd-tdep.c (sh_nbsd_supply_registers, | |
576 | sh_nbsd_supply_register): Collapse into... | |
577 | (shnbsd_supply_reg): ...this. | |
578 | (sh_nbsd_fill_registers, sh_nbsd_fill_register): Collapse into... | |
579 | (shnbsd_fill_reg): ...this. | |
580 | (sh_nbsd_solib_svr4_fetch_link_map_offsets): Rename to... | |
581 | (shnbsd_solib_svr4_fetch_link_map_offsets): ...this. | |
582 | (fetch_core_registers): Use shnbsd_supply_reg. | |
583 | (fetch_elfcore_registers): Use shnbsd_supply_reg. | |
584 | (sh_nbsd_core_fns): Rename to... | |
585 | (shnbsd_core_fns): ...this. | |
586 | (sh_nbsd_elfcore_fns): Rename to... | |
587 | (shnbsd_elfcore_fns): ...this. | |
588 | (sh_nbsd_init_abi): Rename to... | |
589 | (shnbsd_init_abi): ...this. | |
590 | (_initialize_sh_nbsd_tdep): Rename to... | |
591 | (_initialize_shnbsd_tdep): ...this. | |
592 | * shnbsd-tdep.h (sh_nbsd_supply_registers, | |
593 | sh_nbsd_supply_register, sh_nbsd_fill_registers, | |
594 | sh_nbsd_fill_register): Remove prototypes. | |
595 | (shnbsd_supply_reg, shnbsd_fill_reg): Add prototypes. | |
596 | ||
e750d25e JT |
597 | 2002-05-11 Jason Thorpe <[email protected]> |
598 | ||
599 | * Makefile.in (ALLDEPFILES): Remove i387-nat.c. | |
600 | (i387-nat.o): Delete dependency list. | |
601 | (go32-nat.o): Change i387-nat.h to i387-tdep.h. | |
602 | (x86-64-linux-nat.o): Likewise. | |
603 | * i387-nat.c: Delete file, moving contents to... | |
604 | * i387-tdep.c: ...here. | |
605 | * i387-nat.h: Rename... | |
606 | * i387-tdep.h: ...to this. | |
607 | * go32-nat.c: Include i387-tdep.h instead of i387-nat.h. | |
608 | * i386-linux-nat.c: Likewise. | |
609 | * i386bsd-nat.c: Likewise. | |
610 | * i386gnu-nat.c: Likewise. | |
611 | * i386nbsd-nat.c: Likewise. | |
612 | * i386v4-nat.c: Likewise. | |
613 | * x86-64-linux-nat.c: Likewise. | |
614 | * config/i386/fbsd.mh (NATDEPFILES): Remove i387-nat.o. | |
615 | * config/i386/go32.mh (NATDEPFILES): Likewise. | |
616 | * config/i386/i386gnu.mh (NATDEPFILES): Likewise. | |
617 | * config/i386/i386sol2.mh (NATDEPFILES): Likewise. | |
618 | * config/i386/i386v42mp.mh (NATDEPFILES): Likewise. | |
619 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
620 | * config/i386/nbsd.mh (NATDEPFILES): Likewise. | |
621 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
622 | * config/i386/obsd.mh (NATDEPFILES): Likewise. | |
623 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
624 | ||
1aee598a JT |
625 | 2002-05-11 Jason Thorpe <[email protected]> |
626 | ||
627 | * Makefile.in (ALLDEPFILES): Remove alphanbsd-nat.c. | |
628 | (alphanbsd-nat.o): Remove dependency list. | |
629 | (alphanbsd-tdep.o): Add $(regcache_h) to dependency list. | |
630 | * alphanbsd-nat.c: Delete. Contents moved to... | |
631 | * alphanbsd-tdep.c: ...here. | |
632 | (_initialize_alphanbsd_tdep): Register core functions. | |
633 | * config/alpha/nbsd.mh (NATDEPFILES): Remove alphanbsd-nat.o. | |
634 | ||
12bcb0fe JT |
635 | 2002-05-11 Jason Thorpe <[email protected]> |
636 | ||
637 | * Makefile.in (ALLDEPFILES): Add alphabsd-tdep.c. | |
638 | (alphabsd-nat.o): Depend on alphabsd-tdep.h. | |
639 | (alphanbsd-nat.o): Likewise. | |
640 | (alphabsd-tdep.o): New dependency list. | |
641 | * alphabsd-nat.c (supply_gregset): Use alphabsd_supply_reg. | |
642 | (fill_gregset): Use alphabsd_fill_reg. | |
643 | (supply_fpregset): Use alphabsd_supply_fpreg. | |
644 | (fill_fpregset): Use alphabsd_fill_fpreg. | |
645 | (fetch_inferior_registers): Use struct reg and struct fpreg | |
646 | rather than gregset_t and fpregset_t. Use alphabsd_supply_reg | |
647 | and alphabsd_supply_fpreg. | |
648 | (store_inferior_registers): Use struct reg and struct fpreg | |
649 | rather than gregset_t and fpregset_t. Use alphabsd_fill_reg | |
650 | and alphabsd_fill_fpreg. | |
651 | * alphabsd-tdep.c: New file. | |
652 | * alphabsd-tdep.h: New file. | |
653 | * alphanbsd-nat.c (fetch_core_registers): Use alphabsd_supply_fpreg. | |
654 | (fetch_elfcore_registers): Use alphabsd_supply_reg and | |
655 | alphabsd_supply_fpreg. | |
656 | * config/alpha/fbsd.mt (TDEPFILES): Add alphabsd-tdep.o. | |
657 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
658 | ||
361d1df0 EC |
659 | 2002-05-11 Eric Christopher <[email protected]> |
660 | ||
661 | * mips-tdep.c (mips_double_register_type): Fix thinko. | |
662 | (mips_single_register_type): Ditto. | |
663 | * MAINTAINERS: Add self. | |
664 | ||
92dd7cee MK |
665 | 2002-05-11 Mark Kettenis <[email protected]> |
666 | ||
667 | * i387-nat.c (i387_supply_register, i387_fill_fsave, | |
668 | i387_supply_fxsave, i387_fill_fxsave): Rewrite in order to do the | |
669 | right thing on architectures with different endianness and/or | |
670 | integer sizes. | |
671 | ||
e27da16d JT |
672 | 2002-05-10 Jason Thorpe <[email protected]> |
673 | ||
674 | From Christian Limpach <[email protected]> | |
675 | * configure.in: Change sed expression which comments out | |
676 | NATDEPFILES to also comment out continuation lines. | |
677 | * configure: Regenerate. | |
678 | ||
ddde02bd EZ |
679 | 2002-05-10 Elena Zannoni <[email protected]> |
680 | ||
681 | * sh-tdep.c: Clean up code erroneously reintroduced by previous | |
682 | big patch. | |
683 | ||
1c922164 EZ |
684 | 2002-05-10 Elena Zannoni <[email protected]> |
685 | ||
686 | * sh-tdep.c: Include correct file. | |
687 | ||
283150cd EZ |
688 | 2002-05-10 Elena Zannoni <[email protected]> |
689 | ||
690 | New support for sh64-elf (sh5) target. | |
691 | ||
692 | * configure.tgt: For sh64-elf target, default to sh-elf. | |
693 | ||
694 | * config/sh/tm-sh.h (enum sh-abi): Possible ABI's. | |
695 | (struct gdbarch_tdep): Add new fields for new registers and ABI | |
696 | info. | |
361d1df0 | 697 | |
283150cd EZ |
698 | * sh-tdep.c: Include elf-bfd.h, elf/sh.h, gdb/sim-sh.h. |
699 | (NUM_PSEUDO_REGS_SH_MEDIA, NUM_PSEUDO_REGS_SH_COMPACT, | |
700 | MSYMBOL_IS_SPECIAL, IS_ISA32_ADDR, MAKE_ISA32_ADDR, | |
701 | UNMAKE_ISA32_ADDR, IS_PTABSL_R18, IS_STS_R0, IS_STS_PR, | |
702 | IS_MOV_TO_R15, IS_MOV_R14, IS_STQ_R18_R14, IS_STQ_R18_R15, | |
703 | IS_STL_R18_R15, IS_STQ_R14_R15, IS_STL_R14_R15, IS_ADDIL_SP_MEDIA, | |
704 | IS_ADDI_SP_MEDIA, IS_ADDL_SP_FP_MEDIA, IS_ADD_SP_FP_MEDIA, | |
705 | IS_MOV_SP_FP_MEDIA, IS_MOV_R0, IS_MOVL_R0, IS_ADD_SP_R0, | |
706 | IS_MOV_R14_R0, IS_MEDIA_IND_ARG_MOV, IS_MEDIA_ARG_MOV, | |
707 | IS_MEDIA_MOV_TO_R14, IS_COMPACT_IND_ARG_MOV, IS_COMPACT_ARG_MOV, | |
708 | IS_COMPACT_MOV_TO_R14, IS_JSR_R0, IS_NOP): New macros. | |
709 | (sh_sh64_register_name, sh64_elf_make_msymbol_special, | |
710 | pc_is_isa32, sh_sh64_breakpoint_from_pc, look_for_args_moves, | |
711 | sh64_skip_prologue_hard_way, sh64_use_struct_convention, | |
712 | gdb_print_insn_sh64, translate_insn_rn, sh64_frame_chain, | |
713 | sh64_get_saved_pr, fpp_reg_base_num, is_media_pseudo, | |
714 | sh64_get_gdb_regnum, sh64_media_reg_base_num, | |
715 | sh64_compact_reg_base_num, translate_rn_to_arch_reg_num, | |
716 | sign_extend, sh64_nofp_frame_init_saved_regs, | |
717 | sh64_init_extra_frame_info, sh64_get_saved_register, | |
718 | sh64_extract_struct_value_address, sh64_pop_frame, | |
719 | sh64_push_arguments, sh64_extract_return_value, | |
720 | sh64_store_return_value, sh64_show_media_regs, | |
721 | sh64_show_compact_regs, sh64_show_regs, sh_sh64_register_byte, | |
722 | sh_sh64_register_raw_size, sh_sh64_register_virtual_size, | |
723 | sh_sh64_register_virtual_type, | |
724 | sh_sh64_register_convert_to_virtual, | |
725 | sh_sh64_register_convert_to_raw, sh64_pseudo_register_read, | |
726 | sh64_register_read, sh64_pseudo_register_write, | |
727 | sh64_register_write, do_fv_c_register_info, do_dr_c_register_info, | |
728 | do_r_c_register_info, do_fpp_register_info, do_cr_c_register_info, | |
729 | sh64_do_pseudo_register, sh_compact_do_registers_info, | |
730 | sh64_do_registers_info, sh_gdbarch_init): New functions. | |
731 | ||
3117ed25 EZ |
732 | 2002-05-10 Elena Zannoni <[email protected]> |
733 | ||
734 | * sh-tdep.c (sh_breakpoint_from_pc): Add 'const' to return type. | |
735 | ||
2654e6d4 DJ |
736 | 2002-05-10 Daniel Jacobowitz <[email protected]> |
737 | ||
738 | * linespec.c (decode_line_1): Check for a double quote after | |
739 | a filename correctly. | |
740 | ||
9ab3e532 JB |
741 | 2002-05-10 Jim Blandy <[email protected]> |
742 | ||
743 | Properly track the size of the current objfile's .debug_line section. | |
744 | * dwarf2read.c (struct dwarf2_pinfo): New member: dwarf_line_size. | |
745 | (DWARF_LINE_SIZE): New macro. | |
746 | (dwarf2_build_psymtabs_hard): Record the line section's size in | |
747 | the partial symbol table. | |
748 | (psymtab_to_symtab_1): Restore dwarf_line_size from the partial | |
749 | symbol table. | |
750 | ||
126fa72d PS |
751 | 2002-05-10 Petr Sorfa <[email protected]> |
752 | ||
753 | * ia64-tdep.c: Handle breakpoints on L instruction type | |
754 | in MLX instruction bundle by moving the breakpoint to | |
755 | the third slot (X instruction type) as L holds only data. | |
756 | ||
1f077a3e KB |
757 | 2002-05-10 Kevin Buettner <[email protected]> |
758 | ||
759 | * dbxread.c (discarding_local_symbols_complaint): New complaint. | |
760 | (process_one_symbol): Complain about discarding local symbols | |
761 | due to a misplaced N_LBRAC entry. | |
762 | ||
8120c9d5 | 763 | 2002-05-09 Elena Zannoni <[email protected]> |
361d1df0 EC |
764 | |
765 | From Daniel Berlin <[email protected]> | |
8120c9d5 EZ |
766 | * linespec.c (find_toplevel_char): '<' and '>' also increase and |
767 | decrease the depth we are at, in the case of templates. | |
361d1df0 | 768 | |
67b2c998 DJ |
769 | 2002-05-09 Daniel Jacobowitz <[email protected]> |
770 | ||
771 | * mips-tdep.c (mips_float_register_type): New function. | |
772 | (mips_double_register_type): New function. | |
773 | (mips_print_register): Use them. | |
774 | (do_fp_register_row): Likewise. | |
775 | ||
fd326606 DJ |
776 | 2002-05-09 Daniel Jacobowitz <[email protected]> |
777 | ||
6609d9af | 778 | * signals/signals.c (signals): Remove conditional compilation around |
fd326606 | 779 | Mach-specific signals. Move them to after TARGET_SIGNAL_DEFAULT. |
6609d9af | 780 | (target_signal_from_name): Loop until TARGET_SIGNAL_LAST. |
fd326606 | 781 | |
bef35864 MS |
782 | 2002-05-09 Michael Snyder <[email protected]> |
783 | ||
784 | * remote-rdp.c (remote_rdp_can_run): Remove. | |
785 | ||
c55a3f73 TT |
786 | 2002-05-09 Tom Tromey <[email protected]> |
787 | ||
788 | * jv-valprint.c (java_val_print): Handle `char' as a special case | |
789 | of TYPE_CODE_INT. | |
790 | ||
b8d5e71d MS |
791 | 2002-05-09 Michael Snyder <[email protected]> |
792 | ||
793 | * arm-tdep.c (arm_scan_prologue): Accept strb r(0123),[r11,#-nn], | |
794 | strh r(0123),[r11,#-nn], str r(0123),[r11,#-nn], as well as | |
361d1df0 | 795 | strb r(0123),[sp,#nn], strh r(0123),[sp,#nn] and |
b8d5e71d | 796 | str r(0123),[sp,#nn]. |
361d1df0 | 797 | (arm_skip_prologue): Ditto. Also make disassembly |
b8d5e71d MS |
798 | order-independent by placing it in a loop. |
799 | ||
e2cd42dd MS |
800 | 2002-05-06 Michael Snyder <[email protected]> |
801 | ||
802 | * stabsread.c (read_type): Add recognition for new attribute: | |
803 | "@V;" means that an array type is actually a vector. | |
804 | This is analogous to the vector flag that's been added to dwarf2. | |
805 | ||
3ce1502b MK |
806 | 2002-05-09 Mark Kettenis <[email protected]> |
807 | ||
808 | * i386-tdep.h (i386_abi): New enum. | |
809 | (struct gdbarch_tdep): Replace os_ident member with abi. | |
810 | (i386_gdbarch_register_os_abi): New prototype. | |
811 | * i386-tdep.c (i386_abi_names): New array. | |
812 | (process_note_abi_tag_sections): Removed. | |
813 | (process_note_sections): New function. | |
814 | (i386_elf_abi_from_note, i386_elf_abi): New functions. | |
815 | (struct i386_abi_handler): New struct. | |
816 | (i386_abi_handler_list): New variable. | |
817 | (i386_gdbarch_register_os_abi): New function. | |
818 | (i386_gdbarch_init): Adapt for the changes given above. | |
819 | ||
084c156a DJ |
820 | 2002-05-08 Daniel Jacobowitz <[email protected]> |
821 | ||
822 | * gregset.h: Say "GNU/Linux". | |
823 | ||
6599f021 EZ |
824 | 2002-05-08 Elena Zannoni <[email protected]> |
825 | ||
826 | * gdbtypes.c : Add new builtin type for 64 bit vectors. | |
827 | (build_gdbtypes): Build builtin_type_v2_float. | |
828 | (_initialize_gdbtypes): Register new builtin type. | |
829 | ||
40af4b0c AC |
830 | 2002-05-08 Andrew Cagney <[email protected]> |
831 | ||
832 | * gdbarch.sh (init_gdbarch_swap): Do not clear the swap section. | |
833 | (clear_gdbarch_swap): New function. | |
834 | (initialize_non_multiarch): Call. | |
835 | (gdbarch_update_p): Before calling init(), swap out and clear the | |
836 | existing architecture. | |
837 | * gdbarch.c: Regenerate. | |
838 | ||
4fe84f46 JT |
839 | 2002-05-08 Jason Thorpe <[email protected]> |
840 | ||
841 | * config/djgpp/fnchange.lst: Add alphanbsd-nat.c and | |
842 | alphanbsd-tdep.c. | |
843 | ||
4015edd1 JT |
844 | 2002-05-08 Jason Thorpe <[email protected]> |
845 | ||
846 | * sh-nbsd-nat.c: Rename to... | |
847 | * shnbsd-nat.c: ...this. | |
848 | * sh-nbsd-tdep.c: Rename to... | |
849 | * shnbsd-tdep.c: ...this. | |
850 | * sh-nbsd-tdep.h: Rename to... | |
851 | * shnbsd-tdep.h: ...this. | |
852 | * config/sh/nbsd.mh: Use shnbsd-nat.o. | |
853 | * config/sh/nbsd.mt: Use shnbsd-tdep.o. | |
854 | ||
0e2bd219 RE |
855 | 2002-05-08 Richard Earnshaw <[email protected]> |
856 | ||
857 | * remote-rdi.c (_initializie_remote_rdi): Use ANSI-style string | |
858 | concatenation for command help messages. | |
859 | ||
13a38d45 JT |
860 | 2002-05-08 Jason Thorpe <[email protected]> |
861 | ||
862 | * NEWS: Note new sh*-*-netbsdelf* configuration. | |
863 | * configure.host: Set gdb_host_cpu to sh for all sh*. | |
864 | (sh*-*-netbsdelf*): New host. | |
865 | * configure.tgt: Set gdb_target_cpu to sh for all sh*. | |
866 | (sh*-*-netbsdelf*): New target. | |
867 | * sh-nbsd-nat.c: New file. | |
868 | * sh-nbsd-tdep.c: New file. | |
869 | * sh-nbsd-tdep.h: New file. | |
870 | * config/sh/nbsd.mh: New file. | |
871 | * config/sh/nbsd.mt: New file. | |
872 | * config/sh/nm-nbsd.h: New file. | |
873 | * config/sh/tm-nbsd.h: New file. | |
874 | ||
d658f924 JT |
875 | 2002-05-08 Jason Thorpe <[email protected]> |
876 | ||
877 | * sh-tdep.c (sh_osabi_names): Declare. | |
878 | (process_note_abi_tag_sections): New function. | |
879 | (get_elfosabi): Ditto. | |
880 | (sh_gdbarch_register_os_abi): Ditto. | |
881 | (sh_dump_tdep): Ditto. | |
882 | _initialize_sh_tdep): Use gdbarch_register to register | |
883 | sh_gdbarch_init and sh_dump_tdep. | |
884 | * config/sh/tm-sh.h (sh_osabi): Declare. | |
885 | (gdbarch_tdep): Add sh_osabi and osabi_name members. | |
886 | ||
848cfffb AC |
887 | 2002-05-07 Andrew Cagney <[email protected]> |
888 | ||
889 | * arm-tdep.c (arm_skip_prologue): Handle generic dummy frames. | |
890 | (thumb_scan_prologue): Ditto. | |
891 | (arm_find_callers_reg): Ditto. | |
892 | (arm_frame_chain): Ditto. | |
893 | (arm_init_extra_frame_info): Ditto. | |
894 | (arm_frame_saved_pc): Ditto. | |
895 | (arm_pop_frame): Ditto. | |
896 | (arm_push_return_address): New function. | |
897 | (arm_gdbarch_init): Initialize use_generic_dummy_frames, | |
898 | call_dummy_location, call_dummy_breakpoint_offset_p, | |
899 | call_dummy_breakpoint_offset, call_dummy_p, | |
900 | call_dummy_stack_adjust_p, call_dummy_words, | |
901 | sizeof_call_dummy_words, call_dummy_start_offset, | |
902 | call_dummy_length, fix_call_dummy, pc_in_call_dummy, | |
903 | call_dummy_address, push_return_address and push_dummy_frame for | |
904 | generic dummy frames. | |
905 | ||
e7d717c0 JT |
906 | 2002-05-07 Jason Thorpe <[email protected]> |
907 | ||
908 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Fix error in | |
909 | size computation for alloca. | |
910 | (sh_fp_frame_init_saved_regs): Likewise. | |
911 | ||
7bbcf283 RE |
912 | 2002-05-07 Richard Earnshaw <[email protected]> |
913 | ||
914 | * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE): Define. | |
915 | (ARM_MAX_REGISTER_VIRTUAL_SIZE): Define. | |
361d1df0 | 916 | * arm-tdep.c (arm_store_return_value): Use them. |
7bbcf283 RE |
917 | Use FP_REGISTER_RAW_SIZE when setting the FPA return value. |
918 | * remote-rdp.c (remote_rdp_fetch_register): Use | |
919 | ARM_MAX_REGISTER_RAW_SIZE. | |
920 | (remote_rdp_store_register): Likewise. | |
921 | ||
4657573b ML |
922 | 2002-05-07 Michal Ludvig <[email protected]> |
923 | ||
361d1df0 | 924 | * dwarf2cfi.c: Code cleanup, removed unused variables, |
4657573b ML |
925 | added default labels to switch {} statements. |
926 | * x86-64-tdep.c: Ditto. | |
927 | * x86-64-linux-nat.c: Ditto. | |
928 | ||
010f3b2f JT |
929 | 2002-05-07 Jason Thorpe <[email protected]> |
930 | ||
931 | * solib.h: Protect against multiple inclusion. | |
932 | ||
debd256d JB |
933 | 2002-05-06 Jim Blandy <[email protected]> |
934 | ||
9ab3e532 JB |
935 | Add first preprocessor macro-expansion files. |
936 | * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. | |
937 | * Makefile.in (SFILES): Add macrotab.c, macroexp.c. | |
938 | (splay_tree_h, macroexp_h, macrotab_h): New variable. | |
939 | (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. | |
940 | (COMMON_OBS): Add macrotab.o, macroexp.o. | |
941 | (macroexp.o, macrotab.o): New rules. | |
942 | ||
debd256d JB |
943 | Separate the job of reading the line number info statement program |
944 | header (...expialidocious) out into its own function. | |
945 | * dwarf2read.c (struct line_head, struct filenames, struct | |
946 | directories): Replace with... | |
947 | (struct line_header): New structure, containing the full | |
948 | contents of the statement program header, including the | |
949 | include directory and file name tables. | |
950 | (read_file_scope): If we have line number info, instead of just | |
951 | calling dwarf_decode_lines to do all the work, call | |
952 | dwarf_decode_line_header first to get a `struct line_header' | |
953 | containing the data in the statement program header, and then | |
954 | pass that to dwarf_decode_lines, which will pick up where that | |
955 | left off. Be sure to clean up the `struct line_header' object. | |
956 | (dwarf_decode_line_header, free_line_header, add_include_dir, | |
957 | add_file_name): New functions. | |
958 | (dwarf_decode_lines): Move all the code to read the statement | |
959 | program header into dwarf_decode_line_header. Take the line | |
960 | header it built as the first argument, instead of the offset to | |
961 | the compilation unit's line number info. Use the new `struct | |
962 | line_header' type instead of the old structures. No need to do | |
963 | cleanups here now, since we don't allocate anything. | |
964 | (dwarf2_statement_list_fits_in_line_number_section, | |
965 | dwarf2_line_header_too_long): New complaints. | |
966 | ||
ac3aafc7 EZ |
967 | 2002-05-06 Elena Zannoni <[email protected]> |
968 | ||
969 | * gdbtypes.c (init_vector_type): New function. | |
970 | (build_builtin_type_vec128): Simplify the representation of SIMD | |
971 | registers. | |
972 | (build_gdbtypes): Initialize new builtin vector types. | |
973 | (_initialize_gdbtypes): Register new vector types with gdbarch. | |
974 | (builtin_type_v4_float, builtin_type_v4_int32, | |
975 | builtin_type_v8_int16, builtin_type_v16_int8, | |
976 | builtin_type_v2_int32, builtin_type_v4_int16, | |
977 | builtin_type_v8_int8): New (renamed) SIMD types. | |
978 | ||
13e49980 MK |
979 | 2002-05-06 Mark Kettenis <[email protected]> |
980 | ||
981 | * i387-nat.c (i387_fill_fsave): Use regcache_collect. | |
982 | (i387_fill_fxsave): Likewise. | |
983 | ||
997b20b8 AO |
984 | 2002-05-05 Alexandre Oliva <[email protected]> |
985 | ||
986 | * alpha-tdep.c (alpha_extract_return_value): Don't use | |
987 | non-constant array size in prototype. | |
988 | ||
535c96ce AC |
989 | 2002-05-04 Andrew Cagney <[email protected]> |
990 | ||
991 | From Brian Taylor <briant at model dot com>: | |
992 | * ui-out.c (ui_out_field_core_addr): Use the function | |
993 | longest_local_hex_string_custom'to format addresses > 32 bits | |
994 | wide. | |
995 | ||
996 | * ui-out.c (ui_out_field_core_addr): Update comment. | |
997 | ||
bedfa57b AC |
998 | 2002-05-04 Andrew Cagney <[email protected]> |
999 | ||
1000 | * stack.c (select_and_print_frame): Make static. Delete the | |
1001 | parameter `level'. | |
1002 | (func_command): Update call. | |
1003 | (select_frame_command): Delete code computing the frame level. | |
1004 | * frame.h (select_and_print_frame): Delete declaration. | |
1005 | ||
f621c63e AC |
1006 | 2002-05-04 Andrew Cagney <[email protected]> |
1007 | ||
1008 | * sparc-tdep.c (sparc_get_saved_register): Comment why | |
1009 | get_prev_frame call is safe. | |
1010 | ||
0f7d239c AC |
1011 | 2002-05-04 Andrew Cagney <[email protected]> |
1012 | ||
1013 | * frame.h (select_frame): Delete level parameter. | |
1014 | * stack.c (select_frame): Update. Use frame_relative_level to | |
1015 | obtain the frame's level. | |
1016 | (select_and_print_frame): Update call. | |
1017 | (select_frame_command): Ditto. | |
1018 | (up_silently_base): Ditto. | |
1019 | (down_silently_base): Ditto. | |
1020 | * ocd.c (ocd_start_remote): Ditto. | |
1021 | * remote-rdp.c (remote_rdp_open): Ditto. | |
1022 | * remote-mips.c (mips_initialize): Ditto. | |
1023 | (common_open): Ditto. | |
1024 | * remote-e7000.c (e7000_start_remote): Ditto. | |
1025 | * m3-nat.c (select_thread): Ditto. | |
1026 | * hppa-tdep.c (child_get_current_exception_event): Ditto. | |
1027 | (child_get_current_exception_event): Ditto. | |
1028 | * varobj.c (varobj_create): Ditto. | |
1029 | (varobj_update): Ditto. | |
1030 | (c_value_of_root): Ditto. | |
1031 | * tracepoint.c (finish_tfind_command): Ditto. | |
1032 | * corelow.c (core_open): Ditto. | |
1033 | * arch-utils.c (generic_prepare_to_proceed): Ditto. | |
1034 | * thread.c (info_threads_command): Ditto. | |
1035 | (switch_to_thread): Ditto. | |
1036 | * infrun.c (normal_stop): Ditto. | |
1037 | (restore_selected_frame): Ditto. | |
1038 | (restore_inferior_status): Ditto. | |
1039 | * breakpoint.c (insert_breakpoints): Ditto. | |
1040 | (watchpoint_check): Ditto. | |
1041 | (bpstat_stop_status): Ditto. | |
1042 | (do_enable_breakpoint): Ditto. | |
1043 | * blockframe.c (flush_cached_frames): Ditto. | |
1044 | (reinit_frame_cache): Ditto. | |
1045 | ||
71d6c7b1 AC |
1046 | 2002-05-04 Andrew Cagney <[email protected]> |
1047 | ||
1048 | * MAINTAINERS (Host/Native): Add Jason Thorpe as NetBSD | |
1049 | maintainer. | |
1050 | ||
cda6c68a JB |
1051 | 2002-05-04 Jim Blandy <[email protected]> |
1052 | ||
1053 | * gdbtypes.c (replace_type): Doc fix. | |
1054 | ||
5c1c87f0 AC |
1055 | 2002-05-04 Andrew Cagney <[email protected]> |
1056 | ||
1057 | * valprint.c (strcat_longest): Delete commented out function. | |
1058 | Update copyright. | |
1059 | ||
cd9bfe15 AC |
1060 | 2002-05-04 Andrew Cagney <[email protected]> |
1061 | ||
1062 | * MAINTAINERS: Mark a29k as deleted. | |
1063 | * NEWS: Mention that a29k was removed. Add OBSOLETE section. | |
1064 | Move new configurations to the top. | |
1065 | * configure.tgt: Remove a29k. | |
1066 | * config/a29k/tm-vx29k.h: Delete. | |
1067 | * config/a29k/vx29k.mt: Delete. | |
1068 | * config/a29k/tm-a29k.h: Delete. | |
1069 | * config/a29k/a29k-udi.mt: Delete. | |
1070 | * config/a29k/a29k.mt: Delete. | |
1071 | * a29k-tdep.c: Delete. | |
1072 | * remote-udi.c: Delete. | |
1073 | * remote-mm.c: Delete. | |
1074 | * remote-eb.c: Delete. | |
1075 | * remote-adapt.c: Delete. | |
1076 | * Makefile.in: Remove obsolete code. | |
1077 | * gdbserver/Makefile.in: Ditto. | |
1078 | * config/s390/s390x.mt: Ditto. | |
1079 | * config/s390/s390.mt: Ditto. | |
1080 | * config/sparc/sparclynx.mh: Ditto. | |
1081 | * config/sparc/linux.mh: Ditto. | |
1082 | * config/pa/hppaosf.mh: Ditto. | |
1083 | * config/pa/hppabsd.mh: Ditto. | |
1084 | * config/ns32k/nbsd.mt: Ditto. | |
1085 | * config/mips/vr5000.mt: Ditto. | |
1086 | * config/m68k/sun3os4.mh: Ditto. | |
1087 | * config/m68k/nbsd.mt: Ditto. | |
1088 | * config/m68k/m68klynx.mh: Ditto. | |
1089 | * config/m32r/m32r.mt: Ditto. | |
1090 | * config/i386/x86-64linux.mt: Ditto. | |
1091 | * config/i386/nbsdelf.mt: Ditto. | |
1092 | * config/i386/nbsd.mt: Ditto. | |
1093 | * config/i386/i386lynx.mh: Ditto. | |
1094 | ||
bf0c5130 AC |
1095 | 2002-05-04 Andrew Cagney <[email protected]> |
1096 | ||
1097 | * target.c (debug_print_register): New function. Handle oversize | |
1098 | registers. | |
1099 | (debug_to_fetch_registers): Call. | |
1100 | (debug_to_store_registers): Call. | |
1101 | ||
2ae1c2d2 JB |
1102 | 2002-05-03 Jim Blandy <[email protected]> |
1103 | ||
13a393b0 JB |
1104 | * stabsread.c (cleanup_undefined_types): Use replace_type, not memcpy. |
1105 | (read_type): Doc fix. | |
1106 | * gdbtypes.c (replace_type): Doc fix. | |
1107 | ||
2ae1c2d2 JB |
1108 | * stabsread.c (multiply_defined_struct): New complaint. |
1109 | (read_struct_type): If the type we were passed isn't empty, or | |
1110 | incomplete, don't read the new struct type into it; complain, | |
1111 | and return the original type unchanged. Take a new `type_code' | |
1112 | argument, which is the type code for the new type. | |
1113 | (read_type): Rather than storing the type's type code here, pass | |
1114 | it as an argument to read_struct_type, and let that take care of | |
1115 | storing it. That way, we don't overwrite the original type code, | |
1116 | so read_struct_type can use it to decide whether we're overwriting | |
1117 | something we shouldn't. | |
1118 | (complain_about_struct_wipeout): New function. | |
1119 | ||
8de9bdc4 AC |
1120 | 2002-05-03 Andrew Cagney <[email protected]> |
1121 | ||
1122 | * gdbarch.sh: Assert that gdbarch is non-NULL. | |
1123 | * gdbarch.c: Regenerate. | |
1124 | ||
f773fdbb JM |
1125 | 2002-05-03 Jason Merrill <[email protected]> |
1126 | ||
1127 | * gnu-v3-abi.c (gnuv3_rtti_type): If we get confused, just warn | |
1128 | and return NULL. | |
1129 | ||
0e04a514 ML |
1130 | 2002-05-03 Michal Ludvig <[email protected]> |
1131 | ||
1132 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map), | |
1133 | (x86_64_dwarf2gdb_regno_map_length), | |
1134 | (x86_64_dwarf2_reg_to_regnum): Added. | |
1135 | (x86_64_gdbarch_init): Added registration of x86_64_dwarf2_reg_to_regnum. | |
1136 | (x86_64_gdbarch_init): Renamed from i386_gdbarch_init. | |
1137 | (_initialize_x86_64_tdep): Synced with the change above. | |
1138 | (x86_64_skip_prologue): Reformulated message. | |
1139 | ||
065432a8 PM |
1140 | 2002-05-03 Pierre Muller <[email protected]> |
1141 | ||
1142 | * f-exp.y: Also use new prev_lexptr variable | |
1143 | to improve error reporting. Based on Michael Snyder | |
1144 | 2002-04-24 dated patch to c-exp.y. | |
1145 | * jv-exp.y: Likewise. | |
1146 | * m2-exp.y: Likewise. | |
1147 | ||
a3162708 EZ |
1148 | 2002-05-02 Elena Zannoni <[email protected]> |
1149 | ||
1150 | * valops.c (value_arg_coerce): Don't coerce arrays to pointers if | |
1151 | we are dealing with vectors. | |
1152 | ||
03620c38 PM |
1153 | 2002-05-02 Pierre Muller <[email protected]> |
1154 | ||
1155 | * config/m68k/tm-nbsd.h: Obvious fix, | |
1156 | correct machine name. | |
1157 | ||
6604db2e PM |
1158 | 2002-05-02 Pierre Muller <[email protected]> |
1159 | ||
1160 | * p-typeprint.c (pascal_type_print_base): Add support | |
1161 | for TYPE_CODE_STRING and TYPE_CODE_BITSTRING. | |
1162 | ||
0906b739 PM |
1163 | 2002-05-02 Pierre Muller <[email protected]> |
1164 | ||
1165 | * p-lang.c (pascal_create_fundamental_type): Use TYPE_CODE_CHAR | |
1166 | for fondamental pascal 'char' type. | |
1167 | ||
e2625b33 PM |
1168 | 2002-05-02 Pierre Muller <[email protected]> |
1169 | ||
1170 | * p-lang.h (is_pascal_string_type): Declaration changed, | |
1171 | new sixth argument of type char ** added. | |
361d1df0 | 1172 | * p-lang.c (is_pascal_string_type): Implementation |
e2625b33 PM |
1173 | changed. Args length_pos, length_size, string_pos, char_size |
1174 | can now be NULL. New argument arrayname set to the field | |
1175 | name of the char array. Return value set to char array | |
1176 | field index plus one. | |
361d1df0 | 1177 | * p-valprint.c (pascal_val_print): Adapt to new declaration of |
e2625b33 PM |
1178 | is_pascal_string_type function. |
1179 | ||
cf17c188 AC |
1180 | 2002-05-02 Andrew Cagney <[email protected]> |
1181 | ||
1182 | * gdbarch.sh (gdbarch_update_p): Revert 2002-05-02 Andrew Cagney | |
1183 | <[email protected]> change. | |
1184 | * gdbarch.c: Regenerate. | |
1185 | ||
52bca491 AC |
1186 | 2002-05-02 Andrew Cagney <[email protected]> |
1187 | ||
1188 | * gdbarch.sh (gdbarch_update_p): Swap out the old architecture | |
1189 | before probing for a new one. Detect errorenous gdbarch_init | |
1190 | functions. | |
1191 | * gdbarch.c: Regenerate. | |
1192 | ||
d5e72505 AC |
1193 | 2002-05-01 Andrew Cagney <[email protected]> |
1194 | ||
1195 | * config/mn10200/tm-mn10200.h: Include "symfile.h" and "symtab.h". | |
1196 | * config/mcore/tm-mcore.h: Ditto. Update copyright. | |
1197 | * config/v850/tm-v850.h: Ditto. Update copyright. | |
1198 | ||
af566d9f AC |
1199 | 2002-04-30 Andrew Cagney <[email protected]> |
1200 | ||
1201 | * cris-tdep.c (cris_gdbarch_init): Use arches instead of | |
1202 | current_gdbarch. | |
1203 | ||
880d85fa MS |
1204 | 2002-04-30 Michael Snyder <[email protected]> |
1205 | ||
94c30b78 MS |
1206 | * arm-tdep.c: Whitespace clean-ups. |
1207 | (arm_skip_prologue): Fix thinko; two lines | |
880d85fa MS |
1208 | should have been removed as part of 4/24 change. |
1209 | ||
6f5987a6 KB |
1210 | 2002-04-30 Kevin Buettner <[email protected]> |
1211 | ||
1212 | * rs6000-tdep.c: Added comment describing how fpscr register | |
1213 | numbers were chosen. | |
1214 | ||
1a113c93 MS |
1215 | 2002-04-30 Michael Snyder <[email protected]> |
1216 | ||
1217 | * gnu-nat.c (gnu_find_memory_regions): Fix merge botch. | |
1218 | ||
9a6f53fe EZ |
1219 | 2002-04-29 Elena Zannoni <[email protected]> |
1220 | ||
1221 | * hpread.c (DNTT_TYPE_VECTOR): Rename from TYPE_VECTOR. | |
1222 | (DNTT_TYPE_VECTOR_LENGTH): Rename from TYPE_VECTOR_LENGTH. | |
1223 | (hpread_symfile_init, hpread_lookup_type): Substitute throughout. | |
1224 | ||
11ed25ac KB |
1225 | 2002-04-29 Kevin Buettner <[email protected]> |
1226 | ||
1227 | From Louis Hamilton <[email protected]>: | |
1228 | * rs6000-tdep.c (coff/xcoff.h, libxcoff.h): Include. | |
1229 | * xcoffread.c (coff/xcoff.h, libxcoff.h): Likewise. | |
1230 | * rs6000-tdep.c (rs6000_gdbarch_init): Use bfd_xcoff_is_xcoff64(), | |
1231 | not bfd-private xcoff data, to determine wordsize. | |
1232 | * xcoffread.c (read_xcoff_xymtab, read_symbol_lineno): Likewise. | |
1233 | ||
ae232405 AC |
1234 | 2002-04-29 Andrew Cagney <[email protected]> |
1235 | ||
1236 | GDB 5.2 released from 5.2 branch. | |
1237 | ||
91fd20f7 ML |
1238 | 2002-04-29 Michal Ludvig <[email protected]> |
1239 | ||
1240 | * x86-64-linux-nat.c (fill_gregset): Explicit cast to avoid warning. | |
1241 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
1242 | (x86_64_register_info_table): Added comments with register numbers. | |
361d1df0 | 1243 | |
2dc5091b EZ |
1244 | 2002-04-29 Elena Zannoni <[email protected]> |
1245 | ||
1246 | * rs6000-tdep.c (rs6000_extract_return_value, | |
1247 | rs6000_store_return_value): Handle returning vectors. | |
1248 | (rs6000_gdbarch_init): Use | |
1249 | ppc_sysv_abi_broken_use_struct_convention for native sysv cases. | |
1250 | * ppc-linux-tdep.c (ppc_sysv_abi_broken_use_struct_convention): | |
1251 | New function. | |
1252 | (ppc_sysv_abi_use_struct_convention): Deal with functions returning | |
1253 | vectors. | |
1254 | (ppc_sysv_abi_push_arguments): Handle vector parameters. | |
1255 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Export. | |
361d1df0 | 1256 | |
2b9848d8 PM |
1257 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
1258 | ||
1259 | * hpread.c (hpread_psymtab_to_symtab_1, | |
1260 | hpread_psymtab_to_symtab): Replace fprintf (stderr,...) | |
1261 | with fprintf_unfiltered (gdb_stderr,...). | |
1262 | ||
f8d17dc5 PM |
1263 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
1264 | ||
1265 | * remote-array.c (printf_monitor, write_monitor, | |
361d1df0 | 1266 | array_insert_breakpoint, array_remove_breakpoint ): |
f8d17dc5 PM |
1267 | Replace fprintf (stderr,... |
1268 | with fprintf_unfiltered (gdb_stderr,.... | |
1269 | * remote-es.c: Likewise. | |
1270 | * remote-os9k.c: Likewise. | |
1271 | * remote-st.c: Likewise. | |
1272 | ||
2f2f1ad1 AS |
1273 | 2002-04-28 Andreas Schwab <[email protected]> |
1274 | ||
1275 | * config/s390/s390.mh (NATDEPFILES): Remove solib.o, add | |
1276 | linux-proc.o and gcore.o. | |
1277 | ||
b6779aa2 AC |
1278 | 2002-04-26 Michal Ludvig <[email protected]> |
1279 | ||
1280 | * x86-64-tdep.c (x86_64_skip_prologue): Print note when debugging | |
1281 | code without frame pointers. | |
1282 | ||
7e57f5f4 AC |
1283 | 2002-04-26 Andrew Cagney <[email protected]> |
1284 | ||
1285 | * sparc-tdep.c (sparc_gdbarch_init): Add comment explaining why | |
1286 | ON_STACK is needed. | |
1287 | ||
2ceb85d0 BE |
1288 | 2002-04-26 Ben Elliston <[email protected]> |
1289 | ||
1290 | * target.c (do_xfer_memory): Correct reference to the new option | |
1291 | "trust-readonly-sections". | |
1292 | ||
f5f8a009 EZ |
1293 | 2002-04-26 Elena Zannoni <[email protected]> |
1294 | ||
1295 | * gdbtypes.h (TYPE_FLAG_VECTOR, TYPE_VECTOR): Define. | |
1296 | * gdbtypes.c (recursive_dump_type): Output the vector flag. | |
1297 | * dwarf2read.c (dwarf_attr_name): Handle new attribute for | |
1298 | vectors. | |
1299 | (read_array_type): Record the fact that this array type is really a | |
1300 | vector (i.e. are passed in by value). | |
1301 | ||
5868c862 JT |
1302 | 2002-04-26 Jason Thorpe <[email protected]> |
1303 | ||
1304 | * alpha-tdep.h (gdbarch_tdep): Add sigcontext_addr member. | |
1305 | * alpha-tdep.c (alpha_sigcontext_addr): New function. | |
1306 | (alpha_find_saved_regs): Use alpha_sigcontext_addr. | |
1307 | (alpha_gdbarch_init): Initialize tdep->sigcontext_addr. | |
1308 | * alpha-linux-tdep.c: Include frame.h. | |
1309 | (alpha_linux_sigcontext_addr): New function. | |
1310 | (alpha_linux_init_abi): Set tdep->sigcontext_addr to | |
1311 | alpha_linux_sigcontext_addr. | |
1312 | * alpha-osf1-tdep.c: Include gdbcore.h. | |
1313 | (alpha_osf1_sigcontext_addr): New function. | |
1314 | (alpha_osf1_init_abi): Set tdep->sigcontext_addr to | |
1315 | alpha_osf1_sigcontext_addr. | |
1316 | * config/alpha/tm-alpha.h (SIGCONTEXT_ADDR): Remove. | |
1317 | * config/alpha/tm-alphalinux.h (SIGCONTEXT_ADDR): Remove. | |
1318 | ||
bfb01f37 AC |
1319 | 2002-04-26 Andrew Cagney <[email protected]> |
1320 | ||
361d1df0 | 1321 | * stack.c (selected_frame_level): |
bfb01f37 AC |
1322 | (select_frame): Do not set selected_frame_level. |
1323 | * frame.h (selected_frame_level): Delete declaration. | |
1324 | ||
15813d3f AC |
1325 | 2002-04-26 Andrew Cagney <[email protected]> |
1326 | ||
1327 | * rs6000-tdep.c (rs6000_gdbarch_init): Only set | |
1328 | convert_from_func_ptr-addr when AIX / PowerOpen. | |
1329 | ||
6096c27a AC |
1330 | 2002-04-25 Andrew Cagney <[email protected]> |
1331 | ||
1332 | * valops.c (hand_function_call): Call | |
1333 | generic_save_call_dummy_addr. | |
1334 | * frame.h (generic_save_call_dummy_addr): Declare. | |
1335 | * blockframe.c (struct dummy_frame): Add fields call_lo and | |
1336 | call_hi. | |
1337 | (generic_find_dummy_frame): Check for PC in range call_lo to | |
1338 | call_hi instead of entry_point_address. | |
1339 | (generic_pc_in_call_dummy): Search the dummy frames for a PC in | |
1340 | the call_lo to call_hi range. Allow for DECR_PC_AFTER_BREAK. | |
1341 | (generic_save_call_dummy_addr): New function. | |
1342 | ||
f510d44e DM |
1343 | 2002-04-24 David S. Miller <[email protected]> |
1344 | ||
1345 | * sparc-tdep.c (sparc_gdbarch_skip_prologue): Kill, duplicates | |
1346 | sparc_skip_prologue. | |
1347 | (sparc_skip_prologue): Kill frameless_p arg, and use line number | |
1348 | information to find prologue when possible. | |
1349 | (sparc_prologue_frameless_p): Call examine_prologue directly. | |
1350 | (sparc_gdbarch_init): Update set_gdbarch_skip_prologue call. | |
1351 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Update for killed | |
1352 | second argument. | |
1353 | (SKIP_PROLOGUE): Likewise. | |
1354 | ||
15d72a92 JT |
1355 | 2002-04-25 Jason Thorpe <[email protected]> |
1356 | ||
1357 | * alpha-tdep.c (alpha_skip_prologue_internal): Remove | |
1358 | GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to | |
1359 | indicate that the condition it was testing is always true. | |
1360 | * config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove. | |
1361 | * config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
1362 | * config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
1363 | ||
accc6d1f JT |
1364 | 2002-04-25 Jason Thorpe <[email protected]> |
1365 | ||
1366 | * alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members. | |
1367 | * alpha-linux-tdep.c (alpha_linux_init_abi): Initialize | |
1368 | tdep->jb_pc and tdep->jb_elt_size. | |
1369 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise. | |
1370 | * alphafbsd-tdep.c (alphafbsd_init_abi): Likewise. | |
1371 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
1372 | * alpha-nat.c (get_longjmp_target): Remove. | |
1373 | (JB_ELEMENT_SIZE): Ditto. | |
1374 | (JB_PC): Ditto. | |
1375 | * alpha-tdep.c (alpha_get_longjmp_target): New function. | |
1376 | (alpha_gdbarch_init): Default tdep->jb_pc to -1. If the | |
1377 | OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target | |
1378 | to alpha_get_longjmp_target. | |
1379 | (alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size. | |
1380 | * config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove. | |
1381 | * config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove. | |
1382 | ||
1bfdc549 AC |
1383 | 2002-04-25 Andrew Cagney <[email protected]> |
1384 | ||
1385 | * README: Update to GDB 5.2. | |
1386 | ||
1bd316f0 AC |
1387 | 2002-04-25 Andrew Cagney <[email protected]> |
1388 | ||
1389 | * gdbarch.sh (LC_ALL): Set to `c'. | |
1390 | ||
2e5ff58c TR |
1391 | 2002-04-25 Theodore A. Roth <[email protected]> |
1392 | ||
1393 | * avr-tdep.c: Ran through gdb_indent.sh. | |
1394 | ||
e33ce519 TR |
1395 | 2002-04-25 Theodore A. Roth <[email protected]> |
1396 | ||
1397 | * MAINTAINERS: Add myself as AVR maintainer. | |
1398 | * NEWS: Note new target avr. | |
1399 | ||
8818c391 TR |
1400 | 2002-04-25 Theodore A. Roth <[email protected]> |
1401 | ||
1402 | * Makefile.in: Add support for AVR target. | |
1403 | * configure.tgt: Add support for AVR target. | |
1404 | * avr-tdep.c: New file | |
1405 | * config/avr/avr.mt: New file. | |
1406 | ||
79509c2d TR |
1407 | 2002-04-25 Theodore A. Roth <[email protected]> |
1408 | ||
1409 | * MAINTAINERS: Add myself to write-after-approval. | |
1410 | ||
dac8068e PM |
1411 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
1412 | ||
1413 | * f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,... | |
1414 | with fprintf_unfiltered (gdb_stderr,.... | |
1415 | ||
25bf3106 PM |
1416 | 2002-04-25 Pierre Muller <[email protected]> |
1417 | ||
1418 | Fix PR gdb/508. | |
1419 | * symfile.c (add_filename_language): Fix wrong xrealloc size argument. | |
1420 | ||
24467a86 PM |
1421 | 2002-04-25 Pierre Muller <[email protected]> |
1422 | ||
1423 | * p-exp.y: Also use new prev_lexptr variable | |
1424 | to improve error reporting. Based on Michael Snyder | |
1425 | 2002-04-24 dated patch to c-exp.y. | |
1426 | ||
95b80706 JT |
1427 | 2002-04-25 Jason Thorpe <[email protected]> |
1428 | ||
1429 | * alpha-tdep.c (alpha_breakpoint_from_pc): New function. | |
1430 | (alpha_gdbarch_init): Set gdbarch_breakpoint_from_pc to | |
1431 | alpha_breakpoint_from_pc. Set gdbarch_function_start_offset | |
1432 | to 0. | |
1433 | * config/alpha/tm-alpha.h: Remove forward decls of struct type | |
1434 | and struct value. | |
1435 | (FUNCTION_START_OFFSET): Remove. | |
1436 | (BREAKPOINT): Ditto. | |
1437 | ||
e90cc612 JT |
1438 | 2002-04-25 Jason Thorpe <[email protected]> |
1439 | ||
1440 | * MAINTAINERS: Reflect that multi-arch is enabled for VAX. | |
1441 | * NEWS: Ditto. | |
1442 | ||
6c72f9f9 JT |
1443 | 2002-04-24 Jason Thorpe <[email protected]> |
1444 | ||
1445 | * alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function. | |
1446 | (alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to | |
1447 | alpha_linux_pc_in_sigtramp. | |
1448 | * alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function. | |
1449 | (alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to | |
1450 | alpha_osf1_pc_in_sigtramp. | |
1451 | * alpha-tdep.c (alpha_osf_in_sigtramp): Remove. | |
1452 | * alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function. | |
1453 | (alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
1454 | alphafbsd_pc_in_sigtramp. | |
1455 | * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function. | |
1456 | (alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
1457 | alphanbsd_pc_in_sigtramp. | |
1458 | * config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove. | |
1459 | * config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove. | |
1460 | ||
5e4f3379 JT |
1461 | 2002-04-24 Jason Thorpe <[email protected]> |
1462 | ||
1463 | * config/alpha/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. | |
1464 | ||
da8ca43d JT |
1465 | 2002-04-24 Jason Thorpe <[email protected]> |
1466 | ||
1467 | * Makefile.in (ALLDEPFILES): Add alphanbsd-nat.c and | |
1468 | alphanbsd-tdep.c. | |
1469 | (alphanbsd-nat.o): New dependency list. | |
1470 | (alphanbsd-tdep.o): Ditto. | |
1471 | * NEWS: Note new native NetBSD/alpha configuration. | |
1472 | * alphanbsd-nat.c: New file. | |
1473 | * alphanbsd-tdep.c: Ditto. | |
1474 | * configure.host (alpha*-*-netbsd*): New host. | |
1475 | * configure.tgt (alpha*-*-netbsd*): New target. | |
1476 | * config/alpha/nbsd.mh: New file. | |
1477 | * config/alpha/nbsd.mt: Ditto. | |
1478 | * config/alpha/nm-nbsd.h: Ditto. | |
1479 | * config/alpha/tm-nbsd.h: Ditto. | |
1480 | ||
36a6271d JT |
1481 | 2002-04-24 Jason Thorpe <[email protected]> |
1482 | ||
1483 | * Makefile.in (ALLDEPFILES): Add alpha-osf1-tdep.c. | |
1484 | (alpha-osf1-tdep.o): New dependency list. | |
1485 | * alpha-tdep.h (gdbarch_tdep): Add dynamic_sigtramp_offset | |
1486 | and skip_sigtramp_frame members. | |
1487 | * alpha-linux-tdep.c: Include gdbcore.h. | |
1488 | (alpha_linux_sigtramp_offset): Change return type to LONGEST. | |
1489 | (alpha_linux_init_abi): Initialize tdep->dynamic_sigtramp_offset. | |
1490 | * alpha-osf1-tdep.c: New file. | |
1491 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Moved to | |
1492 | alpha-osf1-dep.c. | |
1493 | (alpha_frame_past_sigtramp_frame): New function. | |
1494 | (alpha_dynamic_sigtramp_offset): Ditto. | |
1495 | (alpha_proc_desc_is_dyn_sigtramp): Ditto. | |
1496 | (alpha_set_proc_desc_is_dyn_sigtramp): Ditto. | |
1497 | (ALPHA_PROC_SIGTRAMP_MAGIC): Define. | |
1498 | (push_sigtramp_desc): Use alpha_set_proc_desc_is_dyn_sigtramp. | |
1499 | (after_prologue): Use alpha_proc_desc_is_dyn_sigtramp. | |
1500 | (find_proc_desc): Use alpha_dynamic_sigtramp_offset. | |
1501 | (alpha_frame_chain): Use alpha_frame_past_sigtramp_frame. | |
1502 | (alpha_init_extra_frame_info): Use alpha_proc_desc_is_dyn_sigtramp. | |
1503 | (alpha_pop_frame): Use alpha_proc_desc_is_dyn_sigtramp. | |
1504 | (alpha_gdbarch_init): Initialize tdep->dynamic_sigtramp_offset | |
1505 | and tdep->skip_sigtramp_frame. Set gdbarch_skip_trampoline_code | |
1506 | to find_solib_trampoline_target. | |
1507 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-osf1-tdep.o. | |
1508 | * config/alpha/tm-alpha.h: Remove inclusion of regcache.h. | |
1509 | (SKIP_TRAMPOLINE_CODE): Remove. | |
1510 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
1511 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
1512 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
1513 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
1514 | * config/alpha/tm-alphalinux.h (PROC_DESC_IS_DYN_SIGTRAMP): Remove. | |
1515 | (PROC_SIGTRAMP_MAGIC): Ditto. | |
1516 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
1517 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
1518 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
1519 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
1520 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
1521 | ||
2f4bc57b JT |
1522 | 2002-04-24 Jason Thorpe <[email protected]> |
1523 | ||
1524 | * NEWS: Note that Alpha targets are now multi-arch. | |
1525 | ||
665132f9 MS |
1526 | 2002-04-24 Michael Snyder <[email protected]> |
1527 | ||
1528 | * parser-defs.h (prev_lexptr): New external variable. | |
1529 | * parse.c (parse_exp_1): Set prev_lexptr to null before | |
1530 | calling the language-specific parser. | |
1531 | * c-exp.y (yylex): Set prev_lexptr to start of current token. | |
1532 | (yyerror): Use prev_lexptr in error reporting. | |
1533 | ||
32872fa7 DJ |
1534 | 2002-04-24 Daniel Jacobowitz <[email protected]> |
1535 | ||
1536 | * config/i386/tm-linux.h: Define FILL_FPXREGSET. | |
1537 | * gregset.h: If FILL_FPXREGSET is defined, provide | |
1538 | gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset. | |
1539 | * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET | |
1540 | is defined, call fill_fpxregset. | |
1541 | ||
57e76fac MS |
1542 | 2002-04-24 Roland McGrath <[email protected]> |
1543 | ||
1544 | * config/i386/i386gnu.mh (NATDEPFILES): Add core-regset.o here. | |
1545 | * i386gnu-nat.c [HAVE_SYS_PROCFS_H] | |
1546 | (supply_gregset, supply_fpregset): New functions. | |
1547 | ||
1548 | * gnu-nat.c (gnu_find_memory_regions): New function. | |
1549 | (init_gnu_ops): Set `to_find_memory_regions' hook to that. | |
1550 | (gnu_xfer_memory): Add a cast. | |
1551 | ||
f43845b3 MS |
1552 | 2002-04-24 Michael Snyder <[email protected]> |
1553 | ||
361d1df0 | 1554 | * arm-tdep.c (arm_scan_prologue): Move "mov ip, sp" into the |
f43845b3 MS |
1555 | loop. Add handling for "str lr, [sp, #-4]!" and for saves |
1556 | of argument regs ("str r(0123), [r11, #-nn"]). | |
361d1df0 | 1557 | (arm_skip_prologue): Better handling for frameless functions. |
f43845b3 MS |
1558 | Treat "mov ip, sp" as optional. Recognize "str lr, [sp, #-4]". |
1559 | (arm_skip_prologue): Recognize str r(0123), [r11, #-nn]. | |
1560 | ||
a0abec03 AC |
1561 | Wed Apr 24 14:22:21 2002 Andrew Cagney <[email protected]> |
1562 | ||
1563 | * arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS nor | |
1564 | NUM_PSEUDO_REGS can be used. | |
1565 | ||
d7bd68ca AC |
1566 | 2002-04-24 Andrew Cagney <[email protected]> |
1567 | ||
1568 | * arch-utils.h: Update copyright. | |
1569 | ||
1570 | * gdbarch.sh (PC_IN_SIGTRAMP): Add. | |
1571 | * gdbarch.h, gdbarch.c: Re-generate. | |
1572 | ||
1573 | * inferior.h (IN_SIGTRAMP): Delete definition. | |
1574 | * arch-utils.c (legacy_pc_in_sigtramp): New function. | |
1575 | * arch-utils.h (legacy_pc_in_sigtramp): Declare. | |
1576 | ||
1577 | * mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP. | |
1578 | (mips_dump_tdep): Do not print value of IN_SIGTRAMP. | |
1579 | * hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP. | |
1580 | (find_proc_framesize): Ditto. | |
1581 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto. | |
1582 | (alpha_init_extra_frame_info): Ditto. | |
1583 | * infrun.c (handle_inferior_event): Ditto. | |
1584 | (handle_inferior_event): Ditto. | |
1585 | (check_sigtramp2): Ditto. | |
1586 | * blockframe.c (create_new_frame): Ditto. | |
1587 | (get_prev_frame): Ditto. | |
1588 | * ppc-linux-tdep.c: Update comments. | |
1589 | * i386-linux-tdep.c: Update comments. | |
1590 | * breakpoint.c (bpstat_what): Update comment. | |
1591 | ||
d06f167a ML |
1592 | 2002-04-24 Michal Ludvig <[email protected]> |
1593 | ||
1594 | * gdbserver/linux-low.c (regsets_fetch_inferior_registers), | |
361d1df0 | 1595 | (regsets_store_inferior_registers): Removed cast to int from |
d06f167a ML |
1596 | ptrace() calls. |
1597 | * gdbserver/regcache.h: Added declaration of struct inferior_info. | |
1598 | ||
4867e41e DM |
1599 | 2002-04-24 David S. Miller <[email protected]> |
1600 | ||
21d83aa5 DM |
1601 | * i960-tdep.c (register_in_window_p): New function. |
1602 | (i960_find_saved_register): Use it instead of | |
1603 | REGISTER_IN_WINDOW_P. | |
1604 | * config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete. | |
1605 | ||
4867e41e DM |
1606 | * symtab.h (find_stab_function_addr): Kill extern. |
1607 | * minsyms.c (find_stab_function_addr): Remove from here... | |
1608 | * dbxread.c: ... to here, and mark it static. | |
1609 | ||
69cdf6a2 DM |
1610 | 2002-04-20 David S. Miller <[email protected]> |
1611 | ||
1612 | * sparc-tdep.c (sparc_pop_frame): Only need to allocate | |
1613 | SPARC_INTREG_SIZE * 16 bytes for reg_temp. | |
1614 | ||
5a595886 DM |
1615 | 2002-04-21 David S. Miller <[email protected]> |
1616 | ||
1617 | * remote-vxsparc.c (vx_read_register): Fix typo, we want | |
1618 | REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR. | |
1619 | (vx_write_register): Likewise. | |
1620 | ||
1da1a192 JB |
1621 | 2002-04-23 J. Brobecker <[email protected]> |
1622 | ||
1623 | * source.c (is_regular_file): New function. | |
1624 | (openp): Check wether file to open is a regular file | |
1625 | to avoid opening directories. | |
1626 | ||
baa6f10b JT |
1627 | 2002-04-22 Jason Thorpe <[email protected]> |
1628 | ||
1629 | * findvar.c (extract_signed_integer): Cast printf argument | |
1630 | to suppress format warning. | |
1631 | (extract_unsigned_integer): Likewise. | |
1632 | * infcmd.c (registers_info): Likewise. | |
1633 | * top.c (get_prompt_1): Likewise. | |
1634 | * valops.c (value_assign): Likewise. | |
1635 | * valprint.c (print_decimal): Likewise. | |
1636 | ||
b2c4da81 L |
1637 | 2002-04-22 H.J. Lu ([email protected]) |
1638 | ||
1639 | * c-exp.y (typebase): Support | |
361d1df0 | 1640 | |
b2c4da81 L |
1641 | [long|long long|short] [signed|unsigned] [int|] |
1642 | ||
1643 | and | |
1644 | ||
1645 | signed [long|long long|short] int | |
1646 | ||
f267bd6a JT |
1647 | 2002-04-22 Jason Thorpe <[email protected]> |
1648 | ||
1649 | * Makefile.in (vax-tdep.o): Add $(arch_utils_h), $(inferior_h), | |
1650 | and vax-tdep.h. | |
1651 | * vax-tdep.h: New file. | |
1652 | * vax-tdep.c: Include inferior.h, arch-utils.h, and vax-tdep.h. | |
1653 | Make several routines static. | |
1654 | (vax_get_saved_register): New function. | |
1655 | (vax_gdbarch_init): New function. | |
1656 | (_initialize_vax_tdep): Register vax_gdbarch_init. | |
1657 | * config/vax/tm-vax.h: Set GDB_MULTI_ARCH to GDB_MULTI_ARCH_PARTIAL. | |
1658 | Remove macros now under the control of gdbarch. | |
1659 | ||
da3c6d4a MS |
1660 | 2002-04-22 Michael Snyder <[email protected]> |
1661 | ||
11d3b27d MS |
1662 | * arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn". |
1663 | Some whitespace and coding standards tweaks. | |
da3c6d4a | 1664 | |
a33f7558 JT |
1665 | 2002-04-22 Jason Thorpe <[email protected]> |
1666 | ||
1667 | * vax-tdep.c: Include regcache.h. | |
1668 | (vax_call_dummy_words): New. | |
1669 | (sizeof_vax_call_dummy_words): New. | |
1670 | (vax_fix_call_dummy): New function. | |
1671 | (vax_saved_pc_after_call): Ditto. | |
1672 | * config/vax/tm-vax.h: Don't include regcache.h. | |
1673 | (SAVED_PC_AFTER_CALL): Use vax_saved_pc_after_call. | |
1674 | (CALL_DUMMY): Remove. | |
1675 | (CALL_DUMMY_WORDS): Define. | |
1676 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
1677 | (FIX_CALL_DUMMY): Use vax_fix_call_dummy. | |
1678 | ||
47a73475 MS |
1679 | 2002-04-18 Michael Snyder <[email protected]> |
1680 | ||
1681 | * arm-tdep.h: Change regnum defines to enums for ease of debugging. | |
1682 | ||
52efde73 JT |
1683 | 2002-04-22 Jason Thorpe <[email protected]> |
1684 | ||
1685 | * vax-tdep.c (vax_frame_chain): New function. | |
1686 | (vax_push_dummy_frame): Ditto. | |
1687 | (vax_pop_frame): Ditto. | |
1688 | * config/vax/tm-vax.h (FRAME_CHAIN): vax_frame_chain. | |
1689 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
1690 | generic_frameless_function_invocation_not. | |
1691 | (PUSH_DUMMY_FRAME): Use vax_push_dummy_frame. | |
1692 | (POP_FRAME): Use vax_pop_frame. | |
1693 | ||
ea74468c JT |
1694 | 2002-04-22 Jason Thorpe <[email protected]> |
1695 | ||
1696 | * vax-tdep.c (vax_store_struct_return): New function. | |
1697 | (vax_extract_return_value): Ditto. | |
1698 | (vax_store_return_value): Ditto. | |
1699 | (vax_extract_struct_value_address): Ditto. | |
1700 | * config/vax/tm-vax.h (STORE_STRUCT_RETURN): Use | |
1701 | vax_store_struct_return. | |
1702 | (EXTRACT_RETURN_VALUE): Use vax_extract_return_value. | |
1703 | (STORE_RETURN_VALUE): Use vax_store_return_value. | |
1704 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use vax_extract_struct_value_address. | |
1705 | ||
5516aa92 JT |
1706 | 2002-04-22 Jason Thorpe <[email protected]> |
1707 | ||
1708 | * vax-tdep.c (vax_frame_saved_pc): New function. | |
1709 | (vax_frame_args_address_correct): Ditto. | |
1710 | (vax_frame_args_address): Ditto. | |
1711 | (vax_frame_locals_address): Ditto. | |
1712 | (vax_frame_num_args): Move code to be in proximity to | |
1713 | other frame-related functions. | |
1714 | * config/vax/tm-vax.h (INNER_THAN): Use core_addr_lessthan. | |
1715 | (FRAME_SAVED_PC): Use vax_frame_saved_pc. | |
1716 | (FRAME_ARGS_ADDRESS_CORRECT): Use vax_frame_args_address_correct. | |
1717 | (FRAME_ARGS_ADDRESS): Use vax_frame_args_address. | |
1718 | (FRAME_LOCALS_ADDRESS): Use vax_frame_locals_address. | |
1719 | ||
36af0b35 L |
1720 | 2002-04-22 H.J. Lu ([email protected]) |
1721 | ||
1722 | * Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and | |
1723 | includedir. | |
1724 | ||
ab62c900 JT |
1725 | 2002-04-22 Jason Thorpe <[email protected]> |
1726 | ||
1727 | * vax-tdep.c (vax_frame_init_saved_regs): New function. | |
1728 | * config/vax/tm-vax.h (FRAME_FIND_SAVED_REGS): Remove. | |
1729 | (FRAME_INIT_SAVED_REGS): New macro. | |
1730 | ||
7232b100 JT |
1731 | 2002-04-22 Jason Thorpe <[email protected]> |
1732 | ||
1733 | * MAINTAINERS: Reflect that the Alpha target has been multi-arch'd. | |
1734 | ||
b70d2aee JT |
1735 | 2002-04-22 Jason Thorpe <[email protected]> |
1736 | ||
1737 | * alpha-nat.c (get_longjmp_target): Use ALPHA_* constants | |
1738 | where needed. | |
1739 | (fetch_osf_core_registers): Likewise. | |
1740 | (supply_gregset): Likewise. | |
1741 | ||
a0e8a2d1 | 1742 | 2002-04-22 J. Brobecker <[email protected]> |
361d1df0 | 1743 | |
a0e8a2d1 JB |
1744 | * symfile.h (get_section_index): Define. |
1745 | * symfile.c (get_section_index): New function. | |
1746 | * mdebugread.c (SC_IS_SBSS): New macro. | |
1747 | (SC_IS_BSS): Return true for the scBss storage class only, as | |
1748 | the scSBss storage class refers to the .sbss section. | |
1749 | (parse_partial_symbols): Discard the symbols which associated | |
1750 | section does not exist. | |
1751 | Make sure to use the .sbss section index for symbols which | |
1752 | storage class is scBss, rather than using the .bss section index. | |
1753 | ||
51eb8b08 JT |
1754 | 2002-04-22 Jason Thorpe <[email protected]> |
1755 | ||
1756 | * vax-tdep.c: Update copyright years. | |
1757 | (vax_register_name): New function. | |
1758 | (vax_register_byte): Ditto. | |
1759 | (vax_register_raw_size): Ditto. | |
1760 | (vax_register_virtual_size): Ditto. | |
1761 | (vax_register_virtual_type): Ditto. | |
1762 | * config/vax/tm-vax.h: Update copyright years. | |
1763 | (REGISTER_NAMES): Remove. | |
1764 | (REGISTER_NAME): Define. | |
1765 | (REGISTER_BYTE): Use vax_register_byte. | |
1766 | (REGISTER_RAW_SIZE): Use vax_register_raw_size. | |
1767 | (REGISTER_VIRTUAL_SIZE): Use vax_register_virtual_size. | |
1768 | (REGISTER_VIRTUAL_TYPE): Use vax_register_virtual_type. | |
1769 | ||
6cc1c0a8 AC |
1770 | 2002-04-21 Andrew Cagney <[email protected]> |
1771 | ||
1772 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore | |
1773 | declaration | |
1774 | * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error. | |
1775 | ||
9319a2fe DM |
1776 | 2002-04-21 David S. Miller <[email protected]> |
1777 | ||
1778 | * arch-utils.c (generic_prologue_frameless_p): Kill | |
1779 | SKIP_PROLOGUE_FRAMELESS_P code. | |
1780 | * config/arc/tm-arc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
1781 | references. | |
1782 | (PROLOGUE_FRAMELESS_P, arc_prologue_frameless_p): New. | |
1783 | * arc-tdep.c (arc_prologue_frameless_p): Implement. | |
1784 | * config/arc/tm-sparc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
1785 | references. | |
1786 | (PROLOGUE_FRAMELESS_P, sparc_prologue_frameless_p): New. | |
1787 | * sparc-tdep.c (sparc_prologue_frameless_p): Implement. | |
1788 | (sparc_gdbarch_init): Pass it to | |
1789 | set_gdbarch_prologue_frameless_p. | |
a0e8a2d1 | 1790 | |
e9ed6d01 JT |
1791 | 2002-04-21 Jason Thorpe <[email protected]> |
1792 | ||
1793 | * Makefile.in (ALLDEPFILES): Add alphabsd-nat.c. | |
1794 | (alphabsd-nat.o): New dependency list. | |
1795 | ||
36012033 JT |
1796 | 2002-04-21 Jason Thorpe <[email protected]> |
1797 | ||
1798 | * Makefile.in (ALLDEPFILES): Add alpha-linux-tdep.c and | |
1799 | alphafbsd-tdep.c. | |
1800 | (alpha-linux-tdep.o): New dependency list. | |
1801 | (alphafbsd-tdep.o): Likewise. | |
1802 | ||
3379287a JT |
1803 | 2002-04-21 Jason Thorpe <[email protected]> |
1804 | ||
1805 | * alpha-linux-tdep.c: New file. Move alpha_linux_sigtramp_offset | |
1806 | to here... | |
1807 | * alpha-tdep.c: ...from here. | |
1808 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-linux-tdep.o. | |
1809 | ||
4bcbd6cb JT |
1810 | 2002-04-21 Jason Thorpe <[email protected]> |
1811 | ||
1812 | * config/alpha/tm-alpha.h: Move alpha_software_single_step | |
1813 | prototype from here... | |
1814 | * alpha-tdep.h: ...to here. | |
1815 | ||
b31da25e AC |
1816 | 2002-04-21 Andrew Cagney <[email protected]> |
1817 | ||
1818 | * frame.h (selected_frame_level): Document as deprecated. | |
1819 | (frame_relative_level): Declare. | |
1820 | * stack.c (frame_relative_level): New function. | |
1821 | (selected_frame_level): Document as deprecated. | |
1822 | (select_frame): Do not set the selected_frame_level. | |
1823 | ||
1824 | * stack.c (frame_info, record_selected_frame): Update. | |
1825 | (frame_command, current_frame_command): Update. | |
1826 | (up_silently_base, up_command, down_silently_base): Update. | |
1827 | (down_command): Update. | |
1828 | * inflow.c (kill_command): Update. | |
1829 | * tracepoint.c (finish_tfind_command): Update. | |
1830 | * corelow.c (core_open): Update. | |
1831 | * thread.c (info_threads_command): Update. | |
1832 | (do_captured_thread_select): Update. | |
1833 | * infcmd.c (finish_command): Update. | |
1834 | * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update. | |
1835 | ||
9c1d6fe5 JT |
1836 | 2002-04-21 Jason Thorpe <[email protected]> |
1837 | ||
1838 | * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove. | |
1839 | ||
ab89facf AC |
1840 | 2002-04-21 Andrew Cagney <[email protected]> |
1841 | ||
1842 | * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return | |
1843 | type const. | |
1844 | ||
82a4efa1 JT |
1845 | 2002-04-21 Jason Thorpe <[email protected]> |
1846 | ||
1847 | * alphafbsd-tdep.c: Update copyright years. Include | |
1848 | alpha-tdep.h. | |
1849 | (alphafbsd_use_struct_convention): Make static. | |
1850 | (alphafbsd_init_abi): New function. | |
1851 | (_initialize_alphafbsd_tdep): New function. | |
1852 | * config/alpha/tm-fbsd.h: Update copyright years. | |
1853 | (USE_STRUCT_CONVENTION): Remove. | |
1854 | ||
44dffaac JT |
1855 | 2002-04-21 Jason Thorpe <[email protected]> |
1856 | ||
1857 | * alpha-tdep.c (alpha_abi_handler): New structure to describe | |
1858 | an Alpha ABI variant. | |
1859 | (alpha_abi_handler_list): Declare. | |
1860 | (alpha_gdbarch_register_os_abi): New function. | |
1861 | (alpha_gdbarch_init): Give registered ABI variant handlers a | |
1862 | chance to tweak the gdbarch once we have set up defaults. | |
1863 | * alpha-tdep.h: Prototype alpha_gdbarch_register_os_abi. | |
1864 | ||
65585be4 JT |
1865 | 2002-04-21 Jason Thorpe <[email protected]> |
1866 | ||
1867 | * alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_double | |
1868 | to standard_coerce_float_to_double. | |
1869 | * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
1870 | ||
d9b023cc JT |
1871 | 2002-04-21 Jason Thorpe <[email protected]> |
1872 | ||
1873 | * alpha-tdep.h (gdbarch_tdep): Add vm_min_address member. | |
1874 | * alpha-tdep.c (heuristic_proc_start): Use vm_min_address | |
1875 | from gdbarch_tdep rather than a constant. | |
1876 | (alpha_gdbarch_init): Initialize tdep->vm_min_address to | |
1877 | the default text address for all Alpha Unix ABIs. | |
1878 | (alpha_dump_tdep): Report the value of tdep->vm_min_address. | |
1879 | * config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete. | |
1880 | ||
dc129d82 JT |
1881 | 2002-04-21 Jason Thorpe <[email protected]> |
1882 | ||
1883 | * alpha-tdep.h: New file. Includes several Alpha target constants | |
1884 | taken from... | |
1885 | * config/alpha/tm-alpha.h: ...here. Remove macros that we now | |
1886 | let gdbarch deal with. | |
1887 | (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL. | |
1888 | * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd | |
1889 | to dependency list. | |
1890 | * alpha-nat.c: Include alpha-tdep.h. Update for adjusted | |
1891 | Alpha target register names. | |
1892 | * alphabsd-nat.c: Likewise. | |
1893 | * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted | |
1894 | Alpha target register names. Make serveral routines static. | |
1895 | (alpha_get_saved_register): New function. | |
1896 | (alpha_abi_names): New. | |
1897 | (process_note_abi_tag_sections): New function. | |
1898 | (get_elfosabi): New function. | |
1899 | (alpha_gdbarch_init): New function. | |
1900 | (alpha_dump_tdep): New function. | |
1901 | (_initialize_alpha_tdep): Register alpha_gdbarch_init. | |
1902 | ||
d49d1e0a AC |
1903 | 2002-04-21 Andrew Cagney <[email protected]> |
1904 | ||
1905 | * frame.c (find_saved_register): Delete #ifdef | |
1906 | HAVE_REGISTER_WINDOWS code. | |
1907 | * config/sparc/tm-sparc.h: Update comments. | |
1908 | * config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro. | |
1909 | ||
92e8c9ed AC |
1910 | 2002-04-21 Andrew Cagney <[email protected]> |
1911 | ||
1912 | * i960-tdep.c (i960_find_saved_register): New function. | |
1913 | (i960_get_saved_register): New function. | |
1914 | * config/i960/tm-i960.h (GET_SAVED_REGISTER): Define. | |
1915 | (i960_get_saved_register): Declare. | |
1916 | * config/i960/tm-i960.h, i960-tdep.c: Update copyright. | |
1917 | ||
e1925118 DM |
1918 | 2002-04-20 David S. Miller <[email protected]> |
1919 | ||
1920 | * sparc-nat.c (store-inferior_registers): Fix ambiguous else. | |
1921 | ||
29673b29 AC |
1922 | 2002-04-20 Andrew Cagney <[email protected]> |
1923 | ||
1924 | * arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs | |
1925 | instead of NUM_PSEUDO_REGS. | |
1926 | ||
6c86dcd5 DM |
1927 | 2002-04-20 David S. Miller <[email protected]> |
1928 | ||
1929 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to | |
1930 | GDB_MULTI_ARCH_PARTIAL | |
1931 | * config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not | |
1932 | define, let tm-sp64.h do it. | |
1933 | ||
aa40ec90 JT |
1934 | 2002-04-20 Jason Thorpe <[email protected]> |
1935 | ||
1936 | * frame.c (find_saved_register): Avoid a NULL pointer | |
1937 | dereference and actually walk the frame list. | |
1938 | ||
0f79675b AC |
1939 | 2002-04-20 Andrew Cagney <[email protected]> |
1940 | ||
1941 | * gdbarch.sh (gdbarch_update_p): Keep the list of architectures | |
1942 | sorted in most most-recent-used order. Document. | |
1943 | * gdbarch.h, gdbarch.c: Regenerate. | |
361d1df0 | 1944 | |
c04a1aa8 DJ |
1945 | 2002-04-20 Daniel Jacobowitz <[email protected]> |
1946 | ||
1947 | * gdbserver/inferiors.c (struct inferior_info): Add regcache_data. | |
1948 | (add_inferior): Call create_register_cache. | |
1949 | (clear_inferiors): Call free_register_cache. | |
1950 | (inferior_regcache_data, set_inferior_regcache_data): New functions. | |
1951 | * gdbserver/regcache.c (struct inferior_regcache_data): New. | |
1952 | (registers): Remove. | |
1953 | (get_regcache): New function. | |
1954 | (create_register_cache, free_register_cache): New functions. | |
1955 | (set_register_cache): Don't initialize the register cache here. | |
1956 | (registers_to_string, registers_from_string, register_data): Call | |
1957 | get_regcache. | |
1958 | * gdbserver/regcache.h: Add prototypes. | |
1959 | * gdbserver/server.h: Likewise. | |
1960 | ||
611cb4a5 DJ |
1961 | 2002-04-20 Daniel Jacobowitz <[email protected]> |
1962 | ||
1963 | * gdbserver/mem-break.c: New file. | |
1964 | * gdbserver/mem-break.h: New file. | |
1965 | * gdbserver/Makefile.in: Add mem-break.o rule; update server.h | |
1966 | dependencies. | |
1967 | * gdbserver/inferiors.c (struct inferior_info): Add target_data | |
1968 | member. | |
1969 | (clear_inferiors): Free target_data member if set. | |
1970 | (inferior_target_data, set_inferior_target_data): New functions. | |
1971 | * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len) | |
1972 | (i386_stop_pc, i386_set_pc): New. Add to the_low_target. | |
1973 | * gdbserver/linux-low.c (linux_bp_reinsert): New variable. | |
1974 | (struct inferior_linux_data): New. | |
1975 | (linux_create_inferior): Use set_inferior_target_data. | |
1976 | (linux_attach): Likewise. Call add_inferior. | |
1977 | (linux_wait_for_one_inferior): New function. | |
1978 | (linux_wait): Call it. | |
1979 | (linux_write_memory): Add const. | |
1980 | (initialize_low): Call set_breakpoint_data. | |
1981 | * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint | |
1982 | handling members. | |
1983 | * gdbserver/server.c (attach_inferior): Remove extra add_inferior | |
1984 | call. | |
1985 | * gdbserver/server.h: Include mem-break.h. Update inferior.c | |
1986 | prototypes. | |
1987 | * gdbserver/target.c (read_inferior_memory) | |
1988 | (write_inferior_memory): New functions. | |
1989 | * gdbserver/target.h (read_inferior_memory) | |
1990 | (write_inferior_memory): Change macros to prototypes. | |
1991 | (struct target_ops): Update comments. Add const to write_memory | |
1992 | definition. | |
1993 | ||
f91305dd | 1994 | 2002-04-19 Andrew Cagney <[email protected]> |
bf75c8c1 AC |
1995 | |
1996 | * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame | |
1997 | instead of ->prev. | |
1998 | * z8k-tdep.c (z8k_frame_chain): Do not use ->prev. | |
1999 | * s390-tdep.c (s390_frame_chain): Do not use ->prev. | |
2000 | * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain() | |
2001 | instead of ->prev. | |
2002 | ||
73d322b1 EZ |
2003 | 2002-04-19 Elena Zannoni <[email protected]> |
2004 | ||
2005 | Fix PR gdb/471. | |
2006 | * gdbtypes.c (init_simd_type): Rewrite using new functions. | |
2007 | (build_builtin_type_vec128): Ditto. | |
2008 | (append_composite_type_field): Fix calculation of type length in | |
2009 | union case. | |
2010 | ||
ccd9a834 EZ |
2011 | 2002-04-19 Eli Zaretskii <[email protected]> |
2012 | ||
2013 | * config/djgpp/README: Update. | |
2014 | ||
2015 | * go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a | |
2016 | compiler warnings. | |
2017 | ||
a57f9e49 JT |
2018 | 2002-04-19 Jason Thorpe <[email protected]> |
2019 | ||
2020 | * alpha-tdep.c (setup_arbitrary_frame): Rename... | |
2021 | (alpha_setup_arbitrary_frame): ...to this. | |
2022 | * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update | |
2023 | for alpha_setup_arbitrary_frame. | |
2024 | ||
f4f9705a AC |
2025 | 2002-04-18 Andrew Cagney <[email protected]> |
2026 | ||
2027 | * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer. | |
2028 | * gdbarch.h, gdbarch.c: Regenerate. | |
361d1df0 | 2029 | |
f4f9705a AC |
2030 | * defs.h (breakpoint_from_pc_fn): Delete type definition. |
2031 | * target.h (memory_breakpoint_from_pc): Update declaration. | |
2032 | * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto. | |
2033 | ||
2034 | * arch-utils.c (legacy_breakpoint_from_pc): Update return type. | |
2035 | * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto. | |
2036 | * mem-break.c (memory_breakpoint_from_pc): Ditto. | |
2037 | * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto. | |
2038 | * s390-tdep.c (s390_breakpoint_from_pc): Ditto | |
2039 | * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto. | |
2040 | * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto. | |
2041 | * mips-tdep.c (mips_breakpoint_from_pc): Ditto. | |
2042 | * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto. | |
2043 | * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto. | |
2044 | * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto. | |
2045 | * arch-utils.c (legacy_breakpoint_from_pc): Ditto.. | |
2046 | ||
2047 | * mem-break.c (default_memory_insert_breakpoint): Make `bp' a | |
2048 | const pointer. | |
2049 | * monitor.c (monitor_insert_breakpoint): Ditto. | |
2050 | * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'. | |
2051 | ||
2052 | * config/mcore/tm-mcore.h: Update copyright. | |
2053 | * mem-break.c: Ditto. | |
2054 | * xstormy16-tdep.c: Ditto. | |
2055 | ||
29f319b8 PM |
2056 | 2002-04-18 Pierre Muller <[email protected]> |
2057 | ||
2058 | * p-exp.y: Add precedence rule for '^' token. | |
2059 | This removes the shift/reduce conflicts. | |
2060 | Remove the comment concerning these shift/reduce conflicts. | |
2061 | ||
ebeac11a EZ |
2062 | 2002-04-18 Elena Zannoni <[email protected]> |
2063 | ||
2064 | * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro. | |
2065 | (registers_powerpc_nofp): New register set for processors | |
2066 | without floating point unit. | |
2067 | ||
27c31547 DM |
2068 | 2002-04-18 David S. Miller <[email protected]> |
2069 | ||
2070 | * MAINTAINERS: Add myself to write-after-approval. | |
2071 | ||
47a73475 MS |
2072 | 2002-04-17 Michael Snyder <[email protected]> |
2073 | ||
2074 | * MAINTAINERS: Add myself as co-maintainer of testsuite/gdb.asm. | |
2075 | ||
953836b2 AC |
2076 | 2002-04-17 Andrew Cagney <[email protected]> |
2077 | ||
2078 | * rs6000-tdep.c (frame_initial_stack_address): Use | |
2079 | frame_register_read to read the alloca_reg. | |
2080 | ||
8b0d4340 AC |
2081 | 2002-04-17 Andrew Cagney <[email protected]> |
2082 | ||
2083 | * frame.c (find_saved_register): Find saved registers in the next | |
2084 | not prev frame. | |
2085 | Fix PR gdb/365. | |
2086 | ||
d8864532 AC |
2087 | 2002-04-17 Andrew Cagney <[email protected]> |
2088 | ||
2089 | * gdbarch.sh (LANG): Set to ``c''. | |
2090 | ||
36cc83a3 | 2091 | 2002-04-15 Andrew Cagney <[email protected]> |
361d1df0 | 2092 | |
36cc83a3 | 2093 | * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems. |
361d1df0 | 2094 | |
2f4150cc | 2095 | 2002-04-15 Andrew Cagney <[email protected]> |
2c7ef074 AC |
2096 | |
2097 | * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h". | |
2098 | Update copyright. | |
2099 | ||
628703c6 | 2100 | * hpread.c (hpread_get_lntt): Add declaration. |
2f4150cc | 2101 | Also fix PR gdb/391. |
361d1df0 | 2102 | |
56157b4a AC |
2103 | 2002-04-14 Andrew Cagney <[email protected]> |
2104 | ||
2105 | * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6. | |
2106 | * aclocal.m4, configure: Re-generate. | |
2107 | Fix PR gdb/391. | |
361d1df0 | 2108 | |
6d1e3329 EZ |
2109 | 2002-04-14 Elena Zannoni <[email protected]> |
2110 | ||
2111 | * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN | |
2112 | instead of tm_print_insn. | |
2113 | ||
cb06fa07 EZ |
2114 | 2002-04-14 Elena Zannoni <[email protected]> |
2115 | ||
2116 | * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo. | |
2117 | ||
f208ba17 AC |
2118 | 2002-04-14 Andrew Cagney <[email protected]> |
2119 | ||
2120 | * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro. | |
2121 | * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro. | |
2122 | (get_prev_frame): Do not call FRAME_CHAIN_COMBINE. | |
2123 | ||
20f01a46 DH |
2124 | 2002-04-12 Don Howard <[email protected]> |
2125 | ||
2126 | * cli/cli-cmds.c (init_cli_cmds): Add new user settable value: | |
2127 | max_user_call_depth. | |
2128 | (init_cmd_lists): Initialize the new value; | |
2129 | * cli/cli-script.c (execute_user_command): Limit the call depth of | |
2130 | user defined commands. This avoids a core-dump when user commands | |
2131 | are infinitly recursive. | |
2132 | ||
a88376a3 KB |
2133 | 2002-04-12 Kevin Buettner <[email protected]> |
2134 | ||
2135 | * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''. | |
2136 | * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset'' | |
2137 | from tdep struct instead of DEFAULT_LR_SAVE. | |
2138 | (rs6000_gdbarch_init): Initialize ``lr_frame_offset''. | |
2139 | * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete. | |
2140 | * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete. | |
2141 | ||
f2172603 MS |
2142 | 2002-04-12 Michael Snyder <[email protected]> |
2143 | ||
694f61fb | 2144 | * Remote.c: Spelling fix. |
20fe79c8 MS |
2145 | * gcore.c (default_derive_heap_segment): Use bfd_section_name. |
2146 | If no symbol found for "sbrk", try "_sbrk". | |
2147 | (make_output_phdrs): Use bfd_section_name. | |
2148 | (gcore_copy_callback): Use bfd_section_name. | |
62995fc4 | 2149 | * eval.c: Indentation fix-ups. |
169a7369 MS |
2150 | * d10v-tdep.c (d10v_make_iaddr): Make it idempotent, |
2151 | in case it gets applied to an address that is already | |
2152 | in the instruction space. | |
de74f71f MS |
2153 | * cli/cli-decode.c (help_list): Allow long lines to wrap. |
2154 | * symfile.c: Fix indentation, long lines. | |
f2172603 MS |
2155 | * source.c: White space fix-up. |
2156 | ||
cda5a58a AC |
2157 | 2002-04-12 Andrew Cagney <[email protected]> |
2158 | ||
2159 | * defs.h (read_relative_register_raw_bytes): Delete declaration. | |
2160 | * frame.c (frame_register_read): New function. Return non-zero on | |
2161 | success. | |
2162 | (read_relative_register_raw_bytes_for_frame): Delete. | |
2163 | (read_relative_register_raw_bytes): Delete. | |
2164 | * frame.h (frame_register_read): Declare. | |
2165 | * d30v-tdep.c: Update Copyright. Use frame_register_read. | |
2166 | * sh-tdep.c: Ditto. | |
2167 | * infcmd.c (do_registers_info): Ditto. | |
2168 | * hppa-tdep.c: Ditto. | |
2169 | * rs6000-tdep.c: Ditto. | |
2170 | * h8500-tdep.c: Ditto. | |
2171 | * mips-tdep.c: Ditto. | |
2172 | * h8300-tdep.c: Ditto. | |
2173 | * z8k-tdep.c: Ditto. | |
2174 | ||
2ea5f656 KB |
2175 | 2002-04-12 Kevin Buettner <[email protected]> |
2176 | ||
2177 | From Jimi X <[email protected]>: | |
2178 | * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for | |
2179 | 64-bit SysV ABI. | |
2180 | ||
27b15785 KB |
2181 | 2002-04-12 Kevin Buettner <[email protected]> |
2182 | ||
2183 | From Jimi X <[email protected]>: | |
2184 | * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from | |
2185 | bfd info. | |
2186 | ||
5d57ee30 KB |
2187 | 2002-04-12 Kevin Buettner <[email protected]> |
2188 | ||
2189 | From Jimi X <[email protected]>: | |
2190 | * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define | |
2191 | register sets for these processor variants. | |
2192 | ||
bc1e36ca DJ |
2193 | 2002-04-11 Daniel Jacobowitz <[email protected]> |
2194 | ||
2195 | * gdbserver/linux-low.c (usr_store_inferior_registers): Support | |
2196 | registers which are allowed to fail to store. | |
2197 | * gdbserver/linux-low.h (linux_target_ops): Likewise. | |
2198 | * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR. | |
2199 | (ppc_cannot_store_register): FPSCR may not be storable. | |
2200 | * regformats/reg-ppc.dat: Support FPSCR. | |
2201 | ||
e3f36dbd KB |
2202 | 2002-04-11 Kevin Buettner <[email protected]> |
2203 | ||
2204 | * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''. | |
2205 | * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): | |
2206 | Add fpscr as an invalid/unfetchable register. | |
2207 | * ppc-linux-nat.c (ppc_register_u_addr, store_register) | |
2208 | (fetch_ppc_registers, store_ppc_registers, supply_fpregset) | |
2209 | (fill_fpregset): Add support for register fpscr. | |
2210 | (fetch_ppc_registers, store_ppc_registers, supply_gregset) | |
2211 | (fill_gregset): Account for the fact that register ``mq'' might | |
2212 | not exist. | |
2213 | * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr. | |
2214 | (registers_power): Add fpscr to register set at slot 71. | |
2215 | (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't | |
2216 | exist on most PPC architectures. Initialize ppc_fpscr_regnum. | |
2217 | ||
943c9c25 MS |
2218 | 2002-04-11 Michael Snyder <[email protected]> |
2219 | ||
2220 | * configure.in: Autoconfiscate _SYSCALL32 define for solaris. | |
2221 | * configure: Regenerate. | |
2222 | * config.in: Regenerate. | |
2223 | * acconfig.h: Add define for _SYSCALL32. | |
2224 | * core-sol2.c: Remove #define _SYSCALL32. | |
2225 | * solib-legacy.c: Remove #define _SYSCALL32. | |
2226 | ||
d8c0a2e7 AC |
2227 | 2002-04-10 Andrew Cagney <[email protected]> |
2228 | ||
2229 | * stack.c (select_frame): Cleanup internal error message, do not | |
2230 | use %p. | |
2231 | ||
7cc19214 AC |
2232 | 2002-04-10 Andrew Cagney <[email protected]> |
2233 | ||
2234 | * stack.c (select_frame): Check that selected_frame and the | |
2235 | specified level are as expected. | |
2236 | * blockframe.c (get_prev_frame): Set the `level' from next_frame. | |
2237 | Update copyright. | |
2238 | * frame.h (struct frame_info): Add field `level'. Update | |
2239 | copyright. | |
2240 | Work-in-progress PR gdb/464. | |
2241 | ||
67a2b77e AC |
2242 | 2002-04-10 Andrew Cagney <[email protected]> |
2243 | ||
2244 | * maint.c (maint_print_section_info): Rename print_section_info. | |
2245 | (print_bfd_section_info, print_objfile_section_info): Update. | |
2246 | * inferior.h (struct gdbarch): Add opaque declaration. | |
2247 | * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh. | |
2248 | * gdbarch.h: Regenerate. | |
2249 | ||
8cfda98c ML |
2250 | 2002-04-10 Michal Ludvig <[email protected]> |
2251 | ||
2252 | * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete. | |
2253 | (PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h. | |
2254 | (kernel_u_size): Added. | |
2255 | * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete. | |
2256 | (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h. | |
2257 | ||
ca439ad2 | 2258 | 2002-04-04 Jim Ingham <[email protected]> |
361d1df0 | 2259 | |
ca439ad2 JI |
2260 | * valarith.c (find_size_for_pointer_math): New function, either returns |
2261 | the size for a pointer's target, returns 1 for void *, or errors for | |
2262 | incomplete types. | |
2263 | (value_add, value_sub): use find_size_for_pointer_math. | |
2264 | ||
2f2893d9 DJ |
2265 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
2266 | ||
2267 | * linux-low.c (linux_look_up_symbols): New hook. | |
2268 | (linux_target_ops): Add linux_look_up_symbols. | |
2269 | * remote-utils.c (decode_address): New function. | |
2270 | (look_up_one_symbol): New function. | |
2271 | * server.c (handle_query): Call target look_up_symbols hook. | |
2272 | * server.h (look_up_one_symbol): Add prototype. | |
2273 | * target.h (struct target_ops): Add look_up_symbols hook. | |
2274 | ||
2ec06d2e DJ |
2275 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
2276 | ||
d64b8841 DJ |
2277 | * gdbserver/server.h: Include <string.h> if HAVE_STRING_H. |
2278 | * ChangeLog: Correct paths in last ChangeLog entry. | |
2279 | ||
2280 | 2002-04-09 Daniel Jacobowitz <[email protected]> | |
2281 | ||
2282 | * gdbserver/linux-low.h: Remove obsolete prototypes. | |
2ec06d2e DJ |
2283 | (struct linux_target_ops): New. |
2284 | (extern the_low_target): New. | |
d64b8841 | 2285 | * gdbserver/linux-low.c (num_regs, regmap): Remove declarations. |
2ec06d2e DJ |
2286 | (register_addr): Use the_low_target explicitly. |
2287 | (fetch_register): Likewise. | |
2288 | (usr_fetch_inferior_registers): Likewise. | |
2289 | (usr_store_inferior_registers): Likewise. | |
d64b8841 | 2290 | * gdbserver/linux-arm-low.c (num_regs): Remove. |
2ec06d2e DJ |
2291 | (arm_num_regs): Define. |
2292 | (arm_regmap): Renamed from regmap, made static. | |
2293 | (arm_cannot_fetch_register): Renamed from cannot_fetch_register, | |
2294 | made static. | |
2295 | (arm_cannot_store_register): Renamed from cannot_store_register, | |
2296 | made static. | |
2297 | (the_low_target): New. | |
d64b8841 | 2298 | * gdbserver/linux-i386-low.c (num_regs): Remove. |
2ec06d2e DJ |
2299 | (i386_num_regs): Define. |
2300 | (i386_regmap): Renamed from regmap, made static. | |
2301 | (i386_cannot_fetch_register): Renamed from cannot_fetch_register, | |
2302 | made static. | |
2303 | (i386_cannot_store_register): Renamed from cannot_store_register, | |
2304 | made static. | |
2305 | (the_low_target): New. | |
d64b8841 | 2306 | * gdbserver/linux-ia64-low.c (num_regs): Remove. |
2ec06d2e DJ |
2307 | (ia64_num_regs): Define. |
2308 | (ia64_regmap): Renamed from regmap, made static. | |
2309 | (ia64_cannot_fetch_register): Renamed from cannot_fetch_register, | |
2310 | made static. | |
2311 | (ia64_cannot_store_register): Renamed from cannot_store_register, | |
2312 | made static. | |
2313 | (the_low_target): New. | |
d64b8841 | 2314 | * gdbserver/linux-m68k-low.c (num_regs): Remove. |
2ec06d2e DJ |
2315 | (m68k_num_regs): Define. |
2316 | (m68k_regmap): Renamed from regmap, made static. | |
2317 | (m68k_cannot_fetch_register): Renamed from cannot_fetch_register, | |
2318 | made static. | |
2319 | (m68k_cannot_store_register): Renamed from cannot_store_register, | |
2320 | made static. | |
2321 | (the_low_target): New. | |
d64b8841 | 2322 | * gdbserver/linux-mips-low.c (num_regs): Remove. |
2ec06d2e DJ |
2323 | (mips_num_regs): Define. |
2324 | (mips_regmap): Renamed from regmap, made static. | |
2325 | (mips_cannot_fetch_register): Renamed from cannot_fetch_register, | |
2326 | made static. | |
2327 | (mips_cannot_store_register): Renamed from cannot_store_register, | |
2328 | made static. | |
2329 | (the_low_target): New. | |
d64b8841 | 2330 | * gdbserver/linux-ppc-low.c (num_regs): Remove. |
2ec06d2e DJ |
2331 | (ppc_num_regs): Define. |
2332 | (ppc_regmap): Renamed from regmap, made static. | |
2333 | (ppc_cannot_fetch_register): Renamed from cannot_fetch_register, | |
2334 | made static. | |
2335 | (ppc_cannot_store_register): Renamed from cannot_store_register, | |
2336 | made static. | |
2337 | (the_low_target): New. | |
d64b8841 | 2338 | * gdbserver/linux-s390-low.c (num_regs): Remove. |
2ec06d2e DJ |
2339 | (s390_num_regs): Define. |
2340 | (s390_regmap): Renamed from regmap, made static. | |
2341 | (s390_cannot_fetch_register): Renamed from cannot_fetch_register, | |
2342 | made static. | |
2343 | (s390_cannot_store_register): Renamed from cannot_store_register, | |
2344 | made static. | |
2345 | (the_low_target): New. | |
d64b8841 | 2346 | * gdbserver/linux-sh-low.c (num_regs): Remove. |
2ec06d2e DJ |
2347 | (sh_num_regs): Define. |
2348 | (sh_regmap): Renamed from regmap, made static. | |
2349 | (sh_cannot_fetch_register): Renamed from cannot_fetch_register, | |
2350 | made static. | |
2351 | (sh_cannot_store_register): Renamed from cannot_store_register, | |
2352 | made static. | |
2353 | (the_low_target): New. | |
d64b8841 | 2354 | * gdbserver/linux-x86-64-low.c (x86_64_regmap): Renamed from regmap. |
2ec06d2e DJ |
2355 | (the_low_target): New. |
2356 | ||
96cb11df AC |
2357 | 2002-04-09 Andrew Cagney <[email protected]> |
2358 | ||
2359 | * frame.c (read_relative_register_raw_bytes_for_frame): Do not | |
2360 | override FP_REGNUM with frame->fp. Update copyright. | |
2361 | * parse.c (num_std_regs, std_regs): Delete. | |
2362 | (target_map_name_to_register): Do not search std_regs. Update | |
2363 | function description. | |
2364 | * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete | |
2365 | declarations. Update copyright. | |
2366 | Fix PR gdb/251. | |
361d1df0 | 2367 | |
c3a3ccc7 DJ |
2368 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
2369 | ||
2370 | * gdbserver/Makefile.in: Add stamp-h target. | |
2371 | * gdbserver/configure.in: Create stamp-h. | |
2372 | * gdbserver/configure: Regenerated. | |
2373 | ||
ce3a066d DJ |
2374 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
2375 | ||
2376 | * gdbserver/inferiors.c: New file. | |
2377 | * gdbserver/target.c: New file. | |
2378 | * gdbserver/target.h: New file. | |
2379 | * gdbserver/Makefile.in: Add target.o and inferiors.o. Update | |
2380 | dependencies. | |
2381 | * gdbserver/linux-low.c (inferior_pid): New static variable, | |
2382 | moved from server.c. | |
2383 | (linux_create_inferior): Renamed from create_inferior. | |
2384 | Call add_inferior. Return 0 on success instead of a PID. | |
2385 | (linux_attach): Renamed from myattach. | |
2386 | (linux_kill): Renamed from kill_inferior. Call clear_inferiors (). | |
2387 | (linux_thread_alive): Renamed from mythread_alive. | |
2388 | (linux_wait): Renamed from mywait. Call clear_inferiors () if the | |
2389 | child dies. | |
2390 | (linux_resume): Renamed from myresume. Add missing ``return 0''. | |
2391 | (regsets_store_inferior_registers): Correct error message. | |
2392 | Add missing ``return 0''. | |
2393 | (linux_fetch_registers): Renamed from fetch_inferior_registers. | |
2394 | (linux_store_registers): Renamed from store_inferior_registers. | |
2395 | (linux_read_memory): Renamed from read_inferior_memory. | |
2396 | (linux_write_memory): Renamed from write_inferior_memory. | |
2397 | (linux_target_ops): New structure. | |
2398 | (initialize_low): Call set_target_ops (). | |
2399 | * gdbserver/remote-utils.c (unhexify): New function. | |
2400 | (hexify): New function. | |
2401 | (input_interrupt): Send signals to ``signal_pid''. | |
2402 | * gdbserver/server.c (inferior_pid): Remove. | |
2403 | (start_inferior): Update create_inferior call. | |
2404 | (attach_inferior): Call add_inferior. | |
2405 | (handle_query): New function. | |
2406 | (main): Call handle_query for `q' packets. | |
2407 | * gdbserver/server.h: Include "target.h". Remove obsolete prototypes. | |
2408 | Add prototypes for "inferiors.c", "target.c", hexify, and unhexify. | |
2409 | ||
0729219d DJ |
2410 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
2411 | ||
2412 | * gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury | |
2413 | dependencies. | |
2414 | * gdbserver/configure.in: Check for <string.h> | |
2415 | * gdbserver/configure: Regenerate. | |
2416 | * gdbserver/config.in: Regenerate. | |
2417 | * gdbserver/gdbreplay.c: Include needed system headers. | |
2418 | (remote_open): Remove strchr prototype. | |
2419 | * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS. | |
2420 | * gdbserver/regcache.c (supply_register): Change buf argument to const void *. | |
2421 | (supply_register_by_name): Likewise. | |
2422 | (collect_register): Change buf argument to void *. | |
2423 | (collect_register_by_name): Likewise. | |
2424 | * gdbserver/regcache.h: Add missing prototypes. | |
2425 | * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa. | |
2426 | * gdbserver/server.c (handle_query): New function. | |
2427 | (attached): New static variable, moved out of main. | |
2428 | (main): Quiet longjmp clobber warnings. | |
2429 | * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. | |
2430 | * gdbserver/utils.c (error): Remove NORETURN. | |
2431 | (fatal): Likewise. | |
2432 | ||
97658e92 DJ |
2433 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
2434 | ||
2435 | * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer | |
2436 | after the last symbol in a block. | |
2437 | ||
6044e3eb PM |
2438 | 2002-04-09 Pierre Muller <[email protected]> |
2439 | ||
2440 | * p-exp.y (yylex): Handle also the fact that is_a_field_of_this | |
2441 | is non zero as a found symbol. | |
2442 | ||
0406ec40 AC |
2443 | 2002-04-08 Andrew Cagney <[email protected]> |
2444 | ||
2445 | * findvar.c: Include "builtin-regs.h". | |
2446 | (value_of_register): Call value_of_builtin_reg when applicable. | |
2447 | * parse.c: Include "builtin-regs.h" and "gdb_assert.h". | |
2448 | (target_map_name_to_register): Call | |
2449 | builtin_reg_map_name_to_regnum. | |
2450 | * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c. | |
2451 | (COMMON_OBS): Add builtin-regs.o and std-regs.o. | |
2452 | (builtin_regs_h): Define. | |
2453 | (builtin-regs.o): New target. | |
2454 | (findvar.o): Add $(builtin_regs_h). | |
2455 | * builtin-regs.c, builtin-regs.h: New files. | |
2456 | * std-regs.c: New file. | |
2457 | Partial fix for PR gdb/251. | |
2458 | ||
56a6dfb9 KB |
2459 | 2002-04-08 Kevin Buettner <[email protected]> |
2460 | ||
2461 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn; | |
2462 | it's no longer required. | |
2463 | ||
3a808432 AC |
2464 | 2002-04-08 Andrew Cagney <[email protected]> |
2465 | ||
2466 | * Makefile.in (gdbtk-wrapper.o): Add missing dependencies. | |
2467 | ||
7c40d541 KB |
2468 | 2002-04-08 Kevin Buettner <[email protected]> |
2469 | ||
2470 | From Jimi X <[email protected]>: | |
2471 | * rs6000-tdep.c (rs6000_software_single_step): Use | |
2472 | rs6000_breakpoint_from_pc() to fetch breakpoint instruction | |
2473 | and size. Use target_insert_breakpoint() and | |
2474 | target_remove_breakpoint() to insert and remove breakpoints | |
2475 | instead of explicit memory reads and writes. | |
2476 | ||
cc9836a8 KB |
2477 | 2002-04-08 Kevin Buettner <[email protected]> |
2478 | ||
2479 | * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete. | |
2480 | * rs6000-tdep.c (rs6000_push_arguments): Eliminate | |
2481 | ELF_OBJECT_FORMAT ifdef. | |
2482 | ||
7495d1dc KB |
2483 | 2002-04-08 Kevin Buettner <[email protected]> |
2484 | ||
2485 | From Jimi X <[email protected]>: | |
2486 | * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn(). | |
2487 | ||
4288e836 KB |
2488 | 2002-04-08 Kevin Buettner <[email protected]> |
2489 | ||
2490 | From Jimi X <[email protected]>: | |
2491 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro | |
2492 | definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET. | |
2493 | ||
a4e4e501 MK |
2494 | 2002-04-07 Mark Kettenis <[email protected]> |
2495 | ||
2496 | * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions): | |
2497 | s/asprintf/xasprintf/. | |
2498 | (fbsd_make_corefile_notes): s/strdup/xstrdup/. | |
2499 | ||
006defba AC |
2500 | 2002-04-07 Andrew Cagney <[email protected]> |
2501 | ||
2502 | I believe Jeff Law denies responsability for this one: | |
2503 | * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork. | |
2504 | * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork. | |
2505 | * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork. | |
2506 | Work-around for PR gdb/366. | |
2507 | ||
7aa83cac EZ |
2508 | 2002-04-07 Elena Zannoni <[email protected]> |
2509 | ||
2510 | * remote-e7000.c (write_small, e7000_read_inferior_memory, | |
2511 | e7000_read_inferior_memory_large, e7000_insert_breakpoint, | |
2512 | e7000_remove_breakpoint): Use paddr_nz() to print addresses. | |
2513 | ||
cf1fcca1 EZ |
2514 | 2002-04-07 Elena Zannoni <[email protected]> |
2515 | ||
2516 | * sh-tdep.c (sh_fp_frame_init_saved_regs, | |
2517 | sh_nofp_frame_init_saved_regs): Use alloca() for 'where' | |
2518 | information. | |
2519 | ||
3f289e6f AC |
2520 | 2002-04-07 Andrew Cagney <[email protected]> |
2521 | ||
2522 | * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER | |
2523 | maintainer. | |
2524 | ||
129188f6 AC |
2525 | 2002-04-07 Andrew Cagney <[email protected]> |
2526 | ||
2527 | * README (Reporting Bugs in GDB): Document the bug web page as the | |
2528 | prefered way of submitting bugs. | |
2529 | Fix PR gdb/402. | |
2530 | ||
1200cd6e AC |
2531 | 2002-04-06 Andrew Cagney <[email protected]> |
2532 | ||
2533 | * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of | |
2534 | -1. Update comment. | |
2535 | * gdbarch.h, gdbarch.c: Re-generate. | |
2536 | ||
2853c33c AS |
2537 | 2002-04-07 Andreas Schwab <[email protected]> |
2538 | ||
2539 | * m68klinux-nat.c (fill_fpregset): Properly pass address of | |
2540 | buffer to regcache_collect. | |
2541 | ||
c2169756 AC |
2542 | 2002-04-06 Andrew Cagney <[email protected]> |
2543 | ||
2544 | * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1. | |
2545 | * gdbarch.c, gdbarch.h: Re-generate. | |
2546 | ||
25f1b008 AC |
2547 | 2002-04-06 Andrew Cagney <[email protected]> |
2548 | ||
2549 | * symtab.c (lookup_symtab): Remove ``const'' from ``rp'' | |
2550 | declaration. Fix -Werror. | |
2551 | ||
59263426 DJ |
2552 | 2002-04-05 Daniel Jacobowitz <[email protected]> |
2553 | ||
2554 | * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap. | |
2555 | * gdbarch.c: Regenerate. | |
2556 | ||
f5db4da3 MS |
2557 | 2002-04-05 Michael Snyder <[email protected]> |
2558 | ||
80f8a6eb MS |
2559 | * breakpoint.c (clear_command): Rewrite middle section to |
2560 | combine two loops with identical control conditions. | |
2561 | Add a cleanup to eliminate a memory leak. | |
f5db4da3 MS |
2562 | * cli/cli-dump.c (restore_section_callback): Use paddr_nz. |
2563 | ||
ad3dcc5c L |
2564 | 2002-04-05 H.J. Lu ([email protected]) |
2565 | ||
2566 | * solib-svr4.c (bkpt_names): Add "__start". | |
2567 | ||
f32e7a74 AC |
2568 | 2002-04-04 Andrew Cagney <[email protected]> |
2569 | ||
2570 | * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64 | |
2571 | as test for 64 bit target. | |
2572 | ||
8227c0ff AC |
2573 | 2002-04-05 Andrew Cagney <[email protected]> |
2574 | ||
2575 | * h8500-tdep.c (h8500_write_fp): Delete function. | |
2576 | * dwarf2cfi.c (cfi_write_fp): Document as not used. | |
2577 | * mips-tdep.c (mips_gdbarch_init): Do not set write_fp. | |
2578 | * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp. | |
2579 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp. | |
2580 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp. | |
2581 | * s390-tdep.c (s390_gdbarch_init): Do not set write_fp. | |
2582 | (s390_write_fp): | |
2583 | * sh-tdep.c (sh_gdbarch_init): Do not set write_fp. | |
2584 | * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp. | |
2585 | * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp. | |
2586 | (d10v_write_fp): Delete function. | |
2587 | * inferior.h (write_fp, generic_target_write_fp): Delete | |
2588 | declarations. | |
2589 | * regcache.c (generic_target_write_fp): Delete function. | |
2590 | (write_fp): Delete function. | |
2591 | * gdbarch.sh (TARGET_WRITE_FP): Delete. | |
2592 | * gdbarch.h, gdbarch.c: Regenerate. | |
2593 | * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro. | |
2594 | * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro. | |
2595 | (sparc64_write_fp): Delete declaration. | |
2596 | * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro. | |
2597 | (h8500_write_fp): Delete declaration. | |
2598 | ||
2757dd86 AC |
2599 | 2002-04-04 Andrew Cagney <[email protected]> |
2600 | ||
2601 | * sparc-tdep.c (sparc64_write_fp): Delete. | |
2602 | (sparc_push_dummy_frame): Replace write_fp call with code to store | |
2603 | the FP directly. | |
2604 | (sparc_gdbarch_init): Do not initialize write_fp. | |
2605 | ||
c69255e1 KB |
2606 | 2002-04-05 Kevin Buettner <[email protected]> |
2607 | ||
2608 | * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable | |
2609 | clause. | |
2610 | ||
ae767bfb JB |
2611 | 2002-03-29 Jim Blandy <[email protected]> |
2612 | ||
2613 | * stack.c (get_selected_block): Add new argument `addr_in_block', | |
2614 | used to return the exact code address we used to select the block, | |
2615 | not just the block. | |
2616 | * blockframe.c (get_frame_block, get_current_block): Same. | |
2617 | * frame.h (get_frame_block, get_current_block, | |
2618 | get_selected_block): Update declarations. | |
2619 | * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c, | |
2620 | linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed. | |
2621 | ||
84d2ac95 MS |
2622 | 2002-04-05 Michael Snyder <[email protected]> |
2623 | ||
2624 | * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in | |
2625 | warning message. | |
2626 | ||
596aa3bf JB |
2627 | 2002-04-05 J. Brobecker <[email protected]> |
2628 | ||
2629 | * utils.c (xfullpath): New function. | |
2630 | * defs.h (xfullpath): Add declaration. | |
2631 | * source.c (openp): Use xfullpath in place of gdb_realpath to | |
2632 | avoid resolving the basename part of filenames when the | |
2633 | associated file is a symbolic link. This fixes a potential | |
2634 | inconsistency between the filenames known to GDB and the | |
2635 | filenames it prints in the annotations. | |
2636 | * symtab.c (lookup_symtab): Use the new xfullpath function, in order | |
2637 | to be able to match a filename with either the real filename, or | |
2638 | the name of any symbolic link to this file. | |
2639 | (lookup_partial_symtab): Ditto. | |
2640 | ||
c02f5703 MS |
2641 | 2002-04-04 Michael Snyder <[email protected]> |
2642 | ||
2643 | * breakpoint.c: Add support for hardware breakpoints in overlays. | |
2644 | (overlay_events_enabled): New state variable. | |
2645 | (insert_breakpoints): Use overlay_events_enabled to decide | |
2646 | whether to attempt to set a breakpoint at the overlay load addr. | |
2647 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
2648 | (remove_breakpoint): Use overlay_events_enabled to decide | |
2649 | whether breakpoints need to be removed from overlay load addr. | |
2650 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
2651 | (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays. | |
361d1df0 | 2652 | (create_overlay_event_breakpoint, enable_overlay_breakpoints, |
c02f5703 MS |
2653 | disable_overlay_breakpoints): Update overlay_events_enabled. |
2654 | ||
5fb290d7 DJ |
2655 | 2002-04-04 Daniel Jacobowitz <[email protected]> |
2656 | ||
2657 | * dwarf2read.c (struct function_range): New. | |
2658 | (cu_first_fn, cu_last_fn, cu_cached_fn): New. | |
2659 | (check_cu_functions): New. | |
2660 | (read_file_scope): Initialize global function lists. | |
2661 | Call dwarf_decode_line after processing children. | |
2662 | (read_func_scope): Add to global function list. | |
2663 | (dwarf_decode_lines): Call check_cu_functions everywhere | |
2664 | record_line is called. Call record_line with a linenumber | |
2665 | of 0 to mark sequence ends. | |
2666 | ||
7b3fabf0 ML |
2667 | 2002-04-04 Michal Ludvig <[email protected]> |
2668 | ||
361d1df0 | 2669 | * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI |
7b3fabf0 ML |
2670 | change sync with glibc. |
2671 | ||
bce58c09 JB |
2672 | 2002-04-03 Jim Blandy <[email protected]> |
2673 | ||
2674 | * configure.in: Call AC_C_INLINE. | |
2675 | * configure: Regenerated. | |
361d1df0 | 2676 | |
2fccf04a DJ |
2677 | 2002-04-01 Daniel Jacobowitz <[email protected]> |
2678 | ||
2679 | * rs6000-tdep.c: Change #include of "bfd/libcoff.h" | |
2680 | and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h". | |
2681 | ||
2d1bfe2e MK |
2682 | 2002-03-31 Mark Kettenis <[email protected]> |
2683 | ||
a5941fbf MK |
2684 | * NEWS: Mention gcore support on FreeBSD/i386. |
2685 | ||
a90cd31d MK |
2686 | * fbsd-proc.c: New file. |
2687 | * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define. | |
2688 | * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o. | |
2689 | ||
2d1bfe2e MK |
2690 | * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in |
2691 | while statement. | |
2692 | ||
9eb6e5a1 JB |
2693 | 2002-03-29 Jim Blandy <[email protected]> |
2694 | ||
2695 | * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate | |
2696 | unescaped newlines in string literals, but newer ones don't. So | |
2697 | escape them. | |
2698 | ||
f02df580 MS |
2699 | 2002-03-26 Michael Snyder <[email protected]> |
2700 | Andrew Cagney <[email protected]> | |
2701 | ||
361d1df0 | 2702 | * cli/cli-dump.c: New file. Dump memory to file, |
f02df580 MS |
2703 | restore file to memory. |
2704 | * cli/cli-dump.h: New file. | |
2705 | * Makefile.in: Add rules, dependencies for cli-dump.o. | |
89743e04 | 2706 | * NEWS: Mention new commands. |
f02df580 | 2707 | |
109f874e MS |
2708 | 2002-03-28 Michael Snyder <[email protected]> |
2709 | ||
2710 | * symfile.c (symbol_file_add): Move test for null symbols to later. | |
2711 | ||
520f6ade AC |
2712 | 2002-03-27 Andrew Cagney <[email protected]> |
2713 | ||
2714 | From veksler at il.ibm.com: | |
2715 | * utils.c (gdb_realpath): If canonicalize_file_name fails, return | |
2716 | the xstrduped original path. | |
2717 | Fix PR gdb/417. | |
2718 | ||
d4654627 MS |
2719 | 2002-03-27 Michael Snyder <[email protected]> |
2720 | ||
2721 | * breakpoint.c (_initialize_breakpoint): Clean up help string. | |
2722 | * infcmd.c (_initialize_infcmd): Ditto. | |
2723 | * language.c (_initialize_language): Ditto. | |
2724 | * symfile.c (_initialize_symfile): Ditto. | |
2725 | * top.c (_init_main): Ditto. | |
2726 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
2727 | ||
6be8bc0c EZ |
2728 | 2002-03-27 Elena Zannoni <[email protected]> |
2729 | ||
2730 | * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec | |
2731 | vector registers handling. | |
2732 | (skip_prologue): Handle new AltiVec instructions. Fill in new | |
2733 | fields of frame data. | |
2734 | (frame_get_saved_regs): Fill in information for AltiVec registers. | |
2735 | ||
12af6855 JB |
2736 | 2002-03-27 Jim Blandy <[email protected]> |
2737 | ||
2738 | * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into | |
2739 | a function; leave this macro here to invoke that function. | |
2740 | (symbol_init_mangled_name): Declaration for that function. | |
2741 | * symtab.c (symbol_init_mangled_name): New function. | |
2742 | ||
dc672865 AC |
2743 | 2002-03-27 Andrew Cagney <[email protected]> |
2744 | ||
2745 | * valarith.c: Replace strerror with safe_strerror. | |
2746 | * tracepoint.c: Ditto. | |
2747 | * lin-lwp.c: Ditto. | |
2748 | * go32-nat.c: Ditto. | |
2749 | * inflow.c: Ditto. | |
2750 | * gnu-nat.c: Ditto. | |
2751 | ||
d96429cd AS |
2752 | 2002-03-27 Andreas Schwab <[email protected]> |
2753 | ||
2754 | * event-top.c (command_line_handler): Remove useless if. | |
2755 | ||
7e336ba1 AJ |
2756 | 2002-03-27 Andreas Jaeger <[email protected]> |
2757 | ||
2758 | * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright | |
2759 | comment. | |
2760 | ||
de220d0f ML |
2761 | 2002-03-27 Michal Ludvig <[email protected]> |
2762 | ||
2763 | * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines. | |
2764 | (x86_64_num_regs, x86_64_num_gregs): Added extern variables. | |
2765 | * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS. | |
2766 | (x86_64_linux_dr_get_status, supply_gregset), | |
2767 | (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs. | |
2768 | * x86-64-tdep.c (x86_64_register_raw_size_table): Delete. | |
2769 | (x86_64_register_info_table): Add. | |
2770 | (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add. | |
2771 | (x86_64_register_raw_size, x86_64_register_virtual_type), | |
2772 | (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new | |
2773 | general x86_64_register_info_table. | |
2774 | (i386_gdbarch_init): gdbarch_register_bytes is now set | |
2775 | dynamicaly during initialization. | |
2776 | * regformats/reg-x86-64.dat: Synced with changes to registers above. | |
2777 | * gdbserver/linux-x86-64-low.c: Ditto. | |
7e336ba1 | 2778 | |
0e98d0a7 DJ |
2779 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
2780 | ||
2781 | * gdbserver/server.c (main): Call target_signal_to_host_p | |
2782 | and target_signal_to_host on signals received from the remote. | |
2783 | * gdbserver/remote-utils.c (prepare_resume_reply): Call | |
2784 | target_signal_from_host on signals sent to the remote. | |
2785 | * gdbserver/server.h: Add prototypes. Include "gdb/signals.h". | |
2786 | * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}. | |
2787 | ||
3130066b DJ |
2788 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
2789 | ||
2790 | * signals/signals.c: Include "server.h" in gdbserver build. | |
2791 | (target_signal_from_name): Don't use STREQ. | |
2792 | (_initialize_signals): Likewise. Don't include function in | |
2793 | gdbserver build. | |
2794 | ||
9aedf4f4 DJ |
2795 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
2796 | ||
2797 | * signals.c: Moved to... | |
2798 | * signals/signals.c: Here. | |
7e336ba1 | 2799 | * Makefile (signals.o): Update. |
9aedf4f4 | 2800 | |
3fa41cdb JL |
2801 | 2002-03-26 Jeff Law ([email protected]) |
2802 | ||
2803 | * somread.c (som_symtab_read): Remove some commented out code and | |
2804 | updated related comments. Do not set the minimal symbol table to | |
2805 | mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope | |
2806 | in a dynamic executable. | |
2807 | * hppa-tdep.c (find_proc_framesize): Sanely handle the case | |
2808 | where we are unable to find the minimal symbol for the given | |
2809 | PC value. | |
2810 | ||
ee677e8d MS |
2811 | 2002-03-25 Jeff Law ([email protected]) |
2812 | ||
2813 | * linux-proc.c (read_mapping): Scan up to end of line for filename. | |
2814 | ||
e76e1718 ML |
2815 | 2002-03-25 Michal Ludvig <[email protected]> |
2816 | ||
2817 | * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch. | |
2818 | ||
18a642a1 AC |
2819 | 2002-03-23 Andrew Cagney <[email protected]> |
2820 | ||
2821 | * command.h: Update copyright. | |
2822 | (struct cmd_list_element): Replace definition with opaque | |
2823 | declaration. | |
2824 | (enum cmd_types): Document that it will eventually be moved to | |
2825 | cli/cli-decode.h | |
2826 | (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros. | |
2827 | (MALLOCED_REPLACEMENT): Delete macro. | |
2828 | * Makefile.in (cli_decode_h): Add $(command_h). | |
2829 | (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h). | |
7e336ba1 | 2830 | * top.c: Include "cli/cli-decode.h". |
18a642a1 AC |
2831 | * completer.c: Include "cli/cli-decode.h". |
2832 | * maint.c: Include "cli/cli-decode.h". | |
2833 | * cli/cli-decode.h: Include "command.h". | |
2834 | (enum command_class): Delete. | |
2835 | (enum cmd_types): Comment out. | |
2836 | (enum cmd_auto_boolean): Delete. | |
2837 | (enum var_types): Delete. | |
2838 | ||
b2875cc0 AC |
2839 | 2002-03-23 Andrew Cagney <[email protected]> |
2840 | ||
2841 | * cli/cli-decode.c: Include "gdb_assert.h". | |
2842 | (add_set_or_show_cmd): New static function. | |
2843 | (add_set_cmd): Rewrite. Use add_set_or_show_cmd. | |
2844 | (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy | |
2845 | all fields, such as func, from the set command. | |
2846 | ||
3b45974e AC |
2847 | 2002-03-23 Andrew Cagney <[email protected]> |
2848 | ||
2849 | * MAINTAINERS (sh-elf): Change warning flag to -w. | |
2850 | ||
823ca731 AC |
2851 | 2002-03-23 Andrew Cagney <[email protected]> |
2852 | ||
2853 | * defs.h (error): Add printf format attribute. | |
2854 | * thread-db.c (thread_from_lwp): Fix error format string. | |
2855 | * stack.c (parse_frame_specification): Ditto. | |
2856 | * cli/cli-decode.c (undef_cmd_error): Ditto. | |
2857 | * scm-lang.c (scm_lookup_name): Ditto. | |
2858 | * tracepoint.c (trace_error): Ditto. | |
2859 | * remote-utils.c (usage): Ditto. | |
2860 | * remote.c (compare_sections_command): Ditto. | |
2861 | Fix PR gdb/328. | |
2862 | ||
0e101458 AC |
2863 | 2002-03-22 Andrew Cagney <[email protected]> |
2864 | ||
2865 | * gdbtypes.c (append_composite_type_field): New function. | |
2866 | (init_composite_type): New function. | |
2867 | * gdbtypes.h (append_composite_type_field): Declare. | |
2868 | (init_composite_type): Ditto. | |
2869 | ||
8e0662df EZ |
2870 | 2002-03-22 Elena Zannoni <[email protected]> |
2871 | ||
2872 | * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New | |
7e336ba1 | 2873 | function. |
8e0662df EZ |
2874 | * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export. |
2875 | * rs6000-tdep.c (rs6000_gdbarch_init): Use different | |
2876 | structure returning convention for SYSV ABI case, but not | |
2877 | for GNU/Linux, FreeBSD, or NetBSD. | |
2878 | ||
3121eff0 DJ |
2879 | 2002-03-22 Daniel Jacobowitz <[email protected]> |
2880 | ||
2881 | * symtab.h (lookup_block_symbol): Add mangled_name argument | |
2882 | to prototype. | |
2883 | ||
2884 | * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol | |
2885 | with new mangled_name argument. | |
2886 | * linespec.c (decode_line_1): Likewise. | |
2887 | * valops (value_of_this): Likewise. | |
2888 | * symtab.c (lookup_transparent_type): Likewise. | |
2889 | (lookup_symbol_aux): Likewise. Accept new mangled_name argument. | |
2890 | (lookup_symbol): If we are given a mangled name, pass it down | |
2891 | to lookup_symbol_aux. | |
2892 | (lookup_block_symbol): If we are given a mangled name to check | |
2893 | against, only return symbols which match it. | |
2894 | ||
349b409f CF |
2895 | 2002-03-22 Christopher Faylor <[email protected]> |
2896 | ||
2897 | * win32-nat.c (child_create_inferior): Check for proper shell to use | |
2898 | here, in case the user changes it on the fly. | |
2899 | (_initialize_inftarg): Remove shell path considerations. | |
2900 | ||
2a873819 EZ |
2901 | 2002-03-21 Elena Zannoni <[email protected]> |
2902 | ||
2903 | * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value | |
2904 | for gdbarch_max_register_raw_size and max_register_virtual_size. | |
2905 | Adjust copyright year. | |
2906 | ||
a1b9830c DJ |
2907 | 2002-03-21 Daniel Jacobowitz <[email protected]> |
2908 | ||
2909 | * dbxread.c (process_one_symbol): Extend the first N_SLINE | |
2910 | in a function to cover the entire beginning of the function | |
2911 | as well if it does not already. | |
2912 | ||
8b5790f2 TR |
2913 | 2002-03-21 Tom Rix <[email protected]> |
2914 | ||
2915 | * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32. | |
2916 | (rs6000_ptrace64): Renamed from ptrace64. | |
2917 | ||
bdbe5747 MH |
2918 | 2002-03-20 Martin M. Hunt <[email protected]> |
2919 | ||
2920 | * gdbserver/remote-utils.c (remote_open): Don't call | |
2921 | getprotobyname, we're all using TCP here so just use | |
2922 | IPPROTO_TCP. | |
7e336ba1 | 2923 | * gdbserver/gdbreplay.c (remote_open): Ditto. |
bdbe5747 MH |
2924 | |
2925 | 2002-03-20 Martin M. Hunt <[email protected]> | |
7e336ba1 | 2926 | |
bdbe5747 MH |
2927 | * regcache.c (_initialize_regcache): No need to call |
2928 | build_regcache() at this time; it gets called whenever | |
2929 | the gdbarch changes. | |
2930 | ||
7781cd62 DB |
2931 | 2002-03-20 David O'Brien <[email protected]> |
2932 | ||
2933 | * sparc-nat.c: Include sys/param.h where possible. | |
2934 | ||
f65ca430 DJ |
2935 | 2002-03-20 Daniel Jacobowitz <[email protected]> |
2936 | ||
2937 | Fix PR gdb/422. | |
2938 | * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX, | |
2939 | FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX. | |
2940 | * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for | |
2941 | complex types. | |
2942 | * stabsread.c (rs6000_builtin_type): Likewise. | |
2943 | (read_sun_floating_type): Likewise. | |
2944 | ||
0c867556 PS |
2945 | 2002-03-19 Peter Schauer <[email protected]> |
2946 | ||
2947 | * stabsread.c (read_member_functions): Remove skip code for duplicate | |
2948 | constructor/destructor methods. Use standard parsing for these | |
2949 | methods and just do not chain them to the list of methods after | |
2950 | parsing. | |
2951 | ||
12b9c64f AO |
2952 | 2002-03-19 Alexandre Oliva <[email protected]> |
2953 | ||
2954 | * coffread.c: Remove redundant static declarations. Replace | |
2955 | occurrences of `PTR' with `void *'. | |
2956 | * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise. | |
2957 | * top.h (quit_cover): Likewise. | |
2958 | * defs.h (catch_errors): Likewise. | |
2959 | ||
349c5d5f AC |
2960 | 2002-03-18 Andrew Cagney <[email protected]> |
2961 | ||
2962 | * defs.h (XMALLOC): Define. | |
2963 | * gdb-events.sh (XMALLOC): Delete macro. | |
2964 | * gdb-events.c, gdb-events.h: Regenerate. | |
2965 | * gdbarch.sh (XMALLOC): Delete macro. | |
2966 | * gdbarch.c: Regenerate. | |
2967 | * serial.c (XMALLOC): Delete macro. | |
2968 | * ui-file.c (XMALLOC): Ditto. | |
2969 | * ser-unix.h (XMALLOC): Ditto. | |
2970 | * sh-tdep.c (XMALLOC): Ditto. | |
2971 | * ui-out.c (XMALLOC): Ditto. | |
2972 | * utils.c (XMALLOC): Ditto. | |
2973 | * i386-tdep.c (XMALLOC): Ditto. | |
2974 | * gdb-events.c (XMALLOC): Ditto. | |
2975 | * d10v-tdep.c (XMALLOC): Ditto. | |
2976 | * cli-out.c (XMALLOC): Ditto. | |
2977 | ||
2978 | * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright. | |
2979 | * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto. | |
2980 | * ui-file.c, ui-out.c: Ditto. | |
2981 | ||
7d0766f3 AC |
2982 | 2002-03-18 Andrew Cagney <[email protected]> |
2983 | ||
2984 | * command.h (struct cmd_list_element): Add field context. | |
2985 | (set_cmd_context, get_cmd_context): Declare. | |
2986 | * cli/cli-decode.h: Ditto. | |
2987 | * cli/cli-decode.c (get_cmd_context): New function. | |
2988 | (set_cmd_context): New function. | |
2989 | (add_cmd): Initialize context. | |
2990 | Part of fixing PR gdb/145 and PR gdb/146. | |
2991 | ||
5913bcb0 AC |
2992 | 2002-03-17 Andrew Cagney <[email protected]> |
2993 | ||
1868c04e AC |
2994 | * cli/cli-decode.c (cmd_type): New function. |
2995 | * command.h (cmd_type): Declare. | |
2996 | * infrun.c (set_schedlock_func): Call function cmd_type. | |
2997 | * kod.c (kod_set_os): Call cmd_type. | |
2998 | * cris-tdep.c (cris_version_update): Use function cmd_type. | |
2999 | (cris_mode_update, cris_abi_update): Ditto. | |
3000 | ||
5913bcb0 AC |
3001 | * command.h: (execute_cmd_post_hook): Declare. |
3002 | (execute_cmd_pre_hook): Declare. | |
3003 | * cli/cli-script.c (clear_hook_in_cleanup): New function. | |
3004 | (execute_cmd_post_hook, execute_cmd_pre_hook): New | |
3005 | functions. Execute pre/post hook while ensuring that afterwords | |
3006 | hook_in is cleared. | |
3007 | * top.c (execute_command): Use execute_cmd_post_hook, and | |
3008 | execute_cmd_pre_hook to execute pre/post commands. | |
3009 | * infrun.c (normal_stop): Pass stop_command and not pre_hook to | |
3010 | hook_stop_stub. | |
3011 | (hook_stop_stub): Call execute_cmd_pre_hook. | |
3012 | ||
b51450c9 AC |
3013 | 2002-03-17 Andrew Cagney <[email protected]> |
3014 | ||
3015 | * kod.c (kod_set_os): Revert previous change. Is called by ``info | |
3016 | set'' and this leads to a core dump. Move xstrdup of | |
3017 | operating_system to after check that it is not NULL. | |
3018 | ||
f66c9f11 AC |
3019 | 2002-03-17 Andrew Cagney <[email protected]> |
3020 | ||
8e694ecf AC |
3021 | * kod.c (kod_set_os): Remove unnecessary check that |
3022 | ``command->type'' is set_cmd. | |
3023 | ||
f66c9f11 AC |
3024 | * valprint.c (set_input_radix): Use input_radix. |
3025 | (set_output_radix): Use output_radix. | |
3026 | (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix | |
3027 | isn't reverted. | |
3028 | ||
9d01611c AC |
3029 | 2002-03-16 Andrew Cagney <[email protected]> |
3030 | ||
3031 | * value.h (struct value): Delete field ``substring_addr''. Change | |
3032 | aligner fields to force_doublest_align, force_longest_align, | |
ee2d3b3a AC |
3033 | force_core_addr_align and force_pointer_aligh. |
3034 | ||
3035 | * value.h (struct value): Fix typo in above change. | |
9d01611c | 3036 | |
4156bb53 PS |
3037 | 2002-03-16 Peter Schauer <[email protected]> |
3038 | ||
3039 | * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip, | |
3040 | to fix internal_error from ``maintenance print architecture''. | |
3041 | ||
0e5e3ea6 PS |
3042 | 2002-03-16 Peter Schauer <[email protected]> |
3043 | ||
3044 | * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type | |
3045 | for gcc versions after gcc-2.8.1. | |
3046 | ||
9b013045 PS |
3047 | 2002-03-16 Peter Schauer <[email protected]> |
3048 | ||
3049 | * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer | |
3050 | for method resolution. Restore adjustment of ``this'' pointer after | |
3051 | calling value_struct_elt, which was accidentally removed during the | |
3052 | HP merge. | |
3053 | ||
376c9600 AC |
3054 | 2002-03-15 Andrew Cagney <[email protected]> |
3055 | ||
3056 | * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to | |
3057 | value_of_register. | |
3058 | * findvar.c (value_of_register): Add ``frame'' parameter. Pass to | |
3059 | get_saved_register. | |
3060 | * value.h (value_of_register): Update. | |
3061 | ||
a4db0f07 RH |
3062 | 2002-03-14 Richard Henderson <[email protected]> |
3063 | ||
3064 | * configure.in: Detect declaration for canonicalize_file_name. | |
3065 | * utils.c (canonicalize_file_name): Declare, if needed. | |
3066 | (gdb_realpath): Prefer realpath if available and usable. | |
3067 | * config.in, configure: Rebuild. | |
3068 | ||
96383835 RH |
3069 | 2002-03-14 Richard Henderson <[email protected]> |
3070 | ||
3071 | * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as | |
3072 | a constant array bound. | |
3073 | ||
3074 | * MAINTAINERS: Add myself to write-after-approval. | |
3075 | ||
75245b24 MS |
3076 | 2002-03-14 Michael Snyder <[email protected]> |
3077 | ||
3078 | * symfile.c (syms_from_objfile): Return immediately if no syms. | |
3079 | (symbol_file_add): Return immediately if no syms. | |
3080 | (find_sym_fns): Return immediately if no syms. | |
3081 | ||
e641a1ca ML |
3082 | 2002-03-13 Michal Ludvig <[email protected]> |
3083 | ||
3084 | * gdbserver/remote-util.c (remote_open): Print remote-side's | |
3085 | IP address when remote debugging over the network. | |
7e336ba1 | 3086 | |
df08bfec DB |
3087 | 2002-03-12 David O'Brien <[email protected]> |
3088 | ||
3089 | * config/sparc/fbsd.mh: Fix copyright. | |
3090 | * config/sparc/fbsd.mt: Likewise. | |
3091 | ||
9a57864f RE |
3092 | 2002-03-11 Richard Earnshaw <[email protected]> |
3093 | ||
3094 | * MAINTAINERS: Fix typo in name of gdb warnings option. | |
3095 | (x86-64): Fix formating so that this can be parsed by awk. | |
3096 | ||
dd7bf85e DJ |
3097 | 2002-03-10 Daniel Jacobowitz <[email protected]> |
3098 | ||
3099 | * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h. | |
3100 | * defs.h: Include "gdb/signals.h". | |
3101 | (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h. | |
3102 | ||
33a0a2ac ML |
3103 | 2002-03-10 Michal Ludvig <[email protected]> |
3104 | ||
3105 | * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c | |
7e336ba1 | 3106 | * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here |
33a0a2ac ML |
3107 | from x86-64-tdep.h |
3108 | ||
dd824b04 DJ |
3109 | 2002-03-10 Daniel Jacobowitz <[email protected]> |
3110 | Don Howard <[email protected]> | |
3111 | ||
3112 | * mips-tdep.c (ST0_FR): Define. | |
3113 | (mips2_fp_compat): New function, temporarily disabled. | |
3114 | (mips_read_fp_register_single): New function. | |
3115 | (mips_read_fp_register_double): New function. | |
3116 | (mips_print_register): Use them. | |
3117 | (do_fp_register_row): Likewise. | |
3118 | ||
6a41ff59 AC |
3119 | 2002-03-09 Andrew Cagney <[email protected]> |
3120 | ||
3121 | * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after | |
3122 | approval''. | |
3123 | ||
4ea09c10 PS |
3124 | 2002-03-08 Peter Schauer <[email protected]> |
3125 | ||
3126 | * stabsread.c (read_member_functions): Fix is_stub test for | |
3127 | static member functions, improve comment. | |
3128 | ||
6ccc741d RE |
3129 | 2002-03-07 Richard Earnshaw <[email protected]> |
3130 | ||
3131 | * remote-rdi.c (myprint): Replace 'PTR' with 'void *'. | |
3132 | (mywrite, mywritec, mypause, myreadc, mygets): Likewise. | |
3133 | (_initialize_remote_rdi): Use add_set_boolean_cmd to register | |
3134 | commands that set boolean values. | |
3135 | (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning. | |
3136 | (arm_rdi_resume): Always initialize PC. | |
3137 | (arm_rdi_open): Don't use rslt as a boolean. | |
3138 | (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume) | |
3139 | (arm_rdi_fetch_registers, arm_rdi_store_registers) | |
3140 | (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill) | |
3141 | (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise. | |
3142 | ||
438013df AO |
3143 | 2002-03-06 Alexandre Oliva <[email protected]> |
3144 | ||
3145 | * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX. | |
3146 | * configure: Rebuilt. | |
3147 | ||
70ed8774 SC |
3148 | 2002-03-06 Stephane Carrez <[email protected]> |
3149 | ||
3150 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn. | |
3151 | (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead. | |
3152 | ||
5ba2abeb AC |
3153 | 2002-03-06 Andrew Cagney <[email protected]> |
3154 | ||
3155 | * cli/cli-decode.c (set_cmd_completer): New function. | |
3156 | * command.h (set_cmd_completer): Declare. | |
3157 | * cli/cli-decode.h (set_cmd_completer): Ditto. | |
3158 | ||
3159 | * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer. | |
3160 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
3161 | * win32-nat.c (_initialize_inftarg): Ditto. | |
3162 | * remote-rdi.c (_initialize_remote_rdi): Ditto. | |
3163 | * proc-api.c (_initialize_proc_api): Ditto. | |
3164 | * hppa-tdep.c (_initialize_hppa_tdep): Ditto. | |
3165 | * source.c (_initialize_source): Ditto. | |
3166 | * exec.c (_initialize_exec): Ditto. | |
3167 | * solib.c (_initialize_solib): Ditto. | |
3168 | * top.c (init_main): Ditto. | |
3169 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
3170 | * symfile.c (_initialize_symfile): Ditto. | |
3171 | * printcmd.c (_initialize_printcmd): Ditto. | |
3172 | * infcmd.c (_initialize_infcmd): Ditto. | |
3173 | * corefile.c (_initialize_core): Ditto. | |
3174 | ||
f779ca99 AC |
3175 | 2002-03-05 Andrew Cagney <[email protected]> |
3176 | ||
3177 | * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler. | |
3178 | ||
01a3934b AC |
3179 | 2002-03-05 Andrew Cagney <[email protected]> |
3180 | ||
3181 | * MAINTAINERS: Fix Mac OS X and Objective-C/C++. | |
3182 | ||
37057839 AC |
3183 | 2002-03-05 Andrew Cagney <[email protected]> |
3184 | ||
3185 | * NEWS: Update headings, 5.2 has branched. | |
3186 | ||
c6ecbae5 DJ |
3187 | 2002-03-04 Daniel Jacobowitz <[email protected]> |
3188 | ||
3189 | * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long. | |
3190 | (num_regs, regmap): Move inside HAVE_LINUX_USRREGS. | |
3191 | (register_addr, REGISTER_RAW_SIZE): Likewise. | |
3192 | (usr_store_inferior_registers): Use PTRACE_XFER_TYPE. | |
3193 | * gdbserver/linux-x86-64-low.c: Remove extra #endif. | |
3194 | ||
e9f30c21 ML |
3195 | 2002-03-03 Michal Ludvig <[email protected]> |
3196 | ||
3197 | * MAINTAINERS (x86-64): Add myself. | |
3198 | * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs, | |
3199 | changed value_ptr -> struct value * | |
3200 | ||
54394ac3 DB |
3201 | 2002-03-01 David O'Brien <[email protected]> |
3202 | ||
3203 | * configure.host (sparc64-*-freebsd): Add. | |
3204 | * configure.tgt: Likewise. | |
3205 | * config/sparc/fbsd.mh: New file. | |
3206 | * config/sparc/fbsd.mt: Likewise. | |
3207 | * config/sparc/nm-fbsd.h: Likewise. | |
3208 | * config/sparc/tm-fbsd.h: Likewise. | |
3209 | ||
bfe95955 DJ |
3210 | 2002-03-01 Daniel Jacobowitz <[email protected]> |
3211 | ||
3212 | * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and | |
3213 | regformats/reg-s390x.dat. | |
3214 | ||
f33c6cbf AC |
3215 | 2002-03-01 Andrew Cagney <[email protected]> |
3216 | ||
3217 | * utils.c: Add FIXME explaining true/false problem. | |
3218 | ||
5ecaa7dd AC |
3219 | 2002-02-28 Andrew Cagney <[email protected]> |
3220 | ||
3221 | * MAINTAINERS (Past Maintainers): Add J.T. Conklin. | |
3222 | ||
2a251cc2 MC |
3223 | 2002-02-28 Michael Chastain <[email protected]> |
3224 | ||
3225 | * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs . | |
3226 | ||
6a8031a3 | 3227 | 2002-02-28 Daniel Jacobowitz <[email protected]> |
265f716b DJ |
3228 | |
3229 | * gdbserver/linux-s390-low.c: New file. | |
3230 | * regformats/reg-s390.dat: New file. | |
3231 | * regformats/reg-s390x.dat: New file. | |
3232 | * gdbserver/configure.srv: Add S/390. | |
3233 | * gdbserver/Makefile.in: Add S/390. | |
3234 | * configure.tgt: Enable gdbserver for S/390. | |
3235 | ||
ac469903 EZ |
3236 | 2002-02-28 Eli Zaretskii <[email protected]> |
3237 | ||
3238 | * go32-nat.c (_initialize_go32_nat): Don't use periods in the | |
3239 | first line of the doc string for "info dos", except at the end of | |
3240 | the sentence, since the short help stops at the first period. | |
3241 | ||
985cb1a3 JM |
3242 | 2002-02-28 Jason Merrill <[email protected]> |
3243 | ||
3244 | * dwarf2read.c (dwarf_cfi_name): Add new codes. | |
3245 | ||
c570663e FF |
3246 | 2002-02-27 Fred Fish <[email protected]> |
3247 | ||
3248 | * blockframe.c (generic_fix_call_dummy): Fix obvious typo in | |
3249 | comment (dumy -> dummy). | |
3250 | ||
43630227 PS |
3251 | 2002-02-27 Peter Schauer <[email protected]> |
3252 | ||
3253 | * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames. | |
3254 | ||
b84911e8 RB |
3255 | 2002-02-27 Rodney Brown <[email protected]> |
3256 | ||
3257 | * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5. | |
3258 | ||
58caa3dc DJ |
3259 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
3260 | ||
3261 | * gdbserver/acconfig.h: New file. | |
3262 | * gdbserver/i387-fp.c: New file. | |
3263 | * gdbserver/i387-fp.h: New file. | |
3264 | * gdbserver/linux-x86-64.c: New file. | |
3265 | * regformats/reg-x86-64.dat: New file. | |
3266 | * configure.tgt: Add x86_64-*-linux* gdbserver support. | |
3267 | * gdbserver/configure.srv: Add x86_64-*-linux* and regset support. | |
3268 | * gdbserver/configure.in: Add support for regsets. | |
3269 | * gdbserver/config.in: Regenerate. | |
3270 | * gdbserver/configure: Regenerate. | |
3271 | * gdbserver/Makefile.in: Likewise. Add $(linux_low_h). | |
3272 | * gdbserver/linux-low.h: New file. | |
3273 | * gdbserver/linux-low.c: Include "linux-low.h". Add support | |
3274 | for regsets. | |
3275 | * gdbserver/linux-arm-low.c: Include "linux-low.h". | |
3276 | * gdbserver/linux-ia64-low.c: Include "linux-low.h". | |
3277 | * gdbserver/linux-m68k-low.c: Include "linux-low.h". | |
3278 | * gdbserver/linux-mips-low.c: Include "linux-low.h". | |
3279 | * gdbserver/linux-ppc-low.c: Include "linux-low.h". | |
3280 | * gdbserver/linux-sh-low.c: Include "linux-low.h". | |
3281 | * gdbserver/linux-i386-low.c: Include "linux-low.h". Include | |
3282 | "i387-fp.h". Add PTRACE_GETREGS and friends. | |
3283 | * gdbserver/regcache.c (supply_register): New function. | |
3284 | (supply_register_by_name): New function. | |
3285 | (collect_register): New function. | |
3286 | (collect_register_by_name): New function. | |
3287 | ||
93652174 DJ |
3288 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
3289 | ||
3290 | * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER. | |
3291 | (config.status): Add configure.srv dependency. | |
3292 | (server_h): Add config.h dependency. | |
3293 | ||
a02e4a61 DJ |
3294 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
3295 | ||
3296 | * regformats/reg-i386-linux.dat: New file, with $orig_eax. | |
3297 | * gdbserver/Makefile.in: Add rules for reg-i386-linux.o. | |
3298 | * gdbserver/configure.srv: Change i386-*-linux* to use | |
3299 | reg-i386-linux.o. | |
3300 | ||
ce0eebec AC |
3301 | 2002-02-26 Andrew Cagney <[email protected]> |
3302 | ||
3303 | * x86-64-tdep.c: Re-indent. Update copyright date. | |
3304 | ||
82dbc5f7 AC |
3305 | 2002-02-26 Andrew Cagney <[email protected]> |
3306 | ||
3307 | From Michal Ludvig <[email protected]>: | |
3308 | * x86-64-tdep.c (value.h): Delete. | |
3309 | (gdb_assert.h): Include. | |
3310 | (x86_64_register_convert_to_virtual, | |
3311 | x86_64_register_convert_to_raw ): Add check which lets only | |
3312 | floating-point values to be converted. | |
3313 | (value_push): Delete. | |
3314 | (x86_64_push_arguments): Order of arguments pushed on stack fixed. | |
3315 | (i386_gdbarch_init): Number of register_bytes fixed. | |
3316 | ||
e4621584 AC |
3317 | 2002-02-26 Andrew Cagney <[email protected]> |
3318 | ||
3319 | * MAINTAINERS: Add x86-64 target. | |
3320 | ||
81a9a963 AC |
3321 | 2002-02-26 Andrew Cagney <[email protected]> |
3322 | ||
3323 | * memattr.c (mem_command): Eliminate ``true'' and ``false''. | |
3324 | * osfsolib.c (solib_map_sections): Ditto. | |
3325 | * irix5-nat.c (solib_map_sections): Ditto. | |
3326 | * corelow.c (gdb_check_format): Ditto. | |
3327 | * symfile.c (symfile_bfd_open): Ditto. | |
3328 | * solib.c (solib_map_sections): Ditto. | |
3329 | Fix PR gdb/354. | |
7e336ba1 | 3330 | |
0f017ab9 AC |
3331 | 2002-02-26 Andrew Cagney <[email protected]> |
3332 | ||
3333 | * remote.c (_initialize_remote): By default, disable ``e'' and | |
3334 | ``E'' step out-of-range packets. | |
3335 | ||
75738c29 AS |
3336 | 2002-02-26 Andreas Schwab <[email protected]> |
3337 | ||
3338 | * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as | |
3339 | m68k_linux_frame_saved_pc. | |
3340 | (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of | |
3341 | in_sigtramp. | |
3342 | (SIGCONTEXT_PC_OFFSET): Remove. | |
3343 | * m68klinux-nat.c (m68k_linux_frame_saved_pc, | |
3344 | m68k_linux_sigtramp_saved_pc): New functions. | |
3345 | (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define. | |
3346 | (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h. | |
3347 | (UCONTEXT_PC_OFFSET): Define. | |
3348 | (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both | |
3349 | non-RT and RT signal trampolines. | |
3350 | ||
7e8ed687 RE |
3351 | 2002-02-26 Richard Earnshaw <[email protected]> |
3352 | ||
3353 | * config/arm/tm-embed.h (TARGET_UPAGES): Delete. | |
3354 | (TARGET_NBPG, STACK_END_ADDR): Delete | |
3355 | (VARIABLES_INSIDE_BLOCK): Delete. | |
3356 | ||
6972bc8b AC |
3357 | 2002-02-25 Andrew Cagney <[email protected]> |
3358 | ||
3359 | * utils.c (perror_with_name): Make string parameter constant. | |
3360 | (print_sys_errmsg): Ditto. | |
3361 | (query): Ditto. | |
3362 | * defs.h (perror_with_name): Update. | |
3363 | (print_sys_errmsg): Update. | |
3364 | (query): Update. | |
3365 | ||
aa32f823 DJ |
3366 | 2002-02-25 Daniel Jacobowitz <[email protected]> |
3367 | ||
3368 | From Eliot Dresselhaus <[email protected]>: | |
3369 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo. | |
3370 | ||
19caaa45 PS |
3371 | 2002-02-25 Peter Schauer <[email protected]> |
3372 | ||
3373 | * rs6000-nat.c (set_host_arch): Do not switch to a new architecture | |
3374 | if it already matches the current architecture from the exec file. | |
3375 | Include arch-utils.h for gdbarch_info_init prototype. | |
3376 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
3377 | ||
d951901f EZ |
3378 | 2002-02-25 Eli Zaretskii <[email protected]> |
3379 | ||
3380 | * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the | |
3381 | list of exported variables. | |
3382 | ||
7ea81414 DJ |
3383 | 2002-02-24 Daniel Jacobowitz <[email protected]> |
3384 | ||
3385 | * gdbserver/configure.srv: New file. | |
3386 | * gdbserver/configure.in: Use configure.srv instead | |
3387 | of the host/target makefile fragments. Set GDBSERVER_DEPFILES | |
3388 | from it. | |
3389 | * gdbserver/configure: Regenerated. | |
3390 | * gdbserver/terminal.h: New file. | |
3391 | * gdbserver/Makefile.in: Update for configure changes. Remove | |
3392 | more unneeded include paths. | |
3393 | ||
080fe24b AC |
3394 | 2002-02-24 Andrew Cagney <[email protected]> |
3395 | ||
3396 | From wiz at danbala: | |
3397 | * config/sparc/tm-sp64.h: Fix grammar and typos. | |
3398 | Fix PR gdb/287. | |
3399 | ||
8605d56e AC |
3400 | 2002-02-24 Andrew Cagney <[email protected]> |
3401 | ||
3402 | * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux'' | |
a4b6fc86 AC |
3403 | with either ``GNU/Linux'' or ``Linux kernel''. Update copyright. |
3404 | * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto. | |
3405 | * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto. | |
ca557f44 AC |
3406 | * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto. |
3407 | * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto. | |
3408 | * s390-tdep.c: Ditto. | |
92362027 AC |
3409 | * config/nm-linux.h, config/alpha/nm-linux.h: Ditto. |
3410 | * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h: | |
3411 | * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto. | |
3412 | * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto. | |
3413 | * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto. | |
3414 | * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto. | |
3415 | * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto. | |
3416 | * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto. | |
3417 | * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto. | |
3418 | * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto. | |
8605d56e | 3419 | Fix PR gdb/378. |
7e336ba1 | 3420 | |
8ed32cc0 AC |
3421 | 2002-02-23 Andrew Cagney <[email protected]> |
3422 | ||
a3007b6f AC |
3423 | * lin-thread.c: Delete file. |
3424 | * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer | |
3425 | to gdb_proc_service.h. | |
3426 | * configure: Re-generate. | |
3427 | ||
50a9e2f1 AC |
3428 | * ocd.c (ocd_open): Do not try to open the "ocd" device. |
3429 | * serial.c (serial_open): Delete check for "ocd". | |
3430 | Fix PR gdb/349. | |
3431 | ||
8b6e7932 AC |
3432 | * Makefile.in (linux-thread.o): Delete target. |
3433 | * linux-thread.c: Delete file. | |
3434 | ||
d155c46b AC |
3435 | * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other |
3436 | renamed SH files to be consistent. | |
3437 | ||
8ed32cc0 AC |
3438 | * symtab.c (sort_search_symbols): Use xfree. |
3439 | ||
0e18d038 RE |
3440 | 2002-02-23 Richard Earnshaw <[email protected]> |
3441 | ||
3442 | * arm-linux-tdep.c (arm_linux_init_abi): Register | |
3443 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE | |
3444 | * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old | |
3445 | definition with undef, since we don't want the sysvr4 definition. | |
3446 | (SKIP_TRAMPOLINE_CODE): Likewise. | |
3447 | ||
27aac7ff AC |
3448 | 2002-02-23 Andrew Cagney <[email protected]> |
3449 | ||
3450 | From 2002-02-22 Alfred M. Szmidt <[email protected]>: | |
3451 | ||
3452 | * configure.in: (AC_CHECK_FUNCS) Added test for | |
3453 | canonicalize_file_name Regenerated. | |
3454 | * config.in, configure: Regenerated. | |
3455 | * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is | |
3456 | defined use canonicalize_file_name. | |
7e336ba1 | 3457 | |
65a6e0ee MC |
3458 | 2002-02-23 Michael Chastain <[email protected]> |
3459 | ||
3460 | * MAINTAINERS: Remove Michael Chastain from "paper trail" list. | |
3461 | ||
47b95330 AC |
3462 | 2002-02-23 Andrew Cagney <[email protected]> |
3463 | ||
3464 | * README: Remove references to cygnus.com. | |
3465 | * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar | |
3466 | dot com'' form. Remove references to cygnus.com and sourceware. | |
3467 | ||
696f451b AC |
3468 | 2002-02-23 Andrew Cagney <[email protected]> |
3469 | ||
3470 | From 2002-02-19 Paul Eggert <[email protected]>: | |
3471 | * Makefile.in (VER): Change "head -1" to "sed q", since POSIX | |
3472 | 1003.1-2001 no longer allows "head -1". | |
3473 | * gdb/Makefile.in (version.c): Likewise. | |
3474 | * gdb/doc/Makefile.in (GDBvn.texi): Likewise. | |
3475 | * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is | |
3476 | equivalent. POSIX 1003.1-2001 no longer allows "diff -c3". | |
3477 | ||
bbaca940 AC |
3478 | 2002-02-23 Andrew Cagney <[email protected]> |
3479 | ||
3480 | * cli/cli-decode.c (cmd_cfunc_eq): New function. | |
3481 | * command.h (cmd_cfunc_eq): Declare. | |
3482 | * cli/cli-decode.h (cmd_cfunc_eq): Ditto. | |
3483 | ||
3484 | * cli/cli-cmds.h (is_complete_command): Change parameter to a | |
3485 | ``struct cmd_list_element *''. | |
3486 | * cli/cli-cmds.c (is_complete_command): Update. Use | |
3487 | cmd_cfunc_eq. | |
3488 | * top.c (execute_command): Pass the command to | |
3489 | is_complete_command. | |
3490 | * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq. | |
3491 | ||
b8b8b047 AC |
3492 | 2002-02-23 Andrew Cagney <[email protected]> |
3493 | ||
3494 | From 2002-02-20 Martin Schwidefsky <[email protected]>: | |
3495 | * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed | |
3496 | architecture defines. | |
3497 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
3498 | ||
19d3fc80 RE |
3499 | 2002-02-23 Richard Earnshaw <[email protected]> |
3500 | ||
3501 | * arm-linux-tdep.c (arm_linux_extract_return_value): Make static. | |
3502 | (arm_linux_push_arguments): Likewise. | |
3503 | (arm_linux_init_abi): Register them. Also register linux-specific | |
3504 | call_dummy_words. | |
3505 | (find_minsym_and_objfile): Use strcmp, not STREQ. | |
3506 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete. | |
3507 | (arm_linux_call_dummy_words): Delete declaration. | |
3508 | (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete. | |
3509 | (arm_linux_extract_return_value, arm_linux_push_arguments): Delete | |
3510 | declarations. | |
3511 | (LOWEST_PC): Delete. | |
3512 | ||
3ab13650 PS |
3513 | 2002-02-23 Peter Schauer <[email protected]> |
3514 | ||
3515 | * maint.c (print_section_info): Do not prepend `0x' to filepos | |
3516 | output, it will be handled by local_hex_string_custom. | |
3517 | ||
19d3fc80 | 3518 | 2002-02-23 Richard Earnshaw <[email protected]> |
85ae890c RE |
3519 | |
3520 | * arm-linux-nat.c (store_newfpe_single): Use regcache_collect. | |
3521 | (store_newfpe_double, store_newfpe_extended, store_fpregister) | |
3522 | (store_register, store_regs, fill_gregset, fill_fpregset): Likewise. | |
3523 | ||
d85a5daf JB |
3524 | 2002-02-22 Jim Blandy <[email protected]> |
3525 | ||
3526 | Indicate that the bcache functions don't change the strings | |
3527 | they're passed. | |
3528 | * bcache.h (bcache, hash): Add `const' keywords to declarations. | |
3529 | * bcache.c (bcache, hash): Add `const' keywords to definitions. | |
3530 | ||
eeb25b8a PM |
3531 | 2002-02-22 Pierre Muller <[email protected]> |
3532 | ||
3533 | * win32-nat.c (child_create_inferior): Fix create flags setting bug. | |
3534 | ||
6badb179 CF |
3535 | 2002-02-21 Christopher Faylor <[email protected]> |
3536 | ||
3537 | * win32-nat.c (register_loaded_dll): Just use raw name when we can't | |
3538 | find the complete path to a loaded DLL. | |
3539 | ||
e8717518 FF |
3540 | 2002-02-21 Fred Fish <[email protected]> |
3541 | ||
3542 | * dbxread.c (process_one_symbol): When finding an N_FUN symbol | |
3543 | that marks the end of the range of a function, enter a line number | |
3544 | entry that has a line number of zero and a PC offset that matches | |
3545 | the end of the function. This starts a range of PC's for which no | |
3546 | line number information is known. | |
3547 | * symtab.c (find_pc_sect_line): If our best fit is in a range of | |
3548 | PC's for which no line number info is found (line number is zero) | |
3549 | then we didn't find any valid line information. | |
3550 | * symtab.h: Document use of zero line number entry. | |
3551 | ||
9abe5450 EZ |
3552 | 2002-02-21 Elena Zannoni <[email protected]> |
3553 | ||
3554 | * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define. | |
3555 | (have_ptrace_getvrregs): Define for run time checks. | |
3556 | (gdb_vrregset_t): New type for Altivec register handling. | |
3557 | (fetch_register, store_register): Fetch/store altivec register | |
3558 | when needed. | |
3559 | (fetch_altivec_register, store_altivec_register): New functions. | |
3560 | (supply_vrregset, fill_vrregset): New functions. | |
3561 | (fetch_altivec_registers, store_altivec_registers): New functions. | |
3562 | (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec | |
3563 | registers as well. | |
3564 | ||
aaa38bb5 AJ |
3565 | 2002-02-21 Jiri Smid <[email protected]> |
3566 | ||
3567 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o. | |
3568 | ||
b34db576 RE |
3569 | 2002-02-21 Richard Earnshaw <[email protected]> |
3570 | ||
3571 | * Makefile.in (armnbsd-nat.o): Update dependencies. | |
3572 | * armnbsd-nat.c (supply_gregset): New function. Common code to | |
3573 | supply the integer register set. | |
3574 | (supply_fparegset): New function. Similar for FPA registers. | |
3575 | (fetch_regs, fetch_fp_regs): Use them. | |
3576 | (fetch_core_registers): Likewise. | |
3577 | (fetch_elfcore_registers): New function. | |
3578 | (arm_netbsd_elfcore_fns): New core-file type specification. | |
3579 | (_initialize_arm_netbsd_nat): Register it. | |
3580 | ||
3e56fc4b RE |
3581 | 2002-02-21 Richard Earnshaw <[email protected]> |
3582 | ||
3583 | * armnbsd-nat.c: Include gdbcore.h. | |
3584 | (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined. | |
3585 | (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit | |
3586 | 'void' to declaration, to shut up ARI. | |
3587 | (fetch_core_registers): Make static. Rewrite using supply_register. | |
3588 | (arm_netbsd_core_fns): New core-file type specification. | |
3589 | (_initialize_arm_netbsd_nat): New function. | |
3590 | ||
097f6b0b CF |
3591 | 2002-02-21 Christopher Faylor <[email protected]> |
3592 | ||
3593 | * win32-nat.c (register_loaded_dll): Correctly check for invalid handle | |
3594 | value. | |
3595 | ||
c914e0cc CF |
3596 | 2002-02-20 Christopher Faylor <[email protected]> |
3597 | ||
3598 | * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile | |
3599 | fails. | |
3600 | ||
385fa495 DJ |
3601 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
3602 | ||
3603 | * jv-exp.y (parse_number): Change type of implicit longs | |
3604 | to builtin_type_uint64. | |
3605 | ||
e5f1222d DJ |
3606 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
3607 | ||
3608 | * gdbserver/linux-low.c (mywait): Change argument to waitpid | |
3609 | to be an integer instead of a `union wait'. | |
3610 | ||
75c9abc6 DJ |
3611 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
3612 | ||
3613 | * mips-linux-nat.c: Call the operating system GNU/Linux. | |
3614 | * mips-linux-tdep.c: Likewise. | |
3615 | * mips-tdep.c: Likewise. | |
3616 | ||
551792a5 DJ |
3617 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
3618 | ||
3619 | Fix PR gdb/265. | |
3620 | * jv-exp.y (parse_number): Handle 64-bit integers. | |
3621 | ||
ee6e2b82 DJ |
3622 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
3623 | ||
3624 | * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change | |
3625 | AC_STDC_HEADERS to AC_HEADER_STDC. | |
3626 | * gdbserver/configure: Regenerated. | |
3627 | ||
a48442a0 RE |
3628 | 2002-02-20 Richard Earnshaw <[email protected]> |
3629 | ||
3630 | * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC | |
3631 | is defined. | |
3632 | * sparc-tdep.c (get_longjmp_target): Likewise. | |
3633 | ||
fe419ffc RE |
3634 | 2002-02-20 Richard Earnshaw <[email protected]> |
3635 | ||
3636 | * News: Add news about ARM and Multi-arch. Mention the new target | |
3637 | arm*-*-netbsd*. | |
3638 | ||
5832ed7e JB |
3639 | 2002-02-19 Jim Blandy <[email protected]> |
3640 | ||
3641 | * stabsread.c (error_type_complaint): Improve error message. | |
3642 | ||
84563040 DJ |
3643 | 2002-02-19 Daniel Jacobowitz <[email protected]> |
3644 | ||
3645 | * gdbserver/README: Update documentation. | |
3646 | * gdbserver/configure.in: Update configury to match documentation. | |
3647 | * gdbserver/Makefile.in: Likewise. | |
3648 | * gdbserver/configure: Regenerated. | |
3649 | * gdbserver/aclocal.m4: New file, generated by aclocal. | |
3650 | * gdbserver/config.in: New file, generated by autoheader. | |
3651 | ||
375fd65b RE |
3652 | 2002-02-19 Richard Earnshaw <[email protected]> |
3653 | ||
3654 | * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and | |
3655 | armnbsd-nat.c. | |
3656 | ||
08216dd7 RE |
3657 | 2002-02-19 Richard Earnshaw <[email protected]> |
3658 | ||
3659 | * arm-tdep.h (enum arm_float_model): New enum. | |
3660 | (struct gdbarch_tdep): Add fp_model. | |
3661 | * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting | |
3662 | up floating-point conversions until we know the floating-point model | |
3663 | in use by the inferior. Don't complain about being unable to | |
3664 | determine the ABI of the inferior when we don't have one. | |
3665 | (arm_extract_return_value): Support different floating-point models. | |
3666 | (arm_store_return_value): Likewise. | |
aaa38bb5 | 3667 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to |
08216dd7 RE |
3668 | ARM_FLOAT_SOFT. |
3669 | (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP. | |
3670 | ||
65d6d66a PS |
3671 | 2002-02-19 Peter Schauer <[email protected]> |
3672 | ||
3673 | * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use | |
3674 | of ``current_gdbarch''. | |
3675 | ||
47221191 RE |
3676 | 2002-02-19 Richard Earnshaw <[email protected]> |
3677 | ||
3678 | * armnbsd-nat.c : ANSIfy all function declarations. | |
3679 | (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New. | |
3680 | (fetch_inferior_registers): Re-implement in terms of above. | |
3681 | (store_register, store_regs, store_fp_register, store_fp_regs): New. | |
3682 | (store_inferior_registers): Re-implement in terms of above. | |
3683 | ||
fdf39c9a RE |
3684 | 2002-02-19 Richard Earnshaw <[email protected]> |
3685 | ||
aaa38bb5 | 3686 | * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the |
fdf39c9a RE |
3687 | kernel. |
3688 | * arm-linux-tdep.c: Likewise. | |
3689 | * config/arm/tm-linux.h: Likewise. | |
3690 | ||
93247f88 RE |
3691 | 2002-02-19 Richard Earnshaw <[email protected]> |
3692 | ||
3693 | * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch. | |
3694 | * config/arm/nbsd.mt (TM_FILE): Delete. | |
3695 | * config/arm/tm-nbsd.h: Delete. | |
3696 | ||
d7b486e7 RE |
3697 | 2002-02-19 Richard Earnshaw <[email protected]> |
3698 | ||
3699 | * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED. | |
3700 | Initialize CALL_DUMMY_LENGTH. | |
3701 | ||
41d39a95 RE |
3702 | 2002-02-19 Richard Earnshaw <[email protected]> |
3703 | ||
3704 | * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New | |
3705 | function. | |
3706 | (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE. | |
aaa38bb5 | 3707 | * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only |
41d39a95 RE |
3708 | defines one thing and that is incorrect for this port. |
3709 | (IN_SOLIB_CALL_TRAMPOLINE): Delete. | |
3710 | ||
e1195560 PM |
3711 | 2002-02-18 Pierre Muller <[email protected]> |
3712 | ||
3713 | * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro. | |
3714 | ||
c1748f97 PM |
3715 | 2002-02-18 Pierre Muller <[email protected]> |
3716 | ||
3717 | * win32-nat.c (display_selector): New function. Displays information | |
3718 | about the information returned by GetThreadSelectorEntry API function. | |
3719 | (display_selectors): New function. Displays the infomation of | |
3720 | the selector given as argument, or of CS, DS ans FS selectors | |
3721 | if no argument is given. | |
3722 | ( _initialize_inftarg): Add "w32" as info prefix command. | |
3723 | Add "info w32 selector" as command calling display_selectors. | |
3724 | ||
e41e6bbf PM |
3725 | 2002-02-19 Pierre Muller <[email protected]> |
3726 | ||
3727 | * i386-tdep.c (get_longjmp_target): Fix compilation failure | |
3728 | by setting dummy values to JB_PC and JB_ELEMENT_SIZE | |
3729 | if not defined. | |
3730 | ||
0d3a9f48 RE |
3731 | 2002-02-18 Richard Earnshaw <[email protected]> |
3732 | ||
3733 | * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o. | |
3734 | ||
3fb4b924 RE |
3735 | 2002-02-18 Richard Earnshaw <[email protected]> |
3736 | ||
3737 | * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function. | |
3738 | (arm_fix_call_dummy): Call it. | |
3739 | (arm_call_dummy_breakpoint_offset): Delete. | |
3740 | (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset. | |
3741 | * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
3742 | ||
7f55af32 AC |
3743 | 2002-02-18 Andrew Cagney <[email protected]> |
3744 | ||
3745 | * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2. | |
3746 | Default to func_frame_chain_valid. | |
3747 | * gdbarch.h, gdbarch.c: Re-generate. | |
3748 | * frame.h (FRAME_CHAIN_VALID): Delete definition. | |
3749 | ||
05f13b9c EZ |
3750 | 2002-02-18 Elena Zannoni <[email protected]> |
3751 | ||
3752 | * ppc-linux-nat.c: Update copyright. | |
3753 | (fetch_register, store_register): Add tid parameter, don't compute | |
3754 | tid here. | |
3755 | (fetch_ppc_registers, store_ppc_registers): Add tid | |
3756 | parameter. Pass it along to callees. | |
3757 | (fetch_inferior_registers, store_inferior_registers): Compute tid | |
3758 | here, and pass it to calleed functions. | |
3759 | (fill_gregset, supply_fpregset): Clean up formatting. | |
3760 | ||
d7afb4c9 RE |
3761 | 2002-02-18 Richard Earnshaw <[email protected]> |
3762 | ||
3763 | * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double. | |
3764 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete. | |
3765 | ||
9df628e0 RE |
3766 | 2002-02-18 Richard Earnshaw <[email protected]> |
3767 | ||
3768 | * gdbarch.sh (GET_LONGJMP_TARGET): Add rule. | |
3769 | * gdbarch.c gdbarch.h: Regenerate. | |
3770 | * breakpoint.c (create_longjmp_breakpoint): Always compile this | |
3771 | function. | |
3772 | (breakpoint_reset): Test GET_LONGJMP_TARGET_P(). | |
3773 | * infrun.c (GET_LONGJMP_TARGET): Delete default definition. | |
3774 | (handle_inferior_event): Test GET_LONGJMP_TARGET_P(). | |
3775 | ||
3776 | * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields. | |
3777 | * arm-tdep.c (arm_get_longjmp_target): New function. | |
3778 | (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes | |
3779 | this to a positive value register arm_get_longjmp_target as the | |
3780 | longjmp handler. | |
3781 | * arm-linux-tdep.c (arm_get_longjmp_target): Delete. | |
3782 | (arm_linux_init_abi): Set up longjmp description in tdep. | |
3783 | * armnbsd-nat.c (get_longjmp_target): Delete. | |
3784 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp | |
3785 | description in tdep. | |
3786 | * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete. | |
3787 | (get_longjmp_target): Delete declaration. | |
3788 | (GET_LONGJMP_TARGET): Delete. | |
3789 | * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration. | |
3790 | (GET_LONGJMP_TARGET): Delete. | |
3791 | ||
57bc8964 KB |
3792 | 2002-02-17 Kevin Buettner <[email protected]> |
3793 | ||
3794 | From Peter Schauer <[email protected]>: | |
3795 | * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use | |
3796 | of ``current_gdbarch''. | |
3797 | ||
83d31a92 TT |
3798 | 2002-02-17 Tom Tromey <[email protected]> |
3799 | ||
3800 | * cli/cli-cmds.c (compare_strings): New function. | |
3801 | (complete_command): Only print each unique item once. | |
3802 | * completer.h (complete_line): Declare. | |
3803 | * completer.c (complete_line): New function. | |
3804 | (line_completion_function): Use it. | |
3805 | ||
17ef5d92 AC |
3806 | 2002-02-16 Andrew Cagney <[email protected]> |
3807 | ||
3808 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64. | |
3809 | * gdbarch.h, gdbarch.c: Re-generate. | |
3810 | ||
491b8946 DJ |
3811 | 2002-02-16 Daniel Jacobowitz <[email protected]> |
3812 | ||
3813 | * valarith.c (value_x_unop): Fix decrement; support post-decrement. | |
3814 | ||
3815 | 2002-02-16 Daniel Jacobowitz <[email protected]> | |
3816 | ||
3817 | From Peter Schauer <[email protected]>: | |
3818 | * valops.c (value_arg_coerce): Don't take the address of a reference | |
3819 | to convert an argument to a reference. | |
3820 | ||
dfe7f3ac CF |
3821 | 2002-02-15 Christopher Faylor <[email protected]> |
3822 | ||
3823 | * win32-nat.c (get_image_name): New function. | |
3824 | (handle_load_dll): Use get_image_name function. | |
3825 | (get_child_debug_event): Avoid registering debug events until possibly | |
3826 | execed process is started. | |
3827 | (child_create_inferior): Allow invocation via shell so that command | |
3828 | line redirection, etc. works ok. | |
3829 | (_initialize_inftarg): Add new command: "set shell" to control whether | |
3830 | a shell is used to start a process. | |
3831 | ||
1d33e73a DJ |
3832 | 2002-02-15 Daniel Jacobowitz <[email protected]> |
3833 | ||
3834 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno | |
3835 | instead of find_register_by_number. | |
3836 | (cannot_store_register): Likewise. | |
3837 | ||
48cd0caa PM |
3838 | 2002-02-14 Pierre Muller <[email protected]> |
3839 | ||
aaa38bb5 | 3840 | * dwarf2read.c: Replace fprintf (stderr, ...) by |
48cd0caa PM |
3841 | fprintf_unfiltered (gdb_stderr, ...). |
3842 | ||
8656e7d8 DJ |
3843 | 2002-02-15 Daniel Jacobowitz <[email protected]> |
3844 | ||
3845 | * gdbserver/gdbserver.1: Document --attach. | |
3846 | ||
66e810cd RE |
3847 | 2002-02-15 Richard Earnshaw <[email protected]> |
3848 | ||
3849 | * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint | |
3850 | descriptions. | |
3851 | * arm-tdep.c (arm_default_arm_le_breakpoint) | |
3852 | (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint) | |
3853 | (arm_default_thumb_be_breakpoint): New. Initialize them from | |
3854 | traditional breakpoint defines. | |
3855 | (arm_breakpoint_from_pc): Use new gdbarch_tdep entries. | |
3856 | (arm_gdbarch_init): Initialize new breakpoint variables. | |
3857 | * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New. | |
3858 | (arm_linux_init_abi): Initialize linux-specific breakpoint. | |
3859 | * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New. | |
3860 | (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common | |
3861 | code out to ... | |
3862 | (arm_netbsd_init_abi_common): ... here; new function. | |
3863 | * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT) | |
3864 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete. | |
3865 | * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete. | |
3866 | * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete. | |
3867 | ||
97e03143 RE |
3868 | 2002-02-15 Richard Earnshaw <[email protected]> |
3869 | ||
3870 | * arm-tdep.h (enum arm_abi): New enum. | |
3871 | (struct gdbarch_tdep): New structure. | |
3872 | (LOWEST_PC): Provide a default. | |
3873 | (arm_gdbarch_register_os_abi): Declare new function. | |
3874 | * arm-tdep.c (arm_abi_names): New array. | |
3875 | (process_note_abi_tag_sections): New function. | |
3876 | (get_elfosabi): New function. | |
3877 | (arm_gdbarch_register_os_abi): New function. | |
3878 | (arm_gdbarch_init): Try to determine the ABI of the inferior. If | |
3879 | support for that ABI has been built in, then call the appropriate | |
3880 | configuration routine. Use gdbarch_num_regs() to get the number | |
3881 | of registers. | |
3882 | (arm_dump_tdep): New function. | |
3883 | (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New | |
3884 | place-holder functions. | |
3885 | (_initialize_arm_tdep): Register them. | |
3886 | * config/arm/tm-arm.h (LOWEST_PC): Delete. | |
3887 | ||
3888 | * armnbsd-tdep.c: New file. | |
3889 | * Makefile.in (armnbsd-tdep.o): Add dependencies. | |
3890 | * config/arm/nbsd.mt (TDEPFILES): Add it. | |
3891 | * config/arm/tm-nbsd.h (LOWEST_PC): Delete. | |
3892 | ||
3893 | * armnbsd-nat.c: Include regcache.h. | |
3894 | * Makefile.in (armnbsd-nat.o): Update dependency list. | |
3895 | ||
3896 | * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message. | |
3897 | ||
ad68be46 DJ |
3898 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
3899 | ||
3900 | * gdbserver/Makefile.in: Fix typos in target rules. | |
3901 | ||
003d6d1d DJ |
3902 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
3903 | ||
aaa38bb5 | 3904 | Fix part of PR gdb/267. |
003d6d1d DJ |
3905 | * linespec.c (find_methods): Handle constructors specially for now. |
3906 | ||
6b230f1b CV |
3907 | 2002-02-14 Corinna Vinschen <[email protected]> |
3908 | ||
3909 | * arm-tdep.c (arm_push_arguments): Eliminate special float type | |
3910 | handling. | |
3911 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call | |
3912 | standard_coerce_float_to_double(). | |
3913 | ||
1ea98d12 CF |
3914 | 2002-02-14 Christopher Faylor <[email protected]> |
3915 | ||
3916 | * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of | |
3917 | GDBINIT_FILENAME. | |
3918 | ||
dd47e6fd EZ |
3919 | 2002-02-14 Elena Zannoni <[email protected]> |
3920 | ||
3921 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't call | |
3922 | find_variant_by_name, because it confuses the multiarch | |
3923 | framework. Return NULL if there isn't an architecture with the | |
3924 | user supplied name, instead of forcing a different one without | |
3925 | recording the change with the multiarch machinery. | |
3926 | (find_variant_by_name): Delete. | |
3927 | ||
d7e39b9e PS |
3928 | 2002-02-14 Peter Schauer <[email protected]> |
3929 | ||
3930 | * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by | |
3931 | i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore. | |
3932 | ||
76e42a4f MH |
3933 | 2002-02-13 Martin M. Hunt <[email protected]> |
3934 | ||
aaa38bb5 | 3935 | * stack.c (print_frame_info_base): When calling |
76e42a4f MH |
3936 | print_frame_info_listing_hook, set current_source_symtab. |
3937 | ||
0a30fbc4 DJ |
3938 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
3939 | ||
3940 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS, | |
3941 | and remove unused $(INCLUDE_DIR). | |
3942 | Add regcache.c to OBS. | |
3943 | Add generated register protocol files to clean target. | |
3944 | Update dependencies for new objects, obsolete old target code. | |
3945 | ||
3946 | * gdbserver/linux-low.c: Remove all platform-specific code to | |
3947 | new files. Remove various dead code. Update to use regcache | |
3948 | functionality. | |
3949 | * gdbserver/remote-utils.c (fromhex): Add return statement | |
3950 | to quiet warning. | |
3951 | (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer | |
3952 | constant. | |
3953 | (input_interrupt): Add integer parameter to match prototype | |
3954 | of a signal handler. | |
3955 | (outreg): Use register_data (). | |
3956 | (prepare_resume_reply): Use gdbserver_expedite_regs. | |
3957 | * gdbserver/server.c (main): Dynamically allocate own_buf because | |
3958 | PBUFSIZ is no longer constant. Use registers_to_string () and | |
3959 | registers_from_string (). | |
3960 | * gdbserver/server.h: No longer include "defs.h". Add prototypes | |
3961 | for error (), fatal (), and warning (). Update definition of | |
3962 | PBUFSIZ to use regcache functionality. Add include guard. | |
3963 | * gdbserver/utils.c (fatal): Add missing ``const''. | |
3964 | (warning): New function. | |
3965 | ||
3966 | * regformats/regdat.sh: Include "regcache.h" in generated files. | |
3967 | Provide init_registers () function. | |
3968 | * regformats/regdef.h: Add prototype for set_register_cache (). | |
3969 | Add include guard. | |
3970 | ||
3971 | * gdbserver/linux-arm-low.c: New file. | |
3972 | * gdbserver/linux-i386-low.c: New file. | |
3973 | * gdbserver/linux-ia64-low.c: New file. | |
3974 | * gdbserver/linux-m68k-low.c: New file. | |
3975 | * gdbserver/linux-mips-low.c: New file. | |
3976 | * gdbserver/linux-ppc-low.c: New file. | |
3977 | * gdbserver/linux-sh-low.c: New file. | |
3978 | ||
3979 | * gdbserver/regcache.c: New file. | |
3980 | * gdbserver/regcache.h: New file. | |
3981 | ||
3982 | * gdbserver/low-linux.c: Removed obsolete file. | |
3983 | ||
4cc841d0 DJ |
3984 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
3985 | ||
3986 | * config/arm/linux.mt: Update GDBSERVER_DEPFILES. | |
3987 | * config/i386/linux.mt: Likewise. | |
3988 | * config/ia64/linux.mt: Likewise. | |
3989 | * config/m68k/linux.mh: Likewise. | |
3990 | * config/powerpc/linux.mh: Likewise. | |
3991 | * config/mips/linux.mt: Likewise. | |
3992 | ||
3993 | * config/sh/linux.mt: Add GDBSERVER_DEPFILES. | |
3994 | ||
3995 | * config/i386/i386lynx.mh: Mark gdbserver variables | |
3996 | as (currently) obsolete for this target. | |
3997 | * config/i386/nbsd.mt: Likewise. | |
3998 | * config/i386/nbsdelf.mt: Likewise. | |
3999 | * config/m32r/m32r.mt: Likewise. | |
4000 | * config/m68k/m68klynx.mh: Likewise. | |
4001 | * config/m68k/nbsd.mt: Likewise. | |
4002 | * config/m68k/sun3os4.mh: Likewise. | |
4003 | * config/mips/vr5000.mt: Likewise. | |
4004 | * config/ns32k/nbsd.mt: Likewise. | |
4005 | * config/pa/hppabsd.mh: Likewise. | |
4006 | * config/pa/hppaosf.mh: Likewise. | |
4007 | * config/powerpc/nbsd.mt: Likewise. | |
4008 | * config/rs6000/rs6000lynx.mh: Likewise. | |
4009 | * config/s390/s390.mt: Likewise. | |
4010 | * config/s390/s390x.mt: Likewise. | |
4011 | * config/sparc/sparclynx.mh: Likewise. | |
4012 | * config/sparc/sun4os4.mh: Likewise. | |
4013 | * config/i386/x86-64linux.mt: Likewise. | |
4014 | * config/sparc/linux.mh: Likewise. | |
4015 | ||
a85f51e7 DJ |
4016 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
4017 | ||
4018 | * configure.tgt: Configure gdbserver only for known working | |
4019 | targets. Set ${build_gdbserver} instead of modifying ${configdirs}. | |
4020 | * configure.in: Check ${build_gdbserver}. Put gdbserver/ into | |
4021 | SUBDIRS if it is configured. Update comment for ${nativefile}. | |
4022 | * configure: Regenerated. | |
4023 | ||
65554fef MS |
4024 | 2002-02-13 Michael Snyder <[email protected]> |
4025 | ||
670a52db MS |
4026 | * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES. |
4027 | ||
6dbdc4a3 MS |
4028 | * gcore.c (gcore_command): Use gcore_default_target instead of NULL. |
4029 | (default_gcore_mach): Just return 0, work around a problem in bfd. | |
4030 | (default_gcore_target): OK to return NULL if exec_bfd is null. | |
4031 | (make_mem_sec): Use a cast, avoid a warning. | |
4032 | ||
4033 | * procfs.c (find_memory_regions_callback): Use a cast instead of | |
aaa38bb5 | 4034 | calling host_pointer_to_address (which complains if |
6dbdc4a3 MS |
4035 | sizeof (host pointer) != sizeof (target pointer)). |
4036 | (procfs_make_note_section): Avoid overflow in psargs string. | |
4037 | ||
aaa38bb5 | 4038 | * procfs.c (procfs_make_note_section): Make the default |
65554fef MS |
4039 | implementation return an error. |
4040 | ||
4041 | 2002-02-13 Rodney Brown <[email protected]> | |
4042 | ||
4043 | * procfs.c (procfs_make_note_section): Provide a default definition | |
4044 | (for alpha-dec-osf4.0f). Fix typos. | |
4045 | ||
1e4d76e7 EZ |
4046 | 2002-02-13 Elena Zannoni <[email protected]> |
4047 | ||
4048 | * linux-proc.c: Add include of regcache.h. | |
4049 | * Makefile.in (linux-proc.o): Add dependency on regcache.h. | |
4050 | ||
b6d1a1d5 AC |
4051 | 2002-02-13 Andrew Cagney <[email protected]> |
4052 | ||
4053 | From 2002-01-18 Greg McGary <[email protected]>: | |
aaa38bb5 AJ |
4054 | * memattr.c (create_mem_region): Disallow useless empty region. |
4055 | Regions are half-open intervals, so allow [A..B) [B..C) as | |
65554fef | 4056 | non-overlapping. |
b6d1a1d5 | 4057 | |
6c6ea35e MC |
4058 | 2002-02-13 Michael Chastain <[email protected]> |
4059 | ||
4060 | * defs.h: Kill CONST_PTR. | |
4061 | * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const". | |
4062 | * c-lang.c (c_builtin_types): Likewise. | |
4063 | * ch-lang.c (ch_builtin_types): Likewise. | |
4064 | * f-lang.c (f_builtin_types): Likewise. | |
4065 | * language.c (unknown_builtin_types): Likewise. | |
4066 | * m2-lang.c (m2_builtin_types): Likewise. | |
4067 | * p-lang.c (pascal_builtin_types): Likewise. | |
4068 | * scm-lang.c (c_builtin_types): Likewise. | |
4069 | ||
3e0b0f48 KS |
4070 | 2002-02-13 Keith Seitz <[email protected]> |
4071 | ||
4072 | * arm-tdep.h (arm_get_next_pc): Add declaration. | |
4073 | ||
67255d04 RE |
4074 | 2002-02-13 Richard Earnshaw <[email protected]> |
4075 | ||
4076 | * arm-tdep.c (arm_use_struct_convention): Make static. Move to be | |
4077 | with other related struct-returning functions. | |
4078 | (arm_extract_struct_value_address): New function. | |
4079 | (arm_gdbarch_init): Initialize the above in multi-arch vector. Also | |
4080 | initialize float_format, double_format and long_double_format as | |
4081 | appropriate to the endianness of the target. | |
4082 | * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete. | |
4083 | (arm_use_struct_convention): Delete declaration. | |
4084 | (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete. | |
4085 | ||
079777f6 KS |
4086 | 2002-02-13 Keith Seitz <[email protected]> |
4087 | ||
4088 | * defs.h (core_addr_to_string_nz): New function. | |
4089 | ||
34588f23 MK |
4090 | 2002-02-13 Mark Kettenis <[email protected]> |
4091 | ||
4092 | Apply missing bits of 2002-01-15 patch. | |
4093 | * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave. | |
4094 | (fill_fpregset): Use i387_fill_fsave. | |
4095 | ||
49b563f9 KS |
4096 | 2002-02-12 Keith Seitz <[email protected]> |
4097 | ||
49b563f9 KS |
4098 | * utils.c (core_addr_to_string): Use phex instead of phex_nz. |
4099 | (core_addr_to_string_nz): New function. | |
4100 | ||
aeb98c60 RE |
4101 | 2002-02-11 Richard Earnshaw <[email protected]> |
4102 | ||
4103 | * arm-linux-nat.c: Really include arm-tdep.h. | |
4104 | * config/arm/tm-linux.h (struct type, struct value): Declare. | |
4105 | ||
65554fef MS |
4106 | 2002-02-11 Michael Snyder <[email protected]> |
4107 | ||
4108 | * procfs.c: Include elf-bfd.h (for elfcore_write functions). | |
4109 | (gcore section): Ifdef for Solaris and Unixware only. | |
4110 | (procfs_do_thread_registers): Unixware needs one lwpstatus | |
4111 | per thread (not one prstatus or pstatus). | |
4112 | (procfs_make_note_section): Iterate only over kernel threads (lwps), | |
4113 | not over all gdb threads. For unixware, call elfcore_write_pstatus | |
4114 | once before iterating over threads. | |
4115 | ||
34e8f22d RE |
4116 | 2002-02-11 Richard Earnshaw <[email protected]> |
4117 | ||
4118 | * arm-tdep.h: New file. | |
4119 | * arm-tdep.c: Include arm-tdep.h. | |
4120 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
4121 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
4122 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
4123 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
4124 | (arm_extract_return_value, arm_register_name): Make static. | |
4125 | (arm_software_single_step): Similarly. Fix types in declaration. | |
4126 | (arm_register_byte, arm_register_raw_size, arm_register_virtual_size) | |
4127 | (arm_store_return_value, arm_store_struct_return): New functions. | |
4128 | (arm_gdbarch_init): Register the above functions. Also register | |
4129 | call_dummy_start_offset, sizeof_call_dummy_words, | |
4130 | function_start_offset, inner_than, decr_pc_after_break, fp_regnum, | |
4131 | sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size, | |
aaa38bb5 | 4132 | max_register_virtual_size, register_size. Set up |
34e8f22d RE |
4133 | prologue_cache.saved_regs here, rather than ... |
4134 | (_initialize_arm_tdep): ... here. | |
4135 | * config/arm/tm-arm.h (struct type, struct value): Delete forward | |
4136 | declarations. | |
4137 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
4138 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
4139 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
4140 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
4141 | (arm_extract_return_value, arm_register_name): Delete declarations. | |
4142 | (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET) | |
4143 | (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC) | |
4144 | (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS) | |
4145 | (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE) | |
4146 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
4147 | (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN) | |
4148 | (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS) | |
4149 | (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY) | |
4150 | (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP) | |
4151 | (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete. | |
4152 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc) | |
4153 | (arm_get_next_pc): No-longer static -- these are needed by the RDI | |
4154 | interface. | |
4155 | * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h. | |
4156 | * remote-rdi.c remote-rdp.c: Likewise. | |
4157 | * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o) | |
4158 | (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies. | |
4159 | * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus | |
4160 | definition. | |
4161 | ||
4162 | * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM) | |
4163 | (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM) | |
4164 | (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed | |
4165 | from non-ARM_ prefixed definitions. | |
4166 | * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update | |
4167 | all uses of above. | |
4168 | * remote-rdi.c remote-rdp.c: Likewise. | |
4169 | * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM. | |
4170 | ||
148754e5 RE |
4171 | 2002-02-11 Richard Earnshaw <[email protected]> |
4172 | ||
4173 | * arm-tdep.c (arm_frameless_function_invocation) | |
4174 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
4175 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
4176 | (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
4177 | (arm_pop_frame, arm_get_next_pc): Make static. | |
4178 | (arm_gdbarch_init): Register above in gdbarch structure. | |
4179 | (arm_read_fp): Renamed from arm_target_read_fp. | |
4180 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static. | |
4181 | * config/arm/tm-arm.h (arm_frameless_function_invocation) | |
4182 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
4183 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
4184 | (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
4185 | (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb) | |
4186 | (arm_pc_is_thumb_dummy): Delete declarations. | |
fcfb8836 RE |
4187 | (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN) |
4188 | (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS) | |
4189 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP) | |
4190 | (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete. | |
148754e5 | 4191 | |
434d2d4f DJ |
4192 | 2002-02-10 Daniel Jacobowitz <[email protected]> |
4193 | ||
4194 | * symtab.c (compare_search_syms): New function. | |
4195 | (sort_search_symbols): New function. | |
4196 | (search_symbols): Sort symbols after searching rather than | |
4197 | before. | |
4198 | ||
55241689 AC |
4199 | 2002-02-10 Andrew Cagney <[email protected]> |
4200 | ||
4201 | * NEWS: Linux -> GNU/Linux. | |
4202 | ||
028c194b AC |
4203 | 2002-02-10 Andrew Cagney <[email protected]> |
4204 | ||
4205 | * gdbarch.sh: For for level one methods, disallow a definition | |
4206 | when partially multi-arched. Add comments explaining rationale. | |
4207 | * gdbarch.h: Re-generate. | |
4208 | ||
6acf50cd AC |
4209 | 2002-02-10 Andrew Cagney <[email protected]> |
4210 | ||
4211 | * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when | |
4212 | multi-arch partial. | |
aaa38bb5 | 4213 | |
50248794 AC |
4214 | 2002-02-10 Andrew Cagney <[email protected]> |
4215 | ||
4216 | * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad | |
4217 | field. Use diff -u. | |
4218 | * gdbarch.c: Re-generate. | |
4219 | ||
c30e0066 AC |
4220 | 2002-02-10 Andrew Cagney <[email protected]> |
4221 | ||
9b56c5f3 | 4222 | * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete. |
c30e0066 AC |
4223 | * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch |
4224 | partial. | |
4225 | ||
6e6d6484 AC |
4226 | 2002-02-10 Andrew Cagney <[email protected]> |
4227 | ||
4228 | * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when | |
4229 | multi-arch partial. | |
4230 | (PUSH_ARGUMENTS): Switch to using predefault. | |
4231 | * gdbarch.c: Regenerate. | |
4232 | ||
c203844d AC |
4233 | 2002-02-10 Andrew Cagney <[email protected]> |
4234 | ||
4235 | * valops.c (PUSH_ARGUMENTS): Delete definition. | |
4236 | * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch | |
4237 | partial. Default to default_push_arguments. | |
4238 | * gdbarch.h, gdbarch.c: Regenerate. | |
4239 | ||
b5a2688f AC |
4240 | 2002-02-09 Andrew Cagney <[email protected]> |
4241 | ||
4242 | * defs.h (throw_exception): Rename return_to_top_level. Update | |
4243 | comments. | |
4244 | * utils.c (error_stream, internal_verror, quit): Ditto. | |
4245 | * top.c (throw_exception, catcher): Ditto. | |
4246 | * sparclet-rom.c (sparclet_load): Ditto. | |
4247 | * remote.c (interrupt_query, minitelnet): Ditto. | |
4248 | * remote-sds.c (interrupt_query): Ditto. | |
4249 | * remote-mips.c (mips_error, mips_kill): Ditto. | |
4250 | * ocd.c (interrupt_query): Ditto. | |
4251 | * monitor.c (monitor_interrupt_query): Ditto. | |
4252 | * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto. | |
4253 | * target.h: Update comment. | |
aaa38bb5 | 4254 | |
b5a2688f | 4255 | * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright. |
aaa38bb5 | 4256 | |
2fa5c1e0 AC |
4257 | 2002-02-09 Andrew Cagney <[email protected]> |
4258 | ||
4259 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to | |
4260 | default_double_format. | |
4261 | * gdbarch.h, gdbarch.c: Re-generate. | |
4262 | * findvar.c (floatformat_unknown): Delete variable definition. | |
4263 | * doublest.h (floatformat_unknown): Delete variable declaration. | |
4264 | ||
da966255 JB |
4265 | 2002-02-09 Jim Blandy <[email protected]> |
4266 | ||
4267 | * stabsread.c (read_type): Add code to parse Sun's syntax for | |
4268 | prototyped function types. | |
4269 | ||
123a4891 AC |
4270 | 2002-02-09 Andrew Cagney <[email protected]> |
4271 | ||
4272 | * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS. | |
4273 | (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS. | |
4274 | ||
fb39c8f3 PS |
4275 | 2002-02-09 Peter Schauer <[email protected]> |
4276 | ||
4277 | * xcoffsolib.c (_initialize_xcoffsolib): Renamed from | |
4278 | _initialize_solib. Fixes name clash with solib.c:_initialize_solib, | |
4279 | now _initialize_xcoffsolib gets called again and overrides the | |
4280 | commands from solib.c in a native configuration. | |
4281 | ||
0b87a11d MK |
4282 | 2002-02-09 Mark Kettenis <[email protected]> |
4283 | ||
4284 | * doublest.c (store_typed_floating): Don't try to return a value. | |
4285 | Fixes PR gdb/290. | |
4286 | ||
bdc2fc72 JB |
4287 | 2002-02-08 Jim Blandy <[email protected]> |
4288 | ||
4289 | * c-typeprint.c (c_type_print_varspec_suffix): If a function type | |
4290 | is prototyped and has no arguments, print its argument list as | |
4291 | `(void)'. | |
4292 | ||
da69bbcf CD |
4293 | 2002-02-08 Chris Demetriou <[email protected]> |
4294 | ||
4295 | * MAINTAINERS (write-after-approval): Add myself. | |
4296 | (paper-trail): I've escaped! | |
aaa38bb5 | 4297 | |
b69571f5 CF |
4298 | 2002-02-08 Christopher Faylor <[email protected]> |
4299 | ||
4300 | * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf | |
4301 | changes. | |
4302 | (_initialize_check_for_gdb_ini): Ditto. | |
4303 | ||
f6871398 MH |
4304 | 2002-02-08 Martin M. Hunt <[email protected]> |
4305 | ||
4306 | * win32-nat.c (cygwin_pid_to_str): Fix typo. | |
4307 | xaprintf -> xasprintf. | |
4308 | ||
4e52d31c PM |
4309 | 2002-02-08 Pierre Muller <[email protected]> |
4310 | ||
4311 | * win32-nat.c: Remove use of printf and sprintf functions. | |
4312 | ||
39bbf761 RE |
4313 | 2002-02-08 Richard Earnshaw <[email protected]> |
4314 | ||
4315 | * arm-tdep.c (arm_frame_chain_valid): Make static. | |
4316 | (arm_push_arguments): Likewise. | |
4317 | (arm_gdbarch_init): New function. | |
4318 | (_initialize_arm_tdep): Call it. | |
4319 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1. | |
4320 | (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order. | |
4321 | (FRAME_CHAIN_VALID): Delete. | |
4322 | (arm_frame_chain_valid): Delete declaration. | |
4323 | (PUSH_ARGUMENTS): Delete. | |
4324 | (arm_push_arguments): Delete declaration. | |
4325 | (CALL_DUMMY_P): Delete. | |
4326 | ||
9c9532c9 CV |
4327 | 2002-02-08 Andrew Cagney <[email protected]> |
4328 | Corinna Vinschen <[email protected]> | |
4329 | ||
4330 | * gdbtypes.c (build_gdbtypes): Disable setting a specific float format | |
4331 | on builtin float types. | |
4332 | ||
4e8f7a8b DJ |
4333 | 2002-02-08 Daniel Jacobowitz <[email protected]> |
4334 | ||
4335 | * utils.c: Include <curses.h> before "bfd.h". | |
4336 | * tui/tui-hooks.c: Likewise. | |
4337 | * tui/tui.c: Likewise. | |
4338 | * tui/tuiCommand.c: Likewise. | |
4339 | * tui/tuiData.c: Likewise. | |
4340 | * tui/tuiDataWin.c: Likewise. | |
4341 | * tui/tuiDisassem.c: Likewise. | |
4342 | * tui/tuiGeneralWin.c: Likewise. | |
4343 | * tui/tuiIO.c: Likewise. | |
4344 | * tui/tuiLayout.c: Likewise. | |
4345 | * tui/tuiRegs.c: Likewise. | |
4346 | * tui/tuiSource.c: Likewise. | |
4347 | * tui/tuiSourceWin.c: Likewise. | |
4348 | * tui/tuiStack.c: Likewise. | |
4349 | * tui/tuiWin.c: Likewise. | |
4350 | ||
cd4bffcf EZ |
4351 | 2002-02-07 Elena Zannoni <[email protected]> |
4352 | ||
4353 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array | |
4354 | to include space for pseudoregs as well. Update loops accordingly. | |
4355 | (sh_fp_frame_init_saved_regs): Ditto. | |
4356 | (sh_init_extra_frame_info, sh_pop_frame): Split long lines. | |
4357 | ||
26806ce2 AC |
4358 | 2002-02-07 Andrew Cagney <[email protected]> |
4359 | ||
4360 | * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer. | |
4361 | Add Richard Earnshaw to Arm maintainers. | |
4362 | ||
97fdab62 AC |
4363 | 2002-02-07 Andrew Cagney <[email protected]> |
4364 | ||
a6b98203 AC |
4365 | * defs.h (warning_begin): Delete declaration. |
4366 | ||
97fdab62 AC |
4367 | * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT): |
4368 | Delete macro. | |
4369 | ||
78b29b40 MS |
4370 | 2002-02-07 Michael Snyder <[email protected]> |
4371 | ||
aaa38bb5 | 4372 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
78b29b40 MS |
4373 | Logic bug, remove misplaced else. |
4374 | ||
d8849953 KD |
4375 | 2002-02-07 Klee Dienes <[email protected]> |
4376 | ||
4377 | * fork-inferior.c (fork_inferior): Add '!' to the list of | |
4378 | characters that need to be quoted when building a string for the | |
4379 | shell. Quote '!' specifically with a backslash, since CSH chokes | |
4380 | when trying to evaluate "str!str". | |
aaa38bb5 | 4381 | |
095778a0 NC |
4382 | 2002-02-06 Nick Clifton <[email protected]> |
4383 | ||
4384 | * rdi-share/host.h: Only provide a typedef for bool if it is not | |
4385 | defined. | |
4386 | ||
1900040c MS |
4387 | 2002-02-04 Michael Snyder <[email protected]> |
4388 | ||
4389 | * breakpoint.h (enum bptype): Add new overlay event bp type. | |
4390 | (enable_overlay_breakpoints, disable_overlay_breakpoints): Export. | |
aaa38bb5 | 4391 | |
1900040c MS |
4392 | * breakpoint.c (create_internal_breakpoint): New function. |
4393 | (internal_breakpoint_number): Moved into create_internal_breakpoint. | |
4394 | (create_longjmp_breakpoint): Use create_internal_breakpoint. | |
4395 | (create_thread_event_breakpoint): Ditto. | |
4396 | (create_solib_event_breakpoint): Ditto. | |
4397 | (create_overlay_event_breakpoint): New function. | |
4398 | (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs. | |
4399 | (update_breakpoints_after_exec): Delete and re-initialize | |
4400 | overlay event breakpoints after an exec. Add FIXME comment | |
4401 | about longjmp breakpoint. | |
4402 | (print_it_typical): Ignore overlay event breakpoints. | |
4403 | (print_one_breakpoint): Ditto. | |
4404 | (mention): Ditto. | |
4405 | (bpstat_what): Do not stop for overlay event breakpoints. | |
4406 | (delete_breakpoint): Don't delete overlay event breakpoints. | |
4407 | (breakpoint_re_set_one): Delete the overlay event breakpoint. | |
4408 | (breakpoint_re_set): Re-create overlay event breakpoint. | |
4409 | ||
4410 | * symfile.c (overlay_auto_command): Enable overlay breakpoints. | |
4411 | (overlay_manual_command): Disable overlay breakpoints. | |
4412 | (overlay_off_command): Disable overlay breakpoints. | |
4413 | ||
082fc60d RE |
4414 | 2002-02-06 Richard Earnshaw <[email protected]> |
4415 | ||
4416 | * arm-tdep.c: Include elf-bfd.h and coff/internal.h. | |
4417 | (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines | |
4418 | to here from config/tm-arm.h. | |
4419 | (coff_sym_is_thumb): Make static. | |
4420 | (arm_elf_make_msymbol_special): New function. | |
4421 | (arm_coff_make_msymbol_special): New function. | |
4422 | * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition. | |
4423 | (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise. | |
4424 | (coff_sym_is_thumb): Delete declaration. | |
4425 | (arm_elf_make_msymbol_special): Declare. | |
4426 | (arm_coff_make_msymbol_special): Declare. | |
4427 | (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special. | |
4428 | (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special. | |
4429 | ||
039c5766 RE |
4430 | 2002-02-06 Richard Earnshaw <[email protected]> |
4431 | ||
4432 | * arm-tdep.c (arm_software_single_step): ANSIfy function declaration. | |
4433 | ||
4434 | 2002-02-06 Richard Earnshaw <[email protected]> | |
4435 | ||
4436 | * gdbarch.sh (PRINT_FLOAT_INFO): Add rule. | |
4437 | * gdbarch.c gdbarch.h: Regenerate. | |
4438 | * arch-utils.c (default_print_float_info): New function. | |
4439 | * arch-utils.h (default_print_float_info): Prototype it. | |
4440 | * infcmd.c (float_info): Call PRINT_FLOAT_INFO. | |
4441 | * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated. | |
4442 | (PRINT_FLOAT_INFO): Document it. | |
4443 | ||
4444 | * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info. | |
4445 | * config/arm/tm-arm.h (FLOAT_INFO): Delete. | |
4446 | (PRINT_FLOAT_INFO): Define. | |
4447 | ||
58fa08f0 PM |
4448 | 2002-02-06 Pierre Muller <[email protected]> |
4449 | ||
aaa38bb5 | 4450 | * win32-nat.c (_initialize_check_for_gdb_ini): |
58fa08f0 PM |
4451 | Add typecast to sprintf argument to suppress a warning. |
4452 | ||
7393af7c PM |
4453 | 2002-02-05 Pierre Muller <[email protected]> |
4454 | ||
58fa08f0 | 4455 | * win32-nat.c (last_sig): Changed type of variable to target_signal, |
7393af7c PM |
4456 | to allow easier handling of pass state. |
4457 | (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception, | |
4458 | that gives exception name and address. | |
4459 | (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro | |
aaa38bb5 | 4460 | and set last_sig value to ourstatus->value.sig. Some missing |
7393af7c | 4461 | exceptions added. |
aaa38bb5 AJ |
4462 | (child_continue): Correctly report continue_status. |
4463 | (get_child_debug_event,do_initial_child_stuff): Set last_sig to | |
7393af7c | 4464 | TARGET_SIGNAL_0 (new default value). |
aaa38bb5 | 4465 | (child_resume): consider sig argument passed to decide if |
7393af7c PM |
4466 | the exception should be passed to debuggee or not. |
4467 | ||
6af4589c MS |
4468 | 2002-02-05 Michael Snyder <[email protected]> |
4469 | ||
4470 | * regcache.c (fetch_register): Call target_fetch_register | |
4471 | only if we don't call FETCH_PSEUDO_REGISTER. | |
4472 | (store_register): Call target_store_register only if we | |
4473 | don't call STORE_PSEUDO_REGISTER. | |
4474 | ||
a2cf933a EZ |
4475 | 2002-02-05 Elena Zannoni <[email protected]> |
4476 | ||
4477 | * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and | |
4478 | ELF_MAKE_MSYMBOL_SPECIAL. | |
4479 | * gdbarch.c, gdbarch.h: Regenerate. | |
4480 | * arch-utils.c (default_make_msymbol_special): New function. | |
aaa38bb5 | 4481 | * arch-utils.h (default_make_msymbol_special): Export. |
a2cf933a EZ |
4482 | * elfread.c (elf_symtab_read): Compile use of |
4483 | ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now | |
4484 | multiarched. | |
4485 | * coffread.c (coff_symtab_read): Ditto, for | |
4486 | COFF_MAKE_MSYMBOL_SPECIAL. | |
4487 | ||
6bb7be43 JB |
4488 | 2002-02-05 Jim Blandy <[email protected]> |
4489 | ||
4490 | * solib-svr4.c (svr4_truncate_ptr): New function. | |
4491 | (svr4_relocate_section_addresses): Do the address arithmetic with | |
4492 | the appropriate truncation for target addresses, even when | |
4493 | CORE_ADDR is larger than a target address. | |
4494 | ||
e18651ec DJ |
4495 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
4496 | ||
4497 | * gdbserver/linux-low.c (mywait): Cast second argument of waitpid | |
4498 | to (int *). | |
4499 | ||
6b2725be DJ |
4500 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
4501 | ||
4502 | * gdbserver/linux-low.c (kill_inferior): Remove commented out | |
4503 | code. | |
4504 | ||
fca9e603 DJ |
4505 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
4506 | ||
4507 | * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX. | |
4508 | ||
6c537a52 DJ |
4509 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
4510 | ||
4511 | * gdbserver/linux-low.c: Remove unused include files. | |
4512 | ||
d844cde6 DJ |
4513 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
4514 | ||
4515 | * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE. | |
4516 | (read_inferior_memory): Use it. | |
4517 | (write_inferior_memory): Likewise. | |
4518 | ||
d07c63e7 DJ |
4519 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
4520 | ||
4521 | * gdbserver/linux-low.c (create_inferior): Call strerror instead of | |
4522 | grubbing through sys_errlist. | |
4523 | ||
da6d8c04 DJ |
4524 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
4525 | ||
4526 | * gdbserver/linux-low.c: New file, copied exactly from low-linux.c. | |
4527 | ||
5b421780 PM |
4528 | 2002-02-04 Pierre Muller <[email protected]> |
4529 | * win32-nat.c (handle_exception): Handle Ctrl-Break exception. | |
4530 | ||
9f60d481 AC |
4531 | 2002-02-04 Andrew Cagney <[email protected]> |
4532 | ||
4533 | * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions. | |
4534 | (do_sfunc, set_cmd_sfunc): New functions. | |
4535 | ||
4536 | * command.h (struct cmd_list_element): Add field func. | |
4537 | * cli/cli-decode.h (struct cmd_list_element): Ditto. | |
4538 | * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare. | |
4539 | * cli/cli-decode.h: Ditto. | |
4540 | ||
4541 | * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc. | |
4542 | (help_all, help_cmd_list): Ditto. | |
4543 | (find_cmd, complete_on_cmdlist): Ditto. | |
4544 | * top.c (execute_command): Ditto. | |
4545 | ||
4546 | * cli/cli-setshow.c (do_setshow_command): Call func instead of | |
4547 | function.sfunc. | |
4548 | ||
4549 | * infcmd.c (notice_args_read): Fix function signature. | |
4550 | ||
4551 | * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc. | |
4552 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
4553 | * utils.c (initialize_utils): Ditto. | |
4554 | * maint.c (_initialize_maint_cmds): Ditto. | |
4555 | * infrun.c (_initialize_infrun): Ditto. | |
4556 | * demangle.c (_initialize_demangler): Ditto. | |
4557 | * remote.c (add_packet_config_cmd): Ditto. | |
4558 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
4559 | * cris-tdep.c (_initialize_cris_tdep): Ditto. | |
4560 | * proc-api.c (_initialize_proc_api): Ditto. | |
4561 | * kod.c (_initialize_kod): Ditto. | |
4562 | * valprint.c (_initialize_valprint): Ditto. | |
4563 | * top.c (init_main): Ditto. | |
4564 | * infcmd.c (_initialize_infcmd): Ditto. | |
4565 | * corefile.c (_initialize_core): Ditto. | |
4566 | * arm-tdep.c (_initialize_arm_tdep): Ditto. | |
4567 | * arch-utils.c (initialize_current_architecture): Ditto. | |
4568 | (_initialize_gdbarch_utils): Ditto. | |
4569 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. | |
4570 | ||
4571 | * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc. | |
4572 | * wince.c (_initialize_inftarg): Ditto. | |
4573 | * symfile.c (_initialize_symfile): Ditto. | |
4574 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
4575 | * language.c (_initialize_language): Ditto. | |
4576 | * arc-tdep.c (_initialize_arc_tdep): Ditto. | |
4577 | ||
f9ba0717 MS |
4578 | 2002-02-04 Michael Snyder <[email protected]> |
4579 | ||
4580 | * memattr.c (_initialize_mem): Elaborate the help for 'mem' command. | |
4581 | ||
0c74b2a7 DJ |
4582 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
4583 | ||
4584 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS. | |
4585 | Add rules for building the register data files. | |
4586 | ||
c638789f DJ |
4587 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
4588 | ||
4589 | * regformats/regdat.sh: Add braces to the definition of | |
4590 | expedite_regs_${arch}. | |
4591 | ||
db253027 DJ |
4592 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
4593 | ||
4594 | * regformats/regdef.h (struct reg): Add comment describing the | |
4595 | requirements for offset and size fields. | |
4596 | ||
206be19c AS |
4597 | 2002-02-04 Andreas Schwab <[email protected]> |
4598 | ||
4599 | * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX. | |
4600 | * config/ia64/linux.mt: Don't set GDBSERVER_LIBS. | |
4601 | ||
181c1381 RE |
4602 | 2002-02-04 Richard Earnshaw <[email protected]> |
4603 | ||
4604 | * gdbarch.sh (copyright): Update years in generated header. | |
4605 | (SMASH_TEXT_ADDRESS): Add rule. | |
db253027 | 4606 | * gdbarch.h, gdbarch.c: Re-generate. |
181c1381 RE |
4607 | * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. |
4608 | * dbxread.c: Likewise. | |
4609 | * dwarfread.c: Likewise. | |
4610 | * elfread.c: Likewise. | |
4611 | * somread.c: Likewise. | |
4612 | ||
4613 | * arm-tdep.c (arm_smash_text_address): New function. | |
4614 | * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above. | |
4615 | ||
fa4ba8da PM |
4616 | 2002-02-04 Pierre Muller <[email protected]> |
4617 | ||
4618 | Add support for hardware watchpoints on win32 native. | |
aaa38bb5 | 4619 | * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of |
fa4ba8da | 4620 | CONTEXT_DEBUG_REGISTERS. |
aaa38bb5 | 4621 | (dr variable): New variable. Static array containing a local copy |
fa4ba8da PM |
4622 | of debug registers. |
4623 | (debug_registers_changed): New variable. Reflects when debug registers | |
4624 | are changed and need to be written to inferior. | |
aaa38bb5 | 4625 | (debug_registers_used): New variable. Reflects when any debug register |
fa4ba8da PM |
4626 | was set, used when new threads are created. |
4627 | (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by | |
4628 | i386-nat code. | |
4629 | (thread_rec): Set dr array if id is the thread of current_event . | |
4630 | (child_continue, child_resume): Change the debug registers for all | |
4631 | threads if debug_registers_changed. | |
4632 | (child_add_thread): Change the debug registers if debug_registers_used. | |
4633 | * config/i386/cygwin.mh: Add use of i386-nat.o file. | |
4634 | Link nm.h to new nm-cygwin.h file. | |
4635 | + config/i386/nm-cygwin.h: New file. Contains the macros used for use | |
4636 | of hardware registers. | |
4637 | ||
a73c86fb AC |
4638 | 2002-02-03 Andrew Cagney <[email protected]> |
4639 | ||
4640 | * valprint.c (print_floating): Allow non TYPE_CODE_FLT types. | |
4641 | Restore behavour broken by 2002-01-20 Andrew Cagney | |
4642 | <[email protected]> IEEE_FLOAT removal. | |
4643 | ||
acf5ed49 DJ |
4644 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
4645 | ||
4646 | * c-valprint.c (c_val_print): Pass a proper valaddr to | |
4647 | cp_print_class_method. | |
4648 | * valops.c (search_struct_method): If there is only one method | |
4649 | and args is NULL, return that method. | |
4650 | ||
493d28d5 DJ |
4651 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
4652 | ||
4653 | * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of | |
4654 | accessing tag_name directly. | |
4655 | ||
7495dfdb DJ |
4656 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
4657 | ||
4658 | * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead | |
4659 | of accessing tag_name directly. | |
4660 | ||
dd6bda65 DJ |
4661 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
4662 | ||
4663 | PR gdb/280 | |
4664 | * gdbtypes.c (replace_type): New function. | |
4665 | * gdbtypes.h (replace_type): Add prototype. | |
4666 | * stabsread.c (read_type): Use replace_type. | |
4667 | ||
88fe217c RE |
4668 | 2002-02-03 Richard Earnshaw <[email protected]> |
4669 | ||
4670 | * Makefile.in (memattr.o): Add missing dependencies rule. | |
4671 | ||
e5d66720 PS |
4672 | 2002-02-03 Peter Schauer <[email protected]> |
4673 | ||
4674 | * breakpoint.c (break_at_finish_command): Really export. | |
4675 | (break_at_finish_at_depth_command): Ditto. | |
4676 | (tbreak_at_finish_command): Ditto. | |
4677 | * hppa-tdep.c: Include completer.h. | |
4678 | * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h). | |
4679 | (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o. | |
4680 | ||
fffee0be AC |
4681 | 2002-02-01 Andrew Cagney <[email protected]> |
4682 | ||
4683 | * utils.c (do_write): New function. | |
4684 | (error_stream): Rewrite combining the code from error_begin and | |
4685 | verror. | |
4686 | (verror): Rewrite using error_stream. | |
4687 | (error_begin): Delete function. | |
4688 | ||
255e7dbf AC |
4689 | 2002-02-01 Andrew Cagney <[email protected]> |
4690 | ||
4691 | * utils.c (error_begin): Make static. | |
4692 | * defs.h (error_begin): Delete declaration. | |
4693 | ||
4694 | * linespec.c (cplusplus_error): Replace cplusplus_hint. | |
4695 | (decode_line_1): Use cplusplus_error instead of error_begin, | |
4696 | cplusplus_hint and return_to_top_level. | |
4697 | * coffread.c (coff_symfile_read): Use error instead of error_begin | |
4698 | and return_to_top_level. | |
4699 | * infrun.c (default_skip_permanent_breakpoint): Ditto. | |
4700 | ||
ddfe3c15 AC |
4701 | 2002-02-01 Andrew Cagney <[email protected]> |
4702 | ||
4703 | * language.h (type_error, range_error): Make string parameter | |
4704 | constant. | |
4705 | * language.c (warning_pre_print): Delete extern declaration. | |
4706 | * dwarfread.c (warning_pre_print): Ditto. | |
4707 | * language.c (type_error, range_error): Rewrite to use verror and | |
4708 | vwarning instead of warning_begin. | |
4709 | ||
03ac34d5 MS |
4710 | 2002-02-01 Michael Snyder <[email protected]> |
4711 | ||
261c4ca2 MS |
4712 | * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code. |
4713 | (set_ignore_count): Move misplaced comment back where it belongs. | |
03ac34d5 | 4714 | |
e00d1dc8 AC |
4715 | 2002-02-01 Andrew Cagney <[email protected]> |
4716 | ||
4717 | * command.h (NO_FUNCTION): Delete macro. | |
4718 | * cli/cli-decode.h (NO_FUNCTION): Ditto. | |
4719 | * top.c (execute_command): Replace NO_FUNCTION with NULL. | |
4720 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
4721 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
4722 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
aaa38bb5 | 4723 | |
76b79d6e DJ |
4724 | 2002-02-01 Daniel Jacobowitz <[email protected]> |
4725 | ||
4726 | * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments. | |
4727 | Update ``this'' pointer when calling virtual functions. | |
4728 | ||
799f9e91 MS |
4729 | 2002-02-01 Michael Snyder <[email protected]> |
4730 | ||
c7bd442c | 4731 | * breakpoint.c (create_temp_exception_breakpoint): Delete. |
799f9e91 MS |
4732 | * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands. |
4733 | ||
3cf384d4 DJ |
4734 | 2002-02-01 Daniel Jacobowitz <[email protected]> |
4735 | ||
4736 | * regformats/reg-arm.dat: New file. | |
4737 | * regformats/reg-i386.dat: New file. | |
4738 | * regformats/reg-ia64.dat: New file. | |
4739 | * regformats/reg-m68k.dat: New file. | |
4740 | * regformats/reg-mips.dat: New file. | |
4741 | * regformats/reg-ppc.dat: New file. | |
4742 | * regformats/reg-sh.dat: New file. | |
4743 | * regformats/regdef.h: New file. | |
4744 | * regformats/regdat.sh: New file. | |
4745 | ||
0defa245 RE |
4746 | 2002-02-01 Richard Earnshaw <[email protected]> |
4747 | ||
4748 | * arm-tdep.c (arm_frameless_function_invocation): Add some comments. | |
4749 | (arm_frame_args_address, arm_frame_locals_address): New functions. | |
4750 | (arm_frame_num_args): New function. | |
4751 | * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address. | |
4752 | (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address. | |
4753 | (FRMA_NUM_ARGS): Call arm_frame_num_args. | |
4754 | ||
405f26e6 MS |
4755 | 2002-01-31 Michael Snyder <[email protected]> |
4756 | ||
502fd408 MS |
4757 | * breakpoint.c (break_at_finish_command): Export. |
4758 | (break_at_finish_at_depth_command): Export. | |
4759 | (tbreak_at_finish_command): Export. | |
4760 | (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands. | |
4761 | * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and | |
4762 | "tbreak" commands, which are HPPA specific. | |
4763 | ||
7d35e135 MS |
4764 | * printcmd.c (disassemble_command): Remove an ancient |
4765 | artifact of an old merge. | |
4766 | ||
aaa38bb5 | 4767 | * symfile.h (enum overlay_debugging_state): |
d874f1e2 MS |
4768 | Define enum constant values for overlay mode. |
4769 | * symfile.c (overlay_debugging): Use enums instead of literals. | |
aaa38bb5 AJ |
4770 | (overlay_is_mapped, overlay_auto_command, |
4771 | overlay_manual_command): Ditto. | |
d874f1e2 | 4772 | |
aaa38bb5 AJ |
4773 | * breakpoint.c (insert_breakpoints, remove_breakpoint, |
4774 | breakpoint_here_p, breakpoint_inserted_here_p, | |
4775 | breakpoint_thread_match, bpstat_stop_status, | |
9f04af04 MS |
4776 | describe_other_breakpoints, check_duplicates, clear_command): |
4777 | Coding standard fixes. | |
4778 | ||
8add0441 | 4779 | * target.c (target_xfer_memory): Add spaces, coding standard. |
9f04af04 | 4780 | (do_xfer_memory): Add missing line to trust-readonly |
405f26e6 MS |
4781 | code: check bfd SEC_READONLY flag for section. |
4782 | ||
e351066e AC |
4783 | 2002-01-31 Andrew Cagney <[email protected]> |
4784 | ||
7d35e135 | 4785 | * PROBLEMS: Fix typo, 5.1->5.1.1. |
e351066e | 4786 | |
8a48e967 DJ |
4787 | 2002-01-30 Daniel Jacobowitz <[email protected]> |
4788 | ||
4789 | * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for | |
4790 | data symbols, since we search based on textlow and texthigh. | |
4791 | (find_pc_sect_symtab): Likewise. | |
4792 | ||
f5a96129 AC |
4793 | 2002-01-30 Andrew Cagney <[email protected]> |
4794 | ||
4795 | * defs.h (vwarning): Declare. | |
f5a96129 AC |
4796 | * utils.c (vwarning): New function. |
4797 | (warning): Call vwarning. | |
4798 | (warning_begin): Delete function. | |
4799 | ||
4800 | * rs6000-nat.c (vmap_ldinfo): Use the function warning to print | |
4801 | the warning message. | |
4802 | * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to | |
4803 | warning_begin. | |
4804 | ||
cefd4ef5 MS |
4805 | 2002-01-30 Michael Snyder <[email protected]> |
4806 | ||
1a703748 MS |
4807 | * NEWS: Mention "set trust-readonly-sections" command. |
4808 | Mention generate-core-file command. | |
cefd4ef5 | 4809 | |
3a11626d MS |
4810 | 2002-01-15 Michael Snyder <[email protected]> |
4811 | ||
4812 | * target.c: New command, "set trust-readonly-sections on". | |
4813 | (do_xfer_memory): Honor the suggestion to trust readonly sections | |
4814 | by reading them from the object file instead of from the target. | |
4815 | (initialize_targets): Register command "set trust-readonly-sections". | |
4816 | ||
d1c7e53b AC |
4817 | 2002-01-29 Andrew Cagney <[email protected]> |
4818 | ||
4819 | * parse.c (target_map_name_to_register): Simplify, search regs and | |
4820 | pseudo-regs using a single loop. | |
4821 | ||
e2c9a72c AC |
4822 | 2002-01-30 Andrew Cagney <[email protected]> |
4823 | ||
4824 | * PROBLEMS: Note that the i386 fix was missing from 5.1.1. | |
4825 | ||
69824b4e MK |
4826 | 2002-01-15 Rodney Brown <[email protected]> |
4827 | ||
4828 | * config/i386/tm-i386v4.h: Define HAVE_I387_REGS. | |
4829 | * config/i386/i386v42mp.mh: Add i387-nat.o . | |
4830 | * i386v4-nat.c: Include i387-nat.h. | |
4831 | (supply_fpregset): Use i387_supply_fsave. | |
4832 | (fill_fpregset): Use i387_fill_fsave. | |
4833 | ||
6eb69eab RE |
4834 | 2002-01-30 Richard Earnshaw <[email protected]> |
4835 | ||
4836 | * arm-tdep.c (arm_call_dummy_words): Define. | |
4837 | * arm-linux-tdep.c (arm_linux_call_dummy_words): Define. | |
4838 | * config/arm/tm-arm.h (CALL_DUMMY_P): Define. | |
4839 | (CALL_DUMMY_WORDS): Define. | |
4840 | (arm_call_dummy_words): Declare. | |
4841 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define. | |
4842 | (arm_linux_call_dummy_words): Declare. | |
4843 | ||
9852326a AS |
4844 | 2002-01-30 Andreas Schwab <[email protected]> |
4845 | ||
4846 | * m68klinux-nat.c: Fix last change to use regcache_collect | |
4847 | instead of referencing registers[] directly. | |
4848 | ||
977a3030 AC |
4849 | 2002-01-29 Andrew Cagney <[email protected]> |
4850 | ||
4851 | * parse.c (target_map_name_to_register): Delete code wrapped in | |
4852 | #ifdef REGISTER_NAME_ALIAS_HOOK. | |
4853 | ||
2076c72b MS |
4854 | 2002-01-28 Michael Snyder <[email protected]> |
4855 | ||
4856 | * regcache.c (legacy_read_register_gen): Need to be able to | |
4857 | read pseudo-register as well as real register. | |
4858 | (legacy_write_register_gen): Ditto. | |
4859 | ||
8fcc723b AC |
4860 | 2002-01-28 Andrew Cagney <[email protected]> |
4861 | ||
4862 | * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
4863 | * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete. | |
4864 | * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete. | |
4865 | * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete. | |
4866 | * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete. | |
4867 | * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete. | |
4868 | * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete. | |
4869 | * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete. | |
4870 | * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete. | |
4871 | * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
4872 | * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete. | |
4873 | * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete. | |
4874 | * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete. | |
4875 | * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete. | |
4876 | * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete. | |
4877 | * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete. | |
4878 | * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete. | |
4879 | * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete. | |
4880 | * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete. | |
4881 | * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete. | |
4882 | ||
afe64c1a AC |
4883 | 2002-01-28 Andrew Cagney <[email protected]> |
4884 | ||
4885 | * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro. | |
4886 | (target_byte_order): Initialize to BFD_ENDIAN_BIG. | |
4887 | (initialize_current_architecture): Update target_byte_order using | |
4888 | information from BFD. | |
aaa38bb5 | 4889 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): |
afe64c1a AC |
4890 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete. |
4891 | ||
75bc7ddf AC |
4892 | 2002-01-28 Andrew Cagney <[email protected]> |
4893 | ||
4894 | * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here... | |
4895 | * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. | |
4896 | ||
4897 | * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in | |
4898 | #ifdef INVALID_FLOAT. | |
4899 | * infcmd.c (do_registers_info): Ditto. | |
4900 | * values.c (unpack_double): Ditto. Add comment. | |
4901 | ||
4902 | * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was | |
4903 | already commented out. | |
4904 | ||
0280a90a AS |
4905 | 2002-01-26 Andreas Schwab <[email protected]> |
4906 | ||
4907 | * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
4908 | * m68klinux-nat.c: Update ptrace interface for fetching/storing | |
4909 | registers and add support for PTRACE_GETREGS. | |
4910 | ||
7072a954 AC |
4911 | 2002-01-24 Andrew Cagney <[email protected]> |
4912 | ||
4913 | GDB 5.1.1 released from 5.1 branch. | |
4914 | * NEWS: Add 5.1.1 news. | |
4915 | * README: Sync with 5.1 branch. | |
4916 | ||
86f902e0 FF |
4917 | 2002-01-23 Fred Fish <[email protected]> |
4918 | ||
4919 | * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to | |
4920 | stabstring on initial malloc. Reallocing will copy it for us, | |
4921 | if necessary. | |
4922 | ||
8af51c36 EZ |
4923 | 2002-01-23 Elena Zannoni <[email protected]> |
4924 | ||
aaa38bb5 | 4925 | * Makefile.in (hpread_h): Delete. |
8af51c36 EZ |
4926 | (HFILES_NO_SRCDIR): Remove hpread.h. |
4927 | (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c. | |
4928 | (hpread.o): Update dependencies. | |
4929 | (hp-psymtab-read.o, hp-symtab-read.o): Remove. | |
4930 | ||
4931 | * hp-psymtab-read.c: Remove file. | |
4932 | * hp-symtab-read.c: Remove file. | |
4933 | * hpread.h: Remove file. | |
4934 | ||
4935 | * hpread.c: Merge all contents of hp-psymtab-read.c, | |
4936 | hp-symtab-read.c and hpread.h into this file, as it was prior to | |
4937 | January 1999. | |
4938 | ||
4939 | * config/pa/hpux11w.mh, config/pa/hpux11.mh, | |
aaa38bb5 | 4940 | config/pa/hpux1020.mh, config/pa/hppaosf.mh, |
8af51c36 EZ |
4941 | config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES): |
4942 | Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o. | |
4943 | ||
dc5cfeb6 EZ |
4944 | 2002-01-23 Elena Zannoni <[email protected]> |
4945 | ||
4946 | * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, | |
4947 | fill_gregset): Call gdbarch_tdep() just once, assign result to | |
4948 | variable and use that, instead of calling the function several | |
4949 | times. | |
4950 | ||
ea87b71b AO |
4951 | 2002-01-24 Alexandre Oliva <[email protected]> |
4952 | ||
4953 | * configure.host: Accept sparcv9 as alias for sparc64. | |
4954 | * configure.tgt: Likewise. | |
4955 | ||
13fc0c2f KB |
4956 | 2002-01-22 Kevin Buettner <[email protected]> |
4957 | ||
4958 | * solib-aix5.c (build_so_list_from_mapfile) | |
4959 | (aix5_relocate_main_executable): Fix xcalloc() calls so order of | |
4960 | arguments is not reversed. | |
4961 | * solib-sunos.c (sunos_relocate_main_executable): Likewise. | |
4962 | * solib-svr4.c (svr4_relocate_main_executable): Likewise. | |
aaa38bb5 | 4963 | |
7bd872fe EZ |
4964 | 2002-01-22 Elena Zannoni <[email protected]> |
4965 | ||
4966 | * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and | |
4967 | modified version of obsolete sh_fetch_pseudo_register. | |
4968 | (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read. | |
4969 | (sh4_register_read): New function. | |
4970 | (sh_pseudo_register_write): New function. Renamed and modified | |
4971 | version of obsolete sh_store_pseudo_register. | |
4972 | (sh_store_pseudo_register): Rename to sh_pseudo_register_write. | |
4973 | (sh4_register_write): New function. | |
4974 | (sh_gdbarch_init): Remove setting of gdbarch function | |
4975 | fetch_pseudo_register and store_pseudo_register. Remove setting of | |
4976 | register_convert_to_raw, register_convert_to_virtual, | |
4977 | register_convertible. | |
4978 | (sh_sh4_register_convertible): Delete. No longer needed. All is | |
4979 | taken care by architecture specific functions | |
4980 | register_read/register_write. | |
4981 | (sh_sh4_register_convert_to_virtual): Make static. | |
4982 | (sh_sh4_register_convert_to_raw): Ditto. | |
4983 | ||
069e84fd AC |
4984 | 2002-01-22 Andrew Cagney <[email protected]> |
4985 | ||
4986 | * doublest.c (floatformat_is_negative): Assert FMT is non NULL. | |
4987 | (floatformat_is_nan, floatformat_mantissa): Ditto. | |
4988 | ||
4989 | * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT | |
4990 | for builtin_type_ieee_single_little, builtin_type_ieee_double_big, | |
4991 | builtin_type_ieee_double_little, | |
4992 | builtin_type_ieee_double_littlebyte_bigword, | |
4993 | builtin_type_m68881_ext, builtin_type_i960_ext, | |
4994 | builtin_type_m88110_ext, builtin_type_m88110_harris_ext, | |
4995 | builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword, | |
4996 | builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and | |
4997 | builtin_type_ia64_quad_big, builtin_type_ia64_quad_little. | |
4998 | ||
211a4f69 CV |
4999 | 2002-01-22 Corinna Vinschen <[email protected]> |
5000 | ||
5001 | * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless | |
5002 | parameter. Set frameless flag if it exists and depended of | |
5003 | whether the scanned function is frameless or not. | |
5004 | (xstormy16_skip_prologue): If function is frameless, return | |
5005 | result of xstormy16_scan_prologue(). | |
5006 | (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() | |
5007 | call. | |
5008 | ||
f81353e4 EZ |
5009 | 2002-01-21 Elena Zannoni <[email protected]> |
5010 | ||
5011 | * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, | |
5012 | sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, | |
5013 | sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, | |
5014 | sh_sh4_register_byte, sh_sh4_register_raw_size, | |
5015 | sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, | |
5016 | sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, | |
5017 | sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, | |
5018 | sh_store_pseudo_register, sh_do_pseudo_register): Call | |
5019 | gdbarch_tdep() just once, assign result to variable and use that, | |
5020 | instead of calling the function several times. | |
5021 | ||
63c73a17 MK |
5022 | 2002-01-20 Mark Kettenis <[email protected]> |
5023 | ||
5024 | * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P | |
5025 | macros instead of LAST_FPU_CTRL_REGNUM. | |
5026 | (store_register): Likewise. | |
5027 | ||
39ad761d JB |
5028 | 2002-01-21 Jim Blandy <[email protected]> |
5029 | ||
5030 | * infcmd.c (run_command): Check that the `exec' target layer's BFD | |
5031 | is up-to-date before running the program, not just when a program | |
5032 | exits. | |
5033 | ||
3d74b771 FF |
5034 | 2002-01-21 Fred Fish <[email protected]> |
5035 | ||
5036 | * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue | |
5037 | when we have found all instructions we are looking for. | |
5038 | ||
966fbf70 RE |
5039 | 2002-01-21 Richard Earnshaw <[email protected]> |
5040 | ||
5041 | * arm-tdep.c (arm_register_name): New function. | |
5042 | (arm_registers_names): Make static. | |
5043 | * config/arm/tm-arm.h (arm_register_names): Delete declaration. | |
5044 | (arm_register_name): Declare. | |
5045 | (REGISTER_NAME): Use it. | |
5046 | ||
c3b4394c RE |
5047 | 2002-01-21 Richard Earnshaw <[email protected]> |
5048 | Kevin Buettner <[email protected]> | |
5049 | ||
5050 | Convert arm targets to new FRAME interface. | |
5051 | * arm-tdep.c (struct frame_extra_info): Remove fsr. | |
5052 | (arm_frame_find_save_regs): Delete. | |
5053 | (arm_frame_init_saved_regs): New. | |
5054 | (arm_init_extra_frame_info): Alloacte saved_regs as required. | |
5055 | Allocate extra_info as required. Convert all uses of fsr.regs | |
5056 | to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields | |
5057 | to use extra_info. | |
5058 | (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) | |
5059 | (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. | |
5060 | (check_prologue_cache, save_prologue_cache): Likewise. | |
5061 | (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. | |
5062 | * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. | |
5063 | (FRAME_FIND_SAVED_REGS): Delete. | |
5064 | (arm_frame_find_saved_regs): Delete prototype. | |
5065 | (arm_frame_init_saved_regs): New prototype. | |
5066 | (FRAME_INIT_SAVED_REGS): Define. | |
5067 | ||
61d99182 AC |
5068 | 2002-01-20 Andrew Cagney <[email protected]> |
5069 | ||
5070 | * config/arc/tm-arc.h (IEEE_FLOAT): Delete. | |
5071 | ||
6aaea291 AC |
5072 | 2002-01-20 Andrew Cagney <[email protected]> |
5073 | ||
5074 | From Jeff Law <[email protected]>: | |
5075 | * infttrace.c: Include <sys/pstat.h>. | |
5076 | (child_pid_to_exec_file): Revamp. Use pstat call to get the | |
5077 | exec file if the ttrace equivalent fails. | |
5078 | ||
15f698d2 AC |
5079 | 2002-01-20 Andrew Cagney <[email protected]> |
5080 | ||
5081 | * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. | |
5082 | (closeLogFile): Ditto. | |
5083 | ||
f86ddd7c MC |
5084 | 2002-01-20 Michael Chastain <[email protected]> |
5085 | ||
5086 | * top.c (print_gdb_version): Bump copyright year to 2002. | |
5087 | ||
904507ce AC |
5088 | 2002-01-20 Andrew Cagney <[email protected]> |
5089 | ||
5090 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena | |
5091 | Zannoni and Eli Zaretskii. | |
5092 | ||
d7f0b9ce DJ |
5093 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
5094 | ||
5095 | * buildsym.c: Update copyright years. | |
5096 | * c-typeprint.c: Likewise. | |
5097 | * dwarf2read.c: Likewise. | |
5098 | * f-typeprint.c: Likewise. | |
5099 | * gdbtypes.c: Likewise. | |
5100 | * gdbtypes.h: Likewise. | |
5101 | * hp-symtab-read.c: Likewise. | |
5102 | * hpread.c: Likewise. | |
5103 | * mdebugread.c: Likewise. | |
5104 | * p-typeprint.c: Likewise. | |
5105 | ||
3fd3d7d2 AC |
5106 | 2002-01-20 Andrew Cagney <[email protected]> |
5107 | ||
5108 | * remote-sim.c (gdbsim_open): Simplify code testing the macro | |
5109 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always | |
5110 | byte-order selectable. | |
5111 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. | |
5112 | * arch-utils.c: Ditto. | |
5113 | (set_endian): Ditto. | |
5114 | (set_endian_from_file): Ditto. | |
5115 | * gdbserver/low-sim.c (create_inferior): Ditto. | |
5116 | * gdbarch.sh: Ditto. | |
5117 | * gdbarch.h: Re-generate. | |
aaa38bb5 AJ |
5118 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): |
5119 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): | |
5120 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): | |
5121 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
5122 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
5123 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
5124 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): | |
3fd3d7d2 AC |
5125 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete |
5126 | macro definition. | |
5127 | * config/mips/tm-wince.h: Remove #undef of macro | |
5128 | TARGET_BYTE_ORDER_SELECTABLE. | |
5129 | * config/sh/tm-wince.h: Ditto. | |
5130 | ||
b02dede2 DJ |
5131 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
5132 | ||
5133 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to | |
5134 | member function fields. Add accessor macro | |
5135 | TYPE_FN_FIELD_ARTIFICIAL. | |
5136 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. | |
5137 | * c-typeprint.c (c_type_print_base): Skip artificial member | |
5138 | functions. | |
5139 | ||
c3643761 DJ |
5140 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
5141 | ||
5142 | * f-typeprint.c: Delete unused function f_type_print_args. | |
5143 | * p-typeprint.c: Delete unused function pascal_type_print_args. | |
5144 | ||
8176bb6d DJ |
5145 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
5146 | ||
5147 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete | |
5148 | comment. Add ``artificial'' to ``union field_location''. | |
5149 | ||
5150 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. | |
5151 | ||
5152 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. | |
5153 | * mdebugread.c (parse_symbol): Likewise. | |
5154 | * stabsread.c (define_symbol): Likewise. | |
5155 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of | |
5156 | initializing TYPE_FIELD_BITPOS to n (obsolete). | |
5157 | (hpread_doc_function_type): Likewise. | |
5158 | * hpread.c (hpread_function_type): Likewise. | |
5159 | ||
7fd60527 AC |
5160 | 2002-01-20 Andrew Cagney <[email protected]> |
5161 | ||
5162 | * configure.in (host_makefile_frag): Only require a host makefile | |
5163 | fragment when a native build. | |
5164 | * configure: Re-generate. | |
5165 | ||
c2f05ac9 AC |
5166 | 2002-01-20 Andrew Cagney <[email protected]> |
5167 | ||
5168 | * doublest.h (floatformat_from_type): Declare. | |
5169 | * doublest.c (floatformat_from_type): New function. | |
5170 | (convert_typed_floating): Use. | |
5171 | ||
5172 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with | |
5173 | call to function floatformat_from_type. | |
5174 | ||
5175 | * gdbarch.sh (IEEE_FLOAT): Delete. | |
5176 | * gdbarch.h, gdbarch.c: Re-generate. | |
5177 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. | |
5178 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. | |
5179 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. | |
5180 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. | |
5181 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. | |
5182 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. | |
5183 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. | |
5184 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. | |
5185 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. | |
5186 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. | |
5187 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. | |
c2f05ac9 AC |
5188 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. |
5189 | ||
5190 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. | |
5191 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
5192 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
5193 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
5194 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
5195 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
5196 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
5197 | ||
abf22e64 AJ |
5198 | 2002-01-20 Jiri Smid <[email protected]> |
5199 | ||
5200 | * configure.host, configure.tgt: Support x86-64. | |
5201 | * NEWS: Note new target x86-64. | |
5202 | ||
b7c4cbf8 AJ |
5203 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
5204 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. | |
5205 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. | |
5206 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, | |
5207 | x86-64-linux-nat.o): Fix dependencies. | |
5208 | ||
82600034 AC |
5209 | 2002-01-19 Andrew Cagney <[email protected]> |
5210 | ||
5211 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. | |
5212 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... | |
5213 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. | |
5214 | * config/sparc/xm-sun4os4.h: Delete file. | |
5215 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. | |
abf22e64 | 5216 | |
bbe5c628 AC |
5217 | 2002-01-19 Andrew Cagney <[email protected]> |
5218 | ||
5219 | * config/sparc/sparclynx.mh (XM_FILE): Delete. | |
5220 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. | |
5221 | * config/m68k/m68klynx.mh (XM_FILE): Delete. | |
5222 | * config/i386/i386lynx.mh (XM_FILE): Delete. | |
5223 | * config/rs6000/xm-rs6000ly.h: Delete file. | |
5224 | * config/sparc/xm-sparclynx.h: Delete file. | |
5225 | * config/m68k/xm-m68klynx.h: Delete file. | |
5226 | * config/i386/xm-i386lynx.h: Delete file. | |
5227 | * config/xm-lynx.h: Delete file. | |
5228 | * config/djgpp/fnchange.lst: Update. | |
5229 | ||
f8453e34 JT |
5230 | 2002-01-19 Jason Thorpe <[email protected]> |
5231 | ||
5232 | * alpha-tdep.c (alpha_register_byte): New function. | |
5233 | (alpha_register_raw_size): Ditto. | |
5234 | (alpha_register_virtual_size): Ditto. | |
5235 | (alpha_skip_prologue_internal): Renamed from | |
5236 | alpha_skip_prologue. | |
5237 | (alpha_skip_prologue): New version that calls | |
5238 | alpha_skip_prologue_internal. | |
5239 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. | |
5240 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove | |
5241 | second argument from alpha_skip_prologue. | |
5242 | (REGISTER_BYTE): Use alpha_register_byte. | |
5243 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. | |
5244 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. | |
5245 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
5246 | generic_frameless_function_invocation_not. | |
5247 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. | |
5248 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. | |
5249 | ||
52d9e613 AC |
5250 | 2002-01-19 Andrew Cagney <[email protected]> |
5251 | ||
5252 | * config/mips/xm-news-mips.h: Delete file. | |
5253 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. | |
5254 | ||
5255 | * config/m88k/xm-m88k.h: Delete file. | |
5256 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. | |
5257 | * config/m88k/xm-delta88v4.h: Ditto. | |
5258 | * config/m88k/xm-delta88.h: Ditto. | |
5259 | ||
5260 | * config/alpha/xm-fbsd.h: Delete file. | |
5261 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. | |
5262 | ||
5263 | * config/sparc/xm-sparc.h: Delete file. | |
5264 | * Makefile.in (xm-sun4os4.h): Delete dependency. | |
5265 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. | |
5266 | * config/sparc/xm-sun4os4.h: Ditto. | |
5267 | * config/sparc/xm-linux.h: Ditto. | |
5268 | ||
5269 | * config/i386/xm-windows.h: Delete file. | |
5270 | ||
2d1b2124 AC |
5271 | 2002-01-19 Andrew Cagney <[email protected]> |
5272 | ||
5273 | * utils.c: Include <sys/param.h> for MAXPATHLEN. | |
5274 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. | |
5275 | ||
ee1f65f0 JT |
5276 | 2002-01-19 Jason Thorpe <[email protected]> |
5277 | ||
5278 | * alpha-tdep.c (alpha_call_dummy_words): New. | |
5279 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. | |
5280 | (CALL_DUMMY_P): Define. | |
5281 | (CALL_DUMMY_WORDS): Define. | |
5282 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
5283 | ||
98081e55 PB |
5284 | 2002-01-19 Per Bothner <[email protected]> |
5285 | ||
5286 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name | |
5287 | isn't NULL, which can happen with some gcj-3.x-produced code. | |
5288 | ||
0d056799 JT |
5289 | 2002-01-19 Jason Thorpe <[email protected]> |
5290 | ||
5291 | * alpha-tdep.c (alpha_register_virtual_type): New function. | |
5292 | (alpha_init_frame_pc_first): Ditto. | |
5293 | (alpha_fix_call_dummy): Ditto. | |
5294 | (alpha_store_struct_return): Ditto. | |
5295 | (alpha_extract_struct_value_address): Ditto. | |
5296 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use | |
5297 | alpha_register_virtual_type. | |
5298 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. | |
5299 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use | |
5300 | alpha_extract_struct_value_address. | |
5301 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. | |
5302 | (INIT_FRAME_PC): Use init_frame_pc_noop. | |
5303 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. | |
5304 | ||
4604bcad MK |
5305 | 2002-01-19 Mark Kettenis <[email protected]> |
5306 | ||
5307 | * i386gnu-nat.c: Include "i386-tdep.h". | |
5308 | (fetch_fpregs): Simplify code dealing with uninitialized floating | |
5309 | point states such that it doesn't require FP7_REGNUM. | |
5310 | ||
140f9984 JT |
5311 | 2002-01-18 Jason Thorpe <[email protected]> |
5312 | ||
abf22e64 AJ |
5313 | * alpha-tdep.c (frame_extra_info): New. |
5314 | (alpha_find_saved_regs): Make static. Use | |
140f9984 JT |
5315 | frame->extra_info. |
5316 | (alpha_frame_init_saved_regs): New function. | |
abf22e64 AJ |
5317 | (alpha_frame_saved_pc): Use frame->extra_info. |
5318 | (temp_saved_regs): Don't declare as struct frame_saved_regs. | |
5319 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. | |
140f9984 JT |
5320 | (init_extra_frame_info): Rename to... |
5321 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. | |
abf22e64 | 5322 | (alpha_print_extra_frame_info): New function. |
140f9984 JT |
5323 | (alpha_frame_locals_address): Ditto. |
5324 | (alpha_frame_args_address): Ditto. | |
abf22e64 | 5325 | (alpha_pop_frame): Use frame->extra_info. |
140f9984 JT |
5326 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
5327 | alpha_frame_args_address. | |
abf22e64 | 5328 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
140f9984 | 5329 | (alpha_find_saved_regs): Remove prototype. |
abf22e64 AJ |
5330 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
5331 | (EXTRA_FRAME_INFO): Remove. | |
140f9984 JT |
5332 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
5333 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. | |
5334 | ||
d734c450 JT |
5335 | 2002-01-18 Jason Thorpe <[email protected]> |
5336 | ||
5337 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. | |
5338 | (alpha_cannot_fetch_register): Ditto. | |
5339 | (alpha_cannot_store_register): Ditto. | |
5340 | (alpha_register_convertible): Ditto. | |
5341 | (alpha_use_struct_convention): Ditto. | |
5342 | * config/alpha/tm-alpha.h: Update copyright years. | |
5343 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. | |
5344 | (INNER_THAN): Use core_addr_lessthan. | |
5345 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. | |
5346 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. | |
5347 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. | |
5348 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. | |
5349 | (FRAME_CHAIN): Remove unnecessary cast. | |
5350 | ||
b4ceaee6 AC |
5351 | 2002-01-18 Andrew Cagney <[email protected]> |
5352 | ||
5353 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is | |
5354 | obsolete. | |
5355 | ||
0a65a603 AC |
5356 | 2002-01-18 Andrew Cagney <[email protected]> |
5357 | ||
5358 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. | |
5359 | * monitor.c, remote-array.c, remote-bug.c: Ditto. | |
5360 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. | |
5361 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. | |
5362 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. | |
5363 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. | |
5364 | * x86-64-linux-nat.c: Ditto. | |
5365 | ||
636a6dfc JT |
5366 | 2002-01-18 Jason Thorpe <[email protected]> |
5367 | ||
abf22e64 | 5368 | * alpha-tdep.c (alpha_register_name): New function. |
636a6dfc JT |
5369 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
5370 | (REGISTER_NAME): Define. | |
5371 | ||
acceddb6 JT |
5372 | 2002-01-18 Jason Thorpe <[email protected]> |
5373 | ||
5374 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. | |
5375 | ||
ec32e4be JT |
5376 | 2002-01-18 Jason Thorpe <[email protected]> |
5377 | ||
5378 | * alpha-tdep.c: Update copyright years. | |
5379 | (alpha_next_pc): New function. | |
5380 | (alpha_software_single_step): Ditto. | |
5381 | * config/alpha/tm-alpha.h: Add prototype for | |
5382 | alpha_software_single_step. | |
5383 | ||
e771a871 JT |
5384 | 2002-01-18 Jason Thorpe <[email protected]> |
5385 | ||
5386 | * alphabsd-nat.c: Update copyright years. | |
5387 | (fill_gregset): Use regcache_collect. | |
5388 | (fill_fpregset): Likewise. | |
5389 | (fetch_inferior_registers): Only fetch integer registers | |
5390 | if requested to do so. | |
5391 | (store_inferior_registers): Only store integer registers | |
5392 | if requested to do so. | |
5393 | ||
7708fa01 AC |
5394 | 2002-01-17 Andrew Cagney <[email protected]> |
5395 | ||
5396 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. | |
5397 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. | |
5398 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. | |
5399 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. | |
5400 | * config/alpha/fbsd.mh (XDEPFILES): Delete. | |
5401 | * config/arm/linux.mh (XDEPFILES): Delete. | |
5402 | * config/arm/nbsd.mh (XDEPFILES): Delete. | |
5403 | * config/i386/i386dgux.mh (XDEPFILES): Delete. | |
5404 | * config/i386/i386sol2.mh (XDEPFILES): Delete. | |
5405 | * config/i386/i386m3.mh (XDEPFILES): Delete. | |
5406 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. | |
5407 | * config/i386/i386gnu.mh (XDEPFILES): Delete. | |
5408 | * config/i386/fbsd.mh (XDEPFILES): Delete. | |
5409 | * config/i386/i386bsd.mh (XDEPFILES): Delete. | |
5410 | * config/i386/i386sco5.mh (XDEPFILES): Delete. | |
5411 | * config/i386/i386v4.mh (XDEPFILES): Delete. | |
5412 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. | |
5413 | * config/i386/i386sco4.mh (XDEPFILES): Delete. | |
5414 | * config/i386/i386aix.mh (XDEPFILES): Delete. | |
5415 | * config/i386/go32.mh (XDEPFILES): Delete. | |
5416 | * config/i386/cygwin.mh (XDEPFILES): Delete. | |
5417 | * config/i386/i386lynx.mh (XDEPFILES): Delete. | |
5418 | * config/i386/i386mach.mh (XDEPFILES): Delete. | |
5419 | * config/i386/i386v32.mh (XDEPFILES): Delete. | |
5420 | * config/i386/linux.mh (XDEPFILES): Delete. | |
5421 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. | |
5422 | * config/i386/ncr3000.mh (XDEPFILES): Delete. | |
5423 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. | |
5424 | * config/i386/i386sco.mh (XDEPFILES): Delete. | |
5425 | * config/i386/i386v.mh (XDEPFILES): Delete. | |
5426 | * config/i386/nbsd.mh (XDEPFILES): Delete. | |
5427 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. | |
5428 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. | |
5429 | * config/i386/symmetry.mh (XDEPFILES): Delete. | |
5430 | * config/i386/obsd.mh (XDEPFILES): Delete. | |
5431 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. | |
5432 | * config/ia64/linux.mh (XDEPFILES): Delete. | |
5433 | * config/ia64/aix.mh (XDEPFILES): Delete. | |
5434 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. | |
5435 | * config/m68k/dpx2.mh (XDEPFILES): Delete. | |
5436 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. | |
5437 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. | |
5438 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. | |
5439 | * config/m68k/linux.mh (XDEPFILES): Delete. | |
5440 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. | |
5441 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. | |
5442 | * config/m68k/nbsd.mh (XDEPFILES): Delete. | |
5443 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. | |
5444 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. | |
5445 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. | |
5446 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. | |
5447 | * config/m88k/delta88.mh (XDEPFILES): Delete. | |
5448 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. | |
5449 | * config/m88k/m88k.mh (XDEPFILES): Delete. | |
5450 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. | |
5451 | * config/mips/linux.mh (XDEPFILES): Delete. | |
5452 | * config/mips/irix6.mh (XDEPFILES): Delete. | |
5453 | * config/mips/irix5.mh (XDEPFILES): Delete. | |
5454 | * config/mips/irix4.mh (XDEPFILES): Delete. | |
5455 | * config/mips/irix3.mh (XDEPFILES): Delete. | |
5456 | * config/mips/decstation.mh (XDEPFILES): Delete. | |
5457 | * config/mips/mipsm3.mh (XDEPFILES): Delete. | |
5458 | (NATDEPFILES): Move core-aout.o to here. | |
5459 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. | |
5460 | * config/pa/hpux1020.mh (XDEPFILES): Delete. | |
5461 | * config/pa/hppabsd.mh (XDEPFILES): Delete. | |
5462 | * config/pa/hppahpux.mh (XDEPFILES): Delete. | |
5463 | * config/pa/hpux11w.mh (XDEPFILES): Delete. | |
5464 | * config/pa/hppaosf.mh (XDEPFILES): Delete. | |
5465 | * config/pa/hpux11.mh (XDEPFILES): Delete. | |
5466 | * config/powerpc/aix.mh (XDEPFILES): Delete. | |
5467 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. | |
5468 | * config/powerpc/linux.mh (XDEPFILES): Delete. | |
5469 | * config/romp/rtbsd.mh: Rename XDEPFILES. | |
5470 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. | |
5471 | * config/rs6000/aix4.mh (XDEPFILES): Delete. | |
5472 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. | |
5473 | * config/s390/s390.mh (XDEPFILES): Delete. | |
5474 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. | |
5475 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. | |
5476 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. | |
5477 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. | |
5478 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. | |
5479 | * config/sparc/nbsd.mh (XDEPFILES): Delete. | |
5480 | * config/sparc/linux.mh (XDEPFILES): Delete. | |
5481 | * config/vax/vaxult.mh (XDEPFILES): Delete. | |
5482 | * config/vax/vaxult2.mh (XDEPFILES): Delete. | |
5483 | * Makefile.in (DEPFILES): Remove XDEPFILES. | |
5484 | ||
375fc983 AC |
5485 | 2002-01-17 Andrew Cagney <[email protected]> |
5486 | ||
5487 | * utils.c (internal_verror): Fix comments, default is yes not no. | |
5488 | Update queries to match. Default to quit and dump core. | |
5489 | ||
8926118c AC |
5490 | 2002-01-17 Andrew Cagney <[email protected]> |
5491 | ||
5492 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update | |
5493 | copyright. | |
5494 | * defs.h, event-top.c, gdbcmd.h: Ditto. | |
5495 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. | |
5496 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. | |
5497 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. | |
5498 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. | |
5499 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. | |
5500 | * mi/mi-main.c:Ditto. | |
5501 | ||
5502 | * stack.c, symfile.c: Update copyright. | |
5503 | ||
45b7b345 DJ |
5504 | 2002-01-17 Daniel Jacobowitz <[email protected]> |
5505 | ||
db728ff7 DJ |
5506 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
5507 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, | |
5508 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, | |
5509 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. | |
45b7b345 | 5510 | |
db728ff7 DJ |
5511 | 2002-01-17 Daniel Jacobowitz <[email protected]> |
5512 | ||
5513 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. | |
5514 | * gdbserver/low-lynx.c (myattach): Likewise. | |
5515 | * gdbserver/low-nbsd.c (myattach): Likewise. | |
5516 | * gdbserver/low-sim.c (myattach): Likewise. | |
5517 | * gdbserver/low-sparc.c (myattach): Likewise. | |
5518 | * gdbserver/low-sun3.c (myattach): Likewise. | |
5519 | ||
5520 | * gdbserver/low-linux.c (myattach): New function. | |
45b7b345 | 5521 | |
db728ff7 | 5522 | * gdbserver/server.c (attach_inferior): New function. |
45b7b345 DJ |
5523 | (main): Handle "--attach". |
5524 | ||
8de3c354 AC |
5525 | 2002-01-16 Andrew Cagney <[email protected]> |
5526 | ||
5527 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ | |
5528 | maintainer. | |
5529 | ||
b0129042 DJ |
5530 | 2002-01-15 Daniel Jacobowitz <[email protected]> |
5531 | ||
5532 | * c-typeprint.c (is_type_conversion_operator): Add additional | |
5533 | check for non-conversion operators. | |
5534 | ||
ba8679fb | 5535 | 2002-01-15 Michael Snyder <[email protected]> |
2bf543a6 MS |
5536 | |
5537 | * linux-proc.c: Add "info proc" command, a la procfs.c. | |
5538 | (read_mapping): New function, abstract and re-use code. | |
5539 | (linux_find_memory_regions): Use new func read_mapping. | |
5540 | (linux_info_proc_cmd): New function, implement "info proc". | |
5541 | (_initialize_linux_proc): Add new command "info proc". | |
5542 | ||
e4f9b4d5 MS |
5543 | 2002-01-15 Michael Snyder <[email protected]> |
5544 | ||
5545 | * symfile.c (generic_load): Use bfd_map_over_sections method | |
5546 | instead of manipulating bfd structure members directly. | |
5547 | (add_section_size_callback): New function, bfd sections callback | |
5548 | used by generic_load. | |
5549 | (load_sections_callback): New function, bfd sections callback | |
5550 | used by generic_load. | |
5551 | ||
08cf96df EZ |
5552 | 2002-01-15 Elena Zannoni <[email protected]> |
5553 | ||
abf22e64 | 5554 | [Based on work by Jim Blandy] |
08cf96df EZ |
5555 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
5556 | (builtin_type_vec128): Export. | |
5557 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD | |
5558 | types. | |
5559 | (builtin_type_vec128): New builtin type for 128 bit vector | |
5560 | registers. | |
5561 | (build_gdbtypes): Initialize builtin_type_v16qi and | |
5562 | builtin_type_v8hi. Create the vec128 register builtin type | |
5563 | structure. | |
5564 | (build_builtin_type_vec128): New function. | |
abf22e64 | 5565 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
08cf96df EZ |
5566 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
5567 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of | |
5568 | AltiVec register to new builtin type. | |
5569 | ||
d7242108 DJ |
5570 | 2001-01-15 Daniel Jacobowitz <[email protected]> |
5571 | ||
5572 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) | |
5573 | to make_cv_type. | |
5574 | ||
4ee3352d AC |
5575 | 2002-01-14 Andrew Cagney <[email protected]> |
5576 | ||
5577 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename | |
5578 | CLEAN_UP_REGISTER_VALUE. | |
5579 | * regcache.c (supply_register): Update only call. | |
5580 | ||
f015b2e7 AC |
5581 | 2002-01-14 Andrew Cagney <[email protected]> |
5582 | ||
5583 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
5584 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
5585 | a29k-*-vxworks* targets as obsolete. | |
5586 | ||
356ae49d MS |
5587 | 2002-01-14 Michael Snyder <[email protected]> |
5588 | ||
5589 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs | |
5590 | until we can resolve portability issues. | |
5591 | * gregset.h: Remove references to fpxregs. | |
5592 | * gcore.c (gcore_command): Initialize note_sec to NULL. | |
5593 | ||
ade8f45e AC |
5594 | 2002-01-13 Andrew Cagney <[email protected]> |
5595 | ||
5596 | * signals.c (target_signal_to_name): Rewrite. Only use | |
5597 | signals[].name when in bounds and non-NULL. | |
abf22e64 | 5598 | |
89c49e7a AC |
5599 | 2002-01-13 Andrew Cagney <[email protected]> |
5600 | ||
5601 | From Petr Ledvina <[email protected]>: | |
5602 | * signals.c (target_signal_to_name): Verify that SIG is within the | |
5603 | bounds of the signals array. | |
5604 | ||
4daa9f9f AC |
5605 | 2002-01-13 Andrew Cagney <[email protected]> |
5606 | ||
5607 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. | |
5608 | ||
ba4bbdcb KS |
5609 | 2002-01-13 Keith Seitz <[email protected]> |
5610 | ||
5611 | * stack.c (print_frame_info_base): Print the frame's pc | |
5612 | only if when print_frame_info_listing_hook is not defined. | |
5613 | ||
575bbeb6 KS |
5614 | 2002-01-13 Keith Seitz <[email protected]> |
5615 | ||
5616 | * varobj.c (varobj_set_value): Make sure that there were no | |
5617 | errors evaluating the object before attempting to set its | |
5618 | value. | |
5619 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, | |
5620 | so this offset adjustment is no longer necessary. | |
5621 | (create_child): Don't set the error flag if the child is | |
5622 | a CPLUS_FAKE_CHILD. | |
5623 | (value_of_child): If value_fetch_lazy fails, return NULL | |
5624 | so that callers will be notified that an error occurred. | |
5625 | (c_value_of_variable): Delay check of variable's validity | |
5626 | until later. We actually want all structs and unions to have | |
5627 | the value "{...}". | |
5628 | Do not return "???" for variables which could not be evaluated. | |
5629 | This error condition must be returned to the caller so that it | |
5630 | can get the error condition from gdb. | |
5631 | (cplus_name_of_child): Adjust index for vptr before figuring | |
5632 | out the name of the child. | |
5633 | (cplus_value_of_child): If a child's (real) parent is not valid, | |
5634 | don't even bother trying to give a value for it. Just return | |
5635 | an error. Change all instances in this function. | |
5636 | (cplus_type_of_child): If our parent is one of the "fake" | |
5637 | parents, we need to get at the type of the real parent, and | |
5638 | derive the child's true type using this information. | |
5639 | ||
b76898ab AC |
5640 | 2002-01-13 Andrew Cagney <[email protected]> |
5641 | ||
5642 | From 2002-01-09 John Marshall <[email protected]>: | |
5643 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to | |
5644 | sources.redhat.com, and tweak some related URLs which had | |
5645 | suffered from linkrot. | |
5646 | ||
b6649e88 AC |
5647 | 2002-01-13 Andrew Cagney <[email protected]> |
5648 | ||
5649 | From Jeff law: | |
5650 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte | |
5651 | structures passed in registers. | |
5652 | ||
82cc5033 EZ |
5653 | 2002-01-13 Eli Zaretskii <[email protected]> |
5654 | ||
5655 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous | |
5656 | white space which prevented compilation. Reported by DSK | |
5657 | <[email protected]>. | |
5658 | ||
ba5f2f8a MS |
5659 | 2002-01-11 Michael Snyder <[email protected]> |
5660 | ||
fbd35540 MS |
5661 | * symfile.c (build_section_addr_info_from_section_tab): |
5662 | Use bfd access method instead of manipulating bfd directly. | |
5663 | (syms_from_objfile): Ditto. | |
5664 | (simple_overlay_update_1): Ditto. | |
5665 | (simple_overlay_update): Ditto. | |
5666 | (generic_load): Ditto. | |
5667 | (overlay_unmapped_address): FIXME comment, bfd access methods. | |
5668 | (sections_overlap): FIXME comment, bfd access methods. | |
5669 | (pc_in_mapped_range): FIXME comment, bfd access methods. | |
5670 | (pc_in_unmapped_range): FIXME comment, bfd access methods. | |
5671 | (section_is_mapped): FIXME comment, bfd access methods. | |
5672 | (section_is_overlay): FIXME comment, bfd access methods. | |
5673 | ||
ba5f2f8a MS |
5674 | * symfile.c (generic_load): Whitespace and long line cleanups. |
5675 | Remove duplicate variable, change several local variables to | |
5676 | more appropriate data types. | |
5677 | (print_transfer_performance): Use %lu instead of %ld for ulongs. | |
5678 | ||
17df2af6 AC |
5679 | 2002-01-12 Andrew Cagney <[email protected]> |
5680 | ||
5681 | From Peter Schauer: | |
5682 | * language.c (longest_local_hex_string_custom): Use phex_nz to | |
5683 | convert NUM to a hex string. | |
5684 | ||
ec920329 EZ |
5685 | 2002-01-12 Elena Zannoni <[email protected]> |
5686 | ||
5687 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in | |
5688 | the function. | |
538a76d6 | 5689 | Update Copyright year. |
ec920329 | 5690 | |
3abd2e01 AC |
5691 | 2002-01-12 Andrew Cagney <[email protected]> |
5692 | ||
5693 | * language.c (longest_raw_hex_string): Delete unused function. | |
5694 | ||
b21b22e0 PS |
5695 | 2002-01-11 Petr Sorfa <[email protected]> |
5696 | ||
5697 | * MAINTAINERS (write-after-approval): Add myself. | |
5698 | * dwarf2read.c (read_tag_string_type): Handling of | |
5699 | DW_AT_byte_size. | |
5700 | (read_tag_string_type): FORTRAN fix to prevent propagation of | |
5701 | first string size. | |
5702 | (set_cu_language): Handling of DW_LANG_Fortran95 | |
5703 | ||
747fe712 RE |
5704 | 2002-01-11 Richard Earnshaw <[email protected]> |
5705 | ||
5706 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> | |
5707 | GETPID(inferior_ptid). | |
5708 | (store_inferior_registers): Likewise. | |
5709 | ||
f1bea926 JM |
5710 | 2002-01-10 Jason Merrill <[email protected]> |
5711 | ||
5712 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. | |
5713 | Fix DW_OP_minus. | |
5714 | ||
ae940673 AC |
5715 | 2002-01-10 Andrew Cagney <[email protected]> |
5716 | ||
5717 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 | |
5718 | and bfd/elf32-sh-nbsd.c. | |
5719 | ||
00546b04 MS |
5720 | 2002-01-10 Michael Snyder <[email protected]> |
5721 | ||
352ed7b4 MS |
5722 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
5723 | ||
c18be923 MS |
5724 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
5725 | * gcore.c: Include cli/cli-decode.h instead of command.h. | |
5726 | ||
00546b04 MS |
5727 | * main.c (captured_main): Add new command line option "--pid". |
5728 | If the second command line argument (following the symbol-file) | |
5729 | begins with a digit, try to attach to it before trying to open | |
5730 | it as a corefile. | |
5731 | (print_gdb_help): Document the "--pid" argument. | |
5732 | ||
db60ec62 EZ |
5733 | 2002-01-10 Eli Zaretskii <[email protected]> |
5734 | ||
5735 | * completer.c (command_completer): New function. | |
5736 | ||
5737 | * completer.h <command_completer>: Add prototype. | |
5738 | ||
5739 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the | |
5740 | completer for the "help" command. | |
5741 | ||
39c22d1a JM |
5742 | 2002-01-09 Jason Merrill <[email protected]> |
5743 | ||
5744 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. | |
5745 | ||
c564377f MS |
5746 | 2002-01-09 Michael Snyder <[email protected]> |
5747 | ||
975aec09 MS |
5748 | * i386-linux-nat.c (fill_fpxregset): Make global. |
5749 | (store_fpxregset): Ditto. | |
5750 | ||
db4a10fa MS |
5751 | * gregset.h (gdb_fpxregset_t): Define. |
5752 | (supply_fpxregset): Prototype. | |
5753 | (fill_fpxregset): Prototype. | |
5754 | ||
c564377f MS |
5755 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
5756 | ||
c3d45d70 RE |
5757 | 2002-01-09 Richard Earnshaw <[email protected]> |
5758 | ||
5759 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. | |
5760 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. | |
5761 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. | |
5762 | ||
fcc87af1 AC |
5763 | 2002-01-09 Andrew Cagney <[email protected]> |
5764 | ||
5765 | * MAINTAINERS: Update target maintainer rules so that any | |
5766 | Maintainer can approve a tested patch for a maintenance-only | |
5767 | target. | |
5768 | ||
dd96c05b RE |
5769 | 2002-01-09 Richard Earnshaw <[email protected]> |
5770 | ||
d4297db9 | 5771 | * MAINTAINERS (write-after-approval): Add myself. |
dd96c05b | 5772 | |
d4297db9 | 5773 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
dd96c05b RE |
5774 | IN_SIGTRAMP. |
5775 | ||
145fdc6e MS |
5776 | 2002-01-08 Michael Snyder <[email protected]> |
5777 | ||
5778 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the | |
5779 | real name of the executable, rather than the /proc name. | |
5780 | ||
be4d1333 MS |
5781 | 2002-01-03 Michael Snyder <[email protected]> |
5782 | ||
5783 | Implement a "generate-core-file" command in gdb, save target state. | |
5784 | * gcore.c: New file. Implement new command 'generate-core-file'. | |
5785 | Save a corefile image of the current state of the inferior. | |
5786 | * linux-proc.c: Add linux-specific code for saving corefiles. | |
5787 | * target.h (struct target_ops): Add new target vectors for saving | |
5788 | corefiles; to_find_memory_regions and to_make_corefile_notes. | |
5789 | (target_find_memory_regions): New macro. | |
5790 | (target_make_corefile_notes): New macro. | |
5791 | * target.c (update_current_target): Inherit new target methods. | |
5792 | (dummy_find_memory_regions): New place-holder method. | |
5793 | (dummy_make_corefile_notes): New place-holder method. | |
5794 | (init_dummy_target): Initialize new dummy target vectors. | |
5795 | * exec.c (exec_set_find_memory_regions): New function. | |
5796 | Allow the exec_ops vector for memory regions to be taken over. | |
5797 | (exec_make_note_section): New function, target vector method. | |
5798 | * defs.h (exec_set_find_memory_regions): Export prototype. | |
5799 | * procfs.c (proc_find_memory_regions): New function, corefile method. | |
5800 | (procfs_make_note_section): New function, corefile method. | |
5801 | (init_procfs_ops): Set new target vector pointers. | |
5802 | (find_memory_regions_callback): New function. | |
5803 | (procfs_do_thread_registers): New function. | |
5804 | (procfs_corefile_thread_callback): New function. | |
5805 | * sol-thread.c (sol_find_memory_regions): New function. | |
5806 | (sol_make_note_section): New function. | |
5807 | (init_sol_thread_ops): Initialize new target vectors. | |
5808 | * inftarg.c (inftarg_set_find_memory_regions): New function. | |
5809 | Allow to_find_memory_regions vector to be taken over. | |
5810 | (inftarg_set_make_corefile_notes): New function. | |
5811 | Allow to_make_corefile_notes vector to be taken over. | |
5812 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db | |
5813 | interface layer if not target_has_execution (may be a corefile). | |
5814 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. | |
5815 | * config/sparc/sun4sol2.mh: Ditto. | |
5816 | * config/alpha/alpha-linux.mh: Ditto. | |
5817 | * config/arm/linux.mh: Ditto. | |
5818 | * config/i386/x86-64linux.mh: Ditto. | |
5819 | * config/ia64/linux.mh: Ditto. | |
5820 | * config/m68k/linux.mh: Ditto. | |
5821 | * config/mips/linux.mh: Ditto. | |
5822 | * config/powerpc/linux.mh: Ditto. | |
5823 | * config/sparc/linux.mh: Ditto. | |
5824 | ||
c6b92abd MS |
5825 | 2002-01-07 Michael Snyder <[email protected]> |
5826 | ||
5827 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
5828 | (registers[] and register_valid[]). | |
5829 | ||
4b09dc8c MS |
5830 | 2002-01-07 Michael Snyder <[email protected]> |
5831 | ||
abf22e64 AJ |
5832 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
5833 | so that attaching to a pid will automatically read the process's | |
4b09dc8c MS |
5834 | symbol file and shlibs. |
5835 | * Makefile.in: Add rule for linux-proc.o. | |
5836 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
5837 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
5838 | * config/arm/linux.mh: Ditto. | |
5839 | * config/i386/linux.mh: Ditto. | |
5840 | * config/i386/x86-64linux.mh: Ditto. | |
5841 | * config/ia64/linux.mh: Ditto. | |
5842 | * config/m68k/linux.mh: Ditto. | |
5843 | * config/mips/linux.mh: Ditto. | |
5844 | * config/powerpc/linux.mh: Ditto. | |
5845 | * config/sparc/linux.mh: Ditto. | |
5846 | ||
c25b74ac PM |
5847 | 2002-01-06 Pierre Muller <[email protected]> |
5848 | ||
5849 | * win32-nat.c: Add i386-tdep.h dependency. | |
5850 | ||
94cd915f MS |
5851 | 2002-01-07 Michael Snyder <[email protected]> |
5852 | ||
c7cccb76 MS |
5853 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
5854 | instead of bfd_get_arch_size. Don't bail out just because | |
5855 | there's no exec_bfd. | |
abf22e64 | 5856 | |
34c0bd93 MS |
5857 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
5858 | * p-valprint.c (pascal_object_print_value): Ditto. | |
5859 | * somread.c (som_symtab_read): Ditto. | |
5860 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
5861 | * valops.c (value_assign): Ditto. | |
5862 | ||
21c1c920 MS |
5863 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
5864 | use tilde_expand and strerror for opening save-tracepoints file. | |
5865 | ||
5bbd998e MS |
5866 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
5867 | ||
94cd915f MS |
5868 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
5869 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
abf22e64 | 5870 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
94cd915f MS |
5871 | can be overridden with whatever value is appropriate to the host). |
5872 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
5873 | alloca to allocate potentially large buffer. | |
5874 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
5875 | * symm-nat.c (child_xfer_memory): Ditto. | |
5876 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
5877 | ||
494e8a93 JSC |
5878 | 2002-01-07 Jackie Smith Cashion <[email protected]> |
5879 | ||
5880 | From Nick Clifton <[email protected]> | |
5881 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
5882 | ||
d0e1d48e MS |
5883 | 2002-01-07 Michael Snyder <[email protected]> |
5884 | ||
abf22e64 | 5885 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
d0e1d48e MS |
5886 | Don't use exec_bfd if it's NULL. |
5887 | ||
290b2c7a MK |
5888 | 2002-01-06 Mark Kettenis <[email protected]> |
5889 | ||
abf22e64 | 5890 | * valops.c (value_arg_coerce): Fix formatting. |
290b2c7a | 5891 | |
aef21287 AC |
5892 | 2002-01-06 Andrew Cagney <[email protected]> |
5893 | ||
5894 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
5895 | * gnu-nat.c: Ditto. | |
5896 | ||
30efa627 AC |
5897 | 2002-01-06 Andrew Cagney <[email protected]> |
5898 | ||
5899 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
5900 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
5901 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
5902 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
5903 | z8k-coff have not been multi-arched. Update z8k-coff build | |
5904 | status. | |
5905 | ||
9b4ff276 AC |
5906 | 2002-01-06 Andrew Cagney <[email protected]> |
5907 | ||
5908 | * MAINTAINERS: Mark a29k target as obsolete. | |
5909 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
5910 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
5911 | comments. | |
5912 | * NEWS: Note that a29k targets are obsolete. | |
5913 | * a29k-tdep.c: Mark as obsolete. | |
5914 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
5915 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
5916 | a29k-*-vxworks* targets as obsolete. | |
5917 | * remote-adapt.c: Obsolete. | |
5918 | * remote-eb.c: Obsolete. | |
5919 | * remote-mm.c: Obsolete. | |
5920 | * remote-udi.c: Obsolete. | |
5921 | * config/a29k/a29k-udi.mt: Obsolete. | |
5922 | * config/a29k/a29k.mt: Obsolete. | |
5923 | * config/a29k/tm-a29k.h: Obsolete. | |
5924 | * config/a29k/tm-vx29k.h: Obsolete. | |
5925 | * config/a29k/vx29k.mt: Obsolete. | |
5926 | ||
a9011d31 AC |
5927 | 2002-01-05 Andrew Cagney <[email protected]> |
5928 | ||
5929 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
5930 | with BFD_ENDIAN_BIG. | |
5931 | ||
9299404e AC |
5932 | 2002-01-05 Andrew Cagney <[email protected]> |
5933 | ||
5934 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
5935 | * configure, config.in: Re-generate. | |
5936 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
5937 | * defs.h: Do not include <endian.h>. | |
5938 | ||
7e89e357 JT |
5939 | 2002-01-05 Jason Thorpe <[email protected]> |
5940 | ||
5941 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
5942 | * config.in: Regenerate. | |
5943 | * configure.in: Update copyright years. | |
5944 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
5945 | * configure: Regenerate. | |
5946 | * i386bsd-nat.c: Update copyright years. | |
5947 | (fill_gregset): Use regcache_collect. | |
5948 | (fetch_inferior_registers): Only fetch integer registers | |
5949 | if requested to do so. Add support for XMM registers | |
5950 | using PT_GETXMMREGS. | |
5951 | (store_inferior_registers): Only store integer registers | |
5952 | if requested to do so. Add support for XMM registers | |
5953 | using PT_SETXMMREGS. | |
5954 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
5955 | (store_inferior_registers): Remove. | |
5956 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
5957 | (fetch_elfcore_registers): New function. | |
5958 | (i386nbsd_elfcore_fns): New. | |
5959 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
5960 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
5961 | i386bsd-nat.o. | |
5962 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
5963 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
5964 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
5965 | * config/i386/tm-nbsd.h: Update copyright years. | |
5966 | (HAVE_SSE_REGS): Define. | |
5967 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
5968 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
5969 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
5970 | (SIGCONTEXT_PC_OFFSET): Remove. | |
5971 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
5972 | ||
a752853e AC |
5973 | 2002-01-05 Andrew Cagney <[email protected]> |
5974 | ||
5975 | * configure.tgt: Remove powerpc-*-macos* target. | |
5976 | * config/m68k/xm-mpw.h: Delete file. | |
5977 | * config/xm-mpw.h: Delete file. | |
5978 | * ser-mac.c: Delete file. | |
5979 | * mpw-make.sed: Delete file. | |
5980 | * mpw-config.in: Delete file. | |
5981 | * mac-xdep.c: Delete file. | |
5982 | * mac-gdb.r: Delete file. | |
5983 | * mac-defs.h: Delete file. | |
5984 | * mac-nat.c: Delete file. | |
5985 | * config/powerpc/macos.mh: Delete file. | |
5986 | * config/powerpc/macos.mt: Delete file. | |
5987 | * config/powerpc/nm-macos.h: Delete file. | |
5988 | * config/powerpc/tm-macos.h: Delete file. | |
5989 | * source.c (openp, open_source_file): Remove obsolete code. | |
5990 | * top.c (gdb_readline): Ditto. | |
5991 | * utils.c (query): Ditto. | |
5992 | * event-top.c (display_gdb_prompt): Ditto. | |
5993 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
5994 | * NEWS: Update. | |
5995 | ||
d7449b42 AC |
5996 | 2002-01-04 Andrew Cagney <[email protected]> |
5997 | ||
5998 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
5999 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
6000 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
6001 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
6002 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
6003 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
6004 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
6005 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
6006 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
6007 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
6008 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
6009 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
6010 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
6011 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
6012 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
6013 | * gdbarch.c: Re-generate. | |
6014 | ||
356374e8 DJ |
6015 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
6016 | ||
6017 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
6018 | for core files. | |
6019 | ||
a2b8f8f8 JT |
6020 | 2002-01-04 Jason Thorpe <[email protected]> |
6021 | ||
6022 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
6023 | ||
12466af9 AC |
6024 | 2002-01-04 Andrew Cagney <[email protected]> |
6025 | ||
6026 | * value.h (value_ptr): Delete typedef. | |
6027 | ||
3549ab40 JT |
6028 | 2002-01-04 Jason Thorpe <[email protected]> |
6029 | ||
6030 | * i386nbsd-nat.c: Update copyright years. | |
6031 | Include i386-tdep.h. | |
6032 | ||
fedbd091 EZ |
6033 | 2002-01-04 Elena Zannoni <[email protected]> |
6034 | ||
6035 | * stabsread.c: Update copyright years. | |
6036 | ||
6037 | From Debashis Mahata <[email protected]>: | |
6038 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
6039 | output for structs and unions. | |
fec8b34f | 6040 | Fix PR gdb/269. |
fedbd091 | 6041 | |
eb43544b DJ |
6042 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
6043 | ||
6044 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
6045 | prototype. | |
6046 | ||
1514d34e DJ |
6047 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
6048 | ||
6049 | * cp-abi.c: Fix whitespace. | |
6050 | (baseclass_offset): New wrapper function. | |
6051 | * cp-abi.h (baseclass_offset): Add prototype. | |
6052 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
6053 | ||
6054 | * valops.c (vb_match): Move to... | |
6055 | * gnu-v2-abi.c (vb_match): here. | |
6056 | * valops.c (baseclass_offset): Move to... | |
6057 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
6058 | ||
6059 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
6060 | ||
6061 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
6062 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
6063 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
6064 | ||
7f8c9282 DJ |
6065 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
6066 | ||
6067 | * valops.c (find_overload_match): Accept obj as a | |
6068 | reference parameter. Update it before returning. | |
6069 | * value.h (find_overload_match): Update prototype. | |
6070 | * eval.c (evaluate_subexp_standard): Pass object to | |
6071 | find_overload_match by reference. | |
6072 | ||
f23631e4 AC |
6073 | 2002-01-03 Andrew Cagney <[email protected]> |
6074 | ||
6075 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
6076 | register attribute from value declarations. | |
6077 | * valops.c: Ditto. | |
6078 | * value.h: Ditto. | |
6079 | * scm-lang.c (scm_lookup_name): Ditto. | |
6080 | ||
79e10fab | 6081 | 2002-01-03 Michael Snyder <[email protected]> |
abf22e64 | 6082 | |
79e10fab AC |
6083 | Abstract the functionality of iterating over mapped memory |
6084 | regions into a general purpose iterator function. | |
abf22e64 | 6085 | * procfs.c (iterate_over_mappings): New function, general purpose |
79e10fab AC |
6086 | iterator for memory sections. |
6087 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
6088 | (solib_mappings_callback): New function, callback for above. | |
6089 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
6090 | (info_mappings_callback): New function, callback for above. | |
6091 | ||
6092 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
6093 | ||
c5ad026a MK |
6094 | 2002-01-01 Mark Kettenis <[email protected]> |
6095 | ||
d2a7c97a MK |
6096 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
6097 | * i386-tdep.c: Include "elf-bfd.h". | |
6098 | (process_note_abi_tag_sections): New function. | |
6099 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
6100 | combinations. | |
6101 | ||
c5ad026a MK |
6102 | * maint.c (_initialize_maint_cmds): Add missing \ in |
6103 | string-literal. | |
6104 | ||
a1a5b71e | 6105 | For older changes see ChangeLog-2001 |
c906108c SS |
6106 | \f |
6107 | Local Variables: | |
6108 | mode: change-log | |
6109 | left-margin: 8 | |
6110 | fill-column: 74 | |
6111 | version-control: never | |
6112 | End: |